Skip to content
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 Crash Unable to create backend #5267

Closed
JonathanILevi opened this issue Apr 28, 2020 · 3 comments
Closed

Sway Crash Unable to create backend #5267

JonathanILevi opened this issue Apr 28, 2020 · 3 comments

Comments

@JonathanILevi
Copy link

Sway is crashing when I try to launch it.

Tested on v1.4 and master, also tested using a blank config file.

I have no problem on v1.2.

Here is the error logs:
https://gist.github.com/JonathanILevi/7a673013f42c31fcb1d07543fa0ccfd5

coredumpctl gdb sway gives "No match found."

I am on NixOS, and I run sway directly from a tty. Sway is crashing before anything happens graphically.

@Emantor
Copy link
Contributor

Emantor commented Apr 28, 2020

Did you compile locally from the instructions in the wiki? On NixOS you'll have to recompile as soon as you upgrade one of the dependencies, since your libs go out of sync otherwise. Please use the Wayland overlay or create nix pkgs by overwriting the src attribute for sway and wlroots.

@ascent12
Copy link
Member

undefined symbol: drmSyncobjTimelineSignal

Your libdrm is too old or otherwise is not set up correctly. This is causing your GPU driver to fail to load.
Perhaps your drivers are not set up correctly in other ways too.

In any case, this is not a sway issue.

@JonathanILevi
Copy link
Author

It looks like it was an issue with having mismatched OpenGL versions. I guess OpenGL does not like having multiple versions on a single system.

In NixOS, Sway, typically, needs to be installed from the same channel as the OS.

Thank you for leading me to the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants