-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Endless loop when starting sway: Unable to add DRM framebuffer #4623
Comments
A kernel DRM log would be useful for this. echo 0xff | sudo tee /sys/module/drm/parameters/debug
sway # i.e. reproduce your issue
echo 0x00 | sudo tee /sys/module/drm/parameters/debug Note that this is EXTREMELY spammy. Reproduce your issue and turn it off as fast as possible, otherwise there will be literally thousands of lines of log messages. |
Note, 0xFE is less spammy and will probably contain what we need. |
Yeah, I should probably pay more attention to what each bit in that number actually does. |
Okay, here is the relevant dmesg output after setting the debug to 0xfe: |
Unfortunately that DRM log didn't really provide any new insight.
Hmm, I read your original config more closely, and didn't realize how old your hardware was. I'm not 100% sure that it has the features that a Wayland compositor (that uses hardware rendering) would need to work. Does weston work for you? (Make sure it's not using the pixman renderer or fbdev backend) |
Hopefully that's not the case. I am running a Thinkpad x60, which is past your cutoff. The thing is, I was able to run sway several months ago (the beginning of July). I will try weston and get back to you. |
So I was able to run weston 3.0.0 successfully (log). I installed weston without fbdev support, and I don't believe I was using pixman, but hopefully you can confirm from the log. |
Just taking a quick look at that log, |
No, this is optional. |
I just noticed this was still open! I actually got a new computer in february this year (x220), and have been running sway on it with no problems since. I don't think there is any need to leave this open any longer. |
OK. For those interested in support for older intel hardware, there's swaywm/wlroots#2506. |
Sway info: (no systemd / elogind)
debug log
I compiled sway, disabling xwayland and x11-backend (the whole reason I want to switch to sway is to get rid of x11 cruft), ran
chmod a+s /usr/local/bin/sway
, and then ransway
from my tty. The result was that a cursor appeared on my screen which I could move around using my mouse. The screen was unchanged in any way otherwise. After a few seconds of unresponsiveness, I switched to another virtual tty (ctrl+alt+f2) and killed the process.I'm guessing this is a permisison issue since that is one of the prominent errors in the log.
The text was updated successfully, but these errors were encountered: