AMD GPU: Difference between revisions

imported>Lucasew
No edit summary
imported>Lelgenio
Fix instructions for blender HIP, generic instructions are not sufficient, there's also a dedicated package for it.
Line 30: Line 30:


== HIP ==
== 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:
Most software has the HIP libraries hard-coded. You can work around it on NixOS by using:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 38: Line 38:
</syntaxhighlight>
</syntaxhighlight>


This was tested and working with Blender 3.3 from blender-bin and a Ryzen 5600G with no dedicated graphics.
=== Blender ===
 
Hardware accelerated rendering can be achieved by using the package <syntaxhighlight lang="nix" inline>blender-hip</syntaxhighlight>.


== OpenCL ==
== OpenCL ==