G-SYNC pins GPU P-state at P0 and VRAM clock at 7GHz

Recently i switched to Linux, and noticed “huh, my GPU fans spin a lot more compared to Windows…”
I went to check pretty much everything, temps were super low (around 40c most times), GPU clock was also super low, which is expected… All was well.

I then checked the VRAM clocks and P-state using nvidia-smi, 7001MHz, and P-state P0 while running Half-Life Opposing Force. I tried changing stuff in KDE power plans and PowerMizer, but still it persisted. This very annoying cycle where the GPU hits 60c on some super-light game, spins the fans up, then spins them down after it reaches 40c.

I saw a guy make a passing mention of VRR when researching the issue, and i disabled Adaptive-Sync. The VRAM now runs at a much more reasonable 5001MHz, and the P-State is P3. There is no longer excessive heat (around 53c in Half-Life), and the fans no longer spin.

This never happened in the Windows driver and the VRAM clocks are as expected there, not pinned at 7001MHz. It also happens in both the proprietary and open drivers hence why i am reporting it here.

More info:

nvidia-smi with G-SYNC OFF

temperature.gpu, utilization.gpu [%], power.draw [W], clocks.current.graphics [MHz], clocks.current.memory [MHz], pstate, fan.speed [%]
52,              20 %,                34.88 W,        750 MHz,                       5001 MHz,                    P3,     0 %

nvidia-smi with G-SYNC ON

temperature.gpu, utilization.gpu [%], power.draw [W], clocks.current.graphics [MHz], clocks.current.memory [MHz], pstate, fan.speed [%]
39,              34 %,                37.94 W,        210 MHz,                       7001 MHz,                    P0,     50 %

(both in HL: Opposing Force in the same area, also occurs in every game that barely uses the GPU)

Specs:

GPU - GeForce RTX 3070 8G
CPU - Ryzen 5 5600
RAM - 32GB, 3200MT/s
Distro - CachyOS, kernel 7.2.3-1-cachyos
Driver - nvidia-open v610.57.04
Monitor - LG UltraGear 24GS60F (180hz, G-SYNC compatible)

try the kernel param nvidia_modeset.disable_vrr_memclk_switch=1