Page 1 of 1

QLC not running on Pi5 with new bookworm image

Posted: Mon Apr 15, 2024 3:32 am
by Nicko453
Hi Massimo,
I have just created a new SD card imaged with the new _bookworm_20240317 image. When the system boots it returns to the login prompt, rather than starting QLCPlus.

When I login locally (with HDMI display) and try and run QLCPlus I get the following error regarding QT ...

Linux pi2024 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr 15 13:17:02 2024
nick@pi2024:~ $ sudo qlcplus
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted
nick@pi2024:


I have built the image/SD card twice now with the same result.

Have I missed something?
Happy to provide diagnostics if you tell me what is required.

Many thanks,
Nick

Re: QLC not running on Pi5 with new bookworm image

Posted: Mon Apr 15, 2024 7:02 am
by mcallegari
Thre's an issue when no display is connected. See this
viewtopic.php?t=17150

In case the display is present, the error you see is usually caused by bad SD card. Try another one

Re: QLC not running on Pi5 with new bookworm image

Posted: Sun Jun 02, 2024 6:07 pm
by kevinbk
Hi, i have the same problem with the last .img (qlcplus_raspios_bookworm_20240530) on a Rasperry Pi 3. It's OK only with Bullseye version.
Do you have a solution to fix this problem ?

Re: QLC not running on Pi5 with new bookworm image

Posted: Tue Jun 04, 2024 8:09 am
by u4cigam
I installed the 202405330 version and it loaded on a Pi4 but I could not get the BitWizard interface to work. The file /etc/init.d/qlcplus is missing unlike with Bullseye. I assume it is in a different directory but I cannot find it.

I disabled bluetooth by adding dtoverlay=disable-bt in:
nano /boot/firmware/config.txt

Fingers crossed it keeps on working... or so I thought because there is no DMX output.

Re: QLC not running on Pi5 with new bookworm image

Posted: Tue Jun 04, 2024 9:15 am
by mcallegari
As mentioned in many other posts (please search first) the startup script is now

Code: Select all

/usr/sbin/qlcplus-start.sh

Re: QLC not running on Pi5 with new bookworm image

Posted: Tue Jun 04, 2024 9:24 am
by u4cigam
Thank you for the reminder Massimo. My memory is not what it was. Could you add a note the next time you update the pdf, please?

Re: QLC not running on Pi5 with new bookworm image

Posted: Tue Jun 04, 2024 9:32 am
by mcallegari
PDF should be already up-to-date.
In the last page I keep track of versions so please keep an eye on that.
If I forgot something please let me know

Re: QLC not running on Pi5 with new bookworm image

Posted: Tue Jun 04, 2024 10:07 am
by u4cigam
I see now why I got confused. There is reference of the new configuration in other sections but not in section 4 subsection UART. That bit still says "add the following lines to the file /etc/init.d/qlcplus".

The document still says revision 1.5 and the last page shows the last edit as the 4th February 2024.

QLC is running on my Pi4 with BitWizard but I still cannot get an output from the DMX. Bullseye works on pi3 and pi4 both with a BitWizard interface but bookworm won't output the DMX signal.