AMD GPU Wayland flickering above 60 Hz

I just acquired a new display that can go up to 144 Hz.

However when using Wayland at anything above 60 Hz the screen flickers basically every few seconds, if not more. In X11 it works fine.

It also works fine with a Windows laptop and I have tried multiple different cables, both display port and hdmi.

I also tried disabling freesync with no luck.

GPU: AMD 6800 XT
Monitor: Samsung Odyssey G7 4k 43"

Below please find output of glxinfo -B

Any ideas? Thank you!

############################

name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.11-300.fc39.x86_64) (0x73bf)
Version: 23.2.1
Accelerated: yes
Video memory: 16384MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 15351 MB, largest block: 15351 MB
VBO free aux. memory - total: 15879 MB, largest block: 15879 MB
Texture free memory - total: 15351 MB, largest block: 15351 MB
Texture free aux. memory - total: 15879 MB, largest block: 15879 MB
Renderbuffer free memory - total: 15351 MB, largest block: 15351 MB
Renderbuffer free aux. memory - total: 15879 MB, largest block: 15879 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 16384 MB
Total available memory: 32376 MB
Currently available dedicated video memory: 15351 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.54, 6.5.11-300.fc39.x86_64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Recently built myself a new full AMD system with a Radeon RX 7800 XT in the hopes of having better Linux compatibility. Everything seems to run fine, except that I cannot use my 144hz monitor with its full potential because I get these flickering issues when I set the refresh rate above 60hz.

Any chance you have found a solution to this issue by now? I searched the web far and wide but couldn’t find anything else about this, not even a bug report. Which is suspicious because this seems like something that should affect more users …

Same issue here.

I’m able to get 120hz @ 4k with a high speed HDMI cable. Both USB-C & DisplayPort both flicker above 60hz and the experience is unusable.

I never did find a fix actually.

I switched to Nixos and it works fine now there.

What’s your setup on NixOS? Just trying to find the faulty component here. I’m using KDE with Wayland on Arch.

Also found this Thread in the related topics which mentions the exact same issue on GNOME with Wayland, which is apparently fixed in Mutter these days. Which makes me think that this might be a KWin issue. Brightness Flickering

EDIT: Might be this issue? Though the flickering also occurs for me with Adaptive Sync disabled. 477016 – Brightness flicker with adaptive sync

Update: I noticed that this only happens in fullscreened applications (F11) or maximized applications. Once no window is maximized, the flickering seems to go away, or at least get less noticable.