AMD GPU doesn't work properly with 4K monitor

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Sun Mar 10, 2019 10:23 am

My Vega 56 works fine without DisplayPort 1.2 enabled in my 4k monitor's settings at 30Hz. But if I want to get 60Hz by enabling DisplayPort 1.2, I get the launch bar only on one half of the monitor, and full-screen videos use only half of the monitor - rest is spread appropriately. I also get occasional flashes of the screen.

Running Tara with fully up-to-date system.

Here output of inxi -Fxz. It incorrectly identifies my card as Vega 64: it's a 56 in reality (ASUS ROG STRIX).

Code: Select all

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega 10 XT [Radeon RX Vega 64]
           bus-ID: 03:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 1920x2160@59.99hz, 1920x2160@59.99hz
           OpenGL: renderer: Radeon RX Vega (VEGA10, DRM 3.23.0, 4.15.0-46-generic, LLVM 7.0.0)

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Sun Mar 10, 2019 10:39 am

Try setting MST (Multi-Stream Transport) to OFF in the monitor’s on-screen menu.

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Sun Mar 10, 2019 11:05 am

Turning MST off (disabling DisplayPort 1.2) at monitor also drops refresh rate to 30Hz, so not a good solution.

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Sun Mar 10, 2019 11:32 am

That info came from here: viewtopic.php?f=49&t=288705

What is the output of xrandr --prop

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Fri Mar 15, 2019 5:55 am

xrandr -prop output:

Code: Select all

Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
DisplayPort-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
	EDID: 
		00ffffffffffff0010ac9c404c313530
		2e170104b5351e783a1df5ae4f35b325
		0d5054a54b008100b300d100714fa940
		8180d1c00101a36600a0f0701f803020
		35000f282100001a000000ff00575752
		48433342423035314c0a000000fc0044
		454c4c20555032343134510a000000fd
		001d4b1f8c1e000a20202020202001bc
		020315b1509005040302071601061112
		1513141f2030750030f2705a80b0588a
		000f282100001e023a801871382d4058
		2c25000f282100001e011d8018711c16
		20582c25000f282100009e011d007251
		d01e206e2855000f282100001e8c0ad0
		8a20e02d10103e96000f282100001800
		0000000000000000000000000000007a
	TearFree: auto 
		supported: off, on, auto
	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
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
   3840x2160     29.98*+  30.30  
   1920x1200     59.88  
   1920x1080     60.00    60.00    50.00    59.94    24.00    23.98  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      29.98  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
	TearFree: auto 
		supported: off, on, auto
	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
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
	TearFree: auto 
		supported: off, on, auto
	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
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
	TearFree: auto 
		supported: off, on, auto
	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
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
DVI-D-0 disconnected (normal left inverted right x axis y axis)
	TearFree: auto 
		supported: off, on, auto
	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
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Fri Mar 15, 2019 11:46 am

What is the model number of the Dell monitor?

Are you sure it supports a 3840x2160 @60 Hz resolution? Do you have a Windows PC the monitor can be connected to so it can be verified?

After extracting the info from the monitor’s EDID, the maximum dotclock (pixel clock) supported is given:
Monitor ranges (GTF): 29-75Hz V, 31-140kHz H, max dotclock 300MHz

Using the cvt tool to generate a 3840x2160 mode gives a 712.75 dotclock, way too high:
cvt 3840 2160
# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync

Generating a reduced blanking mode still gives a dotclock that is too high:
cvt 3840 2160 -r
# 3840x2160 59.97 Hz (CVT 8.29M9-R) hsync: 133.25 kHz; pclk: 533.00 MHz
Modeline "3840x2160R" 533.00 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync

Using umc to generate a reduced blanking mode using a 30 Hz refresh rate gives a dotclock of 262.750 MHz. This is the same mode found in the EDID:
umc 3840 2160 30 --rbt
# 3840x2160x29.98 @ 65.688kHz
Modeline "3840x2160x29.98" 262.75 3840 3888 3920 4000 2160 2163 2167 2191 +HSync -VSync

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Fri Apr 26, 2019 8:11 am

