Page 1 of 1

Installed Image on Pi

Posted: Tue Oct 15, 2024 11:22 pm
by Peetem
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!

Re: Installed Image on Pi

Posted: Wed Oct 16, 2024 6:41 am
by mcallegari

Re: Installed Image on Pi

Posted: Wed Oct 16, 2024 11:13 am
by Peetem
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

Re: Installed Image on Pi

Posted: Wed Oct 16, 2024 1:49 pm
by edogawa
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).

Re: Installed Image on Pi

Posted: Wed Oct 16, 2024 8:52 pm
by Peetem
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!

Re: Installed Image on Pi

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

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 1:32 pm
by Peetem
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.

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 1:58 pm
by Peetem
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?

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 2:10 pm
by edogawa
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?

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 3:08 pm
by Peetem
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.

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 3:12 pm
by mcallegari
Which Raspberry Pi model are you using?

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 3:27 pm
by Peetem
mcallegari wrote: Thu Oct 17, 2024 3:12 pm Which Raspberry Pi model are you using?
4

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 4:01 pm
by Peetem
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

Re: Installed Image on Pi

Posted: Thu Oct 17, 2024 4:39 pm
by mcallegari
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