-
Notifications
You must be signed in to change notification settings - Fork 101
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
GPU errors with NixOS Unstable #239
Comments
This is me too, with my config being https://github.com/Smaug123/nix-dotfiles/blob/d7221c2af1c68422e6f1f73b4cac071c7f8ba1b8/home-manager/earthworm-config.nix . (Looks like the same issue, specifically the (My knowledge of the graphics stack is too bad to even know who would be best placed to receive a support request, I'm afraid!) |
@gender-combinator @Smaug123: When running with TL;DR: I had to set |
That env var didn't help me I'm afraid. Sorry I'm on my phone, but "DRM device '/dev/dri/card0' has no render mode, falling back to primary node" is the last log line before a segfault in strlen (stack trace is strdup, dri2_initialize_drm, dri2_initialize, eglInitialize, egl_initdisplay, egl_init...). No lines related to drmSyncObjCreate. |
My setup seems similar to @Smaug123 , since I'm also getting the same error except with card1. I probably won't be able to reproduce this after tomorrow as I switch over to the fedora build. (I've been banging my head on this a lot...) |
Some combination of the following fixed this for me, so I now have GPU acceleration as desired:
|
Thanks @Smaug123 . Setting the install mode to overlay worked for me. (I really hoped not to have to rebuild the world, but) 7+ hours later and it's working! For others having trouble rebuilding the world like I did: I made a 16gb swap file and added the args "--max-jobs 1" to nixos-rebuild to get past the enormous webkitgtk rebuild. |
I'm having trouble getting the gpu working. It didn't show up in /dev/dri on NixOS 24.05, so I switched to Unstable, which now the card shows up, but throws errors when my wayland compositors try using it (Sway, Jay). I've ran drm_info and that is failing for /dev/dri/card/1.
unstable revision: 27e30d177e57d912d614c88c622dcfdb2e6e6515
nixos configuration includes:
drm_info output and logs: info.txt
sway logs:
without any env: sway-log-default.txt
with WLR_DRM_DRIVERS=/dev/dri/card1: sway-log.txt
asahi logs in kernel: kernel.txt
The text was updated successfully, but these errors were encountered: