Nvidia: Difference between revisions

imported>Vodkabot
m Vodkabot moved page Nvidia Optimus to Nvidia
imported>Vodkabot
No edit summary
Line 1: Line 1:
For Optimus hybrid graphics there are currently two solutions available under NixOS:
== Card type ==


== Bumblebee ==
* MXM / output-providing card (shows as VGA Controller in lspci), i.e. usual desktop or high-end laptop card
* muxless/non-MXM Optimus cards have no display outputs and show as 3D Controller in lspci output
 
== MXM ==
 
Follow [https://nixos.org/nixos/manual/#idm140737316313424 NVIDIA Graphics Cards] section in official manual
 
== Optimus ==
 
For Optimus hybrid graphics (muxless) there are currently two solutions available under NixOS:
 
=== Bumblebee ===


Use <syntaxHighlight lang="nix">hardware.bumblebee.enable = true;</syntaxHighlight> option.
Use <syntaxHighlight lang="nix">hardware.bumblebee.enable = true;</syntaxHighlight> option.
Line 10: Line 21:
Cons: some performance penalty, no Vulkan support, things like CUDA and OpenCL are problematic to configure
Cons: some performance penalty, no Vulkan support, things like CUDA and OpenCL are problematic to configure


== Nvidia PRIME ==
=== Nvidia PRIME ===


Use the [https://github.com/dukzcry/crap/tree/master/primerun special script] for out of box experience.
Use the [https://github.com/dukzcry/crap/tree/master/primerun special script] for out of box experience.