NVIDIA: Difference between revisions

imported>DieracDelta
update libGLU to reflect split
imported>Moritzschaefer
Add information about switching off nvidia cards
Line 25: Line 25:
==== offload mode ====
==== offload mode ====


'''Currently only in unstable, to be included in 20.09''' (see [https://github.com/NixOS/nixpkgs/pull/66601 #66601]). In this mode the Nvidia card is only activated on demand when you run program(s) with specific environment variables, i.e., here's a sample script called <code>nvidia-offload</code> that you can run wrapped around your exacutable, for example <code>nvidia-offload glxgears</code>:
'''Currently only in unstable, to be included in 20.09''' (see [https://github.com/NixOS/nixpkgs/pull/66601 #66601]).  
 
In this mode the Nvidia card is only activated on demand, however a Nvidia card of the Turing generation or newer and an Intel Coffee Lake chipset is required for a complete poweroff of the Nvidia card (see [https://discourse.nixos.org/t/how-to-use-nvidia-prime-offload-to-run-the-x-server-on-the-integrated-board/9091/19?u=moritzschaefer discussion]).
 
when you run program(s) with specific environment variables, i.e., here's a sample script called <code>nvidia-offload</code> that you can run wrapped around your exacutable, for example <code>nvidia-offload glxgears</code>:


{{file|nvidia-offload|bash|<nowiki>
{{file|nvidia-offload|bash|<nowiki>