You are not logged in.

#1 2025-07-10 07:57:24

sovid
Member
Registered: 2025-07-10
Posts: 8

AMD-GPU driver patch to unlock monitor refresh rate

Good afternoon to everyone on the forum. I'm writing through a translator. I have a specific problem related to the driver for the AMD Radeon rx570 8GB graphics card. The graphics card is designed for mining and has one DVI-I output on board for connecting a monitor. By default, 1080p resolution has a monitor refresh rate of only 60 Hz, but my monitor supports a frequency of 180 Hz. On Windows, I used a special patch that removed the limitations of the driver for this resolution and the refresh rate was 180 Hz and everything worked smoothly without any comments. The patch is called AMD/ATI Pixel Clock Patcher. Is there a way to remove the limitations of the graphics card driver on Arch?

Offline

#2 2025-07-10 10:27:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,944

Re: AMD-GPU driver patch to unlock monitor refresh rate

Please install read-edid from [extra] repo .
As root / with root-rights run and post the full output of

# get-edid | parse-edid

That will show us details about the capabilities of your monitor.

Are you using X or wayland ?

Last edited by Lone_Wolf (2025-07-10 10:28:39)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-07-10 11:30:29

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

Lone_Wolf wrote:

Please install read-edid from [extra] repo .
As root / with root-rights run and post the full output of

# get-edid | parse-edid

That will show us details about the capabilities of your monitor.

Are you using X or wayland ?

Thanks for answer!

[root@sovid-pc sovid]# get-edid | parse-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 6
No EDID on bus 7
No EDID on bus 8
Problem requesting slave address: Device or resource busy
No EDID on bus 10
No EDID on bus 11
1 potential busses found: 5
256-byte EDID successfully retrieved from i2c bus 5
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
        Identifier "27G15N"
        ModelName "27G15N"
        VendorName "AOC"
        # Monitor Manufactured week 20 of 2024
        # EDID version 1.3
        # Digital Display
        DisplaySize 600 340
        Gamma 2.20
        Option "DPMS" "true"
        Horizsync 30-200
        VertRefresh 48-180
        # Maximum pixel clock is 600MHz
        #Not giving standard mode: 1920x1080, 60Hz
        #Not giving standard mode: 1280x1024, 60Hz
        #Not giving standard mode: 640x480, 100Hz
        #Not giving standard mode: 640x480, 120Hz
        #Not giving standard mode: 800x600, 100Hz
        #Not giving standard mode: 800x600, 120Hz
        #Not giving standard mode: 1024x768, 100Hz
        #Not giving standard mode: 1024x768, 120Hz

        #Extension block found. Parsing...
#WARNING: I may have missed a mode (CEA mode 63)
        Modeline        "Mode 12" +hsync +vsync 
        Modeline        "Mode 0" +hsync +vsync 
        Modeline        "Mode 1" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
        Modeline        "Mode 2" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
        Modeline        "Mode 3" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
        Modeline        "Mode 4" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
        Modeline        "Mode 5" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
        Modeline        "Mode 6" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
        Modeline        "Mode 7" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
        Modeline        "Mode 8" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
        Modeline        "Mode 9" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
        Modeline        "Mode 10" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
        Modeline        "Mode 11" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
        Modeline        "Mode 13" +hsync +vsync 
        Modeline        "Mode 14" +hsync +vsync 
        Option "PreferredMode" "Mode 12"
EndSection

I'm use wayland for KDE Plasma 5.

Last edited by sovid (2025-07-10 11:32:47)

Offline

#4 2025-07-10 12:05:43

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,944

Re: AMD-GPU driver patch to unlock monitor refresh rate

I guess the 5 is  a typo and should be 6 ?

You will need a custom modeline to get that refresh rate. cvt12-git shows these options .

