AMD GPU: Difference between revisions

imported>Artturin
No edit summary
imported>Artturin
clarify amdvlk
Line 34: Line 34:
== Vulkan ==
== Vulkan ==


To enable vulkan
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
hardware.opengl.driSupport = true;
hardware.opengl.driSupport = true;
Line 40: Line 41:
</syntaxhighlight>
</syntaxhighlight>


{{Note|amdvlk is not needed for vulkan}}
Starting from 20.09, the amdvlk drivers can be used in addition to the mesa radv drivers, the program will choose which one to use:
Starting from 20.09, the amdvlk drivers can be used in addition to the mesa radv drivers, the program will choose which one to use:


Line 46: Line 49:
   amdvlk
   amdvlk
];
];
# For 32 bit applications
# For 32 bit applications  
# Only available on unstable
hardware.opengl.extraPackages32 = with pkgs; [
hardware.opengl.extraPackages32 = with pkgs; [
   driversi686Linux.amdvlk
   driversi686Linux.amdvlk