AMD GPU: Difference between revisions
Lafrenierejm (talk | contribs) m Hyphenate compound adjective |
m added OpenCL option variant for 24.11 |
||
| Line 50: | Line 50: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
# | # For Southern Islands (SI i.e. GCN 1) cards | ||
boot.kernelParams = [ "radeon.si_support=0" "amdgpu.si_support=1" ]; | boot.kernelParams = [ "radeon.si_support=0" "amdgpu.si_support=1" ]; | ||
# | # For Sea Islands (CIK i.e. GCN 2) cards | ||
boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1" ]; | boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1" ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 88: | Line 88: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
hardware.opengl.extraPackages = with pkgs; [ | # For 24.05 | ||
hardware.opengl.extraPackages = with pkgs; [ rocmPackages.clr.icd ]; | |||
]; | # For 24.11 | ||
hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ]; | |||
</syntaxhighlight> | </syntaxhighlight> | ||