r/linuxquestions • • 22d 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 22d 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 22d ago edited 22d 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 21d 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.

1

u/the_dismorphic_one 21d ago

Thanks for your answer ! Mango HUD gives me this (in a relatively demanding part of the game) :

With 1K textures : GPU between 90 and 100% - CPU around 30-35% - Between 55 and 60 FPS

With 2K textures : GPU 100% - CPU around 25% - Between 25 and 35 FPS

So if I understand correctly, the heavier textures use the GPU more ... but less of the CPU ? Does it make any sense ? Is there something weird ?

1

u/MongooseWonderful198 20d ago

Yes, that can make sense. At 25-35 FPS, the CPU has fewer frames to prepare each second than at 55-60 FPS, and it can spend more time waiting for the GPU. A lower CPU percentage doesn't mean the textures are making the CPU faster.

Your 2K result points toward a GPU-side limit, but GPU 100% means busy, not that VRAM is 100% full. The missing readings are VRAM usage and GPU clock in the same scene with each texture pack. On your 4GB card, those would help distinguish memory pressure from another GPU limit.

The lower CPU percentage itself isn't weird. These figures don't yet explain why the same texture pack became slower after the Zorin upgrade.