Summary: | Wayland renders the whole desktop in half refresh rate | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Mario Ray Mahardhika <leledumbo_cool> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | nate, notmart, rayfinkle2008-kde, sites+kdebugs, vlad.zahorodnii, xaver.hugl |
Priority: | NOR | Keywords: | qt6 |
Version: | 5.93.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
UFO test on X11
UFO test on Wayland |
Description
Mario Ray Mahardhika
2024-03-01 17:18:45 UTC
Created attachment 166268 [details]
UFO test on Wayland
`sudo dmesg | i915` is the same for both sessions, however `xrandr --verbose` shows some differences: Wayland ======= Screen 0: minimum 16 x 16, current 1920 x 1200, maximum 32767 x 32767 DSI-1 connected primary 1920x1200+0+0 (0x23) right (normal left inverted right x axis y axis) 141mm x 226mm Identifier: 0x21 Timestamp: 18133 Subpixel: horizontal rgb Gamma: inf:inf:inf Brightness: 0.40 Clones: CRTC: 0 CRTCs: 0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: RANDR Emulation: 1 non-desktop: 0 supported: 0, 1 1200x1920 (0x23) 161.250MHz -HSync +VSync *current +preferred h: width 1200 start 1288 end 1416 total 1632 skew 0 clock 98.81KHz v: height 1920 start 1923 end 1933 total 1978 clock 49.95Hz X11 === Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 16384 x 16384 DSI-1 connected primary 1920x1200+0+0 (0x47) right (normal left inverted right x axis y axis) 0mm x 0mm Identifier: 0x41 Timestamp: 173498 Subpixel: horizontal rgb Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: _KDE_SCREEN_INDEX: 1 panel orientation: Normal supported: Normal, Upside Down, Left Side Up, Right Side Up scaling mode: Full aspect supported: Full, Center, Full aspect link-status: Good supported: Good, Bad CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 CONNECTOR_ID: 185 supported: 185 non-desktop: 0 range: (0, 1) 1200x1920 (0x47) 136.887MHz +HSync +VSync *current +preferred h: width 1200 start 1240 end 1252 total 1268 skew 0 clock 107.96KHz v: height 1920 start 2125 end 2127 total 2159 clock 50.00Hz No idea if these matter, though. Same issue for me after updating to Plasma 6 on KDE Neon today. I had no issues prior to the upgrade. My setup is a Dell Precision 7550 laptop (i915) connected to a Dell P2715Q display via HDMI. Using glxgears to test, I get FPS close to Refresh Rate for both screens on X11 but with Wayland, I get roughly half FPS on the external display while the built-in laptop screen is fine. (In reply to King from comment #3) > Same issue for me after updating to Plasma 6 on KDE Neon today. I had no > issues prior to the upgrade. > > My setup is a Dell Precision 7550 laptop (i915) connected to a Dell P2715Q > display via HDMI. Using glxgears to test, I get FPS close to Refresh Rate > for both screens on X11 but with Wayland, I get roughly half FPS on the > external display while the built-in laptop screen is fine. Quick follow up on the comment I just posted -- I found a fix for my issue! With my original setup (external monitor connected via HDMI), I got refresh rates/fps of 60HZ/60FPS on the laptop screen and 30HZ/15FPS on the external monitor. After some research, I found that I could get 60HZ on the P2715Q with a DisplayPort connection, so I swapped out the HDMI cable and now get 60HZ/60FPS on both screens. Not sure if this would help the OP as his issue occurs with only one display, but hopefully this helps someone with a setup similar to mine. > Not sure if this would help the OP as his issue occurs with only one display, but hopefully this helps someone with a setup similar to mine.
Not directly, but should help developers isolating the potential cause. I also happen to have a USB-C to DP cable which I can use to test on my external monitor, which indeed doesn't exhibit the same problem. High refresh rate (170Hz) even works just fine. So maybe the scope can be reduced to HDMI and DSI connector, leaving DisplayPort out.
This seems similar to what I'm seeing in https://bugs.kde.org/show_bug.cgi?id=482064 On Wayland, the frame rate is half of the refresh rate. (In reply to Zane from comment #6) > This seems similar to what I'm seeing in > https://bugs.kde.org/show_bug.cgi?id=482064 > On Wayland, the frame rate is half of the refresh rate. Could be, same Plasma 6 Wayland, despite running on totally different platform. So we know it's not platform specific. *** This bug has been marked as a duplicate of bug 482064 *** 6.0.2 arrives to Neon, and I can confirm it's fixed. |