Bug 49747 - dpms on only works on DP0 on a hd5700
Summary: dpms on only works on DP0 on a hd5700
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 10:57 UTC by Daniel Vetter
Modified: 2014-01-17 06:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg (83.53 KB, text/plain)
2012-05-10 10:58 UTC, Daniel Vetter
no flags Details
xrandr --verbose (25.79 KB, text/plain)
2012-05-10 10:58 UTC, Daniel Vetter
no flags Details
Xorg.log (66.46 KB, text/plain)
2012-05-10 11:01 UTC, Daniel Vetter
no flags Details
radeonregs dump after boot (127.46 KB, text/plain)
2012-05-10 13:54 UTC, Daniel Vetter
no flags Details
radeonregs dump after boot, both screens working (127.46 KB, text/plain)
2012-05-10 13:56 UTC, Daniel Vetter
no flags Details
radeonregs dump after boot, DP1 broken (127.46 KB, text/plain)
2012-05-10 13:58 UTC, Daniel Vetter
no flags Details
vbios rom (62.00 KB, application/octet-stream)
2012-05-10 23:09 UTC, Daniel Vetter
no flags Details

Description Daniel Vetter 2012-05-10 10:57:48 UTC
On my hd5700 with 5 dp outputs, dpms off works as expected, but dpms on only brings back the screen on output 0.

06:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series] [1002:68b8]
06:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Juniper HDMI Audio [Radeon HD 5700 Series] [1002:aa58]

Kernel is drm-next as of a few days ago, precisely:

commit 4f256e8aa3eda15c11c3cec3ec5336e1fc579cbd
Merge: 4086b1e dc257cf
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon May 7 16:09:09 2012 +0100

    Merge branch 'for-airlied' of git://people.freedesktop.org/~danvet/drm-intel
    
    Daniel prepared this branch with a back-merge as git was getting
    very confused about changes in intel_display.c

plus a bunch of drm/i915 patches.

I'll attach dmesg, Xorg.log and xrandr --verbose. If I should just retest with latest drm-next, please just holler.
Comment 1 Daniel Vetter 2012-05-10 10:58:24 UTC
Created attachment 61379 [details]
dmesg
Comment 2 Daniel Vetter 2012-05-10 10:58:57 UTC
Created attachment 61380 [details]
xrandr --verbose
Comment 3 Daniel Vetter 2012-05-10 10:59:21 UTC
Comment on attachment 61380 [details]
xrandr --verbose

>Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 8192 x 8192
>DisplayPort-0 connected 1920x1200+0+0 (0x5a) normal (normal left inverted right x axis y axis) 546mm x 352mm
>	Identifier: 0x55
>	Timestamp:  33295
>	Subpixel:   horizontal rgb
>	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: 
>	EDID:
>		00ffffffffffff0022f0f92601010101
>		0b130104a5362378eece50a3544c9926
>		0f5054a56b808140a900a940b300d100
>		010101010101283c80a070b023403020
>		360022602100001a000000fc00485020
>		4c5032343735770a2020000000fd0030
>		551e5e15041150d2f858f000000000ff
>		00435a43393131303039340a202000c2
>	underscan vborder: 0 (0x00000000)	range:  (0,128)
>	underscan hborder: 0 (0x00000000)	range:  (0,128)
>	underscan:	off
>		supported: off          on           auto        
>	coherent: 1 (0x00000001)	range:  (0,1)
>  1920x1200 (0x5a)  154.0MHz +HSync -VSync *current +preferred
>        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock   74.0KHz
>        v: height 1200 start 1203 end 1209 total 1235           clock   60.0Hz
>  1600x1200 (0x5b)  202.5MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   93.8KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   75.0Hz
>  1600x1200 (0x5c)  189.0MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   87.5KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   70.0Hz
>  1600x1200 (0x5d)  175.5MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   81.2KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   65.0Hz
>  1600x1200 (0x5e)  162.0MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   75.0KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   60.0Hz
>  1680x1050 (0x5f)  187.0MHz -HSync +VSync
>        h: width  1680 start 1800 end 1976 total 2272 skew    0 clock   82.3KHz
>        v: height 1050 start 1053 end 1059 total 1099           clock   74.9Hz
>  1680x1050 (0x60)  146.2MHz -HSync +VSync
>        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
>        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
>  1680x1050 (0x61)  119.0MHz +HSync -VSync
>        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock   64.7KHz
>        v: height 1050 start 1053 end 1059 total 1080           clock   59.9Hz
>  1600x1000 (0x62)  133.2MHz -HSync +VSync
>        h: width  1600 start 1704 end 1872 total 2144 skew    0 clock   62.1KHz
>        v: height 1000 start 1001 end 1004 total 1035           clock   60.0Hz
>  1680x945 (0x63)  107.2MHz +HSync -VSync
>        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock   58.3KHz
>        v: height  945 start  948 end  953 total  972           clock   60.0Hz
>  1400x1050 (0x64)  179.5MHz -HSync +VSync
>        h: width  1400 start 1504 end 1656 total 1912 skew    0 clock   93.9KHz
>        v: height 1050 start 1053 end 1057 total 1105           clock   85.0Hz
>  1400x1050 (0x65)  156.0MHz -HSync +VSync
>        h: width  1400 start 1504 end 1648 total 1896 skew    0 clock   82.3KHz
>        v: height 1050 start 1053 end 1057 total 1099           clock   74.9Hz
>  1400x1050 (0x66)  121.8MHz -HSync +VSync
>        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock   65.3KHz
>        v: height 1050 start 1053 end 1057 total 1089           clock   60.0Hz
>  1400x1050 (0x67)  101.0MHz +HSync -VSync
>        h: width  1400 start 1448 end 1480 total 1560 skew    0 clock   64.7KHz
>        v: height 1050 start 1053 end 1057 total 1080           clock   59.9Hz
>  1600x900 (0x68)   97.5MHz +HSync -VSync
>        h: width  1600 start 1648 end 1680 total 1760 skew    0 clock   55.4KHz
>        v: height  900 start  903 end  908 total  926           clock   59.8Hz
>  1280x1024 (0x69)  157.5MHz +HSync +VSync
>        h: width  1280 start 1344 end 1504 total 1728 skew    0 clock   91.1KHz
>        v: height 1024 start 1025 end 1028 total 1072           clock   85.0Hz
>  1280x1024 (0x6a)  135.0MHz +HSync +VSync
>        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
>        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
>  1280x1024 (0x6b)  108.0MHz +HSync +VSync
>        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
>        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
>  1440x900 (0x6c)  157.0MHz -HSync +VSync
>        h: width  1440 start 1544 end 1696 total 1952 skew    0 clock   80.4KHz
>        v: height  900 start  903 end  909 total  948           clock   84.8Hz
>  1440x900 (0x6d)  136.8MHz -HSync +VSync
>        h: width  1440 start 1536 end 1688 total 1936 skew    0 clock   70.6KHz
>        v: height  900 start  903 end  909 total  942           clock   75.0Hz
>  1440x900 (0x6e)  106.5MHz -HSync +VSync
>        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
>        v: height  900 start  903 end  909 total  934           clock   59.9Hz
>  1440x900 (0x6f)   88.8MHz +HSync -VSync
>        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock   55.5KHz
>        v: height  900 start  903 end  909 total  926           clock   59.9Hz
>  1280x960 (0x70)  148.5MHz +HSync +VSync
>        h: width  1280 start 1344 end 1504 total 1728 skew    0 clock   85.9KHz
>        v: height  960 start  961 end  964 total 1011           clock   85.0Hz
>  1280x960 (0x71)  108.0MHz +HSync +VSync
>        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
>        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
>  1360x768 (0x72)   85.5MHz +HSync +VSync
>        h: width  1360 start 1424 end 1536 total 1792 skew    0 clock   47.7KHz
>        v: height  768 start  771 end  777 total  795           clock   60.0Hz
>  1360x768 (0x73)   72.0MHz +HSync -VSync
>        h: width  1360 start 1408 end 1440 total 1520 skew    0 clock   47.4KHz
>        v: height  768 start  771 end  781 total  790           clock   60.0Hz
>  1280x800 (0x74)  122.5MHz -HSync +VSync
>        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   71.6KHz
>        v: height  800 start  803 end  809 total  843           clock   84.9Hz
>  1280x800 (0x75)  106.5MHz -HSync +VSync
>        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock   62.8KHz
>        v: height  800 start  803 end  809 total  838           clock   74.9Hz
>  1280x800 (0x76)   83.5MHz +HSync -VSync
>        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock   49.7KHz
>        v: height  800 start  803 end  809 total  831           clock   59.8Hz
>  1280x800 (0x77)   71.0MHz +HSync -VSync
>        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock   49.3KHz
>        v: height  800 start  803 end  809 total  823           clock   59.9Hz
>  1152x864 (0x78)  108.0MHz +HSync +VSync
>        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
>        v: height  864 start  865 end  868 total  900           clock   75.0Hz
>  1280x768 (0x79)  117.5MHz -HSync +VSync
>        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   68.6KHz
>        v: height  768 start  771 end  778 total  809           clock   84.8Hz
>  1280x768 (0x7a)  102.2MHz +HSync -VSync
>        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock   60.3KHz
>        v: height  768 start  771 end  778 total  805           clock   74.9Hz
>  1280x768 (0x7b)   79.5MHz -HSync +VSync
>        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock   47.8KHz
>        v: height  768 start  771 end  778 total  798           clock   59.9Hz
>  1280x768 (0x7c)   68.2MHz +HSync -VSync
>        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock   47.4KHz
>        v: height  768 start  771 end  778 total  790           clock   60.0Hz
>  1024x768 (0x7d)   94.5MHz +HSync +VSync
>        h: width  1024 start 1072 end 1168 total 1376 skew    0 clock   68.7KHz
>        v: height  768 start  769 end  772 total  808           clock   85.0Hz
>  1024x768 (0x7e)   78.8MHz +HSync +VSync
>        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
>        v: height  768 start  769 end  772 total  800           clock   75.1Hz
>  1024x768 (0x7f)   78.8MHz +HSync +VSync
>        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
>        v: height  768 start  769 end  772 total  800           clock   75.0Hz
>  1024x768 (0x80)   75.0MHz -HSync -VSync
>        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
>        v: height  768 start  771 end  777 total  806           clock   70.1Hz
>  1024x768 (0x81)   65.0MHz -HSync -VSync
>        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
>        v: height  768 start  771 end  777 total  806           clock   60.0Hz
>  1024x576 (0x82)   42.0MHz +HSync -VSync
>        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock   35.5KHz
>        v: height  576 start  579 end  584 total  593           clock   59.8Hz
>  832x624 (0x83)   57.3MHz -HSync -VSync
>        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
>        v: height  624 start  625 end  628 total  667           clock   74.6Hz
>  800x600 (0x84)   56.2MHz +HSync +VSync
>        h: width   800 start  832 end  896 total 1048 skew    0 clock   53.7KHz
>        v: height  600 start  601 end  604 total  631           clock   85.1Hz
>  800x600 (0x85)   50.0MHz +HSync +VSync
>        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
>        v: height  600 start  637 end  643 total  666           clock   72.2Hz
>  800x600 (0x86)   49.5MHz +HSync +VSync
>        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
>        v: height  600 start  601 end  604 total  625           clock   75.0Hz
>  800x600 (0x87)   40.0MHz +HSync +VSync
>        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
>        v: height  600 start  601 end  605 total  628           clock   60.3Hz
>  800x600 (0x88)   36.0MHz +HSync +VSync
>        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
>        v: height  600 start  601 end  603 total  625           clock   56.2Hz
>  848x480 (0x89)   33.8MHz +HSync +VSync
>        h: width   848 start  864 end  976 total 1088 skew    0 clock   31.0KHz
>        v: height  480 start  486 end  494 total  517           clock   60.0Hz
>  640x480 (0x8a)   36.0MHz -HSync -VSync
>        h: width   640 start  696 end  752 total  832 skew    0 clock   43.3KHz
>        v: height  480 start  481 end  484 total  509           clock   85.0Hz
>  640x480 (0x8b)   31.5MHz -HSync -VSync
>        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
>        v: height  480 start  481 end  484 total  500           clock   75.0Hz
>  640x480 (0x8c)   31.5MHz -HSync -VSync
>        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
>        v: height  480 start  489 end  492 total  520           clock   72.8Hz
>  640x480 (0x8d)   25.2MHz -HSync -VSync
>        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
>        v: height  480 start  490 end  492 total  525           clock   60.0Hz
>  640x480 (0x8e)   25.2MHz -HSync -VSync
>        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
>        v: height  480 start  489 end  492 total  525           clock   59.9Hz
>  720x400 (0x8f)   35.5MHz -HSync +VSync
>        h: width   720 start  756 end  828 total  936 skew    0 clock   37.9KHz
>        v: height  400 start  401 end  404 total  446           clock   85.0Hz
>  720x400 (0x90)   28.3MHz -HSync +VSync
>        h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
>        v: height  400 start  412 end  414 total  449           clock   70.1Hz
>  640x400 (0x91)   31.5MHz -HSync +VSync
>        h: width   640 start  672 end  736 total  832 skew    0 clock   37.9KHz
>        v: height  400 start  401 end  404 total  445           clock   85.1Hz
>  640x350 (0x92)   31.5MHz +HSync -VSync
>        h: width   640 start  672 end  736 total  832 skew    0 clock   37.9KHz
>        v: height  350 start  382 end  385 total  445           clock   85.1Hz
>DisplayPort-1 connected 1920x1200+1920+0 (0x5a) normal (normal left inverted right x axis y axis) 546mm x 352mm
>	Identifier: 0x56
>	Timestamp:  33295
>	Subpixel:   horizontal rgb
>	Gamma:      1.0:1.0:1.0
>	Brightness: 1.0
>	Clones:    
>	CRTC:       1
>	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: 
>	EDID:
>		00ffffffffffff0022f0f92601010101
>		1b120104a5362378eece50a3544c9926
>		0f5054a56b808140a900a940b300d100
>		010101010101283c80a070b023403020
>		360022602100001a000000fc00485020
>		4c5032343735770a2020000000fd0030
>		551e5e15041150d2f858f000000000ff
>		00434e43383237305a44360a20200082
>	underscan vborder: 0 (0x00000000)	range:  (0,128)
>	underscan hborder: 0 (0x00000000)	range:  (0,128)
>	underscan:	off
>		supported: off          on           auto        
>	coherent: 1 (0x00000001)	range:  (0,1)
>  1920x1200 (0x5a)  154.0MHz +HSync -VSync *current +preferred
>        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock   74.0KHz
>        v: height 1200 start 1203 end 1209 total 1235           clock   60.0Hz
>  1600x1200 (0x5b)  202.5MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   93.8KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   75.0Hz
>  1600x1200 (0x5c)  189.0MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   87.5KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   70.0Hz
>  1600x1200 (0x5d)  175.5MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   81.2KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   65.0Hz
>  1600x1200 (0x5e)  162.0MHz +HSync +VSync
>        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   75.0KHz
>        v: height 1200 start 1201 end 1204 total 1250           clock   60.0Hz
>  1680x1050 (0x5f)  187.0MHz -HSync +VSync
>        h: width  1680 start 1800 end 1976 total 2272 skew    0 clock   82.3KHz
>        v: height 1050 start 1053 end 1059 total 1099           clock   74.9Hz
>  1680x1050 (0x60)  146.2MHz -HSync +VSync
>        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
>        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
>  1680x1050 (0x61)  119.0MHz +HSync -VSync
>        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock   64.7KHz
>        v: height 1050 start 1053 end 1059 total 1080           clock   59.9Hz
>  1600x1000 (0x62)  133.2MHz -HSync +VSync
>        h: width  1600 start 1704 end 1872 total 2144 skew    0 clock   62.1KHz
>        v: height 1000 start 1001 end 1004 total 1035           clock   60.0Hz
>  1680x945 (0x63)  107.2MHz +HSync -VSync
>        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock   58.3KHz
>        v: height  945 start  948 end  953 total  972           clock   60.0Hz
>  1400x1050 (0x64)  179.5MHz -HSync +VSync
>        h: width  1400 start 1504 end 1656 total 1912 skew    0 clock   93.9KHz
>        v: height 1050 start 1053 end 1057 total 1105           clock   85.0Hz
>  1400x1050 (0x65)  156.0MHz -HSync +VSync
>        h: width  1400 start 1504 end 1648 total 1896 skew    0 clock   82.3KHz
>        v: height 1050 start 1053 end 1057 total 1099           clock   74.9Hz
>  1400x1050 (0x66)  121.8MHz -HSync +VSync
>        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock   65.3KHz
>        v: height 1050 start 1053 end 1057 total 1089           clock   60.0Hz
>  1400x1050 (0x67)  101.0MHz +HSync -VSync
>        h: width  1400 start 1448 end 1480 total 1560 skew    0 clock   64.7KHz
>        v: height 1050 start 1053 end 1057 total 1080           clock   59.9Hz
>  1600x900 (0x68)   97.5MHz +HSync -VSync
>        h: width  1600 start 1648 end 1680 total 1760 skew    0 clock   55.4KHz
>        v: height  900 start  903 end  908 total  926           clock   59.8Hz
>  1280x1024 (0x69)  157.5MHz +HSync +VSync
>        h: width  1280 start 1344 end 1504 total 1728 skew    0 clock   91.1KHz
>        v: height 1024 start 1025 end 1028 total 1072           clock   85.0Hz
>  1280x1024 (0x6a)  135.0MHz +HSync +VSync
>        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
>        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
>  1280x1024 (0x6b)  108.0MHz +HSync +VSync
>        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
>        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
>  1440x900 (0x6c)  157.0MHz -HSync +VSync
>        h: width  1440 start 1544 end 1696 total 1952 skew    0 clock   80.4KHz
>        v: height  900 start  903 end  909 total  948           clock   84.8Hz
>  1440x900 (0x6d)  136.8MHz -HSync +VSync
>        h: width  1440 start 1536 end 1688 total 1936 skew    0 clock   70.6KHz
>        v: height  900 start  903 end  909 total  942           clock   75.0Hz
>  1440x900 (0x6e)  106.5MHz -HSync +VSync
>        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
>        v: height  900 start  903 end  909 total  934           clock   59.9Hz
>  1440x900 (0x6f)   88.8MHz +HSync -VSync
>        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock   55.5KHz
>        v: height  900 start  903 end  909 total  926           clock   59.9Hz
>  1280x960 (0x70)  148.5MHz +HSync +VSync
>        h: width  1280 start 1344 end 1504 total 1728 skew    0 clock   85.9KHz
>        v: height  960 start  961 end  964 total 1011           clock   85.0Hz
>  1280x960 (0x71)  108.0MHz +HSync +VSync
>        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
>        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
>  1360x768 (0x72)   85.5MHz +HSync +VSync
>        h: width  1360 start 1424 end 1536 total 1792 skew    0 clock   47.7KHz
>        v: height  768 start  771 end  777 total  795           clock   60.0Hz
>  1360x768 (0x73)   72.0MHz +HSync -VSync
>        h: width  1360 start 1408 end 1440 total 1520 skew    0 clock   47.4KHz
>        v: height  768 start  771 end  781 total  790           clock   60.0Hz
>  1280x800 (0x74)  122.5MHz -HSync +VSync
>        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   71.6KHz
>        v: height  800 start  803 end  809 total  843           clock   84.9Hz
>  1280x800 (0x75)  106.5MHz -HSync +VSync
>        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock   62.8KHz
>        v: height  800 start  803 end  809 total  838           clock   74.9Hz
>  1280x800 (0x76)   83.5MHz +HSync -VSync
>        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock   49.7KHz
>        v: height  800 start  803 end  809 total  831           clock   59.8Hz
>  1280x800 (0x77)   71.0MHz +HSync -VSync
>        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock   49.3KHz
>        v: height  800 start  803 end  809 total  823           clock   59.9Hz
>  1152x864 (0x78)  108.0MHz +HSync +VSync
>        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
>        v: height  864 start  865 end  868 total  900           clock   75.0Hz
>  1280x768 (0x79)  117.5MHz -HSync +VSync
>        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   68.6KHz
>        v: height  768 start  771 end  778 total  809           clock   84.8Hz
>  1280x768 (0x7a)  102.2MHz +HSync -VSync
>        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock   60.3KHz
>        v: height  768 start  771 end  778 total  805           clock   74.9Hz
>  1280x768 (0x7b)   79.5MHz -HSync +VSync
>        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock   47.8KHz
>        v: height  768 start  771 end  778 total  798           clock   59.9Hz
>  1280x768 (0x7c)   68.2MHz +HSync -VSync
>        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock   47.4KHz
>        v: height  768 start  771 end  778 total  790           clock   60.0Hz
>  1024x768 (0x7d)   94.5MHz +HSync +VSync
>        h: width  1024 start 1072 end 1168 total 1376 skew    0 clock   68.7KHz
>        v: height  768 start  769 end  772 total  808           clock   85.0Hz
>  1024x768 (0x7e)   78.8MHz +HSync +VSync
>        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
>        v: height  768 start  769 end  772 total  800           clock   75.1Hz
>  1024x768 (0x7f)   78.8MHz +HSync +VSync
>        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
>        v: height  768 start  769 end  772 total  800           clock   75.0Hz
>  1024x768 (0x80)   75.0MHz -HSync -VSync
>        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
>        v: height  768 start  771 end  777 total  806           clock   70.1Hz
>  1024x768 (0x81)   65.0MHz -HSync -VSync
>        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
>        v: height  768 start  771 end  777 total  806           clock   60.0Hz
>  1024x576 (0x82)   42.0MHz +HSync -VSync
>        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock   35.5KHz
>        v: height  576 start  579 end  584 total  593           clock   59.8Hz
>  832x624 (0x83)   57.3MHz -HSync -VSync
>        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
>        v: height  624 start  625 end  628 total  667           clock   74.6Hz
>  800x600 (0x84)   56.2MHz +HSync +VSync
>        h: width   800 start  832 end  896 total 1048 skew    0 clock   53.7KHz
>        v: height  600 start  601 end  604 total  631           clock   85.1Hz
>  800x600 (0x85)   50.0MHz +HSync +VSync
>        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
>        v: height  600 start  637 end  643 total  666           clock   72.2Hz
>  800x600 (0x86)   49.5MHz +HSync +VSync
>        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
>        v: height  600 start  601 end  604 total  625           clock   75.0Hz
>  800x600 (0x87)   40.0MHz +HSync +VSync
>        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
>        v: height  600 start  601 end  605 total  628           clock   60.3Hz
>  800x600 (0x88)   36.0MHz +HSync +VSync
>        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
>        v: height  600 start  601 end  603 total  625           clock   56.2Hz
>  848x480 (0x89)   33.8MHz +HSync +VSync
>        h: width   848 start  864 end  976 total 1088 skew    0 clock   31.0KHz
>        v: height  480 start  486 end  494 total  517           clock   60.0Hz
>  640x480 (0x8a)   36.0MHz -HSync -VSync
>        h: width   640 start  696 end  752 total  832 skew    0 clock   43.3KHz
>        v: height  480 start  481 end  484 total  509           clock   85.0Hz
>  640x480 (0x8b)   31.5MHz -HSync -VSync
>        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
>        v: height  480 start  481 end  484 total  500           clock   75.0Hz
>  640x480 (0x8c)   31.5MHz -HSync -VSync
>        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
>        v: height  480 start  489 end  492 total  520           clock   72.8Hz
>  640x480 (0x8d)   25.2MHz -HSync -VSync
>        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
>        v: height  480 start  490 end  492 total  525           clock   60.0Hz
>  640x480 (0x8e)   25.2MHz -HSync -VSync
>        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
>        v: height  480 start  489 end  492 total  525           clock   59.9Hz
>  720x400 (0x8f)   35.5MHz -HSync +VSync
>        h: width   720 start  756 end  828 total  936 skew    0 clock   37.9KHz
>        v: height  400 start  401 end  404 total  446           clock   85.0Hz
>  720x400 (0x90)   28.3MHz -HSync +VSync
>        h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
>        v: height  400 start  412 end  414 total  449           clock   70.1Hz
>  640x400 (0x91)   31.5MHz -HSync +VSync
>        h: width   640 start  672 end  736 total  832 skew    0 clock   37.9KHz
>        v: height  400 start  401 end  404 total  445           clock   85.1Hz
>  640x350 (0x92)   31.5MHz +HSync -VSync
>        h: width   640 start  672 end  736 total  832 skew    0 clock   37.9KHz
>        v: height  350 start  382 end  385 total  445           clock   85.1Hz
>DisplayPort-2 disconnected (normal left inverted right x axis y axis)
>	Identifier: 0x57
>	Timestamp:  33295
>	Subpixel:   horizontal rgb
>	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: 
>	underscan vborder: 0 (0x00000000)	range:  (0,128)
>	underscan hborder: 0 (0x00000000)	range:  (0,128)
>	underscan:	off
>		supported: off          on           auto        
>	coherent: 1 (0x00000001)	range:  (0,1)
>DisplayPort-3 disconnected (normal left inverted right x axis y axis)
>	Identifier: 0x58
>	Timestamp:  33295
>	Subpixel:   horizontal rgb
>	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: 
>	underscan vborder: 0 (0x00000000)	range:  (0,128)
>	underscan hborder: 0 (0x00000000)	range:  (0,128)
>	underscan:	off
>		supported: off          on           auto        
>	coherent: 1 (0x00000001)	range:  (0,1)
>DisplayPort-4 disconnected (normal left inverted right x axis y axis)
>	Identifier: 0x59
>	Timestamp:  33295
>	Subpixel:   horizontal rgb
>	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: 
>	underscan vborder: 0 (0x00000000)	range:  (0,128)
>	underscan hborder: 0 (0x00000000)	range:  (0,128)
>	underscan:	off
>		supported: off          on           auto        
>	coherent: 1 (0x00000001)	range:  (0,1)
Comment 4 Daniel Vetter 2012-05-10 11:01:16 UTC
Created attachment 61381 [details]
Xorg.log
Comment 5 Alex Deucher 2012-05-10 11:18:49 UTC
Is the failure only after a dpms cycle or does the second DP monitor not light up at all?  If the former, are there any driver messages in dmesg when after a failed dpms cycle?
Comment 6 Daniel Vetter 2012-05-10 11:29:57 UTC
On Thu, May 10, 2012 at 8:18 PM,  <bugzilla-daemon@freedesktop.org> wrote:
> --- Comment #5 from Alex Deucher <agd5f@yahoo.com> 2012-05-10 11:18:49 PDT ---
> Is the failure only after a dpms cycle or does the second DP monitor not light
> up at all?  If the former, are there any driver messages in dmesg when after a
> failed dpms cycle?

