Running Nyxt (3.12.0_2) in FreeBSD 14.3-RELEASE reports: <WARN> [10:10:11] Warning: Error in FFI method: The value 1073741824 is not of type GDK:GDK-EVENT when binding NYXT/RENDERER/GTK::EVENT <WARN> [10:12:22] Warning: Error on GTK thread: The value NIL is not of type STRING when binding CL-WEBKIT2::WORLD The UI comes up but is unresponsive. WebKitWebProcess.core is subsequently created. Installed via PKG. It installs webkit2-gtk_41: 2.46.6_4 as a dependency. I'm running window manager StumpWM
I can confirm crash on main. I will take a look at upstream PRs and check if something related is available there. Need to check if it is related to some webkit update.
CC'ing Vasily hoping that we get some help here :)
The version in the port is incompatible with new SBCL. I'll try to make a patch
Created attachment 265282 [details] Patch for www/nyxt port
I really wonder why this worked before...
(In reply to shamaz.mazum from comment #5) There were several sbcl updates since port was added. nyxt port was added in 1 Fev 2025 with sbcl 2.5.0. sbcl port is at 2.5.7 now. On main I got a blank page with core dumped (WebKitWebProcess.core): nyxt-3.12.0_3: run-test ``` % rm -r .local/share/nyxt % nyxt freebsd.org Nyxt version 3.12.0 <INFO> [09:43:05] Source location: #P"/usr/local/share/nyxt/" <INFO> [09:43:05] Listening to socket: #P"/var/run/xdg/nunotex/nyxt/nyxt.socket" <INFO> [09:43:06] Loading #P"/home/nunotex/.local/share/nyxt/history/default.lisp". <INFO> [09:43:06] Restoring 1 buffer from history. Failed to create GBM buffer of size 954x984: Invalid argument Failed to create GBM buffer of size 954x24: Invalid argument <INFO> [09:43:06] Loading #P"/home/nunotex/.local/share/nyxt/auto-rules.lisp". Failed to create GBM buffer of size 954x984: Invalid argument <WARN> [09:43:06] Warning: Error in FFI method: Couldn't execute "xdg-open": No such file or directory Failed to create GBM buffer of size 954x16: Invalid argument <INFO> [09:50:20] Deleting socket #P"/var/run/xdg/nunotex/nyxt/nyxt.socket". ```
(In reply to Nuno Teixeira from comment #6) I cannot reproduce this, unfortunately. > Failed to create GBM buffer of size 954x984: Invalid argument I never had something like this. > <WARN> [09:43:06] Warning: Error in FFI method: Couldn't execute "xdg-open": No such file or directory Does installation of xdg-utils help?
(In reply to shamaz.mazum from comment #7) I forgot to set `env WEBKIT_DISABLE_COMPOSITING_MODE=1` % env WEBKIT_DISABLE_COMPOSITING_MODE=1 badwolf https://www.freebsd.org Fixes blank screen Related to > <WARN> [09:43:06] Warning: Error in FFI method: Couldn't execute "xdg-open": No such file or directory It stop showing when I set above env. I can confirm that patch fixes runtime with newer SBCL. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0529575a3639d40322e1634b0287fe56e0a40684 commit 0529575a3639d40322e1634b0287fe56e0a40684 Author: Vasily Postnicov <shamaz.mazum@gmail.com> AuthorDate: 2025-11-09 17:48:53 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2025-11-09 18:09:23 +0000 www/nyxt: Fix runtime with newer SBCL PR: 290890 Reported by: David <djireland79[AT]gmail[DOT]com> MFH: 2025Q4 (runtime fix) www/nyxt/Makefile | 2 +- ...tch-__build_cl-webkit_webkit2_webkit2.web-view.lisp (new) | 12 ++++++++++++ www/nyxt/files/patch-source_renderer_gtk.lisp (new) | 11 +++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-)
A commit in branch 2025Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a48fa11b7f170ef4bea3b7715278e635cbe9dff commit 5a48fa11b7f170ef4bea3b7715278e635cbe9dff Author: Vasily Postnicov <shamaz.mazum@gmail.com> AuthorDate: 2025-11-09 17:48:53 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2025-11-09 18:10:28 +0000 www/nyxt: Fix runtime with newer SBCL PR: 290890 Reported by: David <djireland79[AT]gmail[DOT]com> MFH: 2025Q4 (runtime fix) (cherry picked from commit 0529575a3639d40322e1634b0287fe56e0a40684) www/nyxt/Makefile | 2 +- ...tch-__build_cl-webkit_webkit2_webkit2.web-view.lisp (new) | 12 ++++++++++++ www/nyxt/files/patch-source_renderer_gtk.lisp (new) | 11 +++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-)
Thanks David for reporting. Thanks Vasily for fixing it [1]. [1] If you willing to be maintainer, please let me know :) Committed.