You are not logged in.

#1 2017-08-17 09:52:51

zaplo
Member
Registered: 2017-08-17
Posts: 5

Second monitor is black on boot but has signal

I got this problem few weeks ago, likely after updating something. When I boot grub shows on both monitors but choosing Arch makes second monitor go black. I have to restore it with these commands, and it works until next restart (disabling/enabling 2nd monitor in settings also work, sleep doesn't break it):

xrandr --output DisplayPort-0 --off --output DVI-I-1 --off --output DVI-D-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --off
xrandr --output DisplayPort-0 --off --output DVI-I-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --off
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tonga PRO [Radeon R9 285/380]
           Display Server: x11 (X.Org 1.19.3) driver: amdgpu
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           OpenGL: renderer: Gallium 0.4 on AMD TONGA (DRM 3.15.0 / 4.12.6-1-ARCH, LLVM 4.0.1)
           version: 4.5 Mesa 17.1.6

About week before this happened I switched from broken DisplayPort cable to HDMI <> DVI-I cable, which worked until this problem came in *some* update (i've done many updates since then, not sure of date).

This happens in terminal and in X, I think it's driver issue of some sort. I can't see anything in dmesg.

Last edited by zaplo (2017-08-17 09:59:36)

Offline

#2 2017-08-17 14:13:39

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Second monitor is black on boot but has signal

Did you try the suggestion in "DisplayPort stays black on multimonitor mode" troubleshooting section at arch wiki ATI page?

Offline

#3 2017-08-18 15:08:43

zaplo
Member
Registered: 2017-08-17
Posts: 5

Re: Second monitor is black on boot but has signal

ooo wrote:

Did you try the suggestion in "DisplayPort stays black on multimonitor mode" troubleshooting section at arch wiki ATI page?

I don't use DisplayPort. Before I changed the cable I tried that workaround since i thought problem was in driver,  but it didn't do anything (and moving cable a bit restored signal sometimes so it was broken)

OK the monitor that keeps black is DVI-D-0, it is detected as monitor 1 but it's my second monitor.

1st monitor: DVI-D-0
2nd monito: DVI-I-1

All works in grub -> select linux and second monitor goes black, then boot messages show -> disable / enable monitor in XFCE settings or xrandr and it works normally, powersave or sleep doesn't break it again.

in dmesg is

[    1.506546] [drm] amdgpu kernel modesetting enabled.
[    1.507072] checking generic (e0000000 300000) vs hw (e0000000 10000000)
[    1.507072] fb: switching to amdgpudrmfb from EFI VGA
[    1.507091] Console: switching to colour dummy device 80x25
[    1.507330] [drm] initializing kernel modesetting (TONGA 0x1002:0x6939 0x1458:0x229D 0x00).
[    1.507332] amdgpu 0000:22:00.0: VM size (-1) must be a power of 2
[    1.507339] [drm] register mmio base: 0xFE900000
[    1.507340] [drm] register mmio size: 262144
[    1.507347] [drm] probing gen 2 caps for device 1022:1453 = 733903/e
[    1.507348] [drm] probing mlw for device 1022:1453 = 733903
[    1.507354] [drm] VCE enabled in physical mode
[    1.531598] [drm] BIOS signature incorrect 0 0
[    1.531601] amdgpu 0000:22:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
[    1.531616] ATOM BIOS: 113-xxx-Xxx
[    1.531623] [drm] GPU post is not needed
[    1.531623] [drm] Changing default dispclk from 600Mhz to 625Mhz
[    1.531716] [drm] vm size is 64 GB, block size is 13-bit
[    1.531745] amdgpu 0000:22:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[    1.531746] amdgpu 0000:22:00.0: GTT: 3072M 0x0000000080000000 - 0x000000013FFFFFFF
[    1.531748] [drm] Detected VRAM RAM=2048M, BAR=256M
[    1.531748] [drm] RAM width 256bits GDDR5
[    1.531906] [TTM] Zone  kernel: Available graphics memory: 8217570 kiB
[    1.531907] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    1.531907] [TTM] Initializing pool allocator
[    1.531910] [TTM] Initializing DMA pool allocator
[    1.531928] [drm] amdgpu: 2048M of VRAM memory ready
[    1.531928] [drm] amdgpu: 3072M of GTT memory ready.
[    1.531932] [drm] GART: num cpu pages 786432, num gpu pages 786432
[    1.535158] [drm] PCIE GART of 3072M enabled (table at 0x0000000000040000).
[    1.535168] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.535168] [drm] Driver supports precise vblank timestamp query.
[    1.536677] amdgpu 0000:22:00.0: amdgpu: using MSI.
[    1.537196] [drm] amdgpu: irq initialized.
[    1.722309] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[    1.722443] [drm] AMDGPU Display Connectors
[    1.722444] [drm] Connector 0:
[    1.722444] [drm]   DP-1
[    1.722444] [drm]   HPD4
[    1.722445] [drm]   DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[    1.722445] [drm]   Encoders:
[    1.722445] [drm]     DFP1: INTERNAL_UNIPHY1
[    1.722446] [drm] Connector 1:
[    1.722446] [drm]   HDMI-A-1
[    1.722446] [drm]   HPD5
[    1.722447] [drm]   DDC: 0x4870 0x4870 0x4871 0x4871 0x4872 0x4872 0x4873 0x4873
[    1.722447] [drm]   Encoders:
[    1.722447] [drm]     DFP2: INTERNAL_UNIPHY1
[    1.722447] [drm] Connector 2:
[    1.722448] [drm]   DVI-D-1
[    1.722448] [drm]   HPD1
[    1.722448] [drm]   DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a 0x487b 0x487b
[    1.722449] [drm]   Encoders:
[    1.722449] [drm]     DFP3: INTERNAL_UNIPHY
[    1.722449] [drm] Connector 3:
[    1.722449] [drm]   DVI-I-1
[    1.722450] [drm]   HPD6
[    1.722450] [drm]   DDC: 0x487c 0x487c 0x487d 0x487d 0x487e 0x487e 0x487f 0x487f
[    1.722450] [drm]   Encoders:
[    1.722451] [drm]     DFP4: INTERNAL_UNIPHY2
[    1.722451] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    1.722894] amdgpu 0000:22:00.0: fence driver on ring 0 use gpu addr 0x0000000080000008, cpu addr 0xffff8b4147c29008
[    1.722944] amdgpu 0000:22:00.0: fence driver on ring 1 use gpu addr 0x0000000080000018, cpu addr 0xffff8b4147c29018
[    1.722989] amdgpu 0000:22:00.0: fence driver on ring 2 use gpu addr 0x0000000080000028, cpu addr 0xffff8b4147c29028
[    1.723040] amdgpu 0000:22:00.0: fence driver on ring 3 use gpu addr 0x0000000080000038, cpu addr 0xffff8b4147c29038
[    1.723098] amdgpu 0000:22:00.0: fence driver on ring 4 use gpu addr 0x0000000080000048, cpu addr 0xffff8b4147c29048
[    1.723147] amdgpu 0000:22:00.0: fence driver on ring 5 use gpu addr 0x0000000080000058, cpu addr 0xffff8b4147c29058
[    1.723215] amdgpu 0000:22:00.0: fence driver on ring 6 use gpu addr 0x0000000080000068, cpu addr 0xffff8b4147c29068
[    1.723265] amdgpu 0000:22:00.0: fence driver on ring 7 use gpu addr 0x0000000080000078, cpu addr 0xffff8b4147c29078
[    1.723311] amdgpu 0000:22:00.0: fence driver on ring 8 use gpu addr 0x0000000080000088, cpu addr 0xffff8b4147c29088
[    1.723393] amdgpu 0000:22:00.0: fence driver on ring 9 use gpu addr 0x0000000080000098, cpu addr 0xffff8b4147c29098
[    1.723445] amdgpu 0000:22:00.0: fence driver on ring 10 use gpu addr 0x00000000800000a8, cpu addr 0xffff8b4147c290a8
[    1.723533] [drm] Found UVD firmware Version: 1.65 Family ID: 10
[    1.723819] amdgpu 0000:22:00.0: fence driver on ring 11 use gpu addr 0x0000000000821f40, cpu addr 0xffffb9c20384ef40
[    1.723870] [drm] Found VCE firmware Version: 52.8 Binary ID: 3
[    1.723974] amdgpu 0000:22:00.0: fence driver on ring 12 use gpu addr 0x00000000800000c8, cpu addr 0xffff8b4147c290c8
[    1.724023] amdgpu 0000:22:00.0: fence driver on ring 13 use gpu addr 0x00000000800000d8, cpu addr 0xffff8b4147c290d8
[    1.724065] amdgpu 0000:22:00.0: fence driver on ring 14 use gpu addr 0x00000000800000e8, cpu addr 0xffff8b4147c290e8
[    1.769446] amdgpu: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!
[    1.778112] [drm] ring test on 0 succeeded in 7 usecs
[    1.778417] [drm] ring test on 1 succeeded in 23 usecs
[    1.778484] [drm] ring test on 2 succeeded in 20 usecs
[    1.778518] [drm] ring test on 3 succeeded in 9 usecs
[    1.778548] [drm] ring test on 4 succeeded in 8 usecs
[    1.778581] [drm] ring test on 5 succeeded in 8 usecs
[    1.778616] [drm] ring test on 6 succeeded in 9 usecs
[    1.778646] [drm] ring test on 7 succeeded in 8 usecs
[    1.778678] [drm] ring test on 8 succeeded in 8 usecs
[    1.778766] [drm] ring test on 9 succeeded in 5 usecs
[    1.778785] [drm] ring test on 10 succeeded in 4 usecs
[    1.825593] [drm] ring test on 11 succeeded in 1 usecs
[    1.825594] [drm] UVD initialized successfully.
[    2.025670] [drm] ring test on 12 succeeded in 14 usecs
[    2.025686] [drm] ring test on 13 succeeded in 3 usecs
[    2.025698] [drm] ring test on 14 succeeded in 2 usecs
[    2.025698] [drm] VCE initialized successfully.
[    2.025891] [drm] ib test on ring 0 succeeded
[    2.026077] [drm] ib test on ring 1 succeeded
[    2.026141] [drm] ib test on ring 2 succeeded
[    2.026191] [drm] ib test on ring 3 succeeded
[    2.026241] [drm] ib test on ring 4 succeeded
[    2.026291] [drm] ib test on ring 5 succeeded
[    2.026340] [drm] ib test on ring 6 succeeded
[    2.026390] [drm] ib test on ring 7 succeeded
[    2.026437] [drm] ib test on ring 8 succeeded
[    2.026465] [drm] ib test on ring 9 succeeded
[    2.026492] [drm] ib test on ring 10 succeeded
[    2.028753] [drm] ib test on ring 11 succeeded
[    2.029021] [drm] ib test on ring 12 succeeded
[    2.174988] [drm] fb mappable at 0xE0A2B000
[    2.174989] [drm] vram apper at 0xE0000000
[    2.174990] [drm] size 8294400
[    2.174990] [drm] fb depth is 24
[    2.174991] [drm]    pitch is 7680
[    2.175106] fbcon: amdgpudrmfb (fb0) is primary device
[    2.348862] tsc: Refined TSC clocksource calibration: 2994.374 MHz
[    2.348871] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b29828a32c, max_idle_ns: 440795270613 ns
[    2.384068] Console: switching to colour frame buffer device 240x67
[    2.533404] amdgpu 0000:22:00.0: fb0: amdgpudrmfb frame buffer device
[    2.569940] [drm] Initialized amdgpu 3.15.0 20150101 for 0000:22:00.0 on minor 0

EDIT: I exchanged dvi cable's gpu slots and now it happens to other screen. 99% sure it's software problem since windows boots with both monitors.
EDIT2: Also happens with linux 4.13rc5 and mesa-git

Last edited by zaplo (2017-08-18 16:26:48)

Offline

#4 2017-08-18 17:42:59

zaplo
Member
Registered: 2017-08-17
Posts: 5

Re: Second monitor is black on boot but has signal

I have almost exactly same setup as this guy https://forum.manjaro.org/t/amd-dual-mo … f-dvi/7318, outputs are same and graphics card is TONGA, but R9 285 instead of 380X

"i thing that comes to my mind is that, maybe it could be because one of the DVI cables is digital and one is mixed digital and analoque. and the driver/hardware cant handle this setup or something.

I think this was the issue. I since have replaced the DVI cable on the ASUS monitor with an HDMI cable and I am happy to say that all is now well. I now have two working monitors in the correct orientation10! Thanks to everyone who gave me tips and pointers along the way I very much appreciate it and I look forward to enjoying Manjaro. Bye for now!"

Last edited by zaplo (2017-08-18 17:49:02)

Offline

Board footer

Powered by FluxBB