Summary: | Low Observed Refresh Rate/FPS with Fedora Asahi Remix + Rawhide (Plasma 5.90/Plasma 6 beta) | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Sawyer Bergeron <sawyerbergeron> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | xaver.hugl |
Priority: | NOR | Keywords: | qt6 |
Version: | 5.90.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sawyer Bergeron
2023-12-19 17:55:53 UTC
There's three ways this could happen: 1. OpenGL render time queries are broken 2. the buffer becomes readable later than the render time queries say 3. KWin does the atomic commits too late You can test if it's the second one by setting KWIN_DRM_DISABLE_BUFFER_READABILITY_CHECKS=1. Does that improve the refresh rate? Afaik the Asahi driver currently doesn't support hardware cursors (that are moved without OpenGL or buffer readability tests being involved), so testing possibility 3 requires patching KWin (In reply to Zamundaaa from comment #1) > There's three ways this could happen: > 1. OpenGL render time queries are broken > 2. the buffer becomes readable later than the render time queries say > 3. KWin does the atomic commits too late > > You can test if it's the second one by setting > KWIN_DRM_DISABLE_BUFFER_READABILITY_CHECKS=1. Does that improve the refresh > rate? > > Afaik the Asahi driver currently doesn't support hardware cursors (that are > moved without OpenGL or buffer readability tests being involved), so testing > possibility 3 requires patching KWin No "feel" improvement and the FPS effect doesn't display any obvious change with KWIN_DRM_DISABLE_BUFFER_READABILITY_CHECKS set. Last time I tried kdesrc-build the head-desk-banging went to a 9 on the Richter scale but I can absolutely try building just Kwin with some modifications to test some stuff. You're right that the asahi drivers don't yet support hardware cursors, and I can note that I see refreshes at 30hz in the FPS plugin when I move the mouse (that doesn't bring it any higher) Is there a good way of checking what response I'm getting for render time queries for #1 as well? With https://invent.kde.org/plasma/kwin/-/commits/work/zamundaaa/performance-logging you get logging about the render times and dropped commits. Make sure to run it without KWIN_DRM_DISABLE_BUFFER_READABILITY_CHECKS. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! *** This bug has been marked as a duplicate of bug 482064 *** |