https://bugs.kde.org/show_bug.cgi?id=478251
Bug ID: 478251 Summary: kwin_wayland with nvidia 545 driver drops user back to login after a few seconds Classification: Plasma Product: kwin Version: 5.27.9 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: ba...@barrys-emacs.org Target Milestone: --- SUMMARY Originally reported to Fedora https://bugzilla.redhat.com/show_bug.cgi?id=2252447 When I login there is a long pause with screen black and a cursor blinking in the top-left corner. Then the KDE plasma desktop appears. I can start apps and the are working. But after about 10 seconds I get throw back the login screen. Here are the journal --user logs. 2023-12-01T17:50:34+0000 plasmashell[4703]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() 2023-12-01T17:50:35+0000 plasmashell[4703]: QString::arg: 2 argument(s) missing in org.barrys-emacs.scm-workbench 2023-12-01T17:50:35+0000 systemd[4184]: Started app-org.barrys\x2demacs.scm\x2dworkbench-bf73e11b6a40477fb99b021e4439cbb9.scope - SCM Workbench. 2023-12-01T17:50:36+0000 kwin_wayland[4567]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. 2023-12-01T17:50:36+0000 kwin_wayland[4567]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field. 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor" 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_wayland_drm: Atomic commit failed! Invalid argument 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_wayland_drm: Presentation failed! Invalid argument 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_core: Applying KScreen config failed! 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo" 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor" 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@" 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@" 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@" 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@" 2023-12-01T17:50:46+0000 plasmashell[4703]: org.kde.plasma.pulseaudio: No object for name "auto_null.monitor" 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_wayland_drm: Atomic commit failed! Permission denied 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_wayland_drm: Presentation failed! Permission denied 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_core: Applying KScreen config failed! 2023-12-01T17:50:46+0000 kwin_wayland[4567]: kwin_core: Applying KScreen config failed! Here is the output of dmesg $ dmesg | grep -i nvidia [ +0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.6.2-201.fc39.x86_64 root=UUID=f160dd82-834b-4cfa-8ee7-9c159b2a1b7b ro rootflags=subvol=root rd.luks.uuid=luks-904db66b-db23-4719-bbf6-fb596c23d831 initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau [ +0.000011] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.6.2-201.fc39.x86_64 root=UUID=f160dd82-834b-4cfa-8ee7-9c159b2a1b7b ro rootflags=subvol=root rd.luks.uuid=luks-904db66b-db23-4719-bbf6-fb596c23d831 initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau [ +0.011260] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1c.4/0000:06:00.1/sound/card1/input11 [ +0.000614] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1c.4/0000:06:00.1/sound/card1/input12 [ +0.000584] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1c.4/0000:06:00.1/sound/card1/input13 [ +0.000633] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1c.4/0000:06:00.1/sound/card1/input14 [ +0.079026] nvidia: loading out-of-tree module taints kernel. [ +0.000535] nvidia: module license 'NVIDIA' taints kernel. [ +0.000520] nvidia: module verification failed: signature and/or required key missing - tainting kernel [ +0.000528] nvidia: module license taints kernel. [ +0.113438] nvidia-nvlink: Nvlink Core is being initialized, major device number 235 [ +0.001374] nvidia 0000:06:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none [ +0.048729] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 545.29.06 Thu Nov 16 01:59:08 UTC 2023 [ +0.066443] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint. [ +0.066863] nvidia-uvm: Loaded the UVM driver, major device number 511. [ +0.037940] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 545.29.06 Thu Nov 16 01:47:29 UTC 2023 [ +0.005739] [drm] [nvidia-drm] [GPU ID 0x00000600] Loading driver [ +1.072910] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:06:00.0 on minor 0 [ +0.000021] nvidia 0000:06:00.0: vgaarb: deactivate vga console [ +0.127493] fbcon: nvidia-drmdrmfb (fb0) is primary device [ +0.012371] nvidia 0000:06:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device Reproducible: Always STEPS TO REPRODUCE 1. upgrade to akmod-nvidia-545.29.06-1.fc39.x86_64 2. build nvidia drivers 3. reboot 4. login to plasma (wayland) 5. there is pause before desktop appears 6. start show apps, I use konsole and the scm workbench app 7. after 10 seconds you are returned to the login screen 8. new login attempts will not load a desktop OBSERVED RESULT kwin_wayland breaks EXPECTED RESULT kwin_wayland stable SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Fedora 39 (available in About System) KDE Plasma Version: kwin-wayland-5.27.9-3.fc39.x86_64 KDE Frameworks Version: Qt Version: qt5-qtbase-gui-5.15.11-7.fc39.x86_64 etc RPMFusion NVidia drivers: akmod-nvidia-545.29.06-1.fc39.x86_64 ADDITIONAL INFORMATION I have downgraded to the kwin-wayland-5.27.8-1.fc39.x86_64 version of kwin and its dependents. This still shows the issue with being throw out of the desktop back to the login screen. But its not happening all of the time. After a few attempts <5 usually I canget logged in and stay logged in. If there is a ~30s delay from login to desktop appearing then after a further ~10s user is thrown to login screen every time. If the desktop appears after <3s then will be left logged in from without further issue. 5.27.9 I could not stay logged in. downgrading from the nvidia 545 drivers to the 535 drivers does not fix the issue. -- You are receiving this mail because: You are watching all bug changes.