You are not logged in.

#1 Today 13:36:32

mehdi.essalehi
Member
Registered: 2023-01-19
Posts: 7

Cannot set refresh rate above 100hz

Hello,

I use Arch Linux with GNOME on Wayland with an Nvidia graphics card. I installed the proprietary drivers and everything is working great except the refresh rate of the monitor. When I try to change the refresh rate to 165hz in the GNOME settings, the screen gets no signal for a bit and then turns on with the prompt to either keep the settings or revert but with no change to the refresh rate. The max refresh rate working is 100hz.

I have a BenQ EX240N monitor and a 4060 graphics card.
I am using the Linux Zen kernel with Nvidia drivers version 560.35.03.

I am also dual booting with Windows where 165hz works correctly.

Here is some terminal output for info:

$ cat /sys/class/drm/card0-HDMI-A-1/edid | edid-decode
edid-decode (hex):

00 ff ff ff ff ff ff 00 09 d1 cc 7f 01 01 01 01
21 21 01 03 80 35 1e 78 2a cb 75 a6 56 53 9d 27
12 50 54 a5 6b 80 b3 00 a9 c0 81 bc 81 00 81 c0
81 80 61 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 0e 28 21 00 00 1e 00 00 00 ff 00 45 54 42
38 50 30 32 34 35 34 53 4c 30 00 00 00 fd 00 30
a5 1e b9 28 00 0a 20 20 20 20 20 20 00 00 00 fc
00 42 65 6e 51 20 45 58 32 34 30 4e 0a 20 01 6d

