wiki:gaming:nvidia_prime_offloading

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:gaming:nvidia_prime_offloading [2025/01/07 12:36] – removed - external edit (Unknown date) 127.0.0.1wiki:gaming:nvidia_prime_offloading [2025/01/07 12:36] (current) – ↷ Page moved from wiki:linux:install_davinci_resolve:wiki:gaming:nvidia_prime_offloading to wiki:gaming:nvidia_prime_offloading Greg
Line 1: Line 1:
 +====== NVIDIA Prime Render Offloading (Linux) ======
 +
 +NVIDIA Prime renderer offloading is a technique used to offload graphics rendering onto an NVIDIA discrete graphics. That sounds like a bunch of gibberish, but this is how you use an NVIDIA GPU on a laptop for games (or whatever else may need it) and use your Intel integrated GPU for your desktop and other apps that don't need the horse power to save on battery life.
 +
 +==== General Command ====
 +
 +To use NVIDIA Prime offloading, prefix your command like so:
 +
 +<code>__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia _command_</code>
 +
 +Where `_command_` is the command to run the application. For instance, to launch Firefox with NVIDIA Prime offloading:
 +
 +<code>__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /usr/bin/firefox</code>
 +
 +==== Command for Steam ====
 +
 +For GLX applications (copy as is):
 +
 +<code>__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%</code>
 +
 +For Vulkan applications, you can drop the GLX library bit:
 +
 +<code>__NV_PRIME_RENDER_OFFLOAD=1 %command%</code>