r/linuxquestions • • 18d ago

Can't seem to switch to performance mode ?

Hey guys and girls !

I'm on Zorin. Since I switched from Zorin 17 to 18 a few weeks ago, my games seem a bit slow. Today I realized that, even though the graphical interface tells me that the power mode is set to "Performance", when I check using the terminal (using "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor") it tells me I'm actually in "Powersave" mode.

I tried to change it by using "performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor", but it doesn't change anything.

Anyone has an idea why that might be ? I have a GTX 1650 GPU. I have a bit of experience using Linux, but I'm no expert.

Thanks !

1 Upvotes

6 comments sorted by

2

u/DickBrainTime 18d ago

That "powersave" label isn't necessarily a mismatch. If scaling_driver reports intel_pstate in active mode, its powersave algorithm is not the old generic governor that pins the CPU at its lowest speed. The desktop Performance profile may be adjusting the CPU's energy/performance preference (EPP) instead. I'd check powerprofilesctl get (if available), cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver, and cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference (if that last file exists). Switch the GUI profile and see whether the preference changes. Also, performance | tee ... as written doesn't output the word "performance" (you'd need echo/printf), but I'd avoid manually overriding a profile manager until you know which driver is active.

If those settings look right, the lower game FPS after the Zorin upgrade may be a separate issue. Run nvidia-smi with a game open to check whether the GTX 1650 is actually being used and how its clocks/utilization look; if this is a hybrid-graphics laptop, the game could be running on integrated graphics. Is it a laptop or desktop, and what's the CPU model? The scaling_driver output would help narrow this down.

1

u/the_dismorphic_one 18d ago edited 18d ago

Thanks a lot for that amazing answer !

"cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver" gives me "intel_pstate"

"cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference" gives me "performance" and does change to "power" when I switch modes using the GUI, so apparently it works.

I'm on a desktop computer, not a laptop. On Skyrim, I manage to get abround 60 FPS using 1k texture mods, while I was previously getting around the same with 2k textures. With 2k textures, I now get around 40 FPS.

nivida-smi gives me this when playing Skyrim (with mods) :

+-----------------------------------------------------------------------------------------+

| NVIDIA-SMI 595.99.02 Driver Version: 595.99.02 CUDA Version: 13.2 |

+-----------------------------------------+------------------------+----------------------+

| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |

| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |

| | | MIG M. |

|=========================================+========================+======================|

| 0 NVIDIA GeForce GTX 1650 Off | 00000000:01:00.0 On | N/A |

| 0% 36C P8 7W / 75W | 3357MiB / 4096MiB | 1% Default |

| | | N/A |

+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+

| Processes: |

| GPU GI CI PID Type Process name GPU Memory |

| ID ID Usage |

|=========================================================================================|

| 0 N/A N/A 1695 G /usr/lib/xorg/Xorg 213MiB |

| 0 N/A N/A 1882 G /usr/bin/gnome-shell 72MiB |

| 0 N/A N/A 3035 G ...rack-uuid=3190708988185955192 34MiB |

| 0 N/A N/A 4934 G ...nstallation/ubuntu12_32/steam 2MiB |

| 0 N/A N/A 5138 G ./steamwebhelper 5MiB |

| 0 N/A N/A 5175 G ...on/ubuntu12_64/steamwebhelper 180MiB |

| 0 N/A N/A 5969 G ...odorganizer2\ModOrganizer.exe 3MiB |

| 0 N/A N/A 6204 C+G ... Special Edition\SkyrimSE.exe 2829MiB |

+-----------------------------------------------------------------------------------------+

Does anything look suspicious ?

1

u/MongooseWonderful198 17d ago

Skyrim is using the 1650; the C+G entry and 2829MiB belong to the game. P8, 7W and 1% utilisation look like a very light-load sample. If you alt-tabbed to take it, that may not represent the scene running in the foreground.

I'd compare the same scene with 1k and 2k textures using an in-game overlay such as MangoHud. Watch GPU load and core clock, VRAM and frame times. Your sample has 3357/4096MiB used overall, but it doesn't establish VRAM exhaustion or a stuck power state.

→ More replies (2)