| Summary: | Discrepancy in Game Framerate Perception and Reported FPS Graphs, VSync magic behaviour. | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Edgars <edgarsscirulis> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bmanbros, edgarsscirulis, nate, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.4 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Edgars
2023-04-04 12:11:29 UTC
I updated to Plasma 5.27.4, but I'm still experiencing the same issue as before. Runs fine for me. Did you change any compositor settings from the default? (In reply to Zamundaaa from comment #2) > Runs fine for me. Did you change any compositor settings from the default? No i didn't. Locking frames to 60 FPS is smooth over 60 lags as hell aka a lot lag spikes What specific hardware are you using? There's https://gitlab.freedesktop.org/drm/amd/-/issues/2516, which may be related (In reply to Zamundaaa from comment #4) > What specific hardware are you using? There's > https://gitlab.freedesktop.org/drm/amd/-/issues/2516, which may be related I am having Ryzen 5 3500U with AMD IGPU Vega 8 Mobile, I guess the issue is with kernel? Yes, it seems so. You can check by downgrading to Linux 6.1 or earlier If you change the latency policy in the compositor settings to "Force smoothest animations", does the stutter go away? (In reply to Zamundaaa from comment #6) > Yes, it seems so. You can check by downgrading to Linux 6.1 or earlier > > If you change the latency policy in the compositor settings to "Force > smoothest animations", does the stutter go away? By default it's on Force smoothness animations" also it's not more about stuttering. Tested on gnome 43.4 the frames are rhe same in the graph meanwhile (In reply to Zamundaaa from comment #6) > Yes, it seems so. You can check by downgrading to Linux 6.1 or earlier > > If you change the latency policy in the compositor settings to "Force > smoothest animations", does the stutter go away? By default it's set to force smoothness animations. Well i dunno it's kernel issue, Because on gnome 43.4 I have no issues also dunno if it's stuttering, because on KDE Wayland session game via xwayland graph shows 130-140 but game it self feels 40-50 FPS, vsync fixes the issues but frames are locked to 60. However lunching game with Wayland session SDL_VIDEODRIVER=wayland I have no issues but at them same moment I can't use OpenGL. However on Gnome 43.4 running game on xwayland I have no issues. Right, we changed the default in 5.27.
> Well i dunno it's kernel issue, Because on gnome 43.4 I have no issues
That's not really relevant, the upstream bug report says the same. Please test with Linux 6.1 or earlier
(In reply to Zamundaaa from comment #8) > Right, we changed the default in 5.27. > > > Well i dunno it's kernel issue, Because on gnome 43.4 I have no issues > That's not really relevant, the upstream bug report says the same. Please > test with Linux 6.1 or earlier Tried linux-lts kernel 6.1.25 the same issue. The issue happened after upgrading to 5.27 Okay, then it's a different thing from the amd bug. Does anything change if you set the latency policy to balanced (which was the default in 5.26)? (In reply to Zamundaaa from comment #10) > Okay, then it's a different thing from the amd bug. > Does anything change if you set the latency policy to balanced (which was > the default in 5.26)? Didn't help, nothing changed. I fixed the stuttering issue by compiling the kernel myself. I'm not sure why it worked, but it did. |