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
nixos/manual: add a section about enabling OpenCL for Intel GPUs #95086
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have 2 Intel iGPUs on my NixOS machines and I came to the same conclusions as you. I can vouch for the technical accuracy of the information given in the chapter.
I have the following GPU in an 8th generation Intel mobile CPU:
I added the following config snippet and rebooted:
Now I'm trying to verify the GPU is being recognized.
No dice. I'm on Wayland (Sway), but that shouldn't matter, right? Edit: Adding |
Could you I just realized that we maybe missing one important piece in this manual. The user probably needs to be in the
|
I tried this as root, so I guess that should suffice. Also, yes my local user is in the With
|
Also poking a bit in the dark now. I have an 8th generation Intel NUC, but currently without storage, so I cannot easily test. But I noticed that
I wonder if that could be the culprit (I don't know exactly how the OpenCL ICD mechanism loads runtimes). |
For the record, the machines I mentioned have second (Sandy bridge) and third (Ivy bridge) generation processors so I have to use beignet, intel-open-compute doesn't support them. |
Turns out my NAS has Gen9.5. With
|
I think with the |
Thanks! |
Motivation for this change
I don't currently use an Intel GPU, but just trying to fill the blanks in the new GPU accel chapter.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)