AMD GPU: Difference between revisions

Line 113: Line 113:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
hardware.opengl.extraPackages = [
hardware.opengl.extraPackages = [
   # NOTE: at some point GPUs in the R600-family and newer
  # OpenCL support for the older Radeon R300, R400, R500,
  # R600, R700, Evergreen, Northern Islands,
  # Southern Islands (radeon), and Sea Islands (radeon)
  # GPU families
  pkgs.mesa.opencl
   # NOTE: at some point GPUs in the R600 family and newer
   # may need to replace this with the "rusticl" ICD;
   # may need to replace this with the "rusticl" ICD;
   # and GPUs in the R500-family and older may need to
   # and GPUs in the R500-family and older may need to
   # pin the package version or backport/patch this back in
   # pin the package version or backport Clover
   # - https://www.phoronix.com/news/Mesa-Delete-Clover-Discussion
   # - https://www.phoronix.com/news/Mesa-Delete-Clover-Discussion
   # - https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19385
   # - https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19385
  pkgs.mesa.opencl
];
];
</syntaxhighlight>
</syntaxhighlight>