-
Notifications
You must be signed in to change notification settings - Fork 57
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
SwayFX Fails to Run on Ubuntu 24.04 #380
Comments
You're using nix to run it, right? Does it run without nix? |
Same issue, it does not make a difference wether I run it from inside the nix devshell or in the system env: ❯ swayfx
00:00:00.003 [wlr] [render/egl.c:209] EGL_EXT_platform_base not supported
00:00:00.003 [wlr] [render/egl.c:524] Failed to create EGL context
00:00:00.003 [wlr] [render/fx_renderer/fx_renderer.c:607] Could not initialize EGL
00:00:00.003 [sway/server.c:145] Failed to create fx_renderer |
Seems like you're missing a driver? You're rocking an AMD IGPU, so Mesa is fine. I'm guessing that trying to run regular Sway is also a problem? What Mesa drivers do you have installed? |
I am currently using sway from the Ubuntu repositories and it works just fine. My installed mesa driver is glxinfo -B
[...]
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1
[...]
`` |
Unfortunately a known nix issue, I should add a bit to the README about it. This happens when the nix version of egl is out of sync with your system's version. NixGL is the solution: https://github.com/nix-community/nixGL |
Feel free to reopen or add more info if nixGL doesn't work! |
Maybe this would help? https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3612 |
Thanks for the tip with NixGL, unfortunately this still does not fix the issue for me > nix profile install github:guibou/nixGL --impure
> nixGL -- swayfx
amdgpu: unknown (family_id, chip_external_rev): (148, 10)
libEGL warning: egl: failed to create dri2 screen
00:00:00.023 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
amdgpu: unknown (family_id, chip_external_rev): (148, 10)
libEGL warning: egl: failed to create dri2 screen
00:00:00.028 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
00:00:00.028 [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.028 [wlr] [render/egl.c:269] Failed to initialize EGL
00:00:00.028 [wlr] [render/egl.c:572] Failed to initialize EGL context
00:00:00.028 [wlr] [render/fx_renderer/fx_renderer.c:607] Could not initialize EGL
00:00:00.028 [sway/server.c:145] Failed to create fx_renderer |
At least a new error 🤷 |
@ErikReider You could try the version from Git--- SwayFX has been rebased off a newer Sway version, 1.10.1. |
Hi All,
first, thanks for maintaining and providing SwayFx, I really would love to be able to run.
I am running Ubuntu 24.04 and compiled swayfx using nix, which worked fine.
Unfortunately I am unable to run it and get the following errors:
This seems to be related to mesa/opengl
Did anyone manage to get it running on ubuntu? Is this a bug or a bad setup?
SwayWm from the ubuntu repositories runs just fine on my system.
I would really appreciate any help, greetings Felix :)
The text was updated successfully, but these errors were encountered: