nvidia-exec icon indicating copy to clipboard operation
nvidia-exec copied to clipboard

could we use "auto" instead of "on" to turn on the gpu pci

Open lithces opened this issue 1 year ago • 1 comments

Hi,

Could we use "auto" instead of "on" to turn on the gpu pci device? In this way we could keep the GPU at cool when it is not actually used if launched with nvx start bash

I tried it on my Legion 4090 laptop by modifying /usr/bin/nvx, and it works.

Thanks, Ruijiang

lithces avatar Jun 01 '24 23:06 lithces

this is the intended behavior though, when you run nvx start bash it will turn your GPU on, then run bash on it, telling the graphics to be offloaded. however i'm not sure what your specific use case is, but nvidia-exec is meant for more GPU intensive things like games/desktop applications, not a shell like bash

ia74 avatar Jun 24 '24 21:06 ia74