Okay, it is likely the kvm at least removes hotplug when switching which is undesirable. Possibly meddles with the edid.
You can force hotplug and provide a consistent edid.
When directly connected to display, run:(a hdmi display with audio support is typically has a 256 byte edid).
Now add this to your /boot/firmware/cmdline.txt (on end of existing line)You should be able to reboot and still have display working.
Now try adding the KVM - hopefully it will continue to work reliably.
Note: if you need to connect the Pi to a different display (with a different default resolution) you should repeat this procedure.
You can force hotplug and provide a consistent edid.
When directly connected to display, run:
Code:
pi@pi5:~ $ sudo cp /sys/devices/platform/axi/axi:gpu/drm/card?/card?-HDMI-A-1/edid /lib/firmware/myedid.datpi@pi5:~ $ wc /lib/firmware/myedid.dat 4 12 256 /lib/firmware/myedid.dat
Now add this to your /boot/firmware/cmdline.txt (on end of existing line)
Code:
drm.edid_firmware=HDMI-A-1:myedid.dat vc4.force_hotplug=1
Now try adding the KVM - hopefully it will continue to work reliably.
Note: if you need to connect the Pi to a different display (with a different default resolution) you should repeat this procedure.
Statistics: Posted by dom — Wed Mar 20, 2024 5:22 pm