roblm wrote:
Fri Mar 15, 2019 11:46 am
What is the model number of the Dell monitor?

Are you sure it supports a 3840x2160 @60 Hz resolution? Do you have a Windows PC the monitor can be connected to so it can be verified?

After extracting the info from the monitor’s EDID, the maximum dotclock (pixel clock) supported is given:
Monitor ranges (GTF): 29-75Hz V, 31-140kHz H, max dotclock 300MHz

Using the cvt tool to generate a 3840x2160 mode gives a 712.75 dotclock, way too high:
cvt 3840 2160
# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync

Generating a reduced blanking mode still gives a dotclock that is too high:
cvt 3840 2160 -r
# 3840x2160 59.97 Hz (CVT 8.29M9-R) hsync: 133.25 kHz; pclk: 533.00 MHz
Modeline "3840x2160R" 533.00 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync

Using umc to generate a reduced blanking mode using a 30 Hz refresh rate gives a dotclock of 262.750 MHz. This is the same mode found in the EDID:
umc 3840 2160 30 --rbt
# 3840x2160x29.98 @ 65.688kHz
Modeline "3840x2160x29.98" 262.75 3840 3888 3920 4000 2160 2163 2167 2191 +HSync -VSync
I reverted back to 30Hz, but even that doesn't work really well. The monitor flashes occasionally which is really annoying after a while. Therefore I'd like to try 60Hz to see if it works better.

My monitor is Dell UP2414Q. Yes, it can do 60Hz via DP and it works fine in Windows.

Not sure what to do with the other information you gave?

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Fri Apr 26, 2019 5:26 pm

I suggest connecting the monitor to a Windows installation and set the 3840x2160 @60 Hz mode. It should be the only connected monitor.

Then get the Monitor Asset Manager program from here: https://www.entechtaiwan.com/util/moninfo.shtm

If you prefer, the program can be installed to a USB flash drive. Run the moninfo.exe file in the Moninfo folder.
Click File > Save Report. A file named moninfo.txt will be created. Transfer it to the Mint installation and post it's contents.

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Sun Apr 28, 2019 6:03 am

Here you go!

Code: Select all

Monitor Asset Manager Report, generated 2019-04-28
Copyright (c) 1995-2019, EnTech Taiwan.
---------------------------

Monitor #1 [Real-time 0x0100]
  Model name............... DELL UP2414Q
  Manufacturer............. Dell
  Plug and Play ID......... DEL409C
  Serial number............ 086B668A-141256330
  Manufacture date......... 2013, ISO week 46
  Filter driver............ None
  -------------------------
  EDID revision............ 1.4
  Input signal type........ Digital (DisplayPort)
  Color bit depth.......... 10 bits per primary color
  Color encoding formats... RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
  Screen size.............. 530 x 300 mm (24.0 in)
  Power management......... Active off/sleep
  Extension blocs.......... 1 (DID-EXT)
  -------------------------
  DDC/CI................... Supported
  MCCS revison............. 2.1
  Display technology....... TFT
  Controller............... STMicro 0x9301
  Firmware revision........ 2.1
  Firmware flags........... 0x007445CC
  Active power on time..... Not supported
  Power consumption........ 0.00 kWh
  Current frequency........ 133.20kHz, 60.00Hz

Color characteristics
  Default color space...... Non-sRGB
  Display gamma............ 2.20
  Red chromaticity......... Rx 0.680 - Ry 0.310
  Green chromaticity....... Gx 0.210 - Gy 0.700
  Blue chromaticity........ Bx 0.147 - By 0.054
  White point (default).... Wx 0.313 - Wy 0.329
  Additional descriptors... None