02 03 50 f1 50 90 61 60 40 3f 22 21 20 1f 13 12
11 04 03 02 01 23 09 07 07 83 01 00 00 6a 03 0c
00 10 00 38 44 20 00 00 67 d8 5d c4 01 78 80 03
6d 1a 00 00 02 01 30 a5 e6 00 00 00 00 00 e3 05
c3 01 e3 0f 06 00 e6 06 05 01 44 44 00 e2 00 d5
d0 94 80 a0 70 38 1e 40 30 20 35 00 0e 28 21 00
00 1a fc 7e 80 88 70 38 12 40 18 20 35 00 0e 28
21 00 00 1a 00 00 00 00 00 00 00 00 00 00 00 a5

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: BNQ
    Model: 32716
    Serial Number: 16843009 (0x01010101)
    Made in: week 33 of 2023
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 53 cm x 30 cm
    Gamma: 2.20
    DPMS levels: Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6513, 0.3359
    Green: 0.3261, 0.6162
    Blue : 0.1533, 0.0732
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    Apple   :   832x624    74.551266 Hz   4:3     49.726 kHz     57.284000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
    Apple   :  1152x870    75.061550 Hz 192:145   68.681 kHz    100.000000 MHz
  Standard Timings:
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    GTF     :  1280x1024  120.000185 Hz   5:4    131.640 kHz    233.793000 MHz
    DMT 0x1c:  1280x800    59.810326 Hz  16:10    49.702 kHz     83.500000 MHz
    DMT 0x55:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    GTF     :  1024x768   119.999931 Hz   4:3     98.760 kHz    139.054000 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (526 mm x 296 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    Display Product Serial Number: 'ETB8P02454SL0'
    Display Range Limits:
      Monitor ranges (GTF): 48-165 Hz V, 30-185 kHz H, max dotclock 400 MHz
    Display Product Name: 'BenQ EX240N'
  Extension blocks: 1
Checksum: 0x6d

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
    VIC  96:  3840x2160   50.000000 Hz  16:9    112.500 kHz    594.000000 MHz
    VIC  64:  1920x1080  100.000000 Hz  16:9    112.500 kHz    297.000000 MHz
    VIC  63:  1920x1080  120.000000 Hz  16:9    135.000 kHz    297.000000 MHz
    VIC  34:  1920x1080   30.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC  33:  1920x1080   25.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  32:  1920x1080   24.000000 Hz  16:9     27.000 kHz     74.250000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC  17:   720x576    50.000000 Hz   4:3     31.250 kHz     27.000000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 340 MHz
    Extended HDMI video details:
  Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
    Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 2.1
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 165 Hz
    Flags 1.x: 0xe6 (MCCS)
    Flags 2.x: 0x00
    Maximum luminance: 0 (50.000 cd/m^2)
    Minimum luminance: 0 (0.000 cd/m^2)
    Unknown: 0x00 0x00
  Colorimetry Data Block:
    xvYCC601
    xvYCC709
    BT2020YCC
    BT2020RGB
    Gamut Boundary Description Metadata Profile P0
  YCbCr 4:2:0 Capability Map Data Block:
    VIC  97:  3840x2160   60.000000 Hz  16:9    135.000 kHz    594.000000 MHz
    VIC  96:  3840x2160   50.000000 Hz  16:9    112.500 kHz    594.000000 MHz
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 68 (218.102 cd/m^2)
    Desired content max frame-average luminance: 68 (218.102 cd/m^2)
    Desired content min luminance: 0 (0.000 cd/m^2)
  Video Capability Data Block:
    YCbCr quantization: Selectable (via AVI YQ)
    RGB quantization: Selectable (via AVI Q)
    PT scan behavior: Always Overscanned
    IT scan behavior: Always Overscanned
    CE scan behavior: Always Overscanned
  Detailed Timing Descriptors:
    DTD 2:  1920x1080  165.003465 Hz  16:9    183.154 kHz    380.960000 MHz (526 mm x 296 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   22 Vpol N
    DTD 3:  1920x1080  144.000765 Hz  16:9    158.113 kHz    325.080000 MHz (526 mm x 296 mm)
                 Hfront   24 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   10 Vpol N
Checksum: 0xa5  Unused space in Extension Block: 11 bytes

Thanks in advance.

Offline

#2 Today 16:20:36

seth
Member
Registered: 2012-09-03
Posts: 56,478

Re: Cannot set refresh rate above 100hz

Vendor-Specific Data Block (AMD)
lspci

Have you tried gnome on X11? And then please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General (cause it looks like this might be attached to some AMD GPU)
https://www.phoronix.com/news/HDMI-2.1-OSS-Rejected (though unless it's the cable HDMI 1.4 should still be good for 1080p@144Hz)

Online

#3 Today 17:49:04

mehdi.essalehi
Member
Registered: 2023-01-19
Posts: 7

Re: Cannot set refresh rate above 100hz

Here are the Xorg logs.

https://pastebin.com/uVWquydG

On X11, the refresh rate does not get back if it fails and get stuck in a no signal black screen.

Also when searching the journal, I found this when you try to set the refresh rate to 165hz:

Sep 19 12:25:39 tower kernel: nvidia 0000:24:00.0: [drm] User-defined mode not supporte
d: "1920x1080": 165 380960 1920 1968 2000 2080 1080 1083 1088 1110 0x20 0x9

EDIT: The cable is HDMI 2.0 if that helps.

Last edited by mehdi.essalehi (Today 17:49:47)

Offline

#4 Today 20:04:21

seth
Member
Registered: 2012-09-03
Posts: 56,478

Re: Cannot set refresh rate above 100hz

That's only the tail of the xorg log?

[   728.924] (II) NVIDIA(0): Setting mode "HDMI-0: 1920x1080_165 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"

Why is it a user defined mode?

/etc/X11/xorg.conf.d/20-nvidia.conf

Section "Device"                                                                                                                
    Identifier "RTX4060"
    Driver  "nvidia"
    Option "ModeDebug" "True"
EndSection

Also there's only the nvidia GPU, but on an oddly high bus ID - what kind of system is this, are you sure the GPU is in the PEG?

And then please post the entire X11 log and system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

Board footer

Powered by FluxBB