Why every running CUDA programs force the GPU to P2 state. It’s really annoying:
There is no way to disable that behavior. (no NVreg_* options in nvidia kernel module).
It prevents power saving when decoding with NVDEC (GPU clock doesn’t decrease bellow base clock).
It reduces GPU performance of CUDA programs and games during encoding sessions.
There are topics from 2017/2018 complaining about that:
A least add an option such as kernel parameters to disable “P2 forced” state when running CUDA.
1 Like
It is 2024 - and this issue make Nvidia GPU video acceleration pointless in Linux.
opened 11:28AM - 03 Mar 24 UTC
When I watch youtube/twitch/other videos in "default CPU-decoding" by webbrowser… s, my GPU is:
`GPU 210MHz MEM 405MHz TEMP 36°C`
And CPU usage around 20% on 65Watt CPU for 480p-720p videos.
When I use this `nvidia-vaapi-driver` in Firefox - even watching single 480p video, when it on screen:
<pre> <font color="#2AA1B3">GPU</font> 2460MHz <font color="#2AA1B3">MEM</font> 8250MHz <font color="#2AA1B3">TEMP</font><font color="#26A269"> 42</font>°C <font color="#2AA1B3">FAN</font> 0% <font color="#2AA1B3">POW</font> N/A / 115 W
<font color="#2AA1B3">GPU</font>[<font color="#26A269">|</font> 3%] <font color="#2AA1B3">MEM</font>[<font color="#26A269">|||</font> 0.906Gi/7.996Gi] <font color="#2AA1B3">DEC</font>[ 1%]</pre>
I mean - boost from 210MHz to 2460MHz is not free in power consumption, and same for memory.
*I can not see power-consumption it always N/A by Nvidia driver.*
It worth it for 4k videos that for sure, but for 480p-720p... is it?
P.S. Just updated to 550.54.14 Nvidia driver - this nvidia-vaapi-driver gpu-acceleration works in Wayland, Wayland works must better now on Nvidia, there still lots of bugs especially with chrome, but Wayland on Nvidia works now 100x better than on 545 drivers.
P.S.S. Thanks for making something that actually works for GPU video acceleration in webbrowser.
faz
August 13, 2024, 5:33pm
3
lets get nvidia to notice this post and make some changes. I agree it’s really weird seeing this forced and it shouldn’t behave like this.
faz
August 31, 2024, 10:52am
4
this issue is especially annoying on my system because it causes the fans on my founders edition 3070 card to spin up for no reason when watching videos at 1440p / 4k. The card is only at 42c and the fans are still spinning. They’re easily the loudest and whiniest fans in my system too.