You are not logged in.

#1 2025-09-25 14:12:07

injiniero
Member
Registered: 2022-04-26
Posts: 33

Wayland + GNome with nvidia-470xx drivers segfaults

Wayland test
============

Following seth's recommendation:
Unlike 390xx, the 470xx drivers support KMS and GBM - what exactly doesn't work? Do you have an open thread about that (please don't hijack this one)

This is my second attempt to get GNome working with Wayland on my computer with this graphics card:

VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 760] [10de:1187] (rev a1)

and with this driver:

nvidia-470xx-dkms 470.256.02-8.00

I activate modeset in Grub

sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1 nvidia_drm.fbdev=1"
^X # Save and exit
sudo grub-mkconfig -o /boot/grub/grub.cfg

I modify mkinitcpio to add the nvidia modules

sudo nano /etc/mkinitcpio.conf 
MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm) 
# I remove kms because nvidia already enables kms with its modules 
HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block filesystems fsck grub-btrfs-overlayfs) 
^X # Save and exit 
sudo mkinitcpio -P

I edit /etc/environment

 # 
# This file is parsed by pam_env module 
# 
# Syntax: simple "KEY=VAL" pairs on separate lines 
# 
EDITOR=nano 

# Wayland test
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

I edit /usr/lib/udev/rules.d/61-gdm.rules

# I comment out the line where Wayland is disabled
LABEL="gdm_disable_wayland"
# RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"

I reboot, and now GDM gives me the option to start GNOME or GNOME Xorg. I choose GNOME and it boots with Wayland.

I've tried a few apps and they work fine:
Firefox, Blender, Geany, Intellij IDEA, ...

Issues:
Curiously, GNome applications mostly fail

▷ ☑ $ gnome-control-center
libEGL warning: pci id for fd 31: 10de:1187, driver (null)