$ cvt12 1920 1080 180
# 1920x1080 @ 180.000 Hz (CVT) field rate 179.977 Hz; hsync: 216.332 kHz; pclk: 581.50 MHz
Modeline "1920x1080_180.00"  581.50  1920 2096 2304 2688  1080 1083 1088 1202 -hsync +vsync
$ cvt12 1920 1080 180 -r
# 1920x1080 @ 180.000 Hz Reduced Blank (CVT) field rate 179.982 Hz; hsync: 212.019 kHz; pclk: 441.00 MHz
Modeline "1920x1080_180.00_rb1"  441.00  1920 1968 2000 2080  1080 1083 1088 1178 +hsync -vsync
$ cvt12 1920 1080 180 -b
# 1920x1080 @ 180.000 Hz Reduced Blank (CVT) field rate 180.000 Hz; hsync: 212.040 kHz; pclk: 424.08 MHz
Modeline "1920x1080_180.00_rb2"  424.08  1920 1928 1960 2000  1080 1164 1172 1178 +hsync -vsync
$ cvt12 1920 1080 180 -b -i
# 1920x1080 @ 180.000 Hz Interlaced Reduced Blank (CVT) field rate 179.999 Hz; hsync: 106.110 kHz; pclk: 212.22 MHz
Modeline "1920x1080_180.00i_rb2"  212.22  1920 1928 1960 2000  1080 1115 1123 1129 Interlace  +hsync -vsync
$ 

Only the last one matches your monitor spec, and interlaced modes have disadvantages .

Some experimentin gwith other refresh rates shows

$ cvt12 1920 1080 160
# 1920x1080 @ 160.000 Hz (CVT) field rate 159.876 Hz; hsync: 189.933 kHz; pclk: 507.50 MHz
Modeline "1920x1080_160.00"  507.50  1920 2088 2296 2672  1080 1083 1088 1188 -hsync +vsync
$

Its values are within your monitor specs and don't need reduced blanking OR interlacing.

X has tools to make changing modelines simple, unfortunately wayland doesn't.
I'll have to search how to change modelines for plasma wayland .

Last edited by Lone_Wolf (2025-07-10 12:06:44)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2025-07-10 12:24:29

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

Lone_Wolf wrote:

I guess the 5 is  a typo and should be 6 ?

You will need a custom modeline to get that refresh rate. cvt12-git shows these options .

$ cvt12 1920 1080 180
# 1920x1080 @ 180.000 Hz (CVT) field rate 179.977 Hz; hsync: 216.332 kHz; pclk: 581.50 MHz
Modeline "1920x1080_180.00"  581.50  1920 2096 2304 2688  1080 1083 1088 1202 -hsync +vsync
$ cvt12 1920 1080 180 -r
# 1920x1080 @ 180.000 Hz Reduced Blank (CVT) field rate 179.982 Hz; hsync: 212.019 kHz; pclk: 441.00 MHz
Modeline "1920x1080_180.00_rb1"  441.00  1920 1968 2000 2080  1080 1083 1088 1178 +hsync -vsync
$ cvt12 1920 1080 180 -b
# 1920x1080 @ 180.000 Hz Reduced Blank (CVT) field rate 180.000 Hz; hsync: 212.040 kHz; pclk: 424.08 MHz
Modeline "1920x1080_180.00_rb2"  424.08  1920 1928 1960 2000  1080 1164 1172 1178 +hsync -vsync
$ cvt12 1920 1080 180 -b -i
# 1920x1080 @ 180.000 Hz Interlaced Reduced Blank (CVT) field rate 179.999 Hz; hsync: 106.110 kHz; pclk: 212.22 MHz
Modeline "1920x1080_180.00i_rb2"  212.22  1920 1928 1960 2000  1080 1115 1123 1129 Interlace  +hsync -vsync
$ 

Only the last one matches your monitor spec, and interlaced modes have disadvantages .

Some experimentin gwith other refresh rates shows

