You are not logged in.
I am using Gnome with gdm and have installed the Nvidia driver 470 from AUR (GTX660). I followed the standard configuration steps to get a Wayland session, but the session is x11, always. Searching the output of journalctl -b for some traces of rules disabling Wayland, I found the following line instead
kernel: gnome-shell[674]: segfault at ffffffffffffffec ip 000074b8d89ac4d6 sp 00007fffb9e46c90 error 5 in libmutter-14.so.0.0.0[74b8d883b000+19c000] likely on CPU 9 (core 1, socket 0)
after 1 s:
systemd-coredump[1056]: Process 674 (gnome-shell) of user 120 dumped core.
Later, an Xorg session is started.
I can copy the output of journalctl -b if needed.
EDIT: apologies, the desktop thread would have been a better fit for this post.
Adding some configuration info:
/etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1 i915.modeset=0"
ls /etc/udev/rules.d/61-gdm.rules
ls: cannot access '/etc/udev/rules.d/61-gdm.rules': No such file or directory
Anyway, in the output of journalctl -b the Wayland session starts, thus my configuration should be fine, as far as GDM and Nvidia.
I had a look at this thread https://bbs.archlinux.org/viewtopic.php?id=251949 but I could not undestand every detail that was discussed there.
Last edited by grneir (2024-04-15 14:07:53)
Offline
Moved, by request
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
470 predates GBM support in the nvidia driver and I'd not be at all surprised if EGLStreams doesn't get much/any love anymore and you're actually just crashing there somewhere.
Offline
Thank you v1dal. I noticed something related to that in the journal. This is the (hopefully) relevant portion of journalctl -b, there are warnings
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1005]: libEGL warning: DRI3: Screen seems not DRI3 capable
and another one after libmutter segfault about being unable to create a dri2 screen (last line in the log).
Apr 16 22:11:28 neith gnome-shell[660]: Running GNOME Shell (using mutter 46.0) as a Wayland display server
Apr 16 22:11:28 neith avahi-daemon[534]: Server startup complete. Host name is neith.local. Local service cookie is 3841134720.
Apr 16 22:11:28 neith systemd[1]: Starting RealtimeKit Scheduling Policy Service...
Apr 16 22:11:28 neith systemd[1]: Started RealtimeKit Scheduling Policy Service.
Apr 16 22:11:28 neith rtkit-daemon[679]: Successfully called chroot.
Apr 16 22:11:28 neith rtkit-daemon[679]: Successfully dropped privileges.
Apr 16 22:11:28 neith rtkit-daemon[679]: Successfully limited resources.
Apr 16 22:11:28 neith rtkit-daemon[679]: Canary thread running.
Apr 16 22:11:28 neith rtkit-daemon[679]: Running.
Apr 16 22:11:28 neith rtkit-daemon[679]: Watchdog thread running.
Apr 16 22:11:28 neith rtkit-daemon[679]: Supervising 0 threads of 0 processes of 0 users.
Apr 16 22:11:28 neith rtkit-daemon[679]: Supervising 0 threads of 0 processes of 0 users.
Apr 16 22:11:28 neith rtkit-daemon[679]: Successfully made thread 678 of process 660 owned by '120' RT at priority 20.
Apr 16 22:11:28 neith rtkit-daemon[679]: Supervising 1 threads of 1 processes of 1 users.
Apr 16 22:11:28 neith gnome-shell[660]: Made thread 'KMS thread' realtime scheduled
Apr 16 22:11:28 neith gnome-shell[660]: Device '/dev/dri/card0' prefers shadow buffer
Apr 16 22:11:28 neith gnome-shell[660]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.
Apr 16 22:11:28 neith gnome-shell[660]: Created egldevice renderer for '/dev/dri/card0'
Apr 16 22:11:28 neith gnome-shell[660]: Boot VGA GPU /dev/dri/card0 selected as primary
Apr 16 22:11:28 neith gnome-shell[660]: Obtained a high priority EGL context
Apr 16 22:11:28 neith gnome-shell[660]: Obtained a high priority EGL context
Apr 16 22:11:28 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=120 pid=660 comm="/usr/bin/gnome-shell")
Apr 16 22:11:28 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.a11y.Bus'
Apr 16 22:11:28 neith gnome-shell[660]: Using public X11 display :1024, (using :1025 for managed services)
Apr 16 22:11:28 neith gnome-shell[660]: Using Wayland display name 'wayland-0'
Apr 16 22:11:28 neith /usr/lib/gdm-wayland-session[739]: dbus-daemon[739]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=120 pid=660 comm="/usr/bin/gnome-shell")
Apr 16 22:11:28 neith /usr/lib/gdm-wayland-session[739]: dbus-daemon[739]: Successfully activated service 'org.a11y.atspi.Registry'
Apr 16 22:11:28 neith /usr/lib/gdm-wayland-session[743]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Apr 16 22:11:28 neith systemd[1]: Starting Manage, Install and Generate Color Profiles...
Apr 16 22:11:28 neith systemd[1]: Started Manage, Install and Generate Color Profiles.
Apr 16 22:11:29 neith gnome-shell[660]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Apr 16 22:11:29 neith gnome-shell[660]: Will monitor session 1
Apr 16 22:11:29 neith systemd[1]: Starting Locale Service...
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.gnome.Shell.Screencast' requested by ':1.3' (uid=120 pid=660 comm="/usr/bin/gnome-shell")
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=120 pid=660 comm="/usr/bin/gnome-shell")
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
Apr 16 22:11:29 neith systemd[1]: Started Locale Service.
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.gnome.Shell.Notifications' requested by ':1.3' (uid=120 pid=660 comm="/usr/bin/gnome-shell")
Apr 16 22:11:29 neith gnome-shell[660]: Extension apps-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension auto-move-windows@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension drive-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension launch-new-instance@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension light-style@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/light-style@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/light-style@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension native-window-placement@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension places-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension system-monitor@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/system-monitor@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/system-monitor@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension user-theme@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension window-list@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension windowsNavigator@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith gnome-shell[660]: Extension workspace-indicator@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com will not be loaded
Apr 16 22:11:29 neith org.gnome.Shell.desktop[660]: Window manager warning: Failed to parse saved session file: Failed to open file “/var/lib/gdm/.config/mutter/sessions/10b122ccb74143b144171329828814086200000006410000.ms”: No such file or directory
Apr 16 22:11:29 neith systemd[1]: Starting Daemon for power management...
Apr 16 22:11:29 neith kernel: rfkill: input handler disabled
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.gnome.Shell.Notifications'
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.freedesktop.systemd1' requested by ':1.9' (uid=120 pid=786 comm="/usr/lib/gsd-sharing")
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Apr 16 22:11:29 neith gsd-sharing[786]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Apr 16 22:11:29 neith gsd-sharing[786]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.freedesktop.portal.IBus' requested by ':1.26' (uid=120 pid=835 comm="ibus-daemon --panel disable")
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.freedesktop.portal.IBus'
Apr 16 22:11:29 neith polkitd[598]: Registered Authentication Agent for unix-session:1 (system bus name :1.17 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Apr 16 22:11:29 neith gnome-shell[660]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Apr 16 22:11:29 neith systemd[1]: Started Daemon for power management.
Apr 16 22:11:29 neith NetworkManager[533]: <info> [1713298289.3160] agent-manager: agent[2b3d6792af36ab6e,:1.17/org.gnome.Shell.NetworkAgent/120]: agent registered
Apr 16 22:11:29 neith systemd[621]: Started PipeWire Multimedia Service.
Apr 16 22:11:29 neith systemd[1]: Starting Location Lookup Service...
Apr 16 22:11:29 neith systemd[621]: Started Multimedia Service Session Manager.
Apr 16 22:11:29 neith systemd[621]: Started PipeWire PulseAudio.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 0 threads of 0 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 0 threads of 0 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 0 threads of 0 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Successfully made thread 989 of process 989 owned by '120' high priority at nice level -11.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 1 threads of 1 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Successfully made thread 1008 of process 989 owned by '120' RT at priority 20.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 2 threads of 1 processes of 1 users.
Apr 16 22:11:29 neith wireplumber[998]: 0x563720769810: no modules loaded from context.modules
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 2 threads of 1 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 2 threads of 1 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 2 threads of 1 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Successfully made thread 1000 of process 1000 owned by '120' high priority at nice level -11.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 3 threads of 2 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 3 threads of 2 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 3 threads of 2 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 3 threads of 2 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Successfully made thread 998 of process 998 owned by '120' high priority at nice level -11.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 4 threads of 3 processes of 1 users.
Apr 16 22:11:29 neith rtkit-daemon[679]: Successfully made thread 1017 of process 1000 owned by '120' RT at priority 20.
Apr 16 22:11:29 neith rtkit-daemon[679]: Supervising 5 threads of 3 processes of 1 users.
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1023]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1023]: > Warning: Unsupported maximum keycode 708, clipping.
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1023]: > X11 cannot support keycodes above 255.
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1023]: > Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1023]: > Warning: Could not resolve keysym XF86KbdInputAssistNextgrou
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1023]: Errors from xkbcomp are not fatal to the X server
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.gnome.Shell.Screencast'
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1005]: libEGL warning: DRI3: Screen seems not DRI3 capable
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1005]: libEGL warning: DRI3: Screen seems not DRI3 capable
Apr 16 22:11:29 neith gnome-session-binary[641]: Entering running state
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.freedesktop.portal.IBus' requested by ':1.34' (uid=120 pid=1012 comm="ibus-daemon --panel disable -r --xim")
Apr 16 22:11:29 neith xbrlapi.desktop[1036]: openConnection: connect: No such file or directory
Apr 16 22:11:29 neith xbrlapi.desktop[1036]: cannot connect to braille devices daemon brltty at :0
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.freedesktop.portal.IBus'
Apr 16 22:11:29 neith gsd-media-keys[816]: Failed to grab accelerator for keybinding settings:playback-repeat
Apr 16 22:11:29 neith gsd-media-keys[816]: Failed to grab accelerator for keybinding settings:hibernate
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Activating service name='org.gnome.ScreenSaver' requested by ':1.24' (uid=120 pid=874 comm="/usr/lib/gsd-power")
Apr 16 22:11:29 neith systemd[1]: Starting WPA supplicant...
Apr 16 22:11:29 neith systemd[1]: Started WPA supplicant.
Apr 16 22:11:29 neith wpa_supplicant[1037]: Successfully initialized wpa_supplicant
Apr 16 22:11:29 neith systemd[1]: Started Location Lookup Service.
Apr 16 22:11:29 neith kernel: gnome-shell[660]: segfault at ffffffffffffffec ip 00007260e95ac4d6 sp 00007ffe59fe9770 error 5 in libmutter-14.so.0.0.0[7260e943b000+19c000] likely on CPU 10 (core 2, socket 0)
Apr 16 22:11:29 neith kernel: Code: fe ff ff 49 89 47 50 4c 89 e8 4d 85 ed 0f 84 01 0a 00 00 48 89 c7 ff 15 d0 57 0d 00 4d 8b 6f 50 48 63 05 41 b8 0d 00 4c 89 ef <41> 8b 44 05 0c 85 c0 75 19 49 8b 45 00 48 8d b5 e8 fe ff ff ff 90
Apr 16 22:11:29 neith systemd[1]: Created slice Slice /system/systemd-coredump.
Apr 16 22:11:29 neith systemd[1]: Started Process Core Dump (PID 1076/UID 0).
Apr 16 22:11:29 neith /usr/lib/gdm-wayland-session[640]: dbus-daemon[640]: [session uid=120 pid=640] Successfully activated service 'org.gnome.ScreenSaver'
Apr 16 22:11:29 neith org.gnome.Shell.desktop[1005]: libEGL warning: egl: failed to create dri2 screen
Offline
If indeed eglstream is the cause, would trying another Wayland compositor give me better chances?
Offline
Not really, GNOME is basically the only one that implemented this... "maybe" Weston but afaik that's not really intended for a daily driver. The best bet if you want wayland on this kind of GPU is using nouveau.
Offline
Thank you v1dal. I will accept one cannot hope to use newer software on older hardware indefinitely.
I have another installation of Arch on a USB-C SSD with nouveau, I will use that one to experiment with Wayland.
Offline