Update
I recently had to update the NVIDIA drivers for some other reason and the issue seems to have fixed itself in the new version.
The problem
I am unable to set the refresh rate above 30Hz on my display.
Specs
Background
Screenshots
imgur: Refresh Rates available on Ubuntu: only 30Hz is available
The 60Hz refresh rate only becomes available when I choose some resolution lower than 3840x2160.
imgur: Resolutions available on Ubuntu: other values refresh rate are available at other resolutions
Screenshots on Windows
I know my current setup can handle 60Hz because this combination of resolution and refresh rate is available on windows and it works correctly:
imgur: Refresh Rates available on Windows: 60Hz is available
imgur: Resolutions available on Windows: the same resolution is available and being used
I didn't change anything in my setup to make this work on windows. I didn't even change any cables or ports.
Attempted solutions
These are some things I have tried already:
- disconnecting all other displays,
- using different ports on the GPU,
- updating the NVidia driver, and
- going through all posts over here about refresh rates and trying everything being suggested.
- Most answers suggest something like
xrandr --output DP-2 --size 3840x2160 --refresh 60
: the monitor flickers but nothing happens.
- Using a DisplayPort cable v1.2. The cable I'm using: imgur: Displayport V1.2 3M Dp1230 Plusc. It was listed as "Displayport V1.2 3M Dp1230 Plusc" on amazon. It works at 60Hz on windows with the same cable.
xrandr output
This is what I have in xrandr
for this display. I decided to use a lower resolution for now because it bothers me less than the reduced refresh rate:
DP-2 connected primary 5120x2880+2732+0 (normal left inverted right x axis y axis) 697mm x 392mm
3840x2160 30.00 + 29.97
2560x1440 59.95*
1920x1080 60.00 59.94
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
Interestingly, I have a 3-year-old 4k Samsung display of the same series (U28E590) and it doesn't have this problem:
DP-0 connected 4384x2466+7852+191 (normal left inverted right x axis y axis) 607mm x 345mm
3840x2160 60.00*+ 30.00
2560x1440 59.95
1920x1080 60.00 59.94
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94