With VDPAU, the GPU is allowed to reduce clocks below P2 CUDA and P0 states. This is not the case with NVDEC, it forces the card into P2 CUDA state which totally prevents any downclocking below high baseclock (e.g. ~1.5GHz for a GTX 1070).
Thus power consumption with NVDEC is much higher than with VDPAU.
β Please implement power savings when only NVDEC is used and not any other CUDA activity is going on!
Now in 2022, this issue is still present in both Linux NVIDIA 515.48.07 driver and Windows NVIDIA 512.95 driver.
There is no way to disable this driver behavior.
We have filed a bug 200504689 internally for tracking purpose and we do have local repro for investigation.
Setup - OMEN by HP 25L Gaming Desktop GT15-0xxx + AMD Ryzen 7 5700G with Radeon Graphics + Ubuntu 22.04.1 LTS + kernel 5.19.0-38-generic + NVIDIA GeForce RTX 3080 + Driver 530.30.02 + DELL G3223D
Repro Steps -
Installed MPV player
Ran command mpv --hwdec=nvdec Sample 4k UHD (Ultra HD) video download - looks amazing on a 5k display.mp4
Observed that power consumption is around 90 W.
Ran command mpv --hwdec=vdpau-copy Sample 4k UHD (Ultra HD) video download - looks amazing on a 5k display.mp4
Observed that power consumption is around 30 W.
I have questions @amrits.
Why does the driver lock GPU to P2 state when a CUDA application is running? It is a bug or intentional?
In what driver version that behavior will be removed ?