Nvidia: Difference between revisions

imported>Vodkabot2
No edit summary
imported>Vodkabot2
No edit summary
Line 1: Line 1:
== Card type ==
== Card type ==


* MXM / output-providing card (shows as ''VGA Controller'' in ''lspci''), i.e. graphics card in desktop computer or in high-end laptop
* MXM / output-providing card (shows as ''VGA Controller'' in ''lspci''), i.e. graphics card in desktop computer or in some laptops
* muxless/non-MXM Optimus cards have no display outputs and show as ''3D Controller'' in ''lspci'' output, seen in most consumer laptops with nvidia hybrid graphics
* muxless/non-MXM Optimus cards have no display outputs and show as ''3D Controller'' in ''lspci'' output, seen in most modern consumer laptops


== MXM ==
== Non-optimus mode ==


Follow [https://nixos.org/nixos/manual/#idm140737316313424 NVIDIA Graphics Cards] section in official manual.  
'''You need MXM card'''. Follow [https://nixos.org/nixos/manual/#idm140737316313424 NVIDIA Graphics Cards] section in official manual.  


In case of laptop you may also need to use BIOS option to select which card to use for internal display or you're even forced to use external video port with some laptops.
In case of laptop you may also need to use BIOS option to select which card to use for internal display or you're even forced to use external video port with some laptops.
Line 27: Line 27:
=== Nvidia PRIME ===
=== Nvidia PRIME ===


Official solution by nvidia, but needs some preparing.
Official solution by nvidia, but needs some preparing. '''Also you need muxless card'''


'''1.''' Configure NixOS to allow Intel and Nvidia X.Org drivers coexist together, and also to disable nvidia card by default.
'''1.''' Configure NixOS to allow Intel and Nvidia X.Org drivers coexist together, and also to disable nvidia card by default.