ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
1.04k stars 142 forks source link

Plasma crashing #1612

Open haroldcrews opened 3 weeks ago

haroldcrews commented 3 weeks ago

Describe the bug

On two of the most recent Aurora system updates Plasma crashes shorting after logging in. It logs me out of the current session and when I attempt to log back in the PC shuts down.

What did you expect to happen?

I expected the boot and DE log in to happen normally and not terminated the session.

Output of rpm-ostree status

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/aurora-nvidia:latest
                   Digest: sha256:11c3dcca6ca21c7621437dbffd8657630dc4ece0bd7382ac77fe6248405829b7
                  Version: 40.20240818.0 (2024-08-18T04:48:17Z)
                     Diff: 40 upgraded, 6 removed, 6 added

● ostree-image-signed:docker://ghcr.io/ublue-os/aurora-nvidia:latest
                   Digest: sha256:1ef44c8a5f48ca1a0224a01f7b20687d4f7337b80ad15d489ce23b29bfc90121
                  Version: 40.20240814.0 (2024-08-14T14:12:31Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/aurora-nvidia:latest
                   Digest: sha256:1ba1be745cf1cf4225ddad53e21a4dc17b3f4f30e6912c5d2694d7a2065eab26
                  Version: 40.20240812.0 (2024-08-12T04:49:06Z)

Output of groups

groups
anonymousguy wheel

Extra information or context

No response

ximGBu4cyQss5P commented 2 weeks ago

I found this issue after a pretty crazy experience with Aurora this weekend. Major differences are that I was on an all AMD system with aurora-dx-stable. I had just done a fresh install and was doing some basic configuration and Plasma froze when adjusting the refresh rate of one of my displays, then the system hard crashed and rebooted. There wasn't anything interesting in journalctl. An inauspicious start, but after it rebooted I moved forward with some more configuration. No freeze when adjusting the display order / refresh rate this time. Set up some data for flatpak apps (Thunderbird / Joplin). I logged out of my session, and Plasma froze again, and it was another hard crash and system rebooted. Again, nothing interesting in journalctl.

I've never seen this kind of instability with Plasma so it was pretty surprising, and I'm always on distros with 'new stuff' (Tumbleweed / Fedora / NixOS / etc.). One of the only slightly niche things about my setup is that all 3 displays are hooked up to the motherboard / iGPU, and there's a Radeon RX 6700 XT dGPU for gaming. But that hasn't caused any problems in Tumbleweed.

At that point I wanted a working system so I tried the bluefin-dx ISO and had zero problems with that one. I generally have a strong preference for KDE over GNOME so when I have some more time on the weekend I could slap in another SSD and attempt this again and try to get some better data for you, but the lack of anything in journalctl wasn't inspiring.

aar65537 commented 2 weeks ago

I think I am having the same issue, except my PC just hangs instead of shutting down when I attempt to log back in. I'm pretty sure its an SELinux issue. If I hop into tty2 and disable SELinux with sudo setenforce Permissive before logging in everything works. I'm still trying to find a more permanent solution, but maybe this will allow you to login for now.

m2Giles commented 2 weeks ago

If it's SELinux put into permissive mode and look at the audit log for the offending process

aar65537 commented 2 weeks ago

I'm not sure SELinux is the issue anymore. It turns out that I don't actually have to disable SELinux to fix the problem. As long as I login to tty2 before logging into KDE there is no crash. I don't actually have to do anything else, just login.

I think the issue might also have something to do with using more than one monitor. When I disconnect my second monitor the issue goes away.