You are not logged in.

#1 2025-02-17 05:13:15

flqmmable
Member
Registered: 2025-02-17
Posts: 4

Xrandr not letting me go higher than 60hz

I'm not entirely sure that this is the right forum for this, but I couldn't think of one in which it would fit better.

When I run xrandr it says that I am currently on the "1920x1080 59.96" monitor profile, and it lists a bunch of other resolutions that each have refresh rates not going higher than 60hz.

The monitor that I have is definitely able to reach up to 165hz as I have been using it (and the same HDMI cable) for my windows machine. I'm not sure why it says my monitor can't use higher refresh rates.

Here is the output of xrandr:

Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
HDMI-A-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 300mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.29  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   1152x720      59.97  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.90  
   720x480       59.71  
   640x400       59.95  
   320x200       58.14  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.27  
   640x350       59.28

Output of nvidia-smi says I am running NVIDIA-SMI 570.86.16

Machine specifications:

GPU: NVIDIA GeForce RTX 4060 Ti
Kernel: 6.13.2-arch1-1


What am I missing?

Offline

#2 2025-02-17 09:08:26

seth
Member
Registered: 2012-09-03
Posts: 63,982

Re: Xrandr not letting me go higher than 60hz

xrandr --verbose

Is this actually X11 or wayland (xrandr on the latter has very limited meaning, the randr extension exists to prevent Xwayland clients from crashing)
For X11 you can enable the ModeDebug option, https://download.nvidia.com/XFree86/Lin … tions.html
The xorg log will then list en detail why modes were filtered.

Offline

#3 2025-02-17 10:18:07

flqmmable
Member
Registered: 2025-02-17
Posts: 4

Re: Xrandr not letting me go higher than 60hz

xrandr --verbose

Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
HDMI-A-1 connected 1920x1080+0+0 (0x23) normal (normal left inverted right x axis y axis) 520mm x 300mm
	Identifier: 0x21
	Timestamp:  46243
	Subpixel:   unknown
	Gamma:      inf:inf:inf
	Brightness: 0.40
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	           0.000000 1.000000 0.000000
	           0.000000 0.000000 1.000000
	          filter: 
	RANDR Emulation: 1 
	non-desktop: 0 
		supported: 0, 1
  1920x1080 (0x23) 173.000MHz -HSync +VSync *current +preferred
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz
  1440x1080 (0x24) 129.000MHz -HSync +VSync
        h: width  1440 start 1528 end 1680 total 1920 skew    0 clock  67.19KHz
        v: height 1080 start 1083 end 1087 total 1120           clock  59.99Hz
  1400x1050 (0x25) 121.750MHz -HSync +VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock  65.32KHz
        v: height 1050 start 1053 end 1057 total 1089           clock  59.98Hz
  1280x1024 (0x26) 109.000MHz -HSync +VSync
        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock  63.67KHz
        v: height 1024 start 1027 end 1034 total 1063           clock  59.89Hz
  1280x960 (0x27) 101.250MHz -HSync +VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock  59.70KHz
        v: height  960 start  963 end  967 total  996           clock  59.94Hz
  1152x864 (0x28) 81.750MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock  53.78KHz
        v: height  864 start  867 end  871 total  897           clock  59.96Hz
  1024x768 (0x29) 63.500MHz -HSync +VSync
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.82KHz
        v: height  768 start  771 end  775 total  798           clock  59.92Hz
  800x600 (0x2a) 38.250MHz -HSync +VSync
        h: width   800 start  832 end  912 total 1024 skew    0 clock  37.35KHz
        v: height  600 start  603 end  607 total  624           clock  59.86Hz
  640x480 (0x2b) 23.750MHz -HSync +VSync
        h: width   640 start  656 end  720 total  800 skew    0 clock  29.69KHz
        v: height  480 start  483 end  487 total  500           clock  59.38Hz
  320x240 (0x2c)  6.000MHz -HSync +VSync
        h: width   320 start  328 end  360 total  400 skew    0 clock  15.00KHz
        v: height  240 start  243 end  247 total  253           clock  59.29Hz
  1680x1050 (0x2d) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1440x900 (0x2e) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x800 (0x2f) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1152x720 (0x30) 66.750MHz -HSync +VSync
        h: width  1152 start 1208 end 1320 total 1488 skew    0 clock  44.86KHz
        v: height  720 start  723 end  729 total  748           clock  59.97Hz
  960x600 (0x31) 45.250MHz -HSync +VSync
        h: width   960 start  992 end 1088 total 1216 skew    0 clock  37.21KHz
        v: height  600 start  603 end  609 total  624           clock  59.63Hz
  928x580 (0x32) 42.750MHz -HSync +VSync
        h: width   928 start  968 end 1056 total 1184 skew    0 clock  36.11KHz
        v: height  580 start  583 end  589 total  603           clock  59.88Hz
  800x500 (0x33) 30.750MHz -HSync +VSync
        h: width   800 start  824 end  896 total  992 skew    0 clock  31.00KHz
        v: height  500 start  503 end  509 total  521           clock  59.50Hz
  768x480 (0x34) 28.750MHz -HSync +VSync
        h: width   768 start  792 end  864 total  960 skew    0 clock  29.95KHz
        v: height  480 start  483 end  489 total  500           clock  59.90Hz
  720x480 (0x35) 26.750MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  29.85KHz
        v: height  480 start  483 end  493 total  500           clock  59.71Hz
  640x400 (0x36) 20.000MHz -HSync +VSync
        h: width   640 start  656 end  720 total  800 skew    0 clock  25.00KHz
        v: height  400 start  403 end  409 total  417           clock  59.95Hz
  320x200 (0x37)  5.000MHz -HSync +VSync
        h: width   320 start  328 end  360 total  400 skew    0 clock  12.50KHz
        v: height  200 start  203 end  209 total  215           clock  58.14Hz
  1600x900 (0x38) 118.250MHz -HSync +VSync
        h: width  1600 start 1688 end 1856 total 2112 skew    0 clock  55.99KHz
        v: height  900 start  903 end  908 total  934           clock  59.95Hz
  1368x768 (0x39) 85.250MHz -HSync +VSync
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
  1280x720 (0x3a) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1024x576 (0x3b) 46.500MHz -HSync +VSync
        h: width  1024 start 1064 end 1160 total 1296 skew    0 clock  35.88KHz
        v: height  576 start  579 end  584 total  599           clock  59.90Hz
  864x486 (0x3c) 32.500MHz -HSync +VSync
        h: width   864 start  888 end  968 total 1072 skew    0 clock  30.32KHz
        v: height  486 start  489 end  494 total  506           clock  59.92Hz
  720x400 (0x3d) 22.250MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  24.83KHz
        v: height  400 start  403 end  413 total  419           clock  59.27Hz
  640x350 (0x3e) 17.500MHz -HSync +VSync
        h: width   640 start  656 end  720 total  800 skew    0 clock  21.88KHz
        v: height  350 start  353 end  363 total  369           clock  59.28Hz

