Bug 109130 - 3rd display stays black
Summary: 3rd display stays black
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-21 23:03 UTC by wolpi
Modified: 2019-11-19 09:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description wolpi 2018-12-21 23:03:50 UTC
Hi,

I have an AMD Tonga card with 3 displays attached. Displays at DVI-D-0 and HDMI-A-0 are working great but the one connected to DVI-D-1 stays black. X/WindowManager are taking it into account, so windows might be placed on it. When booting Windows 10 on this hardware the 3rd screen works as well, so hardware should be alright.

It might be interesting that during BIOS/POST/UEFI the display is black, too. Maybe driver is relying on BIOS to initialize it?


System Information:

lspci -vv

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] (rev f1) (prog-if 00 [VGA controller])
        Subsystem: Tul Corporation / PowerColor Tonga PRO [Radeon R9 285/380]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 29
        Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at d0000000 (64-bit, prefetchable) [size=2M]
        Region 4: I/O ports at e000 [size=256]
        Region 5: Memory at dfe00000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 8GT/s (ok), Width x16 (ok)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                         AtomicOpsCtl: ReqEn+
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee08004  Data: 4023
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                HeaderLog: 00000000 00000000 00000000 00000000
        Capabilities: [200 v1] Resizable BAR <?>
        Capabilities: [270 v1] Secondary PCI Express <?>
        Capabilities: [2b0 v1] Address Translation Service (ATS)
                ATSCap: Invalidate Queue Depth: 00
                ATSCtl: Enable-, Smallest Translation Unit: 00
        Capabilities: [2c0 v1] Page Request Interface (PRI)
                PRICtl: Enable- Reset-
                PRISta: RF- UPRGI- Stopped+
                Page Request Capacity: 00000020, Page Request Allocation: 00000000
        Capabilities: [2d0 v1] Process Address Space ID (PASID)
                PASIDCap: Exec+ Priv+, Max PASID Width: 10
                PASIDCtl: Enable- Exec- Priv-
        Capabilities: [328 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 1
                ARICtl: MFVC- ACS-, Function Group: 0
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu



xrandr

Screen 0: minimum 320 x 200, current 2336 x 2160, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected 1920x1080+416+0 (normal left inverted right x axis y axis) 476mm x 268mm
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DVI-D-0 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      60.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    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    60.00    59.94  
   720x400       70.08  
DVI-D-1 connected (normal left inverted right x axis y axis)
   1280x1024     60.02 +  75.02  
   1280x800      60.02  
   1152x864      75.00  
   1280x720      60.02  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  


dmesg | grep drm
[    3.206843] [drm] amdgpu kernel modesetting enabled.
[    3.223355] fb: switching to amdgpudrmfb from VESA VGA
[    3.223932] [drm] initializing kernel modesetting (TONGA 0x1002:0x6939 0x148C:0x2359 0xF1).
[    3.223945] [drm] register mmio base: 0xDFE00000
[    3.223945] [drm] register mmio size: 262144
[    3.223962] [drm] add ip block number 0 <vi_common>
[    3.223963] [drm] add ip block number 1 <gmc_v8_0>
[    3.223963] [drm] add ip block number 2 <tonga_ih>
[    3.223964] [drm] add ip block number 3 <powerplay>
[    3.223965] [drm] add ip block number 4 <dm>
[    3.223965] [drm] add ip block number 5 <gfx_v8_0>
[    3.223966] [drm] add ip block number 6 <sdma_v3_0>
[    3.223967] [drm] add ip block number 7 <uvd_v5_0>
[    3.223967] [drm] add ip block number 8 <vce_v3_0>
[    3.223975] [drm] VCE enabled in physical mode
[    3.224457] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[    3.225422] [drm] Detected VRAM RAM=4096M, BAR=256M
[    3.225423] [drm] RAM width 256bits GDDR5
[    3.225586] [drm] amdgpu: 4096M of VRAM memory ready
[    3.225588] [drm] amdgpu: 4096M of GTT memory ready.
[    3.225604] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    3.226081] [drm] PCIE GART of 1024M enabled (table at 0x000000F4007E9000).
[    3.227112] [drm] Chained IB support enabled!
[    3.231217] [drm] Found UVD firmware Version: 1.68 Family ID: 10
[    3.232957] [drm] Found VCE firmware Version: 52.8 Binary ID: 3
[    3.288930] [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[    3.288942] [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[    3.288954] [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[    3.317532] [drm] Display Core initialized with v3.1.59!
[    3.380984] [drm] SADs count is: -2, don't need to read it
[    3.380991] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.380991] [drm] Driver supports precise vblank timestamp query.
[    3.429613] [drm] UVD initialized successfully.
[    3.640699] [drm] VCE initialized successfully.
[    3.645472] [drm] fb mappable at 0xC0D0E000
[    3.645473] [drm] vram apper at 0xC0000000
[    3.645473] [drm] size 8294400
[    3.645474] [drm] fb depth is 24
[    3.645474] [drm]    pitch is 7680
[    3.645609] fbcon: amdgpudrmfb (fb0) is primary device
[    3.645612] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[    3.664047] [drm] Initialized amdgpu 3.27.0 20150101 for 0000:01:00.0 on minor 0
Comment 1 Alex Deucher 2018-12-22 19:21:05 UTC
Please attach your xorg log, xrandr --verbose output, and dmesg output.  Also, are two of the monitors identical?  Tonga only has two independent non-DP clock sources so it can only driver two independent sets of non-DP timing.  Since you are using 3 non-DP displays, at least two of the displays need to be using the same mode.  You may have to manually set the mode on the 3rd display using xrandr to make it match the mode selected on one of the other displays.
Comment 2 Martin Peres 2019-11-19 09:08:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/652.


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.