atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.81k stars 409 forks source link

Sites Fail to Load #3480

Closed cowboy8625 closed 1 month ago

cowboy8625 commented 1 month ago

Describe the bug When visiting https://ziglang.org/documentation/master/std/ or https://play.rust-lang.org/?version=stable&mode=debug&edition=2021 Nyxt will not load the sites.

Precise recipe to reproduce the issue Open sites up.

For website-specific issues: Can you reproduce this issue with Epiphany / GNOME Web (https://wiki.gnome.org/Apps/Web)? The sites open fine in Epiphany

Information

ASDF version: 3.3.1 ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY) Critical dependencies: (/run/build/nyxt/_build/cl-cffi-gtk/gtk/cl-cffi-gtk.asd /run/build/nyxt/_build/cl-gobject-introspection/cl-gobject-introspection.asd /run/build/nyxt/_build/cl-webkit/webkit2/cl-webkit2.asd)


**Output when started from a shell**
`❯ flatpak run engineer.atlas.Nyxt`

Gtk-Message: 06:56:32.224: Failed to load module "canberra-gtk-module" Gtk-Message: 06:56:32.225: Failed to load module "canberra-gtk-module" Nyxt version 3.11.8

[06:56:32] Source location: #P"/app/share/nyxt/" [06:56:32] Loading Lisp file #P"/home/cowboy/.config/nyxt/auto-config.3.lisp". [06:56:32] Loading Lisp file #P"/home/cowboy/.config/nyxt/config.lisp". [06:56:32] Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket" libEGL warning: DRI3: Screen seems not DRI3 capable libEGL warning: DRI2: failed to authenticate libEGL warning: DRI3: Screen seems not DRI3 capable MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen ** (nyxt:2): WARNING **: 06:56:32.537: Disabled hardware acceleration because GTK failed to initialize GL: No available configurations for the given pixel format. [06:56:32] Reload the buffer for no-script-mode to take effect. Gtk-Message: 06:56:33.035: Failed to load module "canberra-gtk-module" Gtk-Message: 06:56:33.036: Failed to load module "canberra-gtk-module" libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen Gtk-Message: 06:56:33.761: Failed to load module "canberra-gtk-module" Gtk-Message: 06:56:33.762: Failed to load module "canberra-gtk-module" ** (process:1391478): WARNING **: 06:56:34.342: Error writing credentials to socket: Error sending message: Broken pipe Gtk-Message: 06:56:34.387: Failed to load module "canberra-gtk-module" Gtk-Message: 06:56:34.388: Failed to load module "canberra-gtk-module" libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen [06:56:34] Loading #P"/home/cowboy/.local/share/nyxt/history/default.lisp". [06:56:34] Restoring 5 buffers from history. [06:56:34] Loading #P"/home/cowboy/.local/share/nyxt/auto-rules.lisp". [06:56:34] Reload the buffer for no-script-mode to take effect. [06:56:34] Reload the buffer for no-script-mode to take effect. [06:56:34] Reload the buffer for no-script-mode to take effect. [06:56:34] Reload the buffer for no-script-mode to take effect. [06:56:34] Reload the buffer for no-script-mode to take effect. Gtk-Message: 06:56:34.851: Failed to load module "canberra-gtk-module" Gtk-Message: 06:56:34.852: Failed to load module "canberra-gtk-module" libEGL warning: egl: failed to create dri2 screen libEGL warning: egl: failed to create dri2 screen [06:56:35] Loading "https://github.com/atlas-engineer/nyxt/issues/3480". [06:56:35] Finished loading "https://github.com/atlas-engineer/nyxt/issues/3480". ```
aadcg commented 1 month ago

Seems related to the Nvidia GPU.

Try to start via flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 engineer.atlas.Nyxt.

cowboy8625 commented 1 month ago

image

<INFO> [08:46:08] System information saved to clipboard.
Gtk-Message: 08:46:09.070: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:46:09.071: Failed to load module "canberra-gtk-module"
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
<INFO> [08:46:09] Loading "https://nyxt.atlas.engineer/documentation".
Gtk-Message: 08:46:09.550: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:46:09.550: Failed to load module "canberra-gtk-module"
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
<INFO> [08:46:09] Loading "https://doc.rust-lang.org/std/index.html#".
<INFO> [08:46:09] Finished loading "https://doc.rust-lang.org/std/index.html#".
<INFO> [08:46:10] Finished loading "https://nyxt.atlas.engineer/documentation".
<INFO> [08:46:17] Loading #P"/home/cowboy/.local/share/nyxt/bookmarks.lisp".
<INFO> [08:46:17] Reload the buffer for no-script-mode to take effect.
<INFO> [08:46:17] Reload the buffer for no-script-mode to take effect.
Gtk-Message: 08:46:17.341: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:46:17.342: Failed to load module "canberra-gtk-module"
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
<INFO> [08:46:26] Reload the buffer for no-script-mode to take effect.
<INFO> [08:46:26] Reload the buffer for no-script-mode to take effect.
Gtk-Message: 08:46:28.963: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:46:28.964: Failed to load module "canberra-gtk-module"
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
WARNING:
   Error on separate prompter thread: The value of QURI.DOMAIN::HOST is NIL, which is not of type STRING.
<INFO> [08:46:55] Loading "https://ziglang.org/documentation/master/std".
<INFO> [08:46:56] Finished loading "https://ziglang.org/documentation/master/std/".
cowboy8625 commented 1 month ago

So it seems its a me problem and not a nyxt problem?

aadcg commented 1 month ago

It's related to WebKitGTK and its lack of support for Nvidia GPUs.