this post was submitted on 31 Dec 2024
40 points (97.6% liked)

Linux Gaming

15598 readers
414 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 
Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.7-arch1-1 (64-bit)
Graphics Platform: Wayland
GPU: NVIDIA GeForce RTX 4090/PCIe/SSE2
GPU DRIVER: 565.77

Pretty straight forward issue.
Rocket League for example: Butter smooth game play before sleep. After sleep mild to moderate stuttering.

  • Looking at processes, I don't see anything hung or stuck using high resources...
  • I've tried restarting sddm and kwin_wayland --replace.
  • Scanned logs before and after sleep, didn't see anything stand out.

I feel like this started happening around the first release of the 6.12 kernel. Or maybe last couple NVIDIA driver releases. With that in mind, since it's the 6.12 kernel, I have set my scheduler to "scx_lavd --autopilot".

Anyone experiencing similar issues?

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 33 points 6 days ago (1 children)

The key is to keep on gaming and not going to sleep.

[–] [email protected] 4 points 6 days ago* (last edited 6 days ago)

And if you go to sleep, sleep well to have good performance afterwards

[–] [email protected] 9 points 6 days ago (1 children)

What's your CPU? 6.12 has a lot of efficiency changes for both Intel and AMD. My immediate thought is this is power profile related. As a workaround, after waking from sleep, switch your power profiles to something else, then back to performance. See if that helps.

Also check dmesg

[–] [email protected] 4 points 6 days ago* (last edited 6 days ago) (1 children)

Hi there. i9-14900K

On my setup, game launches automatically trigger the CPU Scheduler/Governor/Energy Profiles to Performance.

So went ahead and switched the CPU Scheduler, Governor and Energy profiles to defaults and powersave. Then put them all back to performance. Game is more than playable, its just not the same buttery smooth it was before the sleep.

Thanks for the suggestion.

Edit: dmesg

I have scanned my logs like I mentioned above, which includes dmesg and nothing stands out during wake or sleep.

[–] [email protected] 1 points 3 days ago* (last edited 3 days ago) (1 children)

Isn't that the chip that physically degrades?

I haven't been following that fiasco very closely. Did Intel ever recall and replace the chips? If not, that could be your problem and there's nothing you can really do about it since the CPU itself is flawed.

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)

Unfortunately these chips had voltage issues on launch. Whenever I do a new build I manually tweak my CPU in the bios while also testing my configuration using stress / torture tests on prime95 (mprime). They have since released bios updates that address the voltage issue. My understanding is the chips do not "degrade" over time, but instead could experience "damage" when used on a unpatched bios. More so when using the advanced overclock settings.

that could be your problem and there’s nothing you can really do about it since the CPU itself is flawed.

I don't think so. This is a Linux bug. This bug doesn't exist when booting into Windows.

[–] [email protected] 7 points 6 days ago

Get some caffeine in ya /j

[–] lurch 4 points 6 days ago (1 children)

Maybe check CPU frequency before and after.

[–] kata1yst 1 points 5 days ago* (last edited 5 days ago) (1 children)

And CPU power governor & GPU power profile. Are you using Feral GameMode?

[–] [email protected] 1 points 5 days ago

Yes. And those are all accounted for. Even toggled profiles off/on before playing. No difference.

[–] [email protected] 3 points 5 days ago

I run EndeavourOS and have to restart after my computer falls asleep. Have the thing set to 4 hours or whatever before sleep but sometimes it happens.

[–] [email protected] 4 points 6 days ago* (last edited 6 days ago)

Same, Manjaro with kernel 6.6.65, all AMD Thinkpad E14 Gen 3.

[–] [email protected] 2 points 5 days ago* (last edited 5 days ago) (1 children)

I do not have the solution to your problem but I may have a hint. I had this exact problem years ago. The only thing I recall is that there is a difference between sleep and hibernate and maybe your computer goes in hibernation mode. Try disabling it to see if the cause is sleep mode or hibernate mode (or both).

Sorry I don't have the solution. If you find it, let us know!

Edit: you may want to look at this https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/powermanagement.html

[–] [email protected] 1 points 5 days ago* (last edited 5 days ago)

Good thought. Unfortunately I have confirmed the issue persists after sleep. Hibernation is disabled.

Yes. The appropriate nvidia service units are in place.

[–] dajoho 2 points 5 days ago

Same on an Intel i7 Desktop with Fedora 40, AMD GPU.