$ cvt12 1920 1080 160
# 1920x1080 @ 160.000 Hz (CVT) field rate 159.876 Hz; hsync: 189.933 kHz; pclk: 507.50 MHz
Modeline "1920x1080_160.00"  507.50  1920 2088 2296 2672  1080 1083 1088 1188 -hsync +vsync
$

Its values are within your monitor specs and don't need reduced blanking OR interlacing.

X has tools to make changing modelines simple, unfortunately wayland doesn't.
I'll have to search how to change modelines for plasma wayland .

Thank you, I will be glad of any help!

Offline

#6 2025-07-11 08:08:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,944

Re: AMD-GPU driver patch to unlock monitor refresh rate

Please quote only relevant parts of posts. Quote full posts makes the thread less readable/hard to follow.

https://community.kde.org/Plasma/Waylan … ant_Issues and https://bugs.kde.org/show_bug.cgi?id=456697 confirm neither wayland and plasma-wayland currently  have a method to change modelines .

https://wiki.archlinux.org/title/Kernel … s_and_EDID describes a method to override the edid information from the monitor .

Use get-edid to get the raw file, edit it with https://aur.archlinux.org/packages/wxedid .
Changing the values for 1920x1080  to those calculated for 1920x1080x160 is probably the easiest approach.

Is the ADC 27G15N the only monitor you use ?
If not, you will have to ensure only that monitor will use the new edid.

Last edited by Lone_Wolf (2025-07-11 08:08:34)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2025-07-20 03:38:36

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

i'm use only AOC 27G15N.
Please, need more info for generated and setting up new EDID. Thanks.

Offline

#8 2025-07-20 16:20:59

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,944

Re: AMD-GPU driver patch to unlock monitor refresh rate

It's a lot trickier then I thought, using a custom modeline on X is so much easier.

Are you willing to switch to running kde plasma on X11 ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2025-07-20 19:47:46

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

Re: AMD-GPU driver patch to unlock monitor refresh rate

You can straight up copy the relevant edid out of /sys/class/drm/card*/edid (or open it in wxedid), then inject it following https://wiki.archlinux.org/title/Kernel … s_and_EDID
Which of these steps is an obstacle?

Lone_Wolf wrote:

using a custom modeline on X is so much easier

ftfy tongue

Offline

#10 2025-07-21 10:51:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,944

Re: AMD-GPU driver patch to unlock monitor refresh rate

actually editing the EDID.

I've looked further into it and am confused.

There are 2 types of entries with resolution data :
DTD (Detailed Timing Descriptor) and STI (Standard Timing Information) .

STIs appear to describe VESA modes, while DTDs show information that looks like the values in modelines.

wxedid includes a DTD constructor that does show a corresponding X modeline.

That suggests that the modeline needs to be converted to a DTD that is then added just below existing DTD entries.

Can incorrect values in edid damage a monitor or videocard ?


seth wrote:
Lone_Wolf wrote:

using a custom modeline on X is so much easier

ftfy tongue

As my wayland knowledge/insight increases the probability of switching to it decreases.

Last edited by Lone_Wolf (2025-07-21 10:52:18)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2025-07-21 10:55:23

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

Lone_Wolf wrote:

Are you willing to switch to running kde plasma on X11 ?

Yes

Offline

#12 2025-07-21 13:50:06

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

Re: AMD-GPU driver patch to unlock monitor refresh rate

Lone_Wolf wrote:

Can incorrect values in edid damage a monitor or videocard ?

Certainly not the GPU since it'll have to filter any EDID against its own capacity, but not all panels sanitize modelines (there was a patch to more aggressively filter modelines in mesa or X11 like a year ago because apparently some notebook panels took damage because they allowed to be run out of spec - which might actually run you into a crt error when trying to add the modeline w/ xrandr)

@sovid, have you tried to add the modeline w/ xrandr?
And just as precaution: Can we get the full edid decoded?

for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://archlinux.org/packages/extra/x86_64/v4l-utils/

