*Participation Requested*
MicroOS Desktop Use to Help with ALP Feedback
-
2nd Monitor Shutoff upon grub to Leap on During Boot
Something odd is happening on my system and I'm not exactly sure how to further debug and find a solution:
This started happening today, though something like it happened a few days ago, but resolved itself.
When I turn on the desktop, I get the motherboard splash screen, as usual, mirrored on my dual monitor setup. This is followed by grub, mirrored on both monitors as well. The system automatically starts loading Leap, but the monitor on HDMI-0 stays alive while the one connected to DVI-1 shuts down, saying there's no signal. The graphics card supports HDMI-0, DVI-0 and DVI-1.
Debug steps so far...
1. Swapped through three DVI cables. All cables are good.
2. Put second monitor on DVI-0, instead of DVI-1. All good til Leap starts up, i.e. motherboard splash screen and grub mirrored fine, then no signal.
I *am* using a KVM switch, so the config is:
desktop computer 1 with DVI-1 or DVI-0 to KVM, shuts off once Leap starts
desktop computer 2 to KVM, always works
monitor 1 always to HDMI-0, always works
monitor 2 on KVM, to switch between desktop computer 1 and desktop computer 2, always works for desktop computer 2, but will only work for motherboard splash and grub for desktop computer 1 on DVI-1 or DVI-0
3. Connecting monitor 2 directly to DVI-1 or DVI-0, bypassing the KVM altogether, always works, i.e. motherboard splash, grub, Leap to monitor 1 and monitor 2. I can conclude from this that the graphics card is indeed outputting correctly and starting Leap doesn't change anything. *But* why would going through a KVM cause "no signal", just on coincidence, when Leap starts up? (I could try delaying the boot to Leap by selecting Advance options to see if it's a timing thing.)
4. Once Leap does finish booting, monitor 2 isn't detected, basically giving the impression that the monitor is off or disconnected, even though it was attached and worked for the motherboard splash and grub.
1. Am I experiencing a timing coincidence and the KVM is at fault?
2. When desktop computer 2's DVI cable is attached to either KVM input DVI's, it works fine. Is there some weird signal threshold that is no longer being met, that used to work?
3. Is there something new in the grub to Leap hand off that triggers a monitor detect that the KVM can't handle?
Any ideas?
My system is updated daily, so has the latest patches.
System:
Kernel Version: 5.3.18-lp152.106-default 64-bit
X.Org: Vendor Release 1.20.3, Version 11.0
AMD/ATI Hawaii PRO [Radeon R9 290/390]
Graphics-related updates (that should matter):
December 15, 2021
xorg-x11-server 1.20.3
xorg-x11-server-extra 1.20.3
xorg-x11-server-wayland 1.20.3
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
Does running xrandr --output DVI-0 --auto change any behavior?
Does opening some alternate DE session (e.g. IceWM) produce different behavior?
If using Plasma, does disabling KScreen in background autostart settings change anything?
Reg. Linux User 211409 *** multibooting since 1992
Primary: 15.3, TW, 15.1 & 13.1 on Haswell @earthlink.net
Secondary: eComStation (OS/2) &15.2 on i965P/Radeon
Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by mrmazda
Does running xrandr --output DVI-0 --auto change any behavior?
No, and xrandr says this:
Code:
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)
Sequence of events:
1. motherboard splash screen
2. grub, starts countdown to 0 seconds
3. monitor says "no signal" and goes to sleep at 0 seconds
4. Leap startup with Leap splash screen
 Originally Posted by mrmazda
Does opening some alternate DE session (e.g. IceWM) produce different behavior?
I have not tried and am thinking it isn't dependent on the desktop environment as the monitor shuts down before the that starts up.
 Originally Posted by mrmazda
If using Plasma, does disabling KScreen in background autostart settings change anything?
I have KScreen off and used arandr to configure my dual monitor setup. The arandr.conf.sh script runs "Before session startup", as before, when things were still working.
-----
I am beginning to suspect that the signal strength going from desktop computer 1 to KVM isn't strong enough?
desktop computer 1 directly to monitor 2, works
desktop computer 2 directly to monitor 2, works
desktop computer 2 to KVM port 1 to monitor 2, works
desktop computer 2 to KVM port 2 to monitor 2, works
desktop computer 1 to KVM port 1 to monitor 2, doesn't work
desktop computer 1 to KVM port 2 to monitor 2, doesn't work
The KVM seems to work fine to get the signal output from desktop computer 2 to monitor 2.
Maybe the signal from desktop computer 1 to KVM (either port) isn't strong enough, so subsequent KVM to monitor 2 doesn't work?
Or is monitor 2 to KVM, with display info, not continuing onto KVM to desktop computer 1, so desktop computer 1 ignores the display and monitor 2 shuts down?
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by linuxvinh
 Originally Posted by mrmazda
