AMD GPU: Difference between revisions
drop 24.05 compat |
Tobeportable (talk | contribs) m basic setup instructions were not working in nixos 24.11 anymore |
||
Line 4: | Line 4: | ||
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. | 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"> | <syntaxhighlight lang="nix"> | ||
# as of 24.11 | |||
hardware.graphics = { | |||
enable = true; | |||
enable32Bit = true; | |||
}; | |||
# pre 24.11 | |||
hardware.opengl = { | hardware.opengl = { | ||
enable = true; | enable = true; | ||
Line 9: | Line 16: | ||
driSupport32Bit = true; | driSupport32Bit = true; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||