Timing characteristics
  Horizontal scan range.... 31-140kHz
  Vertical scan range...... 29-75Hz
  Video bandwidth.......... 300MHz
  CVT standard............. Not supported
  GTF standard............. Not supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 1920x2160p at 60Hz x 2 (16:9)
    Modeline............... "1920x2160" 277.250 1920 1968 2000 2080 2160 2163 2173 2222 +hsync -vsync

Standard timings supported
     720 x  400p at  70Hz - IBM VGA
     640 x  480p at  60Hz - IBM VGA
     640 x  480p at  75Hz - VESA
     800 x  600p at  60Hz - VESA
     800 x  600p at  75Hz - VESA
    1024 x  768p at  60Hz - VESA
    1024 x  768p at  75Hz - VESA
    1280 x 1024p at  75Hz - VESA
    1280 x  800p at  60Hz - VESA STD
    1680 x 1050p at  60Hz - VESA STD
    1920 x 1200p at  60Hz - VESA STD
    1152 x  864p at  75Hz - VESA STD
    1600 x 1200p at  60Hz - VESA STD
    1280 x 1024p at  60Hz - VESA STD
    1920 x 1080p at  60Hz - VESA STD

DisplayID information
  Revision number.......... 1.2
  Section size............. 121 bytes
  Product type............. Reserved/unknown
  Extension count.......... 0

Tiled display topology
  Bloc revision............ 0
  Physical enclosure....... Single
  Bezel information........ Not supported
  Partial tiled display.... n/a
  Single tile behavior..... Image scaled to fit entire tiled display
  Total horizontal tiles... 2
  Total vertical tiles..... 1
  Horizontal tile location. 2
  Vertical tile location... 1
  Horizontal tile size..... 1920 pixels
  Vertical tile size....... 2160 pixels
  Vendor ID................ DEL
  Product code............. 0x409C
  Serial number............ 808792396

Report information
  Date generated........... 2019-04-28
  Software revision........ 2.91.0.1043
  Data source.............. Real-time 0x0100
  Operating system......... 6.1.7601.2.Service Pack 1

Raw data
  00,FF,FF,FF,FF,FF,FF,00,10,AC,9C,40,8A,66,6B,08,2E,17,01,04,B5,35,1E,78,3A,1D,F5,AE,4F,35,B3,25,
  0D,50,54,A5,4B,00,81,00,B3,00,D1,00,71,4F,A9,40,81,80,D1,C0,01,01,4D,6C,80,A0,70,70,3E,80,30,20,
  3A,00,0F,28,21,00,00,1A,00,00,00,FF,00,30,38,36,42,36,36,38,41,0A,20,20,20,20,00,00,00,FC,00,44,
  45,4C,4C,20,55,50,32,34,31,34,51,0A,00,00,00,FD,00,1D,4B,1F,8C,1E,00,0A,20,20,20,20,20,20,01,46,
  70,12,79,00,00,12,00,16,82,10,10,00,7F,07,6F,08,00,00,00,00,00,44,45,4C,9C,40,4C,31,35,30,00,00,
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,1B,90

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

