I use this HDMI switch between PC and PlayStation4, it seems that PS4 has no problems at all but PC often struggles to get signal back and no longer appears on screen after the switch. Looks like PC can perfectly switch without issue in the BIOS or when I boot in “nomodeset”, so it should be something Linux related. I’ve also tried with my intel iGPU bypassing my RX580 and the issue persist.
My setup:
EndeavourOS (Arch Linux), KDE Plasma, systemd-boot, SDDM, amdgpu, a cheap nobrand HDMI switch with a simple but respectful job to do
Additional notes:
- If I manually unplug the monitor’s hdmi switch and plug it back in it works, maybe something related to power options?
- Maybe I have to load graphics modules earlier at kernel startup? I don’t know if they are already like this by default on recent kernels but it’s a consideration.
- Another hypothesis is that it’s BIOS related, I’ve already tried to set the PCIe GPU as primary. I have disabled secure-boot and fast-boot to use the distro.
- Thanks for any advice, in these days I will also try other consoles and devices, I will update this post.
Have you tried SSH-ing into the system when it’s in the bad state to see if you can diagnose the problem? You might be able to see if any displays are being detected at all in the problematic state. Part of me wonders, though is not certain, if the switch is somehow providing an inconsistent display name that confuses the system, though this is just a hunch - I have no idea what I’m talking about, to be frank.
Also, try switching TTYs and seeing if those show up.
If I change tty I still don’t get the image, the only way is to reboot or manually reconnect the HDMI cable of the monitor.