OPNsense Forum

English Forums => 25.7 Series => Topic started by: csetera on September 21, 2025, 09:31:39 PM

Title: Any way to force reinitialize HDMI display after boot?
Post by: csetera on September 21, 2025, 09:31:39 PM
I asked in this forum post (https://forum.opnsense.org/index.php?topic=48779.msg246616#msg246616) about potential setting changes to allow my DIY PiKVM hardware to access my opnsense console via HDMI on an N95 mini PC.  Since then, I figured out that PiKVM works fine as long as it is connected when the firewall is booting up.  Unfortunately, it won't work if I connect it after the server has already booted.  Based on internet searches, I tried one of these (https://www.amazon.com/dp/B0B7XJHRHB), however it actually made it worse... not allowing PiKVM to work at all.

Is there any way I can force HDMI/console to reinitialize after boot so that the video output gets properly enabled?

Thanks,
Craig
Title: Re: Any way to force reinitialize HDMI display after boot?
Post by: meyergru on September 21, 2025, 11:49:52 PM
The problem is the limited number of available resolutions the PiKVM has. I have read the the PiKVM v2 only can do 50 Hz, not 60. None of them actually can do downscaling as far as I have seen.

Thus, the EDID adapter you used potentially uses a too high resolution for your PiKVM. On the other hand, with no monitor / EDID adapter / PiKVM attached, there will most likely be a standard VGA mode assumed. I tend to believe that your current mode is not supported by your PiKVM.

The actual resolution used for the FreeBSD console and how you can change it, is dependend on BIOS vs. UEFI boot modes and which type of console you use.

So, you could either choose a fixed mode for your system that suits your PiKVM or use a HDMI passthru adapter that has the actual supported resolution or you can use another type to KVM, like JetKVM. You may be able to change the EDID of your PiKVM, as well, depending on the specific model: https://docs.pikvm.org/edid/