I am using wayland (installed with hyprland), should I try swap to X11 as it might provide better support?

Offline

#4 2025-02-17 14:46:20

seth
Member
Registered: 2012-09-03
Posts: 63,982

Re: Xrandr not letting me go higher than 60hz

At least the xrandr output under hyprland is pretty much  meaningless - so testing the behavior on X11 will tell you whether this is an nvidia or a hyprland issue.

Offline

#5 2025-02-19 07:35:07

flqmmable
Member
Registered: 2025-02-17
Posts: 4

Re: Xrandr not letting me go higher than 60hz

Ok so, I installed X11 on my machine and I start up a X11 session andd... Success!

The other refresh rates show up:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+ 164.60   143.60   119.88   119.80    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

I then run the command:

 xrandr --output HDMI-0 --mode 1920x1080 --rate 165

And it does select the correct profile:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00 + 164.60*  143.60   119.88   119.80    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

However, now I have another problem.. It is NOT 165hz at all, it feels worse than 60hz. It's like its skipping frames and it feels more like 40hz.

Here is also my xorg log file (in pastebin because too large): https://pastebin.com/tV5imQTY

Here is also my 20-nvidia.conf file for X11 (I'm thinking maybe my screen isn't 'synced up' properly and I'm missing an option in the conf file??):

Section "Device"
    Identifier "NVIDIA"
    Driver "nvidia"
    Option "ModeValidation" "NoEdidModes"
EndSection

Offline

#6 2025-02-19 15:37:59

seth
Member
Registered: 2012-09-03
Posts: 63,982

Re: Xrandr not letting me go higher than 60hz

Option "ModeValidation" "NoEdidModes"

Why is that?

[    34.337] (==) Using config file: "/etc/X11/xorg.conf"

Remove that file.
nb. that the modevalidation option currently isn't even applied (and you don't want that either) because of the static server configuration.

The xorg log otherwise looks unsuspicious.

However, now I have another problem.. It is NOT 165hz at all, it feels worse than 60hz. It's like its skipping frames and it feels more like 40hz.

Does the monitor OSD say it's running at 165Hz?
What kind of desktop environment is this? How does it behave on an (uncomposited!) openbox?

165Hz is often a standin for VRR plus if some compositor tries to sync at 60Hz and is sufficiently clumsy at that you'll get judder.
=> Try the performance of the 120Hz mode itr.

Offline

#7 2025-02-20 01:38:33

flqmmable
Member
Registered: 2025-02-17
Posts: 4

Re: Xrandr not letting me go higher than 60hz

Thanks for the reply again.

Just another quick question regarding this

Remove that file.

Are you saying to remove the nvidia.conf file or the xorg.conf file in "etc/X11/xorg.conf"?

Does the monitor OSD say it's running at 165Hz?

I have checked that and when it is set on 165hz, my monitor says its actually running at 33hz and when I run it on 145, it says its running at 29hz.

=> Try the performance of the 120Hz mode itr.

I tried it and it WORKS, both xrandr and my monitor OSD says its running at 120Hz and it feels very smooth. Thank you for suggesting that.


What kind of desktop environment is this?

I am just running this on a PC setup, I have installed arch on a semi-old SATA HDD. (if that is what you are asking?)

Offline

#8 2025-02-20 08:34:11

seth
Member
Registered: 2012-09-03
Posts: 63,982

Re: Xrandr not letting me go higher than 60hz

/etc/X11/xorg.conf but yu don't want to have a config that disable all edid modes either, so remove both.

I tried it and it WORKS, both xrandr and my monitor OSD says its running at 120Hz and it feels very smooth. Thank you for suggesting that.

The 165Hz is very most likely https://wiki.archlinux.org/title/Variable_refresh_rate then.

if that is what you are asking?

No, KDE, Gnome, XFCE, i3+picom, … that kind of stuff.

Offline

Board footer

Powered by FluxBB