Open isti115 opened 3 years ago
The error is mentioned in the release notes:
Unfortunately, it is not clear what the minimum required driver/kernel version is. I do not have the necessary hardware anymore (and they dropped RX5x0 support), so I can't test this either :(.
I'm on 5.10.61 and still experiencing this problem on RVII.
This is definitely something specific to Nix, same card and same kernel works perfectly on gentoo and ubuntu.
I marked this as stale due to inactivity. → More info
Describe the bug Sorry if this is not a good quality report, this is my first issue here, but I have been struggling with this for several days now and have ran out of ideas that I could try myself. (Previously under Arch I had Blender and DaVinci Resolve running on this card as well, these applications are basically my only remaining problem with my otherwise excellent NixOS experience and I see in another issue that Resolve is currently being worked on.)
I have tried several methods for enabling the OpenCL capabilities of my AMD Radeon VII under NixOS, but Blender does not see the device and
clinfo
gives an error as well:I now refer to the official wiki, since I would consider that to be authoritative: https://nixos.wiki/wiki/AMD_GPU#OpenCL but I have also experimented with this: https://github.com/nixos-rocm/nixos-rocm
To Reproduce Steps to reproduce the behavior:
/etc/nixos/hardware-configuration.nix
:blender
and see that no OpenCL devices are available 4b. Runclinfo
and see the errorExpected behavior The Radeon VII card should show up as an OpenCL compute device in Blender.
Additional context I have already tried running the 5.4 kernel as well, which would be officially supported as far as I can tell, but that didn't improve the situation.
Notify maintainers @siraben @danieldk
Metadata
"x86_64-linux"
Linux 5.12.12, NixOS, 21.11pre297476.1905f5f2e55 (Porcupine)
yes
yes
nix-env (Nix) 2.3.12
"nixos-21.11pre297476.1905f5f2e55, nixpkgs-21.11pre297712.c6a049a3d32"
"nixos-21.11pre297476.1905f5f2e55, nixpkgs-21.11pre297712.c6a049a3d32"
/nix/var/nix/profiles/per-user/root/channels/nixos