QLC not running on Pi5 with new bookworm image

All the topics related to QLC+ on the Raspberry Pi
Post Reply
Nicko453
Posts: 18
Joined: Wed Jun 17, 2015 4:42 am
Real Name: Nick Rowland

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
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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
kevinbk
Posts: 1
Joined: Sun Jun 02, 2024 6:05 pm
Real Name:

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 ?
User avatar
u4cigam
Posts: 14
Joined: Sat Jun 02, 2018 7:00 pm
Real Name: Ivan Formosa

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.
Last edited by u4cigam on Tue Jun 04, 2024 1:03 pm, edited 2 times in total.
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

As mentioned in many other posts (please search first) the startup script is now

Code: Select all

/usr/sbin/qlcplus-start.sh
User avatar
u4cigam
Posts: 14
Joined: Sat Jun 02, 2018 7:00 pm
Real Name: Ivan Formosa

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?
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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
User avatar
u4cigam
Posts: 14
Joined: Sat Jun 02, 2018 7:00 pm
Real Name: Ivan Formosa

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.
Post Reply