Hardware data
  BUS_SLOT = PCI00000.PCI00004.PCI00008.PCI0000C.PCI00010.PCI00014.PCI00018.PCI0001C
  00000000 = 0C008086.20900006.06000006.00000000.00000000.00000000.00000000.00000000
  00000008 = 0C018086.00100007.06040006.00810010.00000000.00000000.00030100.2000E0E0
  000000A0 = 8C318086.02900406.0C033005.00000000.F7F00004.00000000.00000000.00000000
  000000B0 = 8C3A8086.00100006.07800004.00800000.F7F1A004.00000000.00000000.00000000
  000000D0 = 8C2D8086.02900006.0C032005.00000000.F7F18000.00000000.00000000.00000000
  000000D8 = 8C208086.00100006.04030005.00000010.F7F10004.00000000.00000000.00000000
  000000E0 = 8C108086.00100004.060400D5.00810010.00000000.00000000.00040400.200000F0
  000000E8 = 8C268086.02900006.0C032005.00000000.F7F17000.00000000.00000000.00000000
  000000F8 = 8C448086.02100007.06010005.00800000.00000000.00000000.00000000.00000000
  000000FA = 8C028086.02B00007.01060105.00000000.0000F071.0000F061.0000F051.0000F041
  000000FB = 8C228086.02800003.0C050005.00000000.F7F15004.00000000.00000000.00000000
  00000100 = 14701022.00100007.060400C3.00010010.F7D00000.00000000.00030201.2000E1E1
  00000200 = 14711022.00100007.06040000.00010010.00000000.00000000.00030302.0000E1E1
  00000300 = 687F1002.00100407.030000C3.00800010.E000000C.00000000.F000000C.00000000
  00000301 = AAF81002.00100006.04030000.00800010.F7CA0000.00000000.00000000.00000000
  00000500 = E0911969.00100007.02000013.00000010.F7E00004.00000000.0000D001.00000000
  --------

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Sun Apr 28, 2019 9:22 am

The monitor's EDID info from the moninfo.txt file did not list a 3840x2160@60 mode. You will need to repeat the steps. When the Monitor Asset Manager program is opened, the Display IDs window in the upper left should be set at Real-time. Select the second line, which should be Registry-Active and then Click File > Save Report.

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Fri May 03, 2019 7:07 pm

This should be it:

Code: Select all

Monitor Asset Manager Report, generated 2019-05-04
Copyright (c) 1995-2019, EnTech Taiwan.
---------------------------

Monitor #1 [Real-time 0x0100]
  Model name............... DELL UP2414Q
  Manufacturer............. Dell
  Plug and Play ID......... DEL409C
  Serial number............ WWRHC3BB051L-808792396
  Manufacture date......... 2013, ISO week 46
  Filter driver............ None
  -------------------------
  EDID revision............ 1.4
  Input signal type........ Digital (DisplayPort)
  Color bit depth.......... 10 bits per primary color
  Color encoding formats... RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
  Screen size.............. 530 x 300 mm (24.0 in)
  Power management......... Active off/sleep
  Extension blocs.......... 1 (CEA/CTA-EXT)
  -------------------------
  DDC/CI................... Supported
  MCCS revison............. 2.1
  Display technology....... TFT
  Controller............... STMicro 0x9301
  Firmware revision........ 2.1
  Firmware flags........... 0x007445CC
  Active power on time..... Not supported
  Power consumption........ Not supported
  Current frequency........ 65.60kHz, 30.00Hz

Color characteristics
  Default color space...... Non-sRGB
  Display gamma............ 2.20
  Red chromaticity......... Rx 0.680 - Ry 0.310
  Green chromaticity....... Gx 0.210 - Gy 0.700
  Blue chromaticity........ Bx 0.147 - By 0.054
  White point (default).... Wx 0.313 - Wy 0.329
  Additional descriptors... None

Timing characteristics
  Horizontal scan range.... 31-140kHz
  Vertical scan range...... 29-75Hz
  Video bandwidth.......... 300MHz
  CVT standard............. Not supported
  GTF standard............. Not supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 3840x2160p at 30Hz (16:9)
    Modeline............... "3840x2160" 262.750 3840 3888 3920 4000 2160 2163 2168 2191 +hsync -vsync

Standard timings supported
     720 x  400p at  70Hz - IBM VGA
     640 x  480p at  60Hz - IBM VGA
     640 x  480p at  75Hz - VESA
     800 x  600p at  60Hz - VESA
     800 x  600p at  75Hz - VESA
    1024 x  768p at  60Hz - VESA
    1024 x  768p at  75Hz - VESA
    1280 x 1024p at  75Hz - VESA
    1280 x  800p at  60Hz - VESA STD
    1680 x 1050p at  60Hz - VESA STD
    1920 x 1200p at  60Hz - VESA STD
    1152 x  864p at  75Hz - VESA STD
    1600 x 1200p at  60Hz - VESA STD
    1280 x 1024p at  60Hz - VESA STD
    1920 x 1080p at  60Hz - VESA STD