Offline

#13 2025-07-21 14:17:30

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

seth wrote:

@sovid, have you tried to add the modeline w/ xrandr?

No

seth wrote:

And just as precaution: Can we get the full edid decoded?

for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://archlinux.org/packages/extra/x86_64/v4l-utils/

[root@sovid-pc sovid]# for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
/sys/class/drm/card1
/sys/class/drm/card1/edid: No such file or directory
=================
/sys/class/drm/card1-DP-1
EDID of '/sys/class/drm/card1-DP-1/edid' was empty.
=================
/sys/class/drm/card1-DP-2
EDID of '/sys/class/drm/card1-DP-2/edid' was empty.
=================
/sys/class/drm/card1-DP-3
EDID of '/sys/class/drm/card1-DP-3/edid' was empty.
=================
/sys/class/drm/card1-DVI-D-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 05 e3 15 27 f7 04 00 00
14 22 01 03 80 3c 22 78 2a b6 d5 a5 55 4c 9b 26
0f 50 54 bf ef 00 d1 c0 81 80 31 68 31 7c 45 68
45 7c 61 68 61 7c 02 3a 80 18 71 38 2d 40 58 2c
45 00 56 50 21 00 00 1e 00 00 00 ff 00 41 48 31
35 34 32 30 5a 30 31 32 37 31 00 00 00 fc 00 32
37 47 31 35 4e 0a 20 20 20 20 20 20 00 00 00 fd
00 30 b4 1e c8 3c 00 0a 20 20 20 20 20 20 01 e5

