Unable to become drm master
Page flip commit failed`
#1691
Replies: 3 comments 2 replies
-
The warning about the unprivileged mode is rather harmless and can be ignored. How did you install the COMSMIC Alpha? Also can you check if you have any message from the kernel (dmesg)? Might also be interesting to enable drm debug logging for this. You can follow the instructions here to enable it https://github.com/swaywm/wlroots/wiki/DRM-Debugging |
Beta Was this translation helpful? Give feedback.
-
@cmeissl I managed to get rid of the most of dbus-related errors by wrapping [terminal]
vt = 7
[default_session]
command = "/usr/bin/dbus-run-session /usr/bin/cosmic-comp /usr/bin/cosmic-greeter >>/var/log/cosmic.log 2>&1"
user = "cosmic-greeter" The crash still persists and the visible behavior is still the same. cosmic-greeter starts, I'm typing my password in, presing ENTER. And then COSMIC quickly shows for a second, then crashes and the system restarts. The cosmic.log still ends with the same DRM / page flip commit message:
I tried DRM debug mode. Here is the full log. https://gist.github.com/vadorovsky/79ebf1230961273833cc209bd5b1f2f1 Kernel's last words, before the crash, are:
So it looks like maybe the last ioctl causes smithay/cosmic to crash, but all ioctl logs look very similar to me. I was able to use SDDM+KDE on the same laptop without such issues. |
Beta Was this translation helpful? Give feedback.
-
I managed to get Fedora with the same version of COSMIC working, so I'm closing this discussion - the problem on Gentoo system must be triggered by kernel or mesa, not by smithay. |
Beta Was this translation helpful? Give feedback.
-
First of all, I'm totally unsure what's the good place for raising this question. It's an error thrown by smithay, which happens to me when trying to run COSMIC desktop on a specific hardware. Might be a smithay bug, might be a kernel bug, might be as well just a configuration issue, I'm not sure at this point. For now I'm posting it here, but let me know if I should move this somewhere else.
Getting to the point.
I'm trying to use COSMIC alpha6 desktop on a GPD Pocket 4 with AMD Ryzen AI 9 HX 370 / AMD Radeon™ 890M. Once I'm logging from cosmic-greeter (right after typing password and ENTER), the compositor crashes and the computer reboots.
The logs look like:
I think the important warnings are:
(on the very bottom)
Both are related to smithay:
smithay/src/backend/drm/device/fd.rs
Lines 71 to 72 in 9c0f79b
smithay/src/backend/drm/surface/atomic.rs
Lines 884 to 900 in 9c0f79b
Everything else is probably just a noise (I'm using openrc, not systemd) and I see these logs on all my other machines, where COSMIC works. I think the D-Bus error is also unrelated (but I'll try to fix it, I probably need to adjust the greetd/display-manager openrc service to wait for dbus).
Any hints what might be wrong here and what should I look for next?
Beta Was this translation helpful? Give feedback.
All reactions