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