The driver correctly lights up the display on DP1 after boot, it only
fails after the first dpms off. The dmesg/xrandr is after I've done a
dpms cycle, i.e. black DP1 output. So nothing in there.

Should I regrab dmesg after a dpms cycle with more verbose logging?
Comment 7 Alex Deucher 2012-05-10 13:12:51 UTC
(In reply to comment #6)
> The driver correctly lights up the display on DP1 after boot, it only
> fails after the first dpms off. The dmesg/xrandr is after I've done a
> dpms cycle, i.e. black DP1 output. So nothing in there.

Does an full off/on modeset cycle bring it back?

> 
> Should I regrab dmesg after a dpms cycle with more verbose logging?

I figured maybe link training was failing.  Can you dump the registers before and after the dpms cycle with radeonreg (http://cgit.freedesktop.org/~airlied/radeontool/)?

radeonreg regs dce4
Comment 8 Daniel Vetter 2012-05-10 13:13:38 UTC
I've played some more around with it, and the same problem happens when I switch off the screen and on again. I've noticed that vt-switching sometimes helps, but not always.

I've also tried to connect the screen with a dp->hdmi cable (well, mini-dp->dvi with a dvi->hdmi) and the same problem happens there.

One thing I've noticed though is that over hdmi the screen is much brighter, kind what I'd expect if the wrong color space is being used by the screen.
Comment 9 Daniel Vetter 2012-05-10 13:14:35 UTC
I've forgot to add, after some extensive playing around I see:

[  116.394377] [drm:radeon_dp_get_link_status] *ERROR* displayport link status failed
[  143.302728] [drm:radeon_dp_get_link_status] *ERROR* displayport link status failed

in dmesg. I'll try the other stuff right away.
Comment 10 Daniel Vetter 2012-05-10 13:17:54 UTC
Actually it's more confusing, dpms seems to work with hdmi ... I'll switch cables again.
Comment 11 Alex Deucher 2012-05-10 13:18:19 UTC
Also do you get the same behavior on all DP ports?
Comment 12 Daniel Vetter 2012-05-10 13:39:27 UTC
Ok, more throughrough testing on all ports. The screens are both the same model, but different manufacturing dates (and firmware revision according to osd).

DP0 seems to work in all cases, although when I switch off the screeen or unplug the cable, I need to do a vt switch to get a picture on the screen.

DP1-4 seem to work with the hdmi cable for a dpms off/on cycle, but not with the dp cable.

DP1-4 doesn't work at all (either hdmi or dp) when the monitor got switched off or the cable freshly plugged in while linux is running. Even xrandr --off/--auto doesn't help, only rebooting.

The entire thing seems pretty flaky, even switching the input selection on the screen between hdmi and dp is enough to loose the dp signal. With this round of playing I've also seen new noise in dmesg:

[ 1275.106268] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 44
[ 1275.106271] Raw EDID:
[ 1275.106272]          00 ff ff ff ff ff ff 00 22 f0 f9 26 01 01 01 01
[ 1275.106274]          0b 13 01 04 a5 36 23 78 ee ce 50 a3 54 4c 99 26
[ 1275.106275]          77 0f 50 54 a5 6b 80 81 40 a9 00 a9 40 b3 00 d1
[ 1275.106276]          00 01 01 01 01 01 01 28 3c 80 a0 70 b0 23 40 30
[ 1275.106277]          20 36 00 22 60 21 00 00 1a 77 00 00 fc 00 48 50
[ 1275.106278]          20 4c 50 32 34 37 35 77 0a 20 20 00 00 00 fd 00
[ 1275.106279]          30 55 1e 5e 15 04 11 50 d2 f8 58 f0 00 00 00 00
[ 1275.106280]          ff 00 43 5a 43 39 31 31 30 30 39 34 0a 20 20 00

and similar corrupted EDIDs. xrandr always displayed the correct modelist though, afact. I'll do the radeontool dump now.
Comment 13 Daniel Vetter 2012-05-10 13:44:07 UTC
Another curious thing I've just noticed: I've accidentally left the hdmi plugged in and hat 3 DP ports enabled in xrandr. Disabling the 3rd output did not kill the picture on DP1, despite that both DP0 and DP1 shortly blanked (I didn't dare switching to the hdmi output to see what's going on there).
Comment 14 Daniel Vetter 2012-05-10 13:54:35 UTC
Created attachment 61402 [details]
radeonregs dump after boot

dce4 regdump after boot, both screens working
Comment 15 Daniel Vetter 2012-05-10 13:55:55 UTC
Comment on attachment 61402 [details]
radeonregs dump after boot

Actually wrong file, sorry.
Comment 16 Daniel Vetter 2012-05-10 13:56:12 UTC
Created attachment 61403 [details]
radeonregs dump after boot, both screens working
Comment 17 Daniel Vetter 2012-05-10 13:58:04 UTC
Created attachment 61405 [details]
radeonregs dump after boot, DP1 broken

Somehow dpms off/on doesn't break things right now (I've only managed to once create a strangely torn-in-half screen, never black and otherwise it just worked). So I've fallen back to the always reliable switch-screen-off-and-on and then forced a mode set with xrandr --off/--auto (which did not help).
Comment 18 Alex Deucher 2012-05-10 15:45:57 UTC
Can you attach a copy of your vbios?

(as root)
(use lspci to get the bus id)
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/vbios.rom
echo 0 > rom
Comment 19 Daniel Vetter 2012-05-10 23:09:22 UTC
Created attachment 61414 [details]
vbios rom
Comment 20 Daniel Vetter 2014-01-17 06:48:09 UTC
Just aside: It seems to mostly work nowadays. 2nd outputs still have a hard time syncing occasionally, but that only happens every few weeks now. And a bit of vt-switching or in bad cases another suspend cycles helps. I'll call this resolved.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.