AMD GPU: Difference between revisions

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
# 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
# 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
  rocmPackages.clr.icd
hardware.opengl.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
];
# For 24.11
hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
</syntaxhighlight>
</syntaxhighlight>