Bug 2272429 - Plasma sometimes fails to launch when using proprietary Nvidia drivers
Summary: Plasma sometimes fails to launch when using proprietary Nvidia drivers
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-desktop
Version: 40
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-01 03:30 UTC by Andy Hall
Modified: 2024-04-08 04:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-04-08 04:28:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Logs from failed login (47.05 KB, text/plain)
2024-04-01 03:34 UTC, Andy Hall
no flags Details
Logs from successful login (21.02 KB, text/plain)
2024-04-01 03:46 UTC, Andy Hall
no flags Details

Description Andy Hall 2024-04-01 03:30:13 UTC
Sometimes when I boot my computer and try to log in to KDE Plasma via SDDM, I get a black screen for about 10 seconds and then get kicked back to SDDM. I can try logging in again, but the behavior is the same.

There seems to be roughly a 50% chance of this happening on each boot - sometimes a reboot will fix it and I can log in normally, while other times I have to reboot several times before I get lucky enough to log in.

If I re-enable Nouveau I can usually get to a desktop consistently, but unfortunately I can't stick with Nouveau drivers because they leave one of my two monitors blank. I otherwise haven't had any noticeable issues with the Nvidia drivers.

This leads me to believe that the problem is something with the interaction between the Nvidia drivers and Plasma, but I don't know how to narrow it down. Let me know which logs would be the most helpful to collect.

Reproducible: Sometimes

Steps to Reproduce:
1. Boot my computer
2. Type my password into SDDM and press enter
Actual Results:  
The screen goes black for about 10 seconds, then I see SDDM again. I can try logging in again, but the behavior is the same until I reboot.

Expected Results:  
KDE Plasma desktop should launch.

I'm using:
- Fedora 40 KDE spin
- A clean install (did not upgrade from Fedora 39)
- KDE Plasma 6 desktop (Wayland)
- Nvidia GeForce GTX 1070
- Nvidia driver nvidia-kmod-550.67-1.fc40.src.rpm from rpmfusion-nonfree
- Fractional scaling on one monitor (100% on left monitor, 125% on right monitor)

I also experienced this problem with the Fedora 40 branch of Kinoite. I assumed it was a Kinoite issue and installed the standard KDE spin, but had the same problem.

I didn't have this issue with Fedora 39.

Comment 1 Andy Hall 2024-04-01 03:34:24 UTC
Created attachment 2024489 [details]
Logs from failed login

Attaching some kwin_wayland logs that seem relevant.

Comment 2 Andy Hall 2024-04-01 03:46:16 UTC
Created attachment 2024492 [details]
Logs from successful login

Comment 3 Andy Hall 2024-04-08 04:28:20 UTC
Sorry, this was a problem I caused for myself - I had created a systemd service that created an ordering cycle, so different services were failing to start up on each boot, and sometimes that included some prerequisites for Xwayland.


Note You need to log in before you can comment on or make changes to this bug.