-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NVIDIA - STABLE] Getting kicket back to SDDM Greeter after login #1704
Comments
I have the exact same issue. Same Bazzite version too (same rpm-ostree status output). The strange thing about it is that the desktop might not crash if Steam is running! If Steam is not running then it will certainly crash sooner than later. Discovery app might also contribute to the crashing. Other weird behaviors include the inability to update certain "freedesktop platform" parts. Discovery didn't want to update certain parts, but when running system update it did something to them, but still outputs weird warnings that I don't know what to do about. |
Same problem
|
For some inexplicable reason my recent logins have been without issues. |
I am experiencing the same issue, though I've had mixed success in killing the tty2 session, returning to the sddm greeter and logging in again. Not sure if this is relevant, as this appears to happen even on a successful load, but I see this in plasmashell logs immediately following boot:
Also possibly relevant, it seems that so far for me, a boot immediately following an update / new rpm-ostree deploy will tend to work correctly, and this bug occurs on following boots on the same deploy. I've noticed this offhand over the past couple weeks of this issue popping up. Haven't tested this theory extensively yet, but last night I started rebooting from tty3 as mentioned in the initial report to see if it it would boot correctly. I got this crash-to-sddm bug about six or seven times in a row, then out of curiosity I did an |
I've notuiced something simmilar, although it seems like a regular reboot will do the trick too. I also noticed - from this and this reddit posts, that the issue might be related to the combination of Ryzen and Nvidia. If all that are affecvted use and AMD CPU wirth an nVidia GPU, we might be on to something - maybe an incompatibility, maybe a red herring, but certainly something |
It happened to me again, totally randomly. Immediately after boot I checked loginctl list-sessions and at first tty2 looked normal. Then I updated some flatpaks on Discovery and watched some show on Netflix with Chrome for a little while. Then it just suddenly threw me to the greeter. I immediately opened tty4 and checked loginctl list-sessions which gave me this: I was able to do a new login that worked following NekroSomnias directions.
I also do have a Ryzen 5 3600 CPU and a GeForce RTX 3070 GPU. Thanks for those posts! I hope this issue gets noticed by the devs. |
Glad that helped :D I've exported my journalctl via
That's good to know, i hope we are onto something here. |
Little Update :
and
Note that there is teh hint to run
I have never had to troubleshoot anything to do with SELinux, but (as far as i understand this), it seems like SELinux is blocking Wayland to read the DRM Cache (DRM = Direct Render Manager, not Digital Rights Management). I'll try to figure out, how to allow that, without setting SELinux to permissive mode after i've pulled a Backup of my drive. |
It seems like i accidentally fixed my issue. Had to reset my CMOS yesterday after installing more RAM, since i got some weird post issues (too many Sticks, too high of a frequency, Memory controller wasn't having it). Now the issue seems to be gone. I should be happy about that, but the fact, that I don't know what caused the problems just annoys me to no end. |
Aha!! So it might be some kind of an issue related to CMOS? You know what, I've recently had this problem that the clock time has been wrong every time I've booted up Windows 10! The clock on Linux has been right from bootup, but I guess it just updates it immediately via online unlike Windows where I had to manually choose to sync the clock . I've suspected that there's something wrong with the CMOS battery but haven't got around to doing anything about it yet. So if the CMOS battery dying is causing the wrong time on Windows, then maybe it's causing this issue on Bazzite? BTW, thank you very much for doing all this work on this issue! |
I’d like to add to this conversation. I have NVIDIA 4060 and i5 13400 and experiencing this same issue. It’s completely random and only shutting down and restarting the machine resolves the issue. |
I get this issue a lot actually 🥲 Any news about this ? |
Yes and no. The Issue was gone for almost 2 weeks on my end, but came back a few days ago. Even worse than before. |
I've been having this issue for a quite some weeks not sure when it started precisely. When you get kicked back to SDDM the issues start when logging in again. Current solution for me is when login screen shows to just switch sessions to another tty not login and then switch back immediately with ctrl+alt+f2. Then it just drops me back to the desktop and no further issues occur for me until next reboot. For me this works of course no guarantee for anyone else but maybe worth a try. |
Yes I made that but after switch, I can't connect Bluetooth device or listen music on Bluetooth device |
I'd advice against doing that. Your Session will be in a "closing" state, in which many essential Services are either shut down or in the process of being shut down. if it doesn't solve the issue, you can always switch to tty3, run The workaround from the Bazzite Discord is entierly different. They are somewhat certain, that the issue relates to Nvidia GPUs and Freesync Displays and they recommend unplugging your freesync Display before boot to circumvent this issue entirely.
This is expected, because the pam service which handles the Authentification is usually shut down at that point. If you want to connect to a wifi network, you should get an error stating that. |
I have this too and disabling SELinux is the only reliable (albeit undesirable) solution. Will try and post more detailed information later. I haven't had a chance to dig into the labeling yet but hopefully someone on the team is actually looking at this rather than saying "nvidia broke it", not being able to login or use the system is a pretty big issue and most users probably wont realize or know hpw to disable selinix... |
I had this issue with any build past It might be worth trying the new branch if you're using a newer (GTX 16 / RTX) card. |
Hello again! I thought I should report that I haven't encountered this issue at all anymore as of the last couple of system updates. I don't have anything else useful to say about it, but I would like to know if anyone else has had the issue stop after updating to version 41.20241030 or version 41.20241104 ? |
Describe the bug
After login, i get kicked back to the Greeter/Lockscreen located on TTY1.
If i try to login again, the Desktop won't load / the screen stays black.
What did you expect to happen?
I expected to have a desktop, that doesn't kick me out after a Minute
Output of
rpm-ostree status
Hardware
No response
Extra information or context
After getting kicked back to the Greeter, i either have to reboot using a shell on TTY3 or higher, or kill the Desktop Session on TTY2 manually using
loginctl kill-session {ID}
I've noticed, that the SDDM Session usually gets destroyed, after a sucessfull login (if this issue doesn't happen).
This is not the case in the instances, I get bootet out of my Session.
In this case, the greeter Session persists and has the Status "online", while the Desktop Session on TTY2 has the State "closing".
After killing the "defective" session, another login attempt will result in a working Desktop without any interuptions/unexpected lockscreens.
Attached are 2 Photos.
One (quite blurry butr readable) image of the output from
loginctl list-sessions
after a failed login and one with the output after a working login.The text was updated successfully, but these errors were encountered: