Skip to content

Instantly share code, notes, and snippets.

@awfulcooking
Created July 11, 2023 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awfulcooking/70958c36d86b30e6d00d2894bcfa7bb1 to your computer and use it in GitHub Desktop.
Save awfulcooking/70958c36d86b30e6d00d2894bcfa7bb1 to your computer and use it in GitHub Desktop.

This is all with nvidia-driver/experimental 530.41.03-1

Not working

Wayland - webkit2gtk 4.0, webkit2gtk 4.1, webkitgtk 6.0

  • WEBKIT_DISABLE_COMPOSITING_MODE=1 makes all of these work again
  • Note: It's undocumented how to use Wayland with the Nvidia driver on Debian atm. Have to install some nvidia service / sh files by hand from /usr/share or Wayland will be disabled by gdm3 udev rules.

Screenshot

$ /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser 
libEGL warning: egl: failed to create dri2 screen
libEGL warning: failed to get driver name for fd 0

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd 0

Failed to create EGL image from DMABufs with file descriptors 27, 28 and 29
Failed to create EGL image from DMABufs with file descriptors 37, 41 and 42
$ /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/MiniBrowser 
libEGL warning: egl: failed to create dri2 screen
libEGL warning: failed to get driver name for fd 0

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd 0

Failed to create EGL image from DMABufs with file descriptors 26, 27 and 28
$ /usr/lib/x86_64-linux-gnu/webkitgtk-6.0/MiniBrowser 
libEGL warning: egl: failed to create dri2 screen
libEGL warning: failed to get driver name for fd 0

libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: failed to get driver name for fd 0

Failed to create EGL image from DMABufs with file descriptors 24, 25 and 27

X11

Same as above, except:

No EGL warnings are printed

There are no warnings at all.

WebKitGTK 6.0 works

Even without WEBKIT_DISABLE_COMPOSITING_MODE=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment