I experience a serious performance problem, when plugging my Gaming Laptop back in AC after it ran on battery - as observed in the Nvidia Settings the Performance Level of my GPU keeps on jumping between 4 (highest) and 2 (low) resulting in a system wide graphics lag.
Here’s what i found:
Laptop on AC - Performance Level 4 (high perf.)
Laptop on battery - Performance Level 0 and 1 (very low, wish i could change that as well)
Laptop back on AC - Performance Level 4 and 2 (serious lag, massive framedrops also in games)
Only solution for now, either
- reboot the whole system or
- kill process kwin_x11
both don’t even qualify as “workarounds”.
Can anyone tell me, if it’s possible to set the Nvidia Performance Level manually?
Found this posting to force Low-Performance Settings, but indeed the same settings (Parameter 0x3) solved my problem with Performance Level jumping and thus creating system lag after plugging the laptop to AC again.
Works as intended: Laptop back on AC - Performance Level 4 constant
no links allowed here, so google this:
- edit / create file:
sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf
(you may choose your favorite texteditor instead of nano)
- edit /paste in file:
VendorName “NVIDIA Corporation”
Option “Coolbits” “1”
Option “RegistryDwords” “PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3”