pci id for fd 32: 10de:1187, driver (null)
pci id for fd 33: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 32: 10de:1187, driver (null)
pci id for fd 33: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
Segmentation fault (`core' generated) gnome-control-center

I'm trying to run kgx from a terminal. Journalctl output:

sep 25 15:21:22 foribocito systemd[1668]: Started VTE child process 6870 launched by kgx process 6862.
sep 25 15:21:22 foribocito kernel: kgx[6862]: segfault at c ip 00007f908ad63cc3 sp 00007ffc2163b500 error 4 in libnvidia-glcore.so.470.256.02[f63cc3,7f9089e00000+179e000] likely on CPU 2 (core 2, socket 0)
sep 25 15:21:22 foribocito kernel: Code: 24 40 ff ff ff ff 48 89 fb 8b b7 a8 1b 00 00 c7 44 24 30 01 00 00 00 41 b9 18 00 00 00 4c 8d 44 24 30 b9 05 3d 00 00 4c 89 ef <8b> 40 0c c7 44 24 44 01 00 00 00 89 f2 c1 e0 10 35 03 00 ef be 89
sep 25 15:21:22 foribocito systemd-coredump[6878]: Process 6862 (kgx) of user 1000 terminated abnormally with signal 11/SEGV, processing...
sep 25 15:21:22 foribocito systemd[1]: Started Process Core Dump (PID 6878/UID 0).
sep 25 15:21:24 foribocito systemd-coredump[6879]: [?] Process 6862 (kgx) of user 1000 dumped core.

                                                   Stack trace of thread 6862:
                                                   #0  0x00007f908ad63cc3 n/a (libnvidia-glcore.so.470.256.02 + 0xf63cc3)
                                                   #1  0x00007f908af76567 n/a (libnvidia-glcore.so.470.256.02 + 0x1176567)
                                                   #2  0x00007f908af77bf7 n/a (libnvidia-glcore.so.470.256.02 + 0x1177bf7)
                                                   #3  0x00007f908af83fb1 n/a (libnvidia-glcore.so.470.256.02 + 0x1183fb1)
                                                   #4  0x00007f9099ca528f n/a (libGLX_nvidia.so.0 + 0xa528f)
                                                   #5  0x00007f90c5893485 n/a (libvulkan.so.1 + 0x4f485)
                                                   #6  0x00007f90c6fa136e n/a (libgtk-4.so.1 + 0x7a136e)
                                                   #7  0x00007f90c6fa2278 n/a (libgtk-4.so.1 + 0x7a2278)
                                                   #8  0x00007f90c74c5e10 g_initable_new_valist (libgio-2.0.so.0 + 0x74e10)
                                                   #9  0x00007f90c74c5efc g_initable_new (libgio-2.0.so.0 + 0x74efc)
                                                   #10 0x00007f90c6fe4f06 n/a (libgtk-4.so.1 + 0x7e4f06)
                                                   #11 0x00007f90c700b233 n/a (libgtk-4.so.1 + 0x80b233)
                                                   #12 0x00007f90c6fa5f63 n/a (libgtk-4.so.1 + 0x7a5f63)
                                                   #13 0x00007f90c6faf84a gsk_renderer_new_for_surface (libgtk-4.so.1 + 0x7af84a)
                                                   #14 0x00007f90c6d63669 n/a (libgtk-4.so.1 + 0x563669)
                                                   #15 0x00007f90c6b6f1b7 n/a (libgtk-4.so.1 + 0x36f1b7)
                                                   #16 0x0000562847df8c65 n/a (/usr/bin/kgx + 0x1ac65)
                                                   #17 0x00007f90c740383a g_closure_invoke (libgobject-2.0.so.0 + 0x1183a)
                                                   #18 0x00007f90c74225b3 n/a (libgobject-2.0.so.0 + 0x305b3)
                                                   #19 0x00007f90c74244cf n/a (libgobject-2.0.so.0 + 0x324cf)
                                                   #20 0x00007f90c7424749 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32749)
                                                   #21 0x00007f90c7424804 g_signal_emit (libgobject-2.0.so.0 + 0x32804)
                                                   #22 0x00007f90c6d443aa gtk_widget_realize (libgtk-4.so.1 + 0x5443aa)
                                                   #23 0x00007f90c6d5e86c n/a (libgtk-4.so.1 + 0x55e86c)
                                                   #24 0x00007f90c7424637 n/a (libgobject-2.0.so.0 + 0x32637)
                                                   #25 0x00007f90c7424749 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32749)
                                                   #26 0x00007f90c7424804 g_signal_emit (libgobject-2.0.so.0 + 0x32804)
                                                   #27 0x00007f90c6d44f7d gtk_widget_show (libgtk-4.so.1 + 0x544f7d)
                                                   #28 0x00007f90c6d64f09 n/a (libgtk-4.so.1 + 0x564f09)
                                                   #29 0x0000562847df4125 n/a (/usr/bin/kgx + 0x16125)
                                                   #30 0x0000562847df499d n/a (/usr/bin/kgx + 0x1699d)
                                                   #31 0x00007f90c74c448e n/a (libgio-2.0.so.0 + 0x7348e)
                                                   #32 0x00007f90c7424637 n/a (libgobject-2.0.so.0 + 0x32637)
                                                   #33 0x00007f90c7424749 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32749)
                                                   #34 0x00007f90c7424804 g_signal_emit (libgobject-2.0.so.0 + 0x32804)
                                                   #35 0x00007f90c752ead0 n/a (libgio-2.0.so.0 + 0xddad0)
                                                   #36 0x00007f90c753332a n/a (libgio-2.0.so.0 + 0xe232a)
                                                   #37 0x0000562847df1099 n/a (/usr/bin/kgx + 0x13099)
                                                   #38 0x00007f90c75334b5 g_application_run (libgio-2.0.so.0 + 0xe24b5)
                                                   #39 0x0000562847de9b12 n/a (/usr/bin/kgx + 0xbb12)
                                                   #40 0x00007f90c6027675 n/a (libc.so.6 + 0x27675)
                                                   #41 0x00007f90c6027729 __libc_start_main (libc.so.6 + 0x27729)
                                                   #42 0x0000562847de9b95 n/a (/usr/bin/kgx + 0xbb95)

                                                   Stack trace of thread 6869:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6863:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732a8ee g_cond_wait (libglib-2.0.so.0 + 0x8e8ee)
                                                   #2  0x00007f90c72c1ebd n/a (libglib-2.0.so.0 + 0x25ebd)
                                                   #3  0x00007f90c7333547 n/a (libglib-2.0.so.0 + 0x97547)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6876:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6873:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6875:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6877:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6872:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6866:
                                                   #0  0x00007f90c609f042 n/a (libc.so.6 + 0x9f042)
                                                   #1  0x00007f90c60931ac n/a (libc.so.6 + 0x931ac)
                                                   #2  0x00007f90c60931f4 n/a (libc.so.6 + 0x931f4)
                                                   #3  0x00007f90c610da36 ppoll (libc.so.6 + 0x10da36)
                                                   #4  0x00007f90c72fbe04 n/a (libglib-2.0.so.0 + 0x5fe04)
                                                   #5  0x00007f90c72fc097 g_main_loop_run (libglib-2.0.so.0 + 0x60097)
                                                   #6  0x00007f90c7568fe4 n/a (libgio-2.0.so.0 + 0x117fe4)
                                                   #7  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #8  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #9  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6865:
                                                   #0  0x00007f90c609f042 n/a (libc.so.6 + 0x9f042)
                                                   #1  0x00007f90c60931ac n/a (libc.so.6 + 0x931ac)
                                                   #2  0x00007f90c60931f4 n/a (libc.so.6 + 0x931f4)
                                                   #3  0x00007f90c610da36 ppoll (libc.so.6 + 0x10da36)
                                                   #4  0x00007f90c72fbe04 n/a (libglib-2.0.so.0 + 0x5fe04)
                                                   #5  0x00007f90c72fbee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
                                                   #6  0x00007f90c76342fe n/a (libdconfsettings.so + 0x62fe)
                                                   #7  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #8  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #9  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6867:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732a8ee g_cond_wait (libglib-2.0.so.0 + 0x8e8ee)
                                                   #2  0x00007f90c72c1ebd n/a (libglib-2.0.so.0 + 0x25ebd)
                                                   #3  0x00007f90c72c1f2d g_async_queue_pop (libglib-2.0.so.0 + 0x25f2d)
                                                   #4  0x00007f90c59c951c n/a (libpangoft2-1.0.so.0 + 0xc51c)
                                                   #5  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #6  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #7  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6864:
                                                   #0  0x00007f90c609f042 n/a (libc.so.6 + 0x9f042)
                                                   #1  0x00007f90c60931ac n/a (libc.so.6 + 0x931ac)
                                                   #2  0x00007f90c60931f4 n/a (libc.so.6 + 0x931f4)
                                                   #3  0x00007f90c610da36 ppoll (libc.so.6 + 0x10da36)
                                                   #4  0x00007f90c72fbe04 n/a (libglib-2.0.so.0 + 0x5fe04)
                                                   #5  0x00007f90c72fbee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
                                                   #6  0x00007f90c72fbf32 n/a (libglib-2.0.so.0 + 0x5ff32)
                                                   #7  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #8  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #9  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)

                                                   Stack trace of thread 6874:
                                                   #0  0x00007f90c611876d syscall (libc.so.6 + 0x11876d)
                                                   #1  0x00007f90c732b87e g_cond_wait_until (libglib-2.0.so.0 + 0x8f87e)
                                                   #2  0x00007f90c72c1e87 n/a (libglib-2.0.so.0 + 0x25e87)
                                                   #3  0x00007f90c733436b n/a (libglib-2.0.so.0 + 0x9836b)
                                                   #4  0x00007f90c733297c n/a (libglib-2.0.so.0 + 0x9697c)
                                                   #5  0x00007f90c60969cb n/a (libc.so.6 + 0x969cb)
                                                   #6  0x00007f90c611aa0c n/a (libc.so.6 + 0x11aa0c)
                                                   ELF object binary architecture: AMD x86-64

I don't know if the problem is a missing library or something else.
Any solutions or suggestions are welcome.


I was a precocious child at 50

Offline

#2 2025-09-25 17:44:36

koneko
Member
Registered: 2025-09-23
Posts: 12

Re: Wayland + GNome with nvidia-470xx drivers segfaults

My suggestion: put

GSK_RENDERER=gl

into /etc/environment

I am the unhappy owner of a GTX 660 (same driver).

Offline

#3 2025-09-25 18:04:11

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

@koneko Thank you for your suggestion, but gl renderer is now deprecated and ngl is the new default. When I use that renderer in xorg the thumbnails previews in nautilus doesn't work and I must use the vulkan renderer. Although the renderer is not the problem with wayland. I don't know who produces the libEGL warning showed before.


I was a precocious child at 50

Offline

#4 2025-09-25 19:00:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

knoeko's thread is https://bbs.archlinux.org/viewtopic.php?id=308466 - see also there because of the vulkan support and try gl or ngl nevertheless (though afaiu ngl became gl and gl was dropped? I'd have to look that up to be sure)

You can skip "nvidia_drm.fbdev=1" - that's not supported on that driver anyway.

Wrt "GBM_BACKEND=nvidia-drm", see https://wiki.archlinux.org/title/Wayland#Requirements - seems 470xx doesn't support GBM after all, you're looking to run on eglstreams and not on the simpledrm device.
Try to blacklist the latter ("module_blacklist=simpledrm") and check "glxinfo -B"

Offline

#5 2025-09-25 19:04:35

tekstryder
Member
Registered: 2013-02-14
Posts: 459

Re: Wayland + GNome with nvidia-470xx drivers segfaults

injiniero wrote:

@koneko Thank you for your suggestion, but gl renderer is now deprecated and ngl is the new default.

Full-circle...the NGL renderer (naming only) is now deprecated and is simply referred to as GL.

You're correct that the (old) GL renderer itself is long gone (removed from codebase).

For a few release cycles (4.14..4.20) you could use GSK_RENDERER=gl and be warned that NGL was being used instead.

Going forward, using GSK_RENDERER=ngl will give a warning instead that the GL renderer will be used as NGL name has been retired.

https://gitlab.gnome.org/GNOME/gtk/-/me … uests/8440

I would not expect anyone to keep up with this.

All that aside, try the GL renderer.


Oh, and these errors should be innocuous:

pci id for fd 32: 10de:1187, driver (null)
pci id for fd 33: 10de:1187, driver (null)

Introduced in mesa 25.2.2.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/13684

I still see the same errors in eglinfo output, but they're no longer emitted by GTK4 apps using Vulkan backend (fixed with Mesa 25.2.3).

The bug got closed by the OP, and I simply don't care enough to pursue it further. It's just a bit of harmless noise. Unlike your segfault.

Offline

#6 2025-09-26 10:16:14

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

Let's move on...
Following @seth's recommendation, I removed the

nvidia_drm.fbdev=1

option from grub and removed

GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

from /etc/environment. In that file, I added the line

GSK_RENDERER=gl

Although I think it's unnecessary because that RENDERER is used by default.
I also added

nvidia.NVreg_PreserveVideoMemoryAllocations=1

to grub because I read that without this option and without having modeset enabled, the 61-gdm.rules disables Wayland.
The reality is that it still disables it, and I have to comment out the line

# RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"

so that GDM gives me the option to start Wayland.

After all this, I restart the computer and log in to Wayland.
The applications that weren't starting now work: kgx, gnome-control-center, ...

But...
The nvidia-settings application won't start:

$ nvidia-settings
ERROR: Unable to find display on any available system

Opening this URL in Firefox:
https://webglsamples.org/aquarium/aquarium.html
with xorg it reaches 60fps
with Wayland it doesn't go over 32 :-(

Output of nvidia-smi and glxinfo -B follows:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02   Driver Version: 470.256.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0 N/A |                  N/A |
| 34%   40C    P8    N/A /  N/A |    176MiB /  1993MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 20.1.8, 256 bits) (0xffffffff)
    Version: 25.2.3
    Accelerated: no
    Video memory: 32028MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 0 MB, largest block: 0 MB
    VBO free aux. memory - total: 22547 MB, largest block: 22547 MB
    Texture free memory - total: 0 MB, largest block: 0 MB
    Texture free aux. memory - total: 22547 MB, largest block: 22547 MB
    Renderbuffer free memory - total: 0 MB, largest block: 0 MB
    Renderbuffer free aux. memory - total: 22547 MB, largest block: 22547 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 0 MB
    Total available memory: 32028 MB
    Currently available dedicated video memory: 0 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

I haven't tested disabling the simpledrm module yet.

Thanks all of you for the help. There's less left :-P


I was a precocious child at 50

Offline

#7 2025-09-26 11:04:40

tekstryder
Member
Registered: 2013-02-14
Posts: 459

Re: Wayland + GNome with nvidia-470xx drivers segfaults

injiniero wrote:

so that GDM gives me the option to start Wayland.

After all this, I restart the computer and log in to Wayland.
The applications that weren't starting now work: kgx, gnome-control-center, ...

But...
The nvidia-settings application won't start:

$ nvidia-settings
ERROR: Unable to find display on any available system

See:

https://bbs.archlinux.org/viewtopic.php … 3#p2227143

Native Wayland nvidia-settings support didn't come around until driver 570.86.16 release.

Keep in mind your card is on the very cusp of being able to Wayland at all, and without GBM.

Gnome is unlikely a tenable long-term environment with your hardware.

EDIT:

If you just want to buy another ~6 months, I suggest rebuilding the required session components with X11 enabled.

gdm, session, shell, and mutter all compile quite quickly.

I maintained the inverse (pure native Wayland sans Xwayland / X11 Gnome for a couple years.

injiniero wrote:

Opening this URL in Firefox:
https://webglsamples.org/aquarium/aquarium.html
with xorg it reaches 60fps
with Wayland it doesn't go over 32 :-(

https://wiki.archlinux.org/title/Firefox#Xwayland

It should not be possible that modern FF falls back to Xwayland, but do check about:support to be sure.

Last edited by tekstryder (2025-09-26 11:35:29)

Offline

#8 2025-09-26 13:12:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

You're still running on llvmpipe, so likely simpledrm - add  "module_blacklist=simpledrm" and in doubt then please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#9 2025-09-26 13:31:08

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

Than you @tekstryder
I know that my hardware is quite old (me too :-) but it works and suit my needs. I'm resisting buying a new graphics card.
The nvidia-settings problem is not a problem indeed.

My firefox is using wayland as window protocol so I can't understand why it has this low fps performance.

chromium doesn't start in wayland

QColor::fromRgbF: Alpha parameter out of range (repeated multiple times)
[12250:12250:0926/152551.568240:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: cannot register existing type 'GtkWidget'
[12250:12250:0926/152551.568274:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: cannot add class private field to invalid type '<invalid>'
[12250:12250:0926/152551.568279:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: cannot add private field to invalid (non-instantiatable) type '<invalid>'
[12250:12250:0926/152551.568290:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[12250:12250:0926/152551.568305:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: cannot register existing type 'GtkBuildable'
[12250:12250:0926/152551.568309:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
[12250:12250:0926/152551.568313:ERROR:content/browser/browser_main_loop.cc:286] GLib: g_once_init_leave: assertion 'result != 0' failed
[12250:12250:0926/152551.568329:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
[12250:12250:0926/152551.568334:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: g_type_register_static: assertion 'parent_type > 0' failed
[12250:12250:0926/152551.568349:ERROR:content/browser/browser_main_loop.cc:286] GLib-GObject: cannot add private field to invalid (non-instantiatable) type '<invalid>'
[12290:12290:0926/152551.595774:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization

I was a precocious child at 50

Offline

#10 2025-09-26 13:40:45

tekstryder
Member
Registered: 2013-02-14
Posts: 459

Re: Wayland + GNome with nvidia-470xx drivers segfaults

Ensure the simpledrm device is blocked per #8.

You can surely rock that GPU for many years to come!

Future kernel support and Wayland may be a rocky road tho wink

Offline

#11 2025-09-26 13:44:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

Depends on whether and how well nouveau or nova support those chips…
The HW is certainly beyond capable of running any DE or wayland but the CSS driver is gonna be increasingly a problem (I suspect gnome being gnome will eventually drop eglstreams as well)

Offline

#12 2025-09-26 13:54:14

tekstryder
Member
Registered: 2013-02-14
Posts: 459

Re: Wayland + GNome with nvidia-470xx drivers segfaults

seth wrote:

Depends on whether and how well nouveau or nova support those chips…

Nova requires GSP, so non-starter.

https://www.kernel.org/doc/html/v6.16/g … index.html

Nouveau is certainly viable just not performative. It's even got Vulkan / NVK support now, at least for my old Pacal chip.

Offline

#13 2025-09-26 14:20:28

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

I'm not sure if I blacklisted simpledrm correctly. Just modified grub

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet module_blacklist=simpledrm nvidia-drm.modeset=1"

But glxinfo -B yields the same result:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 20.1.8, 256 bits) (0xffffffff)
    Version: 25.2.3
    Accelerated: no
    Video memory: 32028MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2

Here's the journal boot log


I was a precocious child at 50

Offline

#14 2025-09-26 14:51:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

sep 26 16:07:27 foribocito kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=707fc0d8-75e0-4c7b-b99e-2e26fe31c4e1 rw rootflags=subvol=@ loglevel=3 quiet module_blacklist=simpledrm nvidia-drm.modeset=1
sep 26 16:07:27 foribocito kernel: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=707fc0d8-75e0-4c7b-b99e-2e26fe31c4e1 rw rootflags=subvol=@ loglevel=3 quiet module_blacklist=simpledrm nvidia-drm.modeset=1
sep 26 16:07:27 foribocito kernel: simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
sep 26 16:07:27 foribocito kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
sep 26 16:07:27 foribocito kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
sep 26 16:07:30 foribocito gnome-shell[1055]: Added device '/dev/dri/card0' (simpledrm) using atomic mode setting.
sep 26 16:07:42 foribocito gnome-shell[1776]: Added device '/dev/dri/card0' (simpledrm) using atomic mode setting.

Yeah, I didn't buy reports that this blocks the built-in module anyway, thanks for the confirmation.

sep 26 16:07:30 foribocito gnome-shell[1055]: Added device '/dev/dri/card1' (nvidia-drm) using non-atomic mode setting.
sep 26 16:07:30 foribocito gnome-shell[1055]: Added device '/dev/dri/card0' (simpledrm) using atomic mode setting.
sep 26 16:07:30 foribocito gnome-shell[1055]: Created egldevice renderer for '/dev/dri/card1'
sep 26 16:07:30 foribocito gnome-shell[1055]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
sep 26 16:07:30 foribocito gnome-shell[1055]: Created gbm renderer for '/dev/dri/card0'
sep 26 16:07:30 foribocito gnome-shell[1055]: Boot VGA GPU /dev/dri/card1 selected as primary
sep 26 16:07:30 foribocito gnome-shell[1055]: Obtained a high priority EGL context
sep 26 16:07:30 foribocito gnome-shell[1055]: Failed to create view for Desconocida 21" on None-1: Failed to allocate onscreen framebuffer for /dev/dri/card0: Unable to find output layers.
sep 26 16:07:30 foribocito gnome-shell[1055]: Failed to create view for Desconocida 21" on None-1: Failed to allocate onscreen framebuffer for /dev/dri/card0: Unable to find output layers.

This stupid PoS… try to  add "initcall_blacklist=simpledrm_platform_driver_init" as well

Last edited by seth (2025-09-26 14:51:19)

Offline

#15 2025-09-26 15:29:42

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

@seth Yes, now seems blacklisted:

sep 26 17:19:06 foribocito kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=707fc0d8-75e0-4c7b-b99e-2e26fe31c4e1 rw rootflags=subvol=@ loglevel=3 quiet initcall_blacklist=simpledrm_platform_driver_init module_blacklist=simpledrm nvidia-drm.modeset=1
sep 26 17:19:06 foribocito kernel: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=707fc0d8-75e0-4c7b-b99e-2e26fe31c4e1 rw rootflags=subvol=@ loglevel=3 quiet initcall_blacklist=simpledrm_platform_driver_init module_blacklist=simpledrm nvidia-drm.modeset=1
sep 26 17:19:06 foribocito kernel: blacklisting initcall simpledrm_platform_driver_init
sep 26 17:19:06 foribocito kernel: ACPI: bus type drm_connector registered
sep 26 17:19:06 foribocito kernel: initcall simpledrm_platform_driver_init blacklisted
sep 26 17:19:06 foribocito kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
sep 26 17:19:06 foribocito kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
sep 26 17:19:06 foribocito systemd[1]: Load Kernel Module drm was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!drm).
sep 26 17:19:09 foribocito gnome-shell[1056]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.
sep 26 17:19:23 foribocito gnome-shell[1768]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.

journalctl -b | grep dri

but glxinfo -B shows llvmpipe as well

▷ ☑ $ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 20.1.8, 256 bits) (0xffffffff)
    Version: 25.2.3
    Accelerated: no
    Video memory: 32028MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 0 MB, largest block: 0 MB
    VBO free aux. memory - total: 29896 MB, largest block: 29896 MB
    Texture free memory - total: 0 MB, largest block: 0 MB
    Texture free aux. memory - total: 29896 MB, largest block: 29896 MB
    Renderbuffer free memory - total: 0 MB, largest block: 0 MB
    Renderbuffer free aux. memory - total: 29896 MB, largest block: 29896 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 0 MB
    Total available memory: 32028 MB
    Currently available dedicated video memory: 0 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

I was a precocious child at 50

Offline

#16 2025-09-26 19:16:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

sep 26 17:19:23 foribocito gnome-shell[1768]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.
sep 26 17:19:23 foribocito gnome-shell[1768]: Created egldevice renderer for '/dev/dri/card0'
sep 26 17:19:23 foribocito gnome-shell[1768]: Boot VGA GPU /dev/dri/card0 selected as primary

so this actually looks kinda good…?
Can you post the entire journal and the output of "eglinfo -B" w/ that and also "nvidia-smi"?

Offline

#17 2025-09-27 09:08:14

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

seth wrote:

so this actually looks kinda good…?

Well, not entirely.
As I mentioned before, the webrenderer's performance in Firefox has dropped by half.
I use Blender with Xorg smoothly on my hardware, however, with Wayland it's extremely slow.
I don't know if I should use some 470xx driver option I'm not familiar with, or if I need to make some other adjustment to improve performance in Wayland.
Here's the information you asked for.

nvidia-smi

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02   Driver Version: 470.256.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0 N/A |                  N/A |
| 34%   40C    P8    N/A /  N/A |    162MiB /  1993MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

eglinfo -B

GBM platform:
pci id for fd 3: 10de:1187, driver (null)
pci id for fd 4: 10de:1187, driver (null)
pci id for fd 5: 10de:1187, driver (null)
pci id for fd 4: 10de:1187, driver (null)
pci id for fd 5: 10de:1187, driver (null)
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
libEGL warning: pci id for fd 8: 10de:1187, driver (null)

pci id for fd 9: 10de:1187, driver (null)
pci id for fd 10: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 9: 10de:1187, driver (null)
pci id for fd 10: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
libEGL warning: pci id for fd 3: 10de:1187, driver (null)

pci id for fd 8: 10de:1187, driver (null)
pci id for fd 9: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: failed to create screen
libEGL warning: pci id for fd 3: 10de:1187, driver (null)

pci id for fd 8: 10de:1187, driver (null)
pci id for fd 9: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: failed to create screen
libEGL warning: pci id for fd 3: 10de:1187, driver (null)

EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 470.256.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 470.256.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 470.256.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

pci id for fd 22: 10de:1187, driver (null)
pci id for fd 23: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

pci id for fd 22: 10de:1187, driver (null)
pci id for fd 23: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

eglinfo: eglInitialize failed

Device #2:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Thank you


I was a precocious child at 50

Offline

#18 2025-09-27 13:53:42

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

Well, not entirely.

"promising", we know from the glxinfo that it doesn't really succeed - and gnome-shell/mutter are not attached to the GPU.
You can skip the program tests, as long as "glxinfo" says "llvmpipe" you're running software emulation.
The question remains "why"

printenv

(most unfortunately gnome is the only wayland compositor w/ eglstreams support, so we cannot test other compositors sad )

Offline

#19 2025-09-27 14:40:46

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

This is printenv output (w personal info stripped):

SHELL=/bin/bash
COLORTERM=truecolor
XDG_MENU_PREFIX=gnome-
TERM_PROGRAM_VERSION=49.0
QT_IM_MODULES=wayland;ibus
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
LC_ADDRESS=es_ES.UTF-8
SSH_AUTH_SOCK=/run/user/1000/gcr/ssh
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
XMODIFIERS=@im=ibus
DESKTOP_SESSION=gnome
LC_MONETARY=es_ES.UTF-8
EDITOR=nano
PWD=/home/xxxx
LOGNAME=xxxx
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=1997
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.X2END3
MOTD_SHOWN=pam
GDM_LANG=es_ES.UTF8
HOME=/home/xxxx
USERNAME=xxxx
LC_PAPER=es_ES.UTF-8
LANG=es_ES.UTF8
XDG_CURRENT_DESKTOP=GNOME
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.SettingsDaemon.MediaKeys.service/memory.pressure
VTE_VERSION=8200
WAYLAND_DISPLAY=wayland-0
INVOCATION_ID=f97ab6f181fc49ff8f2c3186d7e157eb
MANAGERPID=1736
GNOME_SETUP_DISPLAY=:1
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=xxxx
DISPLAY=:0
GSK_RENDERER=gl
SHLVL=1
LC_TELEPHONE=es_ES.UTF-8
QT_IM_MODULE=ibus
LC_MEASUREMENT=es_ES.UTF-8
MANAGERPIDFDID=1737
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
LC_TIME=es_ES.UTF-8
JOURNAL_STREAM=9:16119
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDMSESSION=gnome
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/xxxx
GIO_LAUNCHED_DESKTOP_FILE_PID=84258
LC_NUMERIC=es_ES.UTF-8
TERM_PROGRAM=kgx
_=/usr/bin/printenv
seth wrote:

(most unfortunately gnome is the only wayland compositor w/ eglstreams support, so we cannot test other compositors sad )

What graphics card do you recommend :-P ?


I was a precocious child at 50

Offline

#20 2025-09-27 18:44:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

What graphics card do you recommend :-P ?

The one you like he most, but you'll need a newer nvidia GPU w/ support for the 5xxyy drivers for GBM/wayland.

The environment doesn't look prone to drift you into software emulation.
https://gitlab.gnome.org/GNOME/mutter/-/issues/3958
Export all of

MUTTER_DEBUG_FORCE_EGL_STREAM=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
GDK_DISABLE=vulkan
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json

Offline

#21 2025-09-28 08:07:55

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

Hi!
I've added those vars one at a time and reboot.
Adding

MUTTER_DEBUG_FORCE_EGL_STREAM=1

no changes in glxinfo nor eglinfo

Adding

__GLX_VENDOR_LIBRARY_NAME=nvidia

glxinfo shows the GPU as renderer

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1785 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.256.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 470.256.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.256.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Adding

GDK_DISABLE=vulkan

has no effect

Adding

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json

no changes

eglinfo -B

GBM platform:
pci id for fd 3: 10de:1187, driver (null)
pci id for fd 4: 10de:1187, driver (null)
pci id for fd 5: 10de:1187, driver (null)
pci id for fd 4: 10de:1187, driver (null)
pci id for fd 5: 10de:1187, driver (null)
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
libEGL warning: pci id for fd 8: 10de:1187, driver (null)

pci id for fd 9: 10de:1187, driver (null)
pci id for fd 10: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 9: 10de:1187, driver (null)
pci id for fd 10: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
libEGL warning: pci id for fd 3: 10de:1187, driver (null)

pci id for fd 8: 10de:1187, driver (null)
pci id for fd 9: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: failed to create screen
libEGL warning: pci id for fd 3: 10de:1187, driver (null)

pci id for fd 8: 10de:1187, driver (null)
pci id for fd 9: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: failed to create screen
libEGL warning: pci id for fd 3: 10de:1187, driver (null)

EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 470.256.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 470.256.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 470.256.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

pci id for fd 22: 10de:1187, driver (null)
pci id for fd 23: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

pci id for fd 22: 10de:1187, driver (null)
pci id for fd 23: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

eglinfo: eglInitialize failed

Device #2:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Adding

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json

eglinfo -B

eglinfo -B
Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
eglinfo: eglInitialize failed

/usr/share/glvnd/egl_vendor.d/10_nvidia.json contents:

{
    "file_format_version" : "1.0.0",
    "ICD" : {
        "library_path" : "libEGL_nvidia.so.0"
    }
}
ls -l /lib/libGL*
lrwxrwxrwx 1 root root   18 jun 14 01:55 /lib/libGLdispatch.so -> libGLdispatch.so.0
lrwxrwxrwx 1 root root   22 jun 14 01:55 /lib/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rwxr-xr-x 1 root root 451K jun 14 01:55 /lib/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root   24 ago 30 16:12 /lib/libGLESv1_CM_nvidia.so -> libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root   33 ago 30 16:12 /lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.470.256.02
-rwxr-xr-x 1 root root  67K ago 30 16:12 /lib/libGLESv1_CM_nvidia.so.470.256.02
lrwxrwxrwx 1 root root   21 ago 30 16:12 /lib/libGLESv2_nvidia.so -> libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root   30 ago 30 16:12 /lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.470.256.02
-rwxr-xr-x 1 root root 115K ago 30 16:12 /lib/libGLESv2_nvidia.so.470.256.02
lrwxrwxrwx 1 root root   14 jun 14 01:55 /lib/libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root   18 jun 14 01:55 /lib/libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rwxr-xr-x 1 root root  63K jun 14 01:55 /lib/libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root   16 jul  2  2024 /lib/libGLEW.so -> libGLEW.so.2.2.0
lrwxrwxrwx 1 root root   16 jul  2  2024 /lib/libGLEW.so.2.2 -> libGLEW.so.2.2.0
-rw-r--r-- 1 root root 842K jul  2  2024 /lib/libGLEW.so.2.2.0
lrwxrwxrwx 1 root root   10 jun 14 01:55 /lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root   14 jun 14 01:55 /lib/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root 451K jun 14 01:55 /lib/libGL.so.1.7.0
lrwxrwxrwx 1 root root   11 jul  2  2024 /lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root   15 jul  2  2024 /lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x 1 root root 347K jul  2  2024 /lib/libGLU.so.1.3.1
lrwxrwxrwx 1 root root   20 sep 19 12:38 /lib/libGLX_indirect.so.0 -> libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root   16 sep 19 12:38 /lib/libGLX_mesa.so -> libGLX_mesa.so.0
lrwxrwxrwx 1 root root   20 sep 19 12:38 /lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x 1 root root 271K sep 19 12:38 /lib/libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root   18 ago 30 16:12 /lib/libGLX_nvidia.so -> libGLX_nvidia.so.0
lrwxrwxrwx 1 root root   27 ago 30 16:12 /lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.470.256.02
-rwxr-xr-x 1 root root 1,3M ago 30 16:12 /lib/libGLX_nvidia.so.470.256.02
lrwxrwxrwx 1 root root   11 jun 14 01:55 /lib/libGLX.so -> libGLX.so.0
lrwxrwxrwx 1 root root   15 jun 14 01:55 /lib/libGLX.so.0 -> libGLX.so.0.0.0
-rwxr-xr-x 1 root root 130K jun 14 01:55 /lib/libGLX.so.0.0.0
ls -l /lib/libEGL*
lrwxrwxrwx 1 root root   16 sep 19 12:38 /lib/libEGL_mesa.so -> libEGL_mesa.so.0
lrwxrwxrwx 1 root root   20 sep 19 12:38 /lib/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rwxr-xr-x 1 root root 320K sep 19 12:38 /lib/libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root   18 ago 30 16:12 /lib/libEGL_nvidia.so -> libEGL_nvidia.so.0
lrwxrwxrwx 1 root root   27 ago 30 16:12 /lib/libEGL_nvidia.so.0 -> libEGL_nvidia.so.470.256.02
-rwxr-xr-x 1 root root 1,3M ago 30 16:12 /lib/libEGL_nvidia.so.470.256.02
lrwxrwxrwx 1 root root   11 jun 14 01:55 /lib/libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root   15 jun 14 01:55 /lib/libEGL.so.1 -> libEGL.so.1.1.0
-rwxr-xr-x 1 root root  66K jun 14 01:55 /lib/libEGL.so.1.1.0

I was a precocious child at 50

Offline

#22 2025-09-28 09:56:54

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

I don't know if this is relevant, but when if I enable the integrated iGPU card (no monitor connected), this is the information from eglinfo.

GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
libEGL warning: pci id for fd 8: 10de:1187, driver (null)

pci id for fd 9: 10de:1187, driver (null)
pci id for fd 10: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 9: 10de:1187, driver (null)
pci id for fd 10: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 470.256.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 470.256.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 760/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 470.256.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #2:

Platform Device platform:
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

pci id for fd 22: 10de:1187, driver (null)
pci id for fd 23: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

pci id for fd 22: 10de:1187, driver (null)
pci id for fd 23: 10de:1187, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 21: 10de:1187, driver (null)

eglinfo: eglInitialize failed

Device #3:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.2.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.2.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.8, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.2.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

It appears to support GBM.


I was a precocious child at 50

Offline

#23 2025-09-28 14:35:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,863

Re: Wayland + GNome with nvidia-470xx drivers segfaults

It appears to support GBM.

Yes of course.

I'd say this is the bad part:

Adding
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json

eglinfo -B

eglinfo -B

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
eglinfo: eglInitialize failed

An easy "solution" would oc be to just run the system in normal prime configuration (why aren't you doing that anyway?)
Ie. run gnome on the intel chip and "prime-run superturboturkeypuncher³" for maximum FPS.

Offline

#24 2025-09-28 17:14:54

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

I'm staring this Graphics Card ASUS DUAL GeForce RTX 5060 Ti OC Edition 16GB GDDR7 Reflex 2 RTX AI DLSS4

Last edited by injiniero (2025-09-28 17:15:21)


I was a precocious child at 50

Offline

#25 2025-09-29 05:51:21

injiniero
Member
Registered: 2022-04-26
Posts: 33

Re: Wayland + GNome with nvidia-470xx drivers segfaults

One thing I've noticed after switching to Wayland is that I've stopped experiencing the frequent graphics card freezes I had with Xorg. Especially after a reboot.

sep 26 20:55:04 foribocito kernel: NVRM: Xid (PCI:0000:01:00): 8, pid=1627, Channel 00000010
sep 26 19:16:33 foribocito kernel: NVRM: Xid (PCI:0000:01:00): 62, pid=204, 00000c83 00000c6f 00001985

I was a precocious child at 50

Offline

Board footer

Powered by FluxBB