Bug 491791 - dual monitor with high refresh rate flickers wayland
Summary: dual monitor with high refresh rate flickers wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 6.1.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-16 15:24 UTC by notrealname
Modified: 2024-09-15 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description notrealname 2024-08-16 15:24:31 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I have one 2k 144hz monitor using displayport works fine without flickering, when my 1080p 60hz monitor is turned off.
When both are on it fickers unless set at 60Hz.

STEPS TO REPRODUCE
1. Get dual monitor
2. set one to 2k 144hz or 120hz 
3. see it ficker

OBSERVED RESULT
flickering in dual monitor setup.



EXPECTED RESULT
No flickering

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
does flicker when first monior is at 120hz or 144hz 2k with second monitor on.
does NOT flicker when monitor resolution is droped to 1080p 144hz with second monitor is on.
does NOT flicker when single monitor 144hz 2k is being used.(second monitor is turned off)
Comment 1 Zamundaaa 2024-08-16 15:52:25 UTC
Please attach the output of drm_info, kscreen-doctor -o and
> journalctl --user-unit plasma-kwin_wayland --boot 0
after triggering the flickering
Comment 2 notrealname 2024-08-16 20:16:54 UTC
bug seems to have vanished. I will try to recreate it. This output is with out flickering.

kscreen-doctor -o

Output: 1 DP-1
        enabled
        connected
        priority 1
        DisplayPort
        Modes:  0:2560x1440@144!  1:2560x1440@120*  2:2560x1440@60  3:1920x1200@144  4:1920x1080@144  5:1920x1080@120  6:1920x1080@120  7:1920x1080@60  8:1920x1080@60  9:1920x1080@60  10:1920x1080@50  11:1600x1200@144  12:1680x1050@60  13:1600x900@60  14:1280x1024@75  15:1280x1024@60  16:1440x900@60  17:1280x800@60  18:1152x864@75  19:1280x720@60  20:1280x720@60  21:1280x720@60  22:1024x768@75  23:1024x768@70  24:1024x768@60  25:832x624@75  26:800x600@75  27:800x600@72  28:800x600@60  29:800x600@56  30:640x480@75  31:640x480@73  32:640x480@67  33:640x480@60  34:640x480@60  35:720x400@70  36:1600x1200@60  37:1280x1024@60  38:1024x768@60  39:1920x1200@60  40:2560x1440@60  41:1920x1080@60  42:1600x900@60  43:1368x768@60  44:1280x720@60 
        Geometry: 0,0 2560x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: disabled
        Wide Color Gamut: disabled
        ICC profile: none
        Color profile source: EDID
Output: 2 DP-2
        enabled
        connected
        priority 2
        DisplayPort
        Modes:  0:1920x1080@60*!  1:1920x1080@75  2:1920x1080@60  3:1920x1080@60  4:1920x1080@50  5:1680x1050@60  6:1280x1024@75  7:1280x1024@60  8:1440x900@60  9:1280x960@60  10:1280x800@60  11:1280x720@60  12:1280x720@60  13:1280x720@60  14:1280x720@50  15:1024x768@75  16:1024x768@70  17:1024x768@60  18:832x624@75  19:800x600@75  20:800x600@72  21:800x600@60  22:800x600@56  23:720x576@50  24:720x576@50  25:720x576@50  26:720x480@60  27:720x480@60  28:720x480@60  29:720x480@60  30:720x480@60  31:640x480@75  32:640x480@73  33:640x480@67  34:640x480@60  35:640x480@60  36:640x480@60  37:720x400@70  38:1280x1024@60  39:1024x768@60  40:1280x800@60  41:1920x1080@60  42:1600x900@60  43:1368x768@60  44:1280x720@60 
        Geometry: 2560,180 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID


 journalctl --user-unit plasma-kwin_wayland --boot 0

Aug 16 19:14:56 fedmu systemd[3042]: Starting plasma-kwin_wayland.service - KDE Window Manager...
Aug 16 19:14:56 fedmu systemd[3042]: Started plasma-kwin_wayland.service - KDE Window Manager.
Aug 16 19:14:56 fedmu kwin_wayland[3358]: No backend specified, automatically choosing drm
Aug 16 19:14:57 fedmu kwin_wayland_wrapper[3500]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Aug 16 19:14:57 fedmu kwin_wayland_wrapper[3500]: > Warning:          Unsupported maximum keycode 708, clipping.
Aug 16 19:14:57 fedmu kwin_wayland_wrapper[3500]: >                   X11 cannot support keycodes above 255.
Aug 16 19:14:57 fedmu kwin_wayland_wrapper[3500]: Errors from xkbcomp are not fatal to the X server
Aug 16 19:14:59 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 19:22:36 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 19:22:38 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 19:22:50 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e1bdcc50)
Aug 16 19:26:20 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e1bdcc50)
Aug 16 19:44:36 fedmu kwin_wayland[3358]: qt.dbus.integration: QDBusConnection: couldn't handle call to Teardown, no slot matched
Aug 16 19:44:36 fedmu kwin_wayland[3358]: qt.dbus.integration: QDBusConnection: couldn't handle call to Teardown, no slot matched
Aug 16 19:44:36 fedmu kwin_wayland[3358]: qt.dbus.integration: Could not find slot Krunner1Adaptor::Teardown
Aug 16 19:45:24 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 20:04:33 fedmu kscreenlocker_greet[10371]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Aug 16 20:21:25 fedmu kscreenlocker_greet[10371]: Failed to write to the pipe: Bad file descriptor.
Aug 16 20:23:37 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e0ae7080)
Aug 16 20:26:08 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 20:35:36 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 20:35:51 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 20:45:36 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e21f33f0)
Aug 16 20:48:01 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 20:48:01 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 20:48:01 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 20:48:01 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 20:48:01 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 20:49:03 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e21f33f0)
Aug 16 20:49:44 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 20:50:32 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e21f33f0)
Aug 16 20:55:27 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 20:55:44 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
Aug 16 20:55:44 fedmu kwin_wayland[3358]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Aug 16 20:55:44 fedmu kwin_wayland[3358]: kwin_effect_blur: Failed to create an offscreen framebuffer
Aug 16 21:03:16 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 21:03:59 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 21:03:59 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 21:04:11 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 21:08:26 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e21f33f0)
Aug 16 21:08:26 fedmu kwin_wayland[3358]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5626e21f33f0)
Aug 16 21:31:21 fedmu kwin_wayland[3358]: This plugin does not support raise()
Aug 16 21:31:54 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 21:31:55 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 21:51:31 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 21:51:32 fedmu kwin_wayland[3358]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 16 21:59:27 fedmu kscreenlocker_greet[44486]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Aug 16 22:08:11 fedmu kscreenlocker_greet[44486]: Failed to write to the pipe: Bad file descriptor.
Aug 16 22:08:18 fedmu kwin_wayland[3358]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Aug 16 22:10:40 fedmu kwin_wayland[3358]: This plugin does not support raise()
Comment 3 Bug Janitor Service 2024-08-31 03:47:52 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-09-15 03:47:06 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.