02 03 42 f1 4c 10 1f 05 14 04 13 03 12 02 11 01
3f 23 09 07 07 83 01 00 00 67 03 0c 00 10 00 38
44 67 d8 5d c4 01 78 80 00 6d 1a 00 00 02 01 30
b4 e6 00 00 00 00 00 e6 06 07 01 62 62 1c e3 05
f3 01 57 a2 80 a0 70 38 1e 40 30 40 35 00 56 50
21 00 00 1e 1a 82 80 88 70 38 2d 40 18 20 35 00
56 50 21 00 00 1e 86 6f 80 a0 70 38 40 40 30 20
35 00 56 50 21 00 00 1e 00 00 00 00 00 00 00 3d

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

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: AOC
    Model: 10005
    Serial Number: 1271 (0x000004f7)
    Made in: week 20 of 2024
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    DPMS levels: Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6464, 0.3349
    Green: 0.2978, 0.6074
    Blue : 0.1513, 0.0595
    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
    Apple   :   640x480    66.666667 Hz   4:3     35.000 kHz     30.240000 MHz
    DMT 0x05:   640x480    72.808802 Hz   4:3     37.861 kHz     31.500000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x08:   800x600    56.250000 Hz   4:3     35.156 kHz     36.000000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0a:   800x600    72.187572 Hz   4:3     48.077 kHz     50.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 0x11:  1024x768    70.069359 Hz   4:3     56.476 kHz     75.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
  Standard Timings:
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    GTF     :   640x480    99.999537 Hz   4:3     50.900 kHz     43.163000 MHz
    GTF     :   640x480   119.999084 Hz   4:3     61.800 kHz     52.406000 MHz
    GTF     :   800x600    99.999707 Hz   4:3     63.600 kHz     68.179000 MHz
    GTF     :   800x600   119.999886 Hz   4:3     77.160 kHz     83.950000 MHz
    GTF     :  1024x768   100.000177 Hz   4:3     81.400 kHz    113.309000 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 (598 mm x 336 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    Display Product Serial Number: 'AH15420Z01271'
    Display Product Name: '27G15N'
    Display Range Limits:
      Monitor ranges (GTF): 48-180 Hz V, 30-200 kHz H, max dotclock 600 MHz
  Extension blocks: 1
Checksum: 0xe5

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

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
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC  20:  1920x1080i  50.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC  17:   720x576    50.000000 Hz   4:3     31.250 kHz     27.000000 MHz
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    VIC  63:  1920x1080  120.000000 Hz  16:9    135.000 kHz    297.000000 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
  Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 2
    Feature Caps: 0x01
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 180 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
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      Traditional gamma - HDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 98 (417.710 cd/m^2)
    Desired content max frame-average luminance: 98 (417.710 cd/m^2)
    Desired content min luminance: 28 (0.050 cd/m^2)
  Colorimetry Data Block:
    xvYCC601
    xvYCC709
    opRGB
    BT2020cYCC
    BT2020YCC
    BT2020RGB
    Gamut Boundary Description Metadata Profile P0
  Detailed Timing Descriptors:
    DTD 2:  1920x1080  180.002599 Hz  16:9    199.803 kHz    415.590000 MHz (598 mm x 336 mm)
                 Hfront   48 Hsync  64 Hback   48 Hpol P
                 Vfront    3 Vsync   5 Vback   22 Vpol P
    DTD 3:  1920x1080  143.994812 Hz  16:9    161.994 kHz    333.060000 MHz (598 mm x 336 mm)
                 Hfront   24 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   37 Vpol P
    DTD 4:  1920x1080  119.982181 Hz  16:9    137.260 kHz    285.500000 MHz (598 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   56 Vpol P
Checksum: 0x3d  Unused space in Extension Block: 7 bytes
=================
/sys/class/drm/card1-HDMI-A-1
EDID of '/sys/class/drm/card1-HDMI-A-1/edid' was empty.
=================

Offline

#14 2025-07-21 14:25:32

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

Re: AMD-GPU driver patch to unlock monitor refresh rate

    DTD 2:  1920x1080  180.002599 Hz  16:9    199.803 kHz    415.590000 MHz (598 mm x 336 mm)
                 Hfront   48 Hsync  64 Hback   48 Hpol P
                 Vfront    3 Vsync   5 Vback   22 Vpol P

The modeline is there. You don't have to patch anything.
On X11, what's the output of "xrandr --verbose" (running this on wayland is pointless - you're talking to an X11 emulation only there)
Also please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General (the file, don't copypaste the completely random example in the blue box)

Offline

#15 2025-07-21 14:44:51

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

seth wrote:

On X11, what's the output of "xrandr --verbose" (running this on wayland is pointless - you're talking to an X11 emulation only there)

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x54
        Timestamp:  8339
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        TearFree: auto 
                supported: off, on, auto
        subconnector: Unknown 
                supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
        vrr_capable: 0 
                range: (0, 1)
        Colorspace: Default 
                supported: Default, BT709_YCC, opRGB, BT2020_RGB, BT2020_YCC
        max bpc: 16 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 77 
                supported: 77
        non-desktop: 0 
                range: (0, 1)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x55
        Timestamp:  8339
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        TearFree: auto 
                supported: off, on, auto
        subconnector: Unknown 
                supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
        vrr_capable: 0 
                range: (0, 1)
        Colorspace: Default 
                supported: Default, BT709_YCC, opRGB, BT2020_RGB, BT2020_YCC
        max bpc: 16 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 84 
                supported: 84
        non-desktop: 0 
                range: (0, 1)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x56
        Timestamp:  8339
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        TearFree: auto 
                supported: off, on, auto
        subconnector: Unknown 
                supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
        vrr_capable: 0 
                range: (0, 1)
        Colorspace: Default 
                supported: Default, BT709_YCC, opRGB, BT2020_RGB, BT2020_YCC
        max bpc: 16 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 90 
                supported: 90
        non-desktop: 0 
                range: (0, 1)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x57
        Timestamp:  8339
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        TearFree: auto 
                supported: off, on, auto
        vrr_capable: 0 
                range: (0, 1)
        Colorspace: Default 
                supported: Default, BT709_YCC, opRGB, BT2020_RGB, BT2020_YCC
        content type: No Data 
                supported: No Data, Graphics, Photo, Cinema, Game
        max bpc: 16 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 96 
                supported: 96
        non-desktop: 0 
                range: (0, 1)
DVI-D-0 connected primary 1920x1080+0+0 (0x5a) normal (normal left inverted right x axis y axis) 598mm x 336mm
        Identifier: 0x58
        Timestamp:  8339
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        _KDE_SCREEN_INDEX: 1 
        EDID: 
                00ffffffffffff0005e31527f7040000
                14220103803c22782ab6d5a5554c9b26
                0f5054bfef00d1c081803168317c4568
                457c6168617c023a801871382d40582c
                450056502100001e000000ff00414831
                353432305a3031323731000000fc0032
                374731354e0a202020202020000000fd
                0030b41ec83c000a20202020202001e5
                020342f14c101f051404130312021101
                3f230907078301000067030c00100038
                4467d85dc4017880006d1a0000020130
                b4e60000000000e606070162621ce305
                f30157a280a070381e40304035005650
                2100001e1a82808870382d4018203500
                56502100001e866f80a0703840403020
                350056502100001e000000000000003d
        TearFree: auto 
                supported: off, on, auto
        max bpc: 16 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 103 
                supported: 103
        non-desktop: 0 
                range: (0, 1)
  1920x1080 (0x5a) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x5b) 297.000MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock 135.00KHz
        v: height 1080 start 1084 end 1089 total 1125           clock 120.00Hz
  1920x1080 (0x5c) 296.703MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock 134.87KHz
        v: height 1080 start 1084 end 1089 total 1125           clock 119.88Hz
  1920x1080 (0x5d) 285.500MHz +HSync +VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 137.26KHz
        v: height 1080 start 1083 end 1088 total 1144           clock 119.98Hz
  1920x1080 (0x5e) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0x5f) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1680x1050 (0x60) 148.500MHz +HSync +VSync
        h: width  1680 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1050 start 1084 end 1089 total 1125           clock  60.00Hz
  1280x1024 (0x61) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x62) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1440x900 (0x63) 148.500MHz +HSync +VSync
        h: width  1440 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height  900 start 1084 end 1089 total 1125           clock  60.00Hz
  1280x800 (0x64) 148.500MHz +HSync +VSync
        h: width  1280 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height  800 start 1084 end 1089 total 1125           clock  60.00Hz
  1280x720 (0x65) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x66) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0x67) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1024x768 (0x68) 115.500MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  97.55KHz
        v: height  768 start  771 end  775 total  813           clock 119.99Hz
  1024x768 (0x69) 113.274MHz -HSync +VSync
        h: width  1024 start 1096 end 1208 total 1392 skew    0 clock  81.38KHz
        v: height  768 start  769 end  772 total  814           clock  99.97Hz
  1024x768 (0x6a) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x6b) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x6c) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  832x624 (0x6d) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0x6e) 73.250MHz +HSync -VSync
        h: width   800 start  848 end  880 total  960 skew    0 clock  76.30KHz
        v: height  600 start  603 end  607 total  636           clock 119.97Hz
  800x600 (0x6f) 68.175MHz -HSync +VSync
        h: width   800 start  848 end  936 total 1072 skew    0 clock  63.60KHz
        v: height  600 start  601 end  604 total  636           clock  99.99Hz
  800x600 (0x70) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x71) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x72) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x73) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x74) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x75) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0x76) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x77) 52.404MHz -HSync +VSync
        h: width   640 start  680 end  744 total  848 skew    0 clock  61.80KHz
        v: height  480 start  481 end  484 total  515           clock 119.99Hz
  640x480 (0x78) 43.162MHz -HSync +VSync
        h: width   640 start  680 end  744 total  848 skew    0 clock  50.90KHz
        v: height  480 start  481 end  484 total  509           clock 100.00Hz
  640x480 (0x79) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x7a) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  492 total  520           clock  72.81Hz
  640x480 (0x7b) 30.240MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock  35.00KHz
        v: height  480 start  483 end  486 total  525           clock  66.67Hz
  640x480 (0x7c) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x7d) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0x7e) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