EIA/CEA/CTA-861 Information
  Revision number.......... 3
  IT underscan............. Supported
  Basic audio.............. Not supported
  YCbCr 4:4:4.............. Supported
  YCbCr 4:2:2.............. Supported
  Native formats........... 1
  Detailed timing #1....... 3840x2160p at 30Hz (16:9)
    Modeline............... "3840x2160" 300.000 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync
  Detailed timing #2....... 1920x1080p at 60Hz (16:9)
    Modeline............... "1920x1080" 148.500 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync
  Detailed timing #3....... 1920x1080i at 60Hz (16:9)
    Modeline............... "1920x1080" 74.250 1920 2008 2052 2200 1080 1084 1094 1124 interlace +hsync +vsync
  Detailed timing #4....... 1280x720p at 60Hz (16:9)
    Modeline............... "1280x720" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
  Detailed timing #5....... 720x480p at 60Hz (16:9)
    Modeline............... "720x480" 27.000 720 736 798 858 480 489 495 525 -hsync -vsync

CE video identifiers (VICs) - timing/formats supported
    1920 x 1080p at  60Hz - HDTV (16:9, 1:1) [Native]
    1920 x 1080i at  60Hz - HDTV (16:9, 1:1)
    1280 x  720p at  60Hz - HDTV (16:9, 1:1)
     720 x  480p at  60Hz - EDTV (16:9, 32:27)
     720 x  480p at  60Hz - EDTV (4:3, 8:9)
     720 x  480i at  60Hz - Doublescan (16:9, 32:27)
     720 x  576i at  50Hz - Doublescan (16:9, 64:45)
     640 x  480p at  60Hz - Default (4:3, 1:1)
     720 x  480i at  60Hz - Doublescan (4:3, 8:9)
     720 x  576p at  50Hz - EDTV (4:3, 16:15)
     720 x  576p at  50Hz - EDTV (16:9, 64:45)
     720 x  576i at  50Hz - Doublescan (4:3, 16:15)
    1280 x  720p at  50Hz - HDTV (16:9, 1:1)
    1920 x 1080i at  50Hz - HDTV (16:9, 1:1)
    1920 x 1080p at  50Hz - HDTV (16:9, 1:1)
    1920 x 1080p at  24Hz - HDTV (16:9, 1:1)
    NB: NTSC refresh rate = (Hz*1000)/1001

Report information
  Date generated........... 2019-05-04
  Software revision........ 2.91.0.1043
  Data source.............. Real-time 0x0100
  Operating system......... 6.1.7601.2.Service Pack 1

Raw data
  00,FF,FF,FF,FF,FF,FF,00,10,AC,9C,40,4C,31,35,30,2E,17,01,04,B5,35,1E,78,3A,1D,F5,AE,4F,35,B3,25,
  0D,50,54,A5,4B,00,81,00,B3,00,D1,00,71,4F,A9,40,81,80,D1,C0,01,01,A3,66,00,A0,F0,70,1F,80,30,20,
  35,00,0F,28,21,00,00,1A,00,00,00,FF,00,57,57,52,48,43,33,42,42,30,35,31,4C,0A,00,00,00,FC,00,44,
  45,4C,4C,20,55,50,32,34,31,34,51,0A,00,00,00,FD,00,1D,4B,1F,8C,1E,00,0A,20,20,20,20,20,20,01,BC,
  02,03,15,B1,50,90,05,04,03,02,07,16,01,06,11,12,15,13,14,1F,20,30,75,00,30,F2,70,5A,80,B0,58,8A,
  00,0F,28,21,00,00,1E,02,3A,80,18,71,38,2D,40,58,2C,25,00,0F,28,21,00,00,1E,01,1D,80,18,71,1C,16,
  20,58,2C,25,00,0F,28,21,00,00,9E,01,1D,00,72,51,D0,1E,20,6E,28,55,00,0F,28,21,00,00,1E,8C,0A,D0,
  8A,20,E0,2D,10,10,3E,96,00,0F,28,21,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,7A

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

