Utilizing NVIDIA GPU for Specific Applications on Linux: A Simple Script Approach
<p>In a typical Linux setup, especially on systems with both integrated and dedicated GPUs, it’s common to have applications use the integrated GPU by default to save power. However, there are scenarios where the power of a dedicated NVIDIA GPU is required to run graphic-intensive applications. Fortunately, NVIDIA provides an easy way to offload rendering to the dedicated GPU using the environment variables <code>__NV_PRIME_RENDER_OFFLOAD</code> and <code>__GLX_VENDOR_LIBRARY_NAME</code>. In this post, we will explore what these variables do, and how to use them through a simple script to easily launch applications with the dedicated GPU.</p>
<p><a href="https://medium.com/@bigdsdojo/utilizing-nvidia-gpu-for-specific-applications-on-linux-a-simple-script-approach-6bb122cc5b3c"><strong>Click Here</strong></a></p>