Page 1 of 1

Headless problems persist on Pi 5

Posted: Sat Aug 24, 2024 5:33 am
by markzvo
Further problems as discussed in this topic: https://www.qlcplus.org/forum/viewtopic.php?t=17150

I have seen the new logic in /usr/sbin/qlcplus-start.sh now has HDMI detect plug state logic at the beginning.

However this is just a fix to start QLC+ offscreen when headless, and show the GUI when not headless with a monitor attached.

This is a problem for me as I am using a USB keyboard and a USB microcontroller keyboard emulator to send key presses to trigger QLC+ functions. When headless, QLC+ is running with no monitor, but the GUI is not "displayed" headless to accept the key presses to trigger functions. It appears to be running in the background I believe due to the logic setting the platform parameter to "offscreen" - I do see my startup function activate. My key presses go to the terminal prompt, not the QLC+ application/functions. This was previously working on Pi 4 QLC+ version 4.12.6.

How can I always force a GUI on Raspberry Pi 5 QLC+ version 4.13.1 while headless? Is there another -platform variable I can use? eglfs, offscreen and linuxfb are not working.

Re: Headless problems persist on Pi 5

Posted: Sun Aug 25, 2024 3:01 pm
by markzvo
I have purchased an HDMI Dummy dongle, this is not ideal - but it works.
HDMIDummy.jpg

Re: Headless problems persist on Pi 5

Posted: Mon Aug 26, 2024 6:48 am
by mcallegari
Good to know!
Thanks for sharing

Indeed, the latest RPi images changed (again) how the graphics driver behaves so i had to opt for a kind of a workaround.
On the other hand, if no UI is rendered, it's normal you won't have any key input to widgets since they are not even displayed so they don't have any focus to process.
This is another topic that should be solved with v5 which is designed to be truly headless, so inputs will always work.