Bug 493457 - Black screen after sddm in Wayland session after update
Summary: Black screen after sddm in Wayland session after update
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (show other bugs)
Version: 6.1.5
Platform: Kubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-21 22:15 UTC by dimanne
Modified: 2024-10-07 17:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dimanne 2024-09-21 22:15:11 UTC
SUMMARY

Today I updated these packages: https://gist.github.com/DimanNe/f15a8c178ab56838d98415f06b2499f4
In particular, these nvidia packages from 550.67-0ubuntu3 to 550.107.02-0ubuntu1

And now, after I log in (after sddm), I am getting just a black screen with cursor.

KDE logs:

```
env | rg LOGGING
QT_LOGGING_RULES=kwin_wayland_*.debug=true

journalctl | rg "wayland"

Sep 21 22:44:56 impedance systemd[10346]: Starting app-org.kde.xwaylandvideobridge@autostart.service - Xwayland Video Bridge...
Sep 21 22:44:56 impedance systemd[10346]: Started app-org.kde.xwaylandvideobridge@autostart.service - Xwayland Video Bridge.
Sep 21 22:46:32 impedance sddm-greeter-qt6[11858]: Reading from "/usr/local/share/wayland-sessions/plasma.desktop"
Sep 21 22:46:32 impedance sddm-greeter-qt6[11858]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Sep 21 22:46:48 impedance sddm-greeter-qt6[11858]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Sep 21 22:46:48 impedance sddm[9913]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Sep 21 22:46:48 impedance sddm[9913]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/x86_64-linux-gnu/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 3
Sep 21 22:46:49 impedance sddm-helper[12180]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/lib/x86_64-linux-gnu/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Sep 21 22:46:50 impedance dbus-daemon[9538]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.148' (uid=1004 pid=12279 comm="/usr/bin/startplasma-wayland" label="unconfined")
Sep 21 22:46:50 impedance dbus-daemon[12241]: [session uid=1004 pid=12241] Activating service name='org.kde.KSplash' requested by ':1.9' (uid=1004 pid=12279 comm="/usr/bin/startplasma-wayland" label="unconfined")
Sep 21 22:46:50 impedance systemd[12198]: Starting plasma-kwin_wayland.service - KDE Window Manager...
Sep 21 22:46:50 impedance systemd[12198]: Started plasma-kwin_wayland.service - KDE Window Manager.
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: No backend specified, automatically choosing drm
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: drmModeAddFB2WithModifiers is supported on GPU "/dev/dri/card0"
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Using Atomic Mode Setting on gpu "/dev/dri/card0"
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Number of planes on GPU "/dev/dri/card0" : 1
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: adding GPU /dev/dri/card0
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: drmModeAddFB2WithModifiers is supported on GPU "/dev/dri/card1"
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Using Atomic Mode Setting on gpu "/dev/dri/card1"
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Number of planes on GPU "/dev/dri/card1" : 12
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: adding GPU /dev/dri/card1
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: No render nodes have been found, falling back to primary node
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Could not find edid for connector DrmConnector(id=36, gpu="/dev/dri/card0", name="Unknown-1-unknown", connection="Connected", countMode=1)
Sep 21 22:46:50 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: New output on GPU /dev/dri/card0: Unknown-1-unknown
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: New output on GPU /dev/dri/card1: DELL U4025QW/9M55L04
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: New output on GPU /dev/dri/card1: ASUS VP28U/0x00026CB8
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: New output on GPU /dev/dri/card1: DELL U2718Q/FN84K8AR0NRL
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: chose egl import with format AB30 and modifier 72057594037927935
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: chose egl import with format AB30 and modifier 72057594037927935
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: chose egl import with format AB30 and modifier 72057594037927935
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Failed to create framebuffer: Invalid argument
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12829]: Refusing to try glamor on llvmpipe
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12829]: EGL setup failed, disabling glamor
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12829]: Failed to initialize glamor, falling back to sw
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86CameraAccessEnable
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86CameraAccessDisable
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86CameraAccessToggle
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86NextElement
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86PreviousElement
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86AutopilotEngageToggle
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86MarkWaypoint
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86Sos
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86NavChart
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86FishingChart
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86SingleRangeRadar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86DualRangeRadar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86RadarOverlay
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86TraditionalSonar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86ClearvuSonar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86SidevuSonar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: > Warning:          Could not resolve keysym XF86NavInfo
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12978]: Errors from xkbcomp are not fatal to the X server
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Unsupported maximum keycode 708, clipping.
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: >                   X11 cannot support keycodes above 255.
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86CameraAccessEnable
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86CameraAccessDisable
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86CameraAccessToggle
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86NextElement
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86PreviousElement
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86AutopilotEngageToggle
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86MarkWaypoint
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86Sos
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86NavChart
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86FishingChart
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86SingleRangeRadar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86DualRangeRadar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86RadarOverlay
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86TraditionalSonar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86ClearvuSonar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86SidevuSonar
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: > Warning:          Could not resolve keysym XF86NavInfo
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12983]: Errors from xkbcomp are not fatal to the X server
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12984]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Sep 21 22:46:53 impedance kwin_wayland_wrapper[12984]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
Sep 21 22:46:55 impedance systemd[12198]: Dependency failed for plasma-workspace-wayland.target.
Sep 21 22:46:55 impedance systemd[12198]: plasma-workspace-wayland.target: Job plasma-workspace-wayland.target/start failed with result 'dependency'.
Sep 21 22:46:55 impedance systemd[12198]: Starting app-org.kde.xwaylandvideobridge@autostart.service - Xwayland Video Bridge...
Sep 21 22:46:55 impedance systemd[12198]: Requested transaction contradicts existing jobs: Transaction for graphical-session.target/stop is destructive (app-org.kde.xwaylandvideobridge@autostart.service has 'start' job queued, but 'stop' is included in transaction).
Sep 21 22:46:55 impedance systemd[12198]: graphical-session.target: Failed to enqueue stop job, ignoring: Transaction for graphical-session.target/stop is destructive (app-org.kde.xwaylandvideobridge@autostart.service has 'start' job queued, but 'stop' is included in transaction).
Sep 21 22:46:55 impedance systemd[12198]: Started app-org.kde.xwaylandvideobridge@autostart.service - Xwayland Video Bridge.
Sep 21 22:46:55 impedance xwaylandvideobridge[13345]: libEGL warning: DRI3: Screen seems not DRI3 capable
Sep 21 22:46:55 impedance xwaylandvideobridge[13345]: libEGL warning: DRI3: Screen seems not DRI3 capable
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86CameraAccessEnable
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86CameraAccessDisable
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86CameraAccessToggle
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86NextElement
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86PreviousElement
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86AutopilotEngageToggle
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86MarkWaypoint
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86Sos
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86NavChart
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86FishingChart
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86SingleRangeRadar
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86DualRangeRadar
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86RadarOverlay
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86TraditionalSonar
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86ClearvuSonar
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86SidevuSonar
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: > Warning:          Could not resolve keysym XF86NavInfo
Sep 21 22:46:55 impedance kwin_wayland_wrapper[13481]: Errors from xkbcomp are not fatal to the X server
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Unsupported maximum keycode 708, clipping.
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: >                   X11 cannot support keycodes above 255.
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86CameraAccessEnable
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86CameraAccessDisable
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86CameraAccessToggle
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86NextElement
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86PreviousElement
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86AutopilotEngageToggle
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86MarkWaypoint
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86Sos
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86NavChart
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86FishingChart
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86SingleRangeRadar
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86DualRangeRadar
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86RadarOverlay
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86TraditionalSonar
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86ClearvuSonar
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86SidevuSonar
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: > Warning:          Could not resolve keysym XF86NavInfo
Sep 21 22:46:56 impedance kwin_wayland_wrapper[13497]: Errors from xkbcomp are not fatal to the X server
Sep 21 22:46:56 impedance kernel: xwaylandvideobr[13345]: segfault at 0 ip 0000000000000000 sp 00007ffcbd74e8e8 error 14 likely on CPU 0 (core 0, socket 0)
Sep 21 22:46:57 impedance systemd[12198]: app-org.kde.xwaylandvideobridge@autostart.service: Main process exited, code=dumped, status=11/SEGV
Sep 21 22:46:57 impedance systemd[12198]: app-org.kde.xwaylandvideobridge@autostart.service: Failed with result 'core-dump'.
```

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-7-generic (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2

ADDITIONAL INFORMATION

X11 works fine:

```
glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.245 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 60.000 FPS
```

modeset is enabled:

```
sudo cat /sys/module/nvidia_drm/parameters/modeset
Y
```
Comment 1 Vlad Zahorodnii 2024-09-23 08:13:31 UTC
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: chose egl import with format AB30 and modifier 72057594037927935
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: chose egl import with format AB30 and modifier 72057594037927935
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: chose egl import with format AB30 and modifier 72057594037927935
Sep 21 22:46:51 impedance kwin_wayland_wrapper[12351]: kwin_wayland_drm: Failed to create framebuffer: Invalid argument

seems relevant
Comment 2 Nate Graham 2024-09-23 18:49:35 UTC
If this happened after an NVIDIA driver update, is there any reason not to suspect it's a regression in the driver? Or did the driver update simply cause KWin to go down a different codepath that's valid but triggers this issue due to a bug?
Comment 3 dimanne 2024-10-07 17:30:36 UTC
It fixed after another updated. Feel free to close.