AMD GPU: Difference between revisions

fixed the typo in the service name. added wantedBy config for auto start at boot example
Rrdpad (talk | contribs)
added hardware.graphics option
Line 2: Line 2:


== Basic Setup ==
== Basic Setup ==
For ordinary desktop / gaming usage, AMD GPUs are expected to work out of the box. As with any desktop configuration though, graphics acceleration does need to be enabled.<syntaxhighlight lang="nix">
For ordinary desktop / gaming usage, AMD GPUs are expected to work out of the box. As with any desktop configuration though, graphics acceleration does need to be enabled.
<syntaxhighlight lang="nix">
hardware.opengl = {
hardware.opengl = {
   enable = true;
   enable = true;
   driSupport = true;
   driSupport = true;
   driSupport32Bit = true;
   driSupport32Bit = true;
};
</syntaxhighlight>
=== For 24.11 unstable release ===
<syntaxhighlight lang="nix">
hardware.graphics = {
  enable = true;
  enable32Bit = true;
};
};