-
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
Sway fails to start in a fresh Debian 12 virtual machine under KVM/QEMU: "DRI2: failed to create screen". #8552
Comments
This is a very old version of Sway. Can you reproduce with a more recent one, e.g. by building from source? |
@emersion I would try but the "install dependencies" sections of both Sway and wlroots are unclear about which package to install. E.g. On Debian 12, |
The wiki has a guide, with a list of Debian packages: https://github.com/swaywm/sway/wiki/Development-Setup |
Running
I tried replacing |
The |
@emersion I did that followed by a clean rebuild. It compiled. But running
If I start a new tty (by pressing Ctrl-Alt-F3) and then running |
Debian testing has a recent version of sway that might be easier to install and test. |
Sway Version:
Debug Log:
Configuration File:
Stack Trace:
sudo apt install sway
and thensway
, it crashed with error messages saying "EGL_NOT_INITIALIZED", "DRI2: failed to create screen", etc.echo $XDG_SESSION_TYPE
. So I installed Sway, switched to another tty by pressing Ctrl-Alt-F3, and started Sway again. But the same error messages were shown. The logs and traces were uploaded above.The text was updated successfully, but these errors were encountered: