Installed Image on Pi

All the topics related to QLC+ on the Raspberry Pi
Post Reply
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

OK -

So I know I'm doing something stupid....

I've installed the image on my RaspPi. It booted fine and I get the command prompt after boot...but no GUI for QLC+.

What am I doing wrong?

Display is connected....

Appreciate any help!

Thanks!
User avatar
mcallegari
Posts: 4665
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

OK. I'll try and figure out how to code "sleep 3" and where to place it.

Testing the limits of my coding knowledge here. :D
User avatar
edogawa
Posts: 625
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

It really shouldn't be hard to do. on your RPi QLC+ SD card there's a rootfs partition, and there you'll find /usr/sbin/qlcplus-start.sh which is an executable shell script that can be edited with a text editor (either do that on a PC with SD Card reader (EDIT: hm, won't work in case rootfs is ext2 or another linux filesystem) or on the running system with root privileges in the terminal, using e.g. nano, vim or joe console editors (not sure what's included in the image but there should be one).
In the other thread, further on top, Massimo tells where to put the "sleep 3" line, just before line 22 or even line 21 (that shouldn't make a difference).
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

edogawa wrote: Wed Oct 16, 2024 1:49 pm It really shouldn't be hard to do. on your RPi QLC+ SD card there's a rootfs partition, and there you'll find /usr/sbin/qlcplus-start.sh which is an executable shell script that can be edited with a text editor (either do that on a PC with SD Card reader (EDIT: hm, won't work in case rootfs is ext2 or another linux filesystem) or on the running system with root privileges in the terminal, using e.g. nano, vim or joe console editors (not sure what's included in the image but there should be one).
In the other thread, further on top, Massimo tells where to put the "sleep 3" line, just before line 22 or even line 21 (that shouldn't make a difference).
Sorry as I'm thick - is the syntax "Sleep 3;" or just "Sleep 3" or "sleep (3)" or rather, is it something else?

Thanks!
Last edited by Peetem on Wed Oct 16, 2024 8:55 pm, edited 1 time in total.
User avatar
edogawa
Posts: 625
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

It's exactly as written, lowercase and no parantheses "sleep 3".
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

edogawa wrote: Thu Oct 17, 2024 6:20 am It's exactly as written, lowercase and no parantheses "sleep 3".
Thanks.

Made the change and sill no luck.

I can see the Pi booting on the monitor as it runs through all the scripts, etc. But then I just get the linux command prompt, no QLC+ GUI.
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

OK,

Please forgive my ignorance in advance....but maybe I'm not understanding what I should expect to see.

Should I even expect to see the GUI on my screen or do I need to connect via a web browser?
User avatar
edogawa
Posts: 625
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

There should be a GUI on screen, but running fullscreen without X11 (using EGL).

What happens if you launch /usr/sbin/qlcplus-start.sh from your command prompt?
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

edogawa wrote: Thu Oct 17, 2024 2:10 pm There should be a GUI on screen, but running fullscreen without X11 (using EGL).

What happens if you launch /usr/sbin/qlcplus-start.sh from your command prompt?
It pauses for a few seconds and then displays the command prompt again.
User avatar
mcallegari
Posts: 4665
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Which Raspberry Pi model are you using?
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

mcallegari wrote: Thu Oct 17, 2024 3:12 pm Which Raspberry Pi model are you using?
4
Peetem
Posts: 8
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

ok. Tried launching again from the command prompt. I get a series of messages (including only the most pertinent):

XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
**(can't see these characters as they truncate off the left side of the screen)** XDG_RUNTIME_DIR is invalid or not set in the environment.
** (can't see these characters as they truncate off the left side of the screen)**GetResources failed (Operation not supported)
**(can't see these characters as they truncate off the left side of the screen)**eens available, assuming 24-bit color

**(can't see these characters as they truncate off the left side of the screen)** t Controller Plus Version 4.13.1-2
**(can't see these characters as they truncate off the left side of the screen)**rogram is licensed under the terms of the Apache 2.0 license.
**(can't see these characters as they truncate off the left side of the screen)**ght (c) Heikki Junnila (hjunnila@users.sf.net)
**(can't see these characters as they truncate off the left side of the screen)**ght (c) Massimo Callegari (massimocallegari@yahoo.it)

**(can't see these characters as they truncate off the left side of the screen)**bin/qlcplus-start.sh line 50: 931 Segmentation Fault
User avatar
mcallegari
Posts: 4665
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

The official image must work out of the box on a Raspberry Pi 4.
Can you please try with an older image like 20230519?
Thanks
Post Reply