Hardware data
  BUS_SLOT = PCI00000.PCI00004.PCI00008.PCI0000C.PCI00010.PCI00014.PCI00018.PCI0001C
  00000000 = 0C008086.20900006.06000006.00000000.00000000.00000000.00000000.00000000
  00000008 = 0C018086.00100007.06040006.00810010.00000000.00000000.00030100.2000E0E0
  000000A0 = 8C318086.02900406.0C033005.00000000.F7F00004.00000000.00000000.00000000
  000000B0 = 8C3A8086.00100006.07800004.00800000.F7F1A004.00000000.00000000.00000000
  000000D0 = 8C2D8086.02900006.0C032005.00000000.F7F18000.00000000.00000000.00000000
  000000D8 = 8C208086.00100006.04030005.00000010.F7F10004.00000000.00000000.00000000
  000000E0 = 8C108086.00100004.060400D5.00810010.00000000.00000000.00040400.200000F0
  000000E8 = 8C268086.02900006.0C032005.00000000.F7F17000.00000000.00000000.00000000
  000000F8 = 8C448086.02100007.06010005.00800000.00000000.00000000.00000000.00000000
  000000FA = 8C028086.02B00007.01060105.00000000.0000F071.0000F061.0000F051.0000F041
  000000FB = 8C228086.02800003.0C050005.00000000.F7F15004.00000000.00000000.00000000
  00000100 = 14701022.00100007.060400C3.00010010.F7D00000.00000000.00030201.2000E1E1
  00000200 = 14711022.00100007.06040000.00010010.00000000.00000000.00030302.0000E1E1
  00000300 = 687F1002.00100407.030000C3.00800010.E000000C.00000000.F000000C.00000000
  00000301 = AAF81002.00100006.04030000.00800010.F7CA0000.00000000.00000000.00000000
  00000500 = E0911969.00100007.02000013.00000010.F7E00004.00000000.0000D001.00000000
  --------


User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Sat May 04, 2019 3:36 pm

In the Monitor Asset Manager program, you selected Real-time again in the Display IDs window. It was supposed to be Registry-Active. That info is right in the report. However, the second report lists the 3840x2160 mode this time, but only a 30 Hz refresh rate:

Code: Select all

Native/preferred timing.. 3840x2160p at 30Hz (16:9)
    Modeline............... "3840x2160" 262.750 3840 3888 3920 4000 2160 2163 2168 2191 +hsync -vsync
I’m wondering if the suggestion by the moderator in this Nvidia Linux Graphics forum topic would work, which also discusses trying to get a 4K @ 60Hz display in MST mode using DisplayPort 1.2, using the same monitor that you have:
https://devtalk.nvidia.com/default/topi ... 0/#4390430

Read the third post. It partly worked for the OP. When you get to the desktop, set the monitor to SST mode. Then change it to MST mode and use this command to turn it off: xrandr --output DisplayPort-0 --off

Hopefully it will come right back on and be configured correctly. If it does not after waiting at least 20 seconds, then use this command: xrandr --output DisplayPort-0 --auto

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Wed May 08, 2019 7:22 am

OP in that thread is me :) The solution is only partial, and results in the situation described in this thread's OP (e.g. videos only on half screen).

I tried the solution in your post, but doesn't work. The other solutions don't work, either. xorg.conf seems to have been deprecated in Linux nine years ago, so haven't tried it.

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Fri May 10, 2019 7:12 pm

