You are not logged in.

#1 2024-06-30 12:13:19

TeaMaster
Member
Registered: 2024-06-30
Posts: 18

[SOLVED] Can't change my screen refresh rate

I installed arch with archinstall and I'm using x11 with i3 and nvidia open kernel drivers. Everything works fine besides the screen refresh rate: when I launch counter-strike 2, it complains that the screen refresh rate is 60hz while my monitor supports 144hz (I don't really know other ways to check it).

Here's my xrandr output:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+ 144.00   119.98   119.88    99.93    74.97    59.94    50.00
   1280x1024     75.02    60.02
   1280x720      59.94    50.00
   1024x768     119.99   100.00    75.03    70.07    60.00
   800x600      119.97   100.00    75.00    72.19    60.32    56.25
   720x576       50.00
   720x480       59.94
   640x480      120.01    99.99    75.00    72.81    59.94    59.93
DP-0 disconnected (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)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

And here's the config file I've created at /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Screen"
    Identifier "Screen0"
    Monitor "HDMI-0"
    SubSection "Display"
        Modes "1920x1080_144.00"
    EndSubSection
EndSection

It's especially confusing because it seems like the wiki doesn't fully explain the open kernel nvidia drivers yet.

Could anybody help me with it sad ???

Last edited by TeaMaster (2024-07-01 08:18:51)

Offline

#2 2024-06-30 22:04:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,941

Re: [SOLVED] Can't change my screen refresh rate

The output defaults to 60Hz and the nvidia X11 drivers are not "open"
Idk. why CS2 "complains" about your refresh rate (instead of eg. altering it) but tha t configlet won't set the default mode.
nvidia controls that via the metamode setting, try to add

Option  "MetaModes" "HDMI-0: 1920x1080_144 +0+0"

either to the device or screen section.

Online

#3 2024-07-01 08:17:41

TeaMaster
Member
Registered: 2024-06-30
Posts: 18

Re: [SOLVED] Can't change my screen refresh rate

Okay, this ended up working:

Section "Screen"
    Identifier "Screen0"
    Monitor "HDMI-0"
    Option  "MetaModes" "HDMI-0: 1920x1080_144 +0+0"
EndSection

CS2 doesn't say anything about it anymore big_smile ! Thanks.

And also, what do you mean by

the nvidia X11 drivers are not "open"

? I meant these: https://github.com/NVIDIA/open-gpu-kernel-modules. How should I refer to them?

Last edited by TeaMaster (2024-07-01 08:20:35)

Offline

#4 2024-07-01 14:53:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,941

Re: [SOLVED] Can't change my screen refresh rate

That's the kernel module- you still need the nvidia GL libraries and X11 drivers from nvidia-utils

Online

#5 2024-07-01 15:44:36

TeaMaster
Member
Registered: 2024-06-30
Posts: 18

Re: [SOLVED] Can't change my screen refresh rate

Ok

Last edited by TeaMaster (2025-12-14 11:35:35)

Offline

Board footer

Powered by FluxBB