Installed Image on Pi

All the topics related to QLC+ on the Raspberry Pi
Peetem
Posts: 20
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: 4690
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Peetem
Posts: 20
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: 628
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: 20
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: 628
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: 20
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: 20
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: 628
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: 20
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: 4690
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Which Raspberry Pi model are you using?
Peetem
Posts: 20
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: 20
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: 4690
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
Peetem
Posts: 20
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

mcallegari wrote: Thu Oct 17, 2024 4:39 pm 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
That works!

Thank you!
Peetem
Posts: 20
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

The GUI comes up and I can navigate through several screens. However, when I press to add fixtures, it doesn't do anything.

No problem with other settings....
User avatar
mcallegari
Posts: 4690
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

In general, project editing on the Raspberry is not recommended. Create your projects on the desktop version and then load then in the Pi via web interface.
On the Pi you should just adjust Input/Output settings.

Strange bug though, no one reported that in one year.

In any case I still would like the latest image to work for everybody.
Can you please write it again on a SD card and see if we can make it work?
Thanks
Peetem
Posts: 20
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

So I took your advice and created a project using the desktop version.

I can upload the project to my Rasp Pi via the web interface. But two things I'm trying to understand:

1) How can I load the project on my Rasp Pi after it boots? I can see its stored on the Pi, but the "open" function is grayed out.
2) I can see all my scenes and chases. However, if I select a chase, it won't let me "play" it - that function is grayed out.

I can use the simple desktop just fine to control the lights. So everything is connected and working well.

Getting closer!

Really appreciate the help!
User avatar
GGGss
Posts: 3016
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

You are asking for a working solution for your environment, and Massimo is asking for confirmation that the latest image works.
Two big different things.

Regarding your observations, the Pi will default to start in 'operate' mode when it is started. Therefore, you cannot add fixtures or do other editing. You'd first have to go into design mode. https://docs.qlcplus.org/v4/main-window#menu-bar-1 When in operate-mode you cannot load a project for the same reason. Asking why Simple Desk works - well Simple Desk always has the highest priority, overriding everything else.

But please help the community and let us know if the latest image works out of the box. If I find some time this week, I'll try and report the outcome of my observations.
All electric machines work on smoke... when the smoke escapes... they don't work anymore
Peetem
Posts: 20
Joined: Tue Oct 15, 2024 11:19 pm
Real Name: Patrick

GGGss wrote: Mon Oct 21, 2024 7:47 am You are asking for a working solution for your environment, and Massimo is asking for confirmation that the latest image works.
Two big different things.

Regarding your observations, the Pi will default to start in 'operate' mode when it is started. Therefore, you cannot add fixtures or do other editing. You'd first have to go into design mode. https://docs.qlcplus.org/v4/main-window#menu-bar-1 When in operate-mode you cannot load a project for the same reason. Asking why Simple Desk works - well Simple Desk always has the highest priority, overriding everything else.

But please help the community and let us know if the latest image works out of the box. If I find some time this week, I'll try and report the outcome of my observations.
Sorry, didn't see this response before my other post.

I will re-image the new version and try it again.
Post Reply