Try using the EDID from the first moninfo.txt file from using the Monitor Asset Manager program in Windows.

That EDID is different from the one obtained from the xrandr --prop command in Mint. However, the EDID from the second moninfo.txt is the same as xrandr --prop.

1. Copy these lines:

Code: Select all

00,FF,FF,FF,FF,FF,FF,00,10,AC,9C,40,8A,66,6B,08,2E,17,01,04,B5,35,1E,78,3A,1D,F5,AE,4F,35,B3,25,
0D,50,54,A5,4B,00,81,00,B3,00,D1,00,71,4F,A9,40,81,80,D1,C0,01,01,4D,6C,80,A0,70,70,3E,80,30,20,
3A,00,0F,28,21,00,00,1A,00,00,00,FF,00,30,38,36,42,36,36,38,41,0A,20,20,20,20,00,00,00,FC,00,44,
45,4C,4C,20,55,50,32,34,31,34,51,0A,00,00,00,FD,00,1D,4B,1F,8C,1E,00,0A,20,20,20,20,20,20,01,46,
70,12,79,00,00,12,00,16,82,10,10,00,7F,07,6F,08,00,00,00,00,00,44,45,4C,9C,40,4C,31,35,30,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,1B,90
Open the text editor and paste the lines. Save the file as edid.txt in you Home directory.

Open the Terminal and use this command: xxd -r -p edid.txt edid.bin

2. Use this command to create a edid folder: sudo mkdir /lib/firmware/edid

Copy the edid.bin file to that folder, replacing your-user-name with your actual user name:
sudo cp /home/your-user-name/edid.bin /lib/firmware/edid

3. Open the grub file for editing: xed admin:///etc/default/grub

Change this line:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm_kms_helper.edid_firmware=edid/edid.bin"
Update grub and reboot: sudo update-grub; reboot


If there is a problem getting to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Use this command to open the grub file: sudo nano -t /etc/default/grub

Remove the change to the line. Press Ctrl+X to save and exit. Update grub and reboot: sudo update-grub; reboot

If you can't enter tty1, then select Advanced options > Recovery Mode at the GRUB boot menu. If no menu shows, then hold down the Shift key while starting. In the menu, select “root - drop to root shell prompt ” and press ENTER. Press ENTER again. Use this command to change the file permissions to read and write: mount -o remount,rw /

Use this command to open the grub file: nano -t /etc/default/grub

Remove the change to the line. Press Ctrl+X. Update grub and reboot: update-grub; reboot

Nomin
Level 3
Level 3
Posts: 112
Joined: Sat Dec 21, 2013 7:21 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by Nomin » Fri May 24, 2019 7:13 am

Tried it, but it doesn't change the outcome: sometimes screen doesn't turn on at all, and sometimes it's with the half screen mode described in OP :(

Redsandro
Level 3
Level 3
Posts: 149
Joined: Sun Jul 17, 2011 6:40 pm
Contact:

Re: AMD GPU doesn't work properly with 4K monitor

Post by Redsandro » Sun Aug 18, 2019 6:02 pm

Hi @Nomin, did you figure out how to solve this?

I have a Dell UP2414Q too. You see two half screens because this monitor requires two streams over one cable using Multi-Stream Transport (MST). By default, Linux thinks you're sending two streams to two monitors.

When I had an nVidia video card, I would fix this by configuring the two streams as one display in xorg.conf:

Code: Select all

Section "Screen"
    ( ... )

    Option         "TwinView"
    Option         "TwinViewXineramaInfoOverride" "3840x2160+0+0"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DP-0.9, DP-0.8, DVI-I-0"
    Option         "metamodes" "DP-0.8: 1920x2160 +1920+0, DP-0.9: 1920x2160 +0+0"
EndSection
However, this is not working on the AMD Radeon video card. I suspect these options are nVidia-specific, and we need to find the AMD-specific counterpart. I'm hoping you've found the correct options by now and are willing to share them, since this topic is a couple of months old. :mrgreen:

