You are not logged in.

#1 2023-02-13 14:23:26

AlmaMater
Member
Registered: 2007-02-28
Posts: 108

[SOLVED]Monitor issues - Xorg only detects 120hz, in Wayland is at 144

Greetings,

After cheeking many threats about this issue I have not been able to solve it:

Have a ultrawide monitor which supports up to 144 hz. I have it connected using a DP1.4 cable. I am able to get the 144hz using Wayland and also in Windows. On X I only get 120hz max (I am using KDE)

I checked xranrd and xorg documentation as well.

https://wiki.archlinux.org/title/xrandr#Troubleshooting

Xrandr

Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 797mm x 334mm
   3440x1440_144.00  59.94 +
   3440x1440     50.00 + 120.00*  100.00    60.00 
   2560x1080    143.90 
   1720x1440     60.00 
   1920x1200     50.00 
   1920x1080    120.00   119.88    60.00    60.00    50.00    59.94 
   1600x1200     50.00 
   1680x1050     59.95 
   1600x900      60.00 
   1280x1024     75.02    60.02 
   1440x900      59.89 
   1280x960      60.00 
   1280x800      50.00 
   1152x864      75.00 
   1280x720      60.00    50.00    59.94 
   1024x768      75.03    70.07    60.00 
   800x600       72.19    75.00    60.32 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       75.00    72.81    60.00    59.94 
   720x400       70.08 
HDMI-A-0 disconnected (normal left inverted right x axis y axis)

That line:
3440x1440_144.00  59.94 +

Was part of some test which were not successfully.

cvt 3440 1440 144
# 3440x1440 143.91 Hz (CVT) hsync: 225.65 kHz; pclk: 1086.75 MHz
Modeline "3440x1440_144.00"  1086.75  3440 3744 4128 4816  1440 1443 1453 1568 -hsync +vsync

xrandr --newmode "3440x1440_144.00" 1086.75  3440 3744 4128 4816  1440 1443 1453 1568 -hsync +vsync

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  41
  Current serial number in output stream:  41

The card is an AMD 6800.

Xorg log file
https://0bin.net/paste/jaWQ4Ji7#Gp6Pb2F … x4A6zCcfV3


Any help is greatly appreciated.

Thanks in advance!

Last edited by AlmaMater (2023-02-13 20:37:20)

Offline

#2 2023-02-13 17:37:04

topcat01
Member
Registered: 2019-09-17
Posts: 287

Re: [SOLVED]Monitor issues - Xorg only detects 120hz, in Wayland is at 144

How do you check that 144 Hz works in Wayland?

Looking at your EDID, the problem is likely that the preferred video timing is declared in the DisplayID Extension Block, and not in the first Detailed Timing Descriptor (DTD) in Block 0, as is usually the case. The driver is having issues handling that.

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: XMI
    Model: 13381
    Made in: week 13 of 2021
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 10
    DisplayPort interface
    Maximum image size: 80 cm x 33 cm
    Gamma: 2.20
    DPMS levels: Off
    Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
    First detailed timing includes the native pixel format and preferred refresh rate
    Display is continuous frequency
  Color Characteristics:
    Red  : 0.6767, 0.3144
    Green: 0.2861, 0.6367
    Blue : 0.1357, 0.0771
    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 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 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
    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 0x15:  1152x864    75.000000 Hz   4:3     67.500 kHz    108.000000 MHz
    DMT 0x55:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    DMT 0x20:  1280x960    60.000000 Hz   4:3     60.000 kHz    108.000000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x2f:  1440x900    59.887445 Hz  16:10    55.935 kHz    106.500000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
  Detailed Timing Descriptors:
    DTD 1:  3440x1440   50.000000 Hz  43:18    74.050 kHz    266.580000 MHz (797 mm x 334 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   33 Vpol N
    DTD 2:  3440x1440  120.000000 Hz  43:18   180.000 kHz    648.000000 MHz (797 mm x 334 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   52 Vpol P
    Display Range Limits:
      Monitor ranges (Bare Limits): 48-144 Hz V, 160-160 kHz H, max dotclock 600 MHz
    Display Product Name: 'Mi Monitor'
  Extension blocks: 2
Checksum: 0xad

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

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: 4
  Video Data Block:
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC  17:   720x576    50.000000 Hz   4:3     31.250 kHz     27.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC  20:  1920x1080i  50.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 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 (AMD), OUI 00-00-1A:
    Version: 2.1
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 144 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0x00
    Maximum luminance: 0 (50.000 cd/m^2)
    Minimum luminance: 0 (0.000 cd/m^2)
    Unknown: 0x00 0x00
  Detailed Timing Descriptors:
    DTD 3:  2560x1080  143.895425 Hz  64:27   161.882 kHz    440.320000 MHz (797 mm x 334 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   37 Vpol P
    DTD 4:  3440x1440  100.000000 Hz  43:18   150.000 kHz    540.000000 MHz (797 mm x 334 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   52 Vpol P
    DTD 5:  1720x1440   59.999355 Hz  43:36    89.399 kHz    185.950000 MHz (797 mm x 334 mm)
                 Hfront   48 Hsync  64 Hback  248 Hpol P
                 Vfront    3 Vsync   5 Vback   42 Vpol P
    DTD 6:  3440x1440   59.998875 Hz  43:18    88.858 kHz    319.890000 MHz (797 mm x 334 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   33 Vpol P
Checksum: 0xd3  Unused space in Extension Block: 17 bytes

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

Block 2, DisplayID Extension Block:
  Version: 1.2
  Extension Count: 0
  Display Product Type: Extension Section
  Video Timing Modes Type 1 - Detailed Timings Data Block:
    DTD:  3440x1440  144.000000 Hz  16:9    216.000 kHz    777.600000 MHz (aspect 16:9, no 3D stereo)
               Hfront   48 Hsync  32 Hback   80 Hpol N
               Vfront    3 Vsync   5 Vback   52 Vpol P
  Supported Timing Modes Type 1 - VESA DMT Timings Data Block:
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x1c:  1280x800    59.810326 Hz  16:10    49.702 kHz     83.500000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x33:  1600x1200   60.000000 Hz   4:3     75.000 kHz    162.000000 MHz
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
    DMT 0x45:  1920x1200   59.884600 Hz  16:10    74.556 kHz    193.250000 MHz
  Checksum: 0xe1
Checksum: 0x90

Offline

#3 2023-02-13 18:17:49

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

Re: [SOLVED]Monitor issues - Xorg only detects 120hz, in Wayland is at 144

The proper modeline would be

Modeline "3440x1440_144.00" 777.600  3440 3488 3520 3600  1440 1443 1448 1500  -HSync +VSync

pclk: 1086.75 MHz is too much

777.6 is even below

% cvt12 3440 1440 144 -b
# 3440x1440 @ 144.000 Hz Reduced Blank (CVT) field rate 144.000 Hz; hsync: 222.192 kHz; pclk: 782.12 MHz
Modeline "3440x1440_144.00_rb2"  782.12  3440 3448 3480 3520  1440 1529 1537 1543 +hsync -vsync

Which is probably somehow related to

[     8.837] (II) AMDGPU(0): Not using mode "3440x1440" (bad mode clock/interlace/doublescan)

Offline

#4 2023-02-13 20:35:37

AlmaMater
Member
Registered: 2007-02-28
Posts: 108

Re: [SOLVED]Monitor issues - Xorg only detects 120hz, in Wayland is at 144

seth wrote:

The proper modeline would be

Modeline "3440x1440_144.00" 777.600  3440 3488 3520 3600  1440 1443 1448 1500  -HSync +VSync
pclk: 1086.75 MHz is too much

Thanks!

Thanks worked smile

Thanks for both answers!.

Cheers

Offline

Board footer

Powered by FluxBB