Can't set refresh rate higher than 120Hz on 4k-144Hz display #19
Description
Hi,
First of all, thank you for your work, and sorry if this is not the right component to file this issue against. I couldn't find a similar issue, except maybe #16, but it didn't seem to be the same.
I own a 4k144Hz display, that I drive from an AMD RX6900XT using DisplayPort. On every system I've used (Windows, Debian, Fedora, Arch) and every DE on Wayland (Gnome, KDE, hyprland), I was always able to set the refresh rate to 144Hz at 4k. But Cosmic isn't able to do so, and I can only set refresh rates up to 120Hz.
Trying the system display settings, the "143.999 Hz" option shows up, but doesn't do anything when I select it.
Using cosmic-randr gives me this output:
remi@fedora:~$ cosmic-randr list
DP-3 (enabled)
Model:
Physical Size: 630 x 360 mm
Position: 0,0
Scale: 200%
Transform: normal
Adaptive Sync: false
Modes:
3840x2160 @ 143.999 Hz (preferred)
3840x2160 @ 120.000 Hz (current)
3840x2160 @ 119.999 Hz
3840x2160 @ 119.880 Hz
3840x2160 @ 119.000 Hz
3840x2160 @ 60.000 Hz
3840x2160 @ 59.940 Hz
2560x1440 @ 143.856 Hz
2560x1440 @ 119.879 Hz
2560x1440 @ 59.940 Hz
1920x1200 @ 60.000 Hz
1920x1080 @ 143.853 Hz
1920x1080 @ 120.000 Hz
1920x1080 @ 119.880 Hz
1920x1080 @ 60.000 Hz
1920x1080 @ 59.940 Hz
1680x1050 @ 59.954 Hz
1600x1200 @ 60.000 Hz
1440x900 @ 59.887 Hz
1280x1024 @ 60.020 Hz
1280x800 @ 60.000 Hz
1280x720 @ 120.000 Hz
1280x720 @ 119.880 Hz
1280x720 @ 60.000 Hz
1280x720 @ 59.940 Hz
1024x768 @ 75.029 Hz
1024x768 @ 60.004 Hz
800x600 @ 75.000 Hz
800x600 @ 60.317 Hz
720x480 @ 60.000 Hz
720x480 @ 59.940 Hz
640x480 @ 75.000 Hz
640x480 @ 60.000 Hz
640x480 @ 59.940 Hz
remi@fedora:~$ cosmic-randr mode DP-3 3840 2160 --refresh 143.999
Error: "configuration failed"
The same issue happens with wdisplays, which tells me the display server couldn't process the changes, and wlr-randr doesn't work either.
I've tried disabling Adaptive Sync to see if it helped, to no avail.
Is this a known issue? Is there a log file I can provide that could help diagnose what's wrong?
Thanks again.