Open oberblastmeister opened 1 month ago
I am also testing on Fedora 41 and I can confirm that cosmic fails to start, completely locking the computer. It does not seems to be an issue with gdm as it does the same thing also with cosmic-greeter.
At the moment I am testing this, Fedora 41 beta is running kernel 6.11.0 and Mesa 24.2.3.
I can see this error on dmesg:
@oberblastmeister probably a typo in the issue title, I think you meant "but starts on Fedora 40"
Fedora 41 is out of beta now, and I can confirm that the problem is still there.
I haven't spent too much investigating (but I can certainly collect whatever log/data should be needed), just tried from time to time to check that also with the latest builds from copr (ryanabx/cosmic-epoch), cosmic just freezes the entire computer on startup.
I also noticed that cosmic-desktop is now also packaged on the standard fedora repository - albeit being at the alpha 2 release - but the behavior is the same.
I tried installing Fedora 41 from scratch in a VM (with hw accelerated video), installing just the cosmic-desktop + cosmic-apps from fedora repo, no gnome or different DE, and all seems fine. Not sure if it's, then, gnome 47 itself that breaks something cosmic-related (some gtk library, some adwaita shenanigan or else).
So, it turns out that, at least in my case, this is the same bug as https://github.com/pop-os/cosmic-comp/issues/887
caused by https://gitlab.freedesktop.org/drm/amd/-/issues/3693
if I set COSMIC_DISABLE_DIRECT_SCANOUT=1, cosmic works. Just as a temporary workaround, you don't want to keep this direct scanout disabled for no reason.
Or, since looks to be a problem with amdgpu kernel driver, also downgrading the kernel should work.
Be sure to report Fedora issues to Fedora. We don't maintain Fedora's packaging.
AFAIU, this is not related to Fedora packaging in any way, this is an issue on the amd kernel driver introduced with https://github.com/torvalds/linux/commit/1b04dcca4fb10dd3834893a60de74edd99f2bfaf
So, not specific to Fedora, as the freeze problem is known to occur also on Arch. And it's relevant for Pop_OS too for user that are (or will be) on 6.11 kernel and use an amd gpu. But, sure, I'll let Fedora people know as well
On Fedora 41 beta cosmic fails to open after logging in from
gdm
, however it opens on Fedora 40. After logging in from gdm it seems like the desktop is repeatedly trying to start and then getting killed. I'm not sure where the issue is coming from or how to read thejournalctl
logs so I just tried to post some relevant logs.journalctl
``` Sep 25 18:12:10 fedora kernel: show_signal_msg: 4 callbacks suppressed Sep 25 18:12:10 fedora kernel: llvmpipe-6[4165]: segfault at 700 ip 00007f244a70e483 sp 00007f24369ff1e0 error 4 Sep 25 18:12:10 fedora kernel: llvmpipe-14[4173]: segfault at 600 ip 00007f244a70e483 sp 00007f24295ff1e0 error 4 Sep 25 18:12:10 fedora kernel: llvmpipe-2[4161]: segfault at 900 ip 00007f244a70e483 sp 00007f24415ff1e0 error 4 Sep 25 18:12:10 fedora kernel: likely on CPU 8 (core 24, socket 0) Sep 25 18:12:10 fedora kernel: likely on CPU 7 (core 20, socket 0) Sep 25 18:12:10 fedora kernel: likely on CPU 6 (core 20, socket 0) Sep 25 18:12:10 fedora kernel: Sep 25 18:12:10 fedora kernel: llvmpipe-12[4171]: segfault at 500 ip 00007f244a70e483 sp 00007f242a9ff1e0 error 4 Sep 25 18:12:10 fedora kernel: Sep 25 18:12:10 fedora kernel: Code: c5 2d 66 dd c4 c1 6d 66 ea c4 c1 25 db e2 c4 e3 6d 4a d4 50 c5 e5 db de c4 c2 6d 40 d6 c5 f5 fe f2 c5 d9 ef e4 c4 41 2d 76 d2