https://bugs.kde.org/show_bug.cgi?id=516221
--- Comment #25 from [email protected] --- (In reply to Clement from comment #24) > (In reply to vigoth from comment #21) > > (In reply to vigoth from comment #20) > > > (In reply to Clement from comment #19) > > > > (In reply to vigoth from comment #18) > > > > > (In reply to Zamundaaa from comment #12) > > > > > > If you add > > > > > > > KWIN_DRM_OVERRIDE_SAFETY_MARGIN=1500 > > > > > > to /etc/environment and reboot, does that help? > > > > > > > > > > Thank you, I can confirm that this works for me. The games are now as > > > > > smooth > > > > > as before with Plasma 6.5.5, even with Adaptive Sync set to "Never". > > > > > Can't > > > > > really say why others haven't had the same success though. > > > > > > > > It probably depend on graphics card used or compatibility with drivers. > > > > > > Or maybe it depends on refresh rate? I found this bug report, could be > > > related: https://bugs.kde.org/show_bug.cgi?id=513296 > > > > This seems to be the commit where the environment variable was changed: > > https://invent.kde.org/plasma/kwin/-/commit/ > > adf0d882bf62f477abe9aabd344f29c515c7c32e > > So it could be related on how KDE/kwin detect refreshrate capacility and > apply them, that's why FPS and global graphics informations do not show > major errors. There is more information from Zamundaaa in the related merge request: https://invent.kde.org/plasma/kwin/-/merge_requests/8567 (Click on "8 replies" further down the page under Activity) > If KWin takes 4ms to composite, but it's only 3.5ms until the deadline in the > commit thread, the frame will be dropped. Decreasing the safety margin simply > increases the maximum allowed render time. So it looks like frames are getting dropped. That would explain why the games I tested felt like 60 FPS at most, though the actual FPS were far above that value. -- You are receiving this mail because: You are watching all bug changes.
