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

bug: (swayfx) sway.conf fails to build: Can not create GLES2 renderer: no DRM FD available #5379

Open
2 tasks done
auroraanna opened this issue May 5, 2024 · 8 comments
Open
2 tasks done
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@auroraanna
Copy link

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

not having changed anything about my sway config, i not get an error trying to rebuild my home manager config:

error: builder for '/nix/store/0lw0xw6csxlm5g54mdc0268ryi69fmag-sway.conf.drv' failed with exit code 1;
       last 2 log lines:
       > 00:00:00.009 [wlr] [render/fx_renderer/fx_renderer.c:601] Cannot create GLES2 renderer: no DRM FD available
       > 00:00:00.009 [sway/server.c:150] Failed to create fx_renderer

Maintainer CC

@amarshall @rycee

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.29, NixOS, 24.05 (Uakari), 24.05.20240502.63c3a29`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/p69bcs7ma6ijj8v9xsrg3nq3nn8ryn95-source`
@auroraanna auroraanna added bug triage Issues or feature request that have not been triaged yet labels May 5, 2024
@philipwilk
Copy link

I have this issue if I upgrade swayfx from 0.3.2 (based on sway 1.8) to 0.4.0 (based on sway 1.9).

@Nairou
Copy link

Nairou commented May 6, 2024

I have this issue if I upgrade swayfx from 0.3.2 (based on sway 1.8) to 0.4.0 (based on sway 1.9).

Exactly the same. It didn't occur to me that it could be swayfx rather than sway.

@auroraanna
Copy link
Author

oh, i forgot that i was using swayfx

@auroraanna auroraanna changed the title bug: sway.conf fails to build: Can not create GLES2 renderer: no DRM FD available bug: (swayfx) sway.conf fails to build: Can not create GLES2 renderer: no DRM FD available May 6, 2024
@amarshall
Copy link
Contributor

You can disable the build-time config check with wayland.windowManager.sway.checkConfig = false if your configuration does not work in the sandbox. You may consider opening an upstream bug with swayfx if config checking always requires DRM device with swayfx.

@TotalChaos05
Copy link

could be related to WillPower3309/swayfx#313 ?

@amarshall
Copy link
Contributor

No; this issue is not about building swayfx itself.

@JGirCo
Copy link

JGirCo commented May 8, 2024

You can disable the build-time config check with wayland.windowManager.sway.checkConfig = false if your configuration does not work in the sandbox. You may consider opening an upstream bug with swayfx if config checking always requires DRM device with swayfx.

It works without issue when I set this option,

philipwilk added a commit to philipwilk/nixconf that referenced this issue May 9, 2024
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/sway-fails-with-cannot-create-gles2-renderer-after-update/45703/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

10 participants