AMD GPU: Difference between revisions
imported>SuperSamus No edit summary |
imported>Fufexan m Fix indentation inconsistencies |
||
| Line 33: | Line 33: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
hardware.opengl.extraPackages = with pkgs; [ | hardware.opengl.extraPackages = with pkgs; [ | ||
rocm-opencl-icd | |||
rocm-opencl-runtime | |||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 55: | Line 55: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
hardware.opengl.extraPackages = with pkgs; [ | hardware.opengl.extraPackages = with pkgs; [ | ||
amdvlk | |||
]; | ]; | ||
# For 32 bit applications | # For 32 bit applications | ||
| Line 75: | Line 75: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
boot.kernelParams = [ | boot.kernelParams = [ | ||
"video=DP-1:2560x1440@144" | |||
"video=DP-2:2560x1440@144" | |||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||