AMD GPU: Difference between revisions
imported>Fufexan m Fix indentation inconsistencies |
imported>Lucasew No edit summary |
||
| Line 28: | Line 28: | ||
boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1" ]; | boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1" ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== HIP == | |||
Software like Blender may support HIP for GPU acceleration. Most software has the HIP libraries hard-coded. You can work around it on NixOS by using: | |||
<syntaxhighlight lang="nix"> | |||
systemd.tmpfiles.rules = [ | |||
"L+ /opt/rocm/hip - - - - ${pkgs.hip}" | |||
]; | |||
</syntaxhighlight> | |||
This was tested and working with Blender 3.3 from blender-bin and a Ryzen 5600G with no dedicated graphics. | |||
== OpenCL == | == OpenCL == | ||