seth wrote:

Also please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General (the file, don't copypaste the completely random example in the blue box)

tail -f /var/log/Xorg.0.log     
[   174.973] (II) AMDGPU(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "640x480"x100.0   43.16  640 680 744 848  480 481 484 509 -hsync +vsync (50.9 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "640x480"x120.0   52.41  640 680 744 848  480 481 484 515 -hsync +vsync (61.8 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "800x600"x100.0   68.18  800 848 936 1072  600 601 604 636 -hsync +vsync (63.6 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "800x600"x0.0   73.25  800 848 880 960  600 603 607 636 +hsync -vsync (76.3 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "1024x768"x100.0  113.31  1024 1096 1208 1392  768 769 772 814 -hsync +vsync (81.4 kHz e)
[   174.973] (II) AMDGPU(0): Modeline "1024x768"x0.0  115.50  1024 1072 1104 1184  768 771 775 813 +hsync -vsync (97.6 kHz e)
[   174.973] (--) AMDGPU(0): HDMI max TMDS frequency 340000KHz

tail -f /var/log/Xorg.1.log
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.398] (II) UnloadModule: "libinput"
[ 12442.440] (II) Server terminated successfully (0). Closing log file.

tail -f /var/log/Xorg.2.log
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.455] (II) UnloadModule: "libinput"
[ 17111.457] (II) Server terminated successfully (0). Closing log file.

Offline

#16 2025-07-21 14:52:08

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

Re: AMD-GPU driver patch to unlock monitor refresh rate

seth wrote:

the file, don't copypaste the completely random example in the blue box

What am I supposed to do w/ that tail?
roll

However:

xrandr --output DVI-D-0 --mode 0x5d

Does the 120HZ mode work?

Can you btw. use a display port connection?
DL-DVI is limited to 330MHz, so unsurprisingly the 440MHz modeline will get filtered there and I'm not sure how you'd do this on windows except
1. windows lied
2. you were using an interlaced mode

DVI cannot transmit 1080p@180HZ

Offline

#17 2025-07-21 14:58:30

sovid
Member
Registered: 2025-07-10
Posts: 8

Re: AMD-GPU driver patch to unlock monitor refresh rate

seth wrote:
seth wrote:

the file, don't copypaste the completely random example in the blue box

What am I supposed to do w/ that tail?
roll

However:

xrandr --output DVI-D-0 --mode 0x5d

Does the 120HZ mode work?

Can you btw. use a display port connection?

At 120Hz there are artifacts as if the image sharpness has increased along with blurring. And yes, the video card has only one DVI-D output

Offline

#18 2025-07-21 15:04:15

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

Re: AMD-GPU driver patch to unlock monitor refresh rate

as if the image sharpness has increased along with blurring

Errrr… wut?

And yes, the video card has only one DVI-D output

Errrr… wut?

DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)

I meant, they technically all could™ be not wired to any jack, I guess. Which kinda sucks.

$ cvt12 1920 1080 180 -b -i
# 1920x1080 @ 180.000 Hz Interlaced Reduced Blank (CVT) field rate 179.999 Hz; hsync: 106.110 kHz; pclk: 212.22 MHz
Modeline "1920x1080_180.00i_rb2"  212.22  1920 1928 1960 2000  1080 1115 1123 1129 Interlace  +hsync -vsync

Is your only realistic option, provided the output supports that mode (it's not in the edid) - not sure whether that's gonna be a huge improvement (though you'd be at 90Hz progressive, just rendered interlaced…)

https://wiki.archlinux.org/title/Xrandr … esolutions

Offline

Board footer

Powered by FluxBB