You are not logged in.

#1 2023-11-02 18:56:58

mewt
Member
Registered: 2008-06-24
Posts: 36

SDDM on Wayland fails to load after update to Nvidia 545 & kernel 6.6

I have encountered an issue after updating my system to kernel 6.6 and nvidia driver 545.29.02 with SDDM failing to display over wayland and displaying only a blinking cursor. Digging through the logs produced the following:

Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "Date: 2023-11-02 CET\n[19:25:56.360] weston 12.0.2\n               [url]https://wayland.freedesktop.org[/url]\n               Bug reports to: [url]https://gitlab.freedesktop.org/wayland/weston/issues/\n[/url]               Build: 1>
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.360] Starting with no config file.\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.362] Output repaint window is 7 ms maximum.\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.363] Loading module '/usr/lib/libweston-12/drm-backend.so'\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.368] initializing drm backend\n[19:25:56.368] Trying libseat launcher...\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.368] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.368] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping\n"
Nov 02 19:25:56 Minas-tirith systemd[1]: Started Authorization Manager.
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.448] [libseat/libseat.c:73] Seat opened with backend 'logind'\n[19:25:56.448] libseat: session control granted\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.449] using /dev/dri/card0\n[19:25:56.450] DRM: supports atomic modesetting\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.450] DRM: supports GBM modifiers\n[19:25:56.450] DRM: does not support async page flipping\n[19:25:56.450] DRM: supports picture aspect ratio\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.452] Loading module '/usr/lib/libweston-12/gl-renderer.so'\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.473] failed to initialize display\n[19:25:56.473] EGL error state: EGL_NOT_INITIALIZED (0x3001)\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.473] failed to initialize egl\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "[19:25:56.676] fatal: failed to create compositor backend\n"
Nov 02 19:25:56 Minas-tirith sddm-helper-start-wayland[696]: "Internal warning: debug scope 'drm-backend' has not been destroyed.\n"

I was able to get sddm over wayland to load by removing the nvidia_drm.nomodeset=1 kernel flag which allows sddm over wayland to load on very low resolution and single monitor. Logging in is successful to xfce.

I worked around the issue by removing the config file from /etc/sddm.conf.d/ to force sddm to load over X11.

ANy ideas?

Last edited by mewt (2023-11-03 08:17:31)

Offline

#2 2023-11-02 21:13:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,462
Website

Re: SDDM on Wayland fails to load after update to Nvidia 545 & kernel 6.6

mewt wrote:

after updating my system to kernel 6.6 and nvidia driver 545.29.02

Mod note: Both of these are in testing, so moving to that subforum.

Please edit your post to make use of code tags.

https://wiki.archlinux.org/title/Genera … s_and_code

Last edited by WorMzy (2023-11-02 21:16:54)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2023-11-03 08:17:53

mewt
Member
Registered: 2008-06-24
Posts: 36

Re: SDDM on Wayland fails to load after update to Nvidia 545 & kernel 6.6

Done, thanks!

Offline

#4 2023-11-03 10:05:59

SneakyLittleman
Member
Registered: 2022-03-08
Posts: 17

Re: SDDM on Wayland fails to load after update to Nvidia 545 & kernel 6.6

Hey there. Same sort of problems after same update (but I'm using Gnome & GDM):
GDM didn't offer wayland sessions after update, only X11, so I forced the backend to use GBM instead of the old EGL. From the Arch Wiki:
To force GBM as a backend, set the following environment variables:

GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia


This fixed GDM & I can confirm I'm now using wayland with 545 drivers + 6.6 zen kernel (yay).

Offline

#5 2023-11-03 10:19:42

mewt
Member
Registered: 2008-06-24
Posts: 36

Re: SDDM on Wayland fails to load after update to Nvidia 545 & kernel 6.6

I will try that and let you know. Would this be, therefore, a weston issue, assuming EGL on nvidia without trying GBM ? (looking to report it to the right bug tracker)

Offline

#6 2023-11-03 10:31:41

mewt
Member
Registered: 2008-06-24
Posts: 36

Re: SDDM on Wayland fails to load after update to Nvidia 545 & kernel 6.6

Can confirm that settings those 2 environment variables allows SDDM to load on wayland at native resolution.

Thank you!

Offline

Board footer

Powered by FluxBB