Weird stuttering on fresh Fedora 42 GNOME install (www.youtube.com)
from WereCat@lemmy.world to linux@lemmy.ml on 18 Apr 14:29
https://lemmy.world/post/28396809

EDIT: This has worked, thanks for help: LD_PRELOAD=“” VK_LOADER_LAYERS_ENABLE=VK_LAYER_MANGOHUD_overlay_x86_64 %command% --skip-launcher --vulkan

Hi, so I’ve been using Fedora 41 GNOME since release with no issues at all and I’ve decided to do a new fresh install of Fedora 42 yesterday.

Everything seemed to run well but I’ve encountered this issue in games that after around 30min I get this weird stutter. Until then everything runs smoothly.

As you can see in the video the stutter only occurs during mouse movement or during camera movement with keyboard. Once the camera moves on it’s own and just tracks the character the frametimes are perfectly flat so it does not seem like the fault is on the game but somethings off with the system compositor?

This happens with or without VSync, I’ve tried with and without VRR, I’ve tried chaning game settings and also different Proton versions… only thing that helps is to restart the game but then I’ll have to do it once again in about 30min.

My suspicion is on the new triple buffering in new GNOME 48 but I have no idea how to turn it off to test.

Any suggestions?

#linux

threaded - newest

terminhell@lemmy.dbzer0.com on 18 Apr 15:14 next collapse

Ive had this issue for a while tbh. Though it usually takes closer to an hour+ to start. I’ve tried just about every graphic option in game. Several variations of proton/protonGE. It seemed like it didn’t start for me until a few months back or so. It was something that just started happened Ng overnight. So ya ya might be right or partially.

My issue is a bit worse, as the entire game goes choppy. Almost feels like a mem leak of some kind but system resources are normal. Sapphire 7800xt fwiw

WereCat@lemmy.world on 18 Apr 15:42 collapse

Are you also on GNOME or KDE? Because I’m thinking of reinstalling to KDE and try if it happens there as well but to be honest, I much better like GNOME experience and I would have to setup everything again…

terminhell@lemmy.dbzer0.com on 18 Apr 16:11 collapse

Gnome. 47 still, not upgraded to f42 yet.

It’s the only game that does this. Hell even cyberpunk runs flawless. So idk. Do you have any mods installed?

Malatesta@lemmy.world on 18 Apr 15:31 next collapse

Is this launching games through Steam? I had a similar issue launching games through Steam using gamescope and had to set some launch options. Unfortunately I am at work and can’t remember what those launch options are but when I get back home I will add them.

Edit launch options: LD_PRELOAD=“” gamescope -ef -W 3840 -H 2160 -r 144 --hdr-enabled --adaptive-sync --mangoapp – gamemoderun %command%

As others have mentioned I think it was the “LD_PRELOAD=” that actually fixed the issue

WereCat@lemmy.world on 18 Apr 15:40 collapse

Yeah, it’s just trough Steam.

MasterDebater@sh.itjust.works on 18 Apr 15:57 next collapse

I don’t use Fedora, but do you know if your kernel or GPU drivers have been updated to a newer version? If so, there could be some kind of bug causing it, and you could try downgrading your packages. I would also check to make sure the refresh rate on your monitor matches your OS. The Steam logs would also be a good place to start, if you haven’t checked them yet.

WereCat@lemmy.world on 18 Apr 16:08 collapse

I was on 6.13.x kernel, now 6.14.x and yes, also went forn MESA 24.x.x to 25.x.x which is default for Fedora 42 now. Refresh rate is fine. Not sure what I should be looking for in the Steam logs. Game is not crashing and otherwise seems to be running fine unless I use any kind of input when this starts to happen.

Swarfega@lemm.ee on 18 Apr 16:06 next collapse

What game is that?

BrianTheeBiscuiteer@lemmy.world on 18 Apr 16:44 next collapse

Baldurs Gate 3

HipsterTenZero@dormi.zone on 18 Apr 16:45 collapse

Baldurs Gate 3

softkitteh@lemmy.blahaj.zone on 18 Apr 17:02 next collapse

Had the exact same stuttering on Arch Linux with BG3 - only when moving the mouse/camera after an hour or so of gameplay. Resolved it completely when I disabled the new Steam background recording feature and Steam overlay (on BG3 only). Not sure if it was just one of those things or both, but it hasn’t happened since turning them off. Might be worth a try for you too~

Edit: Oh, also I have these launch options, I think the LD_PRELOAD=“” might have been related to this issue too~

LD_PRELOAD="" VK_LOADER_LAYERS_ENABLE=VK_LAYER_MANGOHUD_overlay_x86_64 %command% --skip-launcher --vulkan
WereCat@lemmy.world on 18 Apr 17:23 next collapse

I already have overlay and game recording disabled. I’ll give those launch options a go, will let you know if it helped. Thanks.

WereCat@lemmy.world on 18 Apr 19:13 collapse

Seems like that has worked, thanks a lot!

andrewd18@midwest.social on 18 Apr 17:04 next collapse

Is it this issue? github.com/ValveSoftware/steam-for-linux/…/11446

If so, try the LD_PRELOAD workaround in the meantime: github.com/doitsujin/dxvk/issues/4436#issuecommen…

WereCat@lemmy.world on 18 Apr 19:13 collapse

seems like that helped, thanks!

Drathro@dormi.zone on 18 Apr 17:17 next collapse

As others have said, it might be the new steam recording feature being a touch buggy still. You could also try running the game through gamescope. I’ve had that resolve weird stuttering when game frame pacing wasn’t matching up with the refresh rate of the monitor or compositor properly.

MonkderVierte@lemmy.ml on 19 Apr 09:26 collapse

Of course you have stuttering if you use that in the screenshot as your desktop.

Joke aside, wasn’t there a real desktop environment that uses a game engine for rendering?