Does running xrandr --output DVI-0 --auto change any behavior?
No, and xrandr says this:
Code:
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)
Is that all the output? Neither of those two match your comment #1 output names. The command probably needs to be run again with the name found in Xorg.0.log or xrandr output. Please provide input and output complete from:
Code:
xrandr --listproviders
grep onnect /var/log/Xorg.0.log
Reg. Linux User 211409 *** multibooting since 1992
Primary: 15.3, TW, 15.1 & 13.1 on Haswell @earthlink.net
Secondary: eComStation (OS/2) &15.2 on i965P/Radeon
Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by mrmazda
Is that all the output? Neither of those two match your comment #1 output names. The command probably needs to be run again with the name found in Xorg.0.log or xrandr output. Please provide input and output complete from:
Code:
xrandr --listproviders
grep onnect /var/log/Xorg.0.log
The usage of DVI-0 and DVI-1 were only used to differentiate the two DVI ports, not the device names used by the OS. I used DVI-D-0 and DVI-D-1 with xandr.
Code:
% xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x59; cap: 0xf (Source Output, Sink Output, Source Offload, Sin
k Offload); crtcs: 6; outputs: 4; associated providers: 0; name: AMD Radeon R9
200 Series @ pci:0000:0a:00.0
output DisplayPort-0
output HDMI-A-0
output DVI-D-0
output DVI-D-1
Code:
% grep onnect /var/log/Xorg.0.log
[ 87.844] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[ 87.844] (II) AMDGPU(0): Output HDMI-A-0 connected
[ 87.844] (II) AMDGPU(0): Output DVI-D-0 disconnected
[ 87.844] (II) AMDGPU(0): Output DVI-D-1 disconnected
Code:
% xrandr
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-A-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518
mm x 324mm
1920x1200 59.95*+
1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97
23.98
1600x1200 60.00
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.95
1280x800 59.95
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
Code:
% xrandr --output DVI-D-0
(generated nothing)
It seems like once grub takes over and boots, monitor 2 is no longer recognized as being connected. The KVM does pass through the signal for the motherboard splash and grub before this, but once GNU/Linux starts booting, the monitor has gone to sleep from the "no signal".
All the DVI cables are bi-directional. The KVM (Belkin F1DD102L) says it supports bi-directional DVI as well.
This all used to work.
There's nothing in the early boot that would poll the monitors and perhaps, if the monitor doesn't provide a strong enough signal, tell the graphics card to shut down the port, which then causes the monitor to turn off, and the OS to boot without the port active? (This is going on the idea that the signal from the monitor is somehow weaker/different than when it was working, just days ago.)
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by linuxvinh
Code:
% xrandr --output DVI-D-0
(generated nothing)
It didn't conform to the instruction, which had I known your correct output names, would have been:
Code:
xrandr --output DVI-D-0 --auto
Quoting one of the *SUSE X developers:
"xrandr --auto" was meant as workaround to possibly enable the outputs of second card again - at all.
Your situation isn't a match, but maybe it will help anyway.
If no help, try appending this to your linu line in Grub:If it doesn't help, try again this way:
Code:
video=DVI-D-0:1920x1200D
(or whatever mode is needed/wanted on that display)
Reference to video= is here, where you'll see other possible options.
Reg. Linux User 211409 *** multibooting since 1992
Primary: 15.3, TW, 15.1 & 13.1 on Haswell @earthlink.net
Secondary: eComStation (OS/2) &15.2 on i965P/Radeon
Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by mrmazda
It didn't conform to the instruction, which had I known your correct output names, would have been:
Code:
xrandr --output DVI-D-0 --auto
Quoting one of the *SUSE X developers:Your situation isn't a match, but maybe it will help anyway.
If no help, try appending this to your linu line in Grub: If it doesn't help, try again this way:
Code:
video=DVI-D-0:1920x1200D
(or whatever mode is needed/wanted on that display)
Reference to video= is here, where you'll see other possible options.
I did...
Code:
xrandr --output DVI-D-0 --auto
...and nothing happened.
I added to grub via YaST Boot Loader, Kernel Parameters, Optional Kernel Command Line Parameter...
then
Code:
video=DVI-D-0:2560x1440D
...and monitor 2 still turned off when the OS starts to load. This was still going through the KVM.
-----
After boot and with only HDMI-A-0 working, I disconnected the DVI cable from the KVM and directly connected it to DVI-D-0.
Code:
xrandr --output DVI-D-0 --auto
This activated DVI-D-0 with the right resolution of 2560x1440, but with a mirror of HDMI-A-0 desktop (1920x1200) on the top-left.
I disconnected the direct connect from DVI-D-0 to monitor 2 and restored the DVI-D-0 to KVM port 1 to monitor 2. When I checked xrandr...
Code:
% xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-A-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97
23.98
1600x1200 60.00
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.95
1280x800 59.95
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
DVI-D-0 disconnected 2560x1440+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
2560x1440 (0x169) 241.500MHz +HSync -VSync
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 88.79KHz
v: height 1440 start 1443 end 1448 total 1481 clock 59.95Hz
DVI-D-1 disconnected (normal left inverted right x axis y axis)
It seems as soon as I disconnected the monitor, the system recognized that, retained the info about DVI-D-0, but going through the KVM setup still had problems passing the signal through.
Code:
xrandr --output DVI-D-0 --auto
The auto didn't work.
It's beginning to look like there's something wrong with the KVM?
My next goal is to try to set DVI-D-0 to a different resolution upon boot, via grub, and maybe that will tell us something, like perhaps being able to handle 2560x1440 no longer works via KVM?
Thanks for your advice so far, mrmazda! I was really at a loss on how to debug...
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
After playing with switching graphics card DVI ports (DVI-D-0 to DVI-D-1), while things are still going through the KVM...
In grub kernel command line...
Code:
video=DVI-D-1:2560x1440D
Which produced this in dmesg...
Code:
[ 5.532272] [drm] forcing DVI-D-1 connector on
[ 5.705059] [drm:amdgpu_dm_connector_mode_valid [amdgpu]] *ERROR* No EDID firmware found on connector: DVI-D-1 ,forcing to OFF!
[ 5.705181] [drm:amdgpu_dm_connector_mode_valid [amdgpu]] *ERROR* No EDID firmware found on connector: DVI-D-1 ,forcing to OFF!
...which seems to indicate that the grub video option tried to turn on DVI-D-1 but monitor 2, through the KVM, did not receive monitor 2 info.
This looks like a tantalizing clue.
I think what I want is an EDID binary file to tell the kernel about monitor 2.
Research links:
https://bugs.freedesktop.org/show_bug.cgi?id=107414
https://askubuntu.com/questions/201081/how-can-i-make-linux-behave-better-when-edid-is-unavailable
https://wiki.archlinux.org/title/Kernel_mode_setting
https://wiki.debian.org/RepairEDID
If I connect monitor 2 directly to DVI-D-1, everything works, which through xrandr --verbose, I can get the EDID has readable hex.
(example from HDMI-A-1 since DVI-D-1, through KVM, was forced off)
Code:
EDID:
00ffffffffffff0010acbaa04c445930
2e1a010380342078ea0495a9554d9d26
105054a54b00714f8180a940d1c0d100
010101010101283c80a070b023403020
360006442100001e000000ff00434656
394e3642383059444c0a000000fc0044
454c4c2055323431350a2020000000fd
00313d1e5311000a202020202020014a
020322f14f9005040302071601141f12
132021222309070765030c0010008301
0000023a801871382d40582c45000644
2100001e011d8018711c1620582c2500
06442100009e011d007251d01e206e28
550006442100001e8c0ad08a20e02d10
103e9600064421000018000000000000
00000000000000000000000000000082
Now, after searching for a bit, I haven't been able to figure out how to convert xrandr --verbose EDID info into a binary .bin format.
I've tried installing read-edid, to get get-edid and parse-edid, available via YaST.
Code:
% get-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
Illegal instruction (core dumped)
My goal, now, is to add something like this to grub...
Code:
drm.edid_firmware=DVI-D-1:edid/edid.bin video=DVI-D-1:2560x1440D
...where edid/edid.bin lives in /usr/lib/firmware (under ArchLinux, same in openSUSE?)
(drm.edid_firmware flag since kernel is 5.3.18-lp152.106-default, which is greater than 4.13, which uses drm_kms_helper.edid_firmware flag)
Since I'm using a KVM, it seems likely that the EDID isn't getting passed properly, at least between the graphics card DVI-D-1<->KVM<->monitor 2. It used to work, for almost two years, but something definitely has changed and it seems like setting it with EDID is the path to go?
Anyone with experience with wxEDID? Or converting xrandr --verbose EDID info into binary?
Thanks!
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by linuxvinh
Code:
xrandr --output DVI-D-0 --auto
This activated DVI-D-0 with the right resolution of 2560x1440, but with a mirror of HDMI-A-0 desktop (1920x1200) on the top-left.
Try:
Code:
xrandr --output HDMI-A-0 --primary --output DVI-D-0 --auto --right-of HDMI-A-0
Reg. Linux User 211409 *** multibooting since 1992
Primary: 15.3, TW, 15.1 & 13.1 on Haswell @earthlink.net
Secondary: eComStation (OS/2) &15.2 on i965P/Radeon
Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....
-
Re: 2nd Monitor Shutoff upon grub to Leap on During Boot
 Originally Posted by mrmazda
Try:
Code:
xrandr --output HDMI-A-0 --primary --output DVI-D-0 --auto --right-of HDMI-A-0
This works as expected, to set monitor locations. Thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|