lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 517
|
Posted: Thu Sep 05, 2024 10:47 am Post subject: Can I prevent Xorg running on the NVIDIA GPU? |
|
|
Hi folks
I've been struggling to get the NVIDIA discrete GPU working my laptop. which has hybrid Intel/NVIDA graphics. Thanks to various people who have made suggestions, I have made a little progress. If I run certain graphics programs with environement variables
Code: |
__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia
|
and I see a useful increase in graphics performance.
But...
I _only_ want to use the discrete GPU for applications I select. At present, nvidia-smi tells me it is being used for Xorg. So the discrete GPU never powers down. I don't know what the implications are on a laptop, but I suspect this will trash the battery life.
How can I arrange it so that Xorg starts without using the discrete GPU? I'm guessing that something has to be done in the display manager, but I don't have a clue what.
BR, Lars. |
|