You are not logged in.

#1 2020-11-03 17:21:19

indeedwatson
Member
Registered: 2018-10-07
Posts: 28

Second monitor randomly decides not to work

This has been a long running issue, since kernel 4.X. Sometimes when I boot, both monitors display the bios, but after the boot screen, they'll turn off, flicker once, and then one of them (HDMI) will turn on while the other (DVI) will stay blank. After that, HDMI will display normally and DVI will either remain black or display some vertical grey and black lines. Bspwm still operates as if there's two monitors, so the screen is being registered.

Since 5.9.1 this has started happening every time I boot. The only way I can use both my screens rn is to boot into lts with full initramfs.

I don't know how to go about troubleshooting this.

Reddit post for some more context: https://old.reddit.com/r/archlinux/comm … _that_one/

journalctl logs: https://paste.xinu.at/Sq9uYk

Hardware: i5 4590, R9 270x

Any info that's needed, lmk

Offline

#2 2020-11-03 19:40:27

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

Re: Second monitor randomly decides not to work

boot into lts with full initramfs

Does this also hold for the main kernel?

What if you enable https://wiki.archlinux.org/index.php/Ke … _KMS_start

Offline

#3 2020-11-03 19:46:49

indeedwatson
Member
Registered: 2018-10-07
Posts: 28

Re: Second monitor randomly decides not to work

seth wrote:

boot into lts with full initramfs

Does this also hold for the main kernel?

What if you enable https://wiki.archlinux.org/index.php/Ke … _KMS_start

So far, it does not. There is a chance that if I reboot 20 times with the new kernel (initramfs or not), the 2nd monitor will be on (I've had to do that in the past). But so far, every time I boot with lts and fallback initramfs, the 2nd monitor works.

I already have `amdgpu` in early KMS. Should I try removing it?

Last edited by indeedwatson (2020-11-03 19:48:32)

Offline

#4 2020-11-03 20:46:14

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

Re: Second monitor randomly decides not to work

Should I try removing it?

Rather not.

or display some vertical grey and black lines.

What's the output of "xrandr -q" when that happens?

Offline

#5 2020-11-08 14:54:35

indeedwatson
Member
Registered: 2018-10-07
Posts: 28

Re: Second monitor randomly decides not to work

seth wrote:

What's the output of "xrandr -q" when that happens?

Screen 0: minimum 320 x 200, current 3600 x 1080, maximum 16384 x 16384
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1400x1050     59.95  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.90  
   1280x800      59.91  
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DVI-I-0 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 433mm x 271mm
   1680x1050     59.88*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   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  
DVI-D-1 disconnected (normal left inverted right x axis y axis)

Offline

#6 2020-11-08 15:11:37

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

Re: Second monitor randomly decides not to work

Is "video=DVI-I-0:1680x1050@59.88 video=HDMI-A-0:1920x1080@60.00" required to have stuff work at all?
What happens w/o "amdgpu.dc=0"? (Maybe you blocked dc for an earlier bug, but it works better on newer kernels?)
What if you setup the screen to mirror both outputs at 1680x1050+0+0?
What if you move the DVI to the left?
What happens for

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

(this disables all power management)?

Offline

#7 2020-11-08 17:06:51

indeedwatson
Member
Registered: 2018-10-07
Posts: 28

Re: Second monitor randomly decides not to work

seth wrote:

Is "video=DVI-I-0:1680x1050@59.88 video=HDMI-A-0:1920x1080@60.00" required to have stuff work at all?
What happens w/o "amdgpu.dc=0"? (Maybe you blocked dc for an earlier bug, but it works better on newer kernels?)
What if you setup the screen to mirror both outputs at 1680x1050+0+0?
What if you move the DVI to the left?
What happens for

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

(this disables all power management)?

I will try all of this, but just now, it seems that putting the PC to sleep and waking up brings the 2nd monitor alive.

Offline

Board footer

Powered by FluxBB