I know work on this has been done on the kernel driver. You need not mess around with hardcoded edid settings. It's just some option we need to turn on somewhere.
🤘 Amp.lol. No bloat, just radio.
Ninite-killer. 1000+ packages.

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Mon Aug 19, 2019 4:50 pm

Redsandro,

When Nomin started this topic, the AMD drivers did not provide support for tiled 4K monitors connected through DisplayPort, but according to when this article came out, support probably is enabled now for newer AMD drivers.
https://www.phoronix.com/scan.php?page= ... LE-Support

Did you try using Mint 19.2?

Redsandro
Level 3
Level 3
Posts: 149
Joined: Sun Jul 17, 2011 6:40 pm
Contact:

Re: AMD GPU doesn't work properly with 4K monitor

Post by Redsandro » Mon Aug 19, 2019 6:12 pm

Yes I'm actually running Linux Mint 19.2. But due to bleeding edge hardware I need to run Kernel 5.2 (unofficial), and for TILE support I need to run amdgpu 19.0.1 (unofficial), and with these, Cinnamon crashes: https://github.com/linuxmint/cinnamon-d ... issues/129

However, I can't believe this very new TILE support is the only way to do this. I've seen single desktops span over multiple monitors. I don't believe all these years those setups were exclusively for nVidia hardware. So while TILE support enables automatic detection and configuration for MST monitors, there has to be a xorg.conf way of achieving the same effect. The monitor would still be detected as two monitors, but it has to be possible to use them as one virtual desktop spanning two "monitors". on nVidia hardware this is done using the nVidia-specific TwinView option. How can we do this with Radeon hardware and amdgpu drivers?
🤘 Amp.lol. No bloat, just radio.
Ninite-killer. 1000+ packages.

User avatar
roblm
Level 10
Level 10
Posts: 3388
Joined: Sun Feb 24, 2013 2:41 pm

Re: AMD GPU doesn't work properly with 4K monitor

Post by roblm » Mon Aug 19, 2019 9:45 pm

Did you install the newer mesa package from the Oibaf PPA?

Also post the output of xrandr --prop

Redsandro
Level 3
Level 3
Posts: 149
Joined: Sun Jul 17, 2011 6:40 pm
Contact:

Re: AMD GPU doesn't work properly with 4K monitor

Post by Redsandro » Tue Aug 20, 2019 8:17 am

@roblm although I am unsure about mesa specifically, when I upgraded amdgpu from ppa:oibaf, it did automatically upgrade a dozen or so related packages.

I can't be sure at the moment because I used a backup of my system to downgrade amdgpu to version 18, since downgrading in synaptic is not possible (without automatically removing pretty much your entire system). For that same reason, the The xrandr --prop command (attached below) does not show the TILE data, which would be shown using version 19 of amdgpu.

So I'm not going to do the upgrade to version 19 again until I'm fairly confident it will work, because at the same time I need to get work done, and for that I need Cinnamon to work.

In the issue I linked in the previous post, you can see that a problem was identified in libmuffin, and upgrading mesa - to my knowledge - is irrelevant to that. I reckon for the time being I need to wait for libmuffin to be updated, and I need to find an older way of achieving the same effect as a single desktop multi head setup. I would be surprised if this wasn't possible, even on older packages. The question is how. I know how to do this on nVidia hardware. I'm new to Radeon hardware.

From the xrandr man page, it feels like something like this should do the trick:

Code: Select all

xrandr --fb 3840x2160 --output DisplayPort-4 --pos 0x0 --output DisplayPort-3 --pos 1920x0
However, it does nothing.
Attachments
xrandr.prop.txt
xrandr --prop
(4.19 KiB) Downloaded 6 times
🤘 Amp.lol. No bloat, just radio.
Ninite-killer. 1000+ packages.

Post Reply

Return to “Graphics Cards & Monitors”