Page 1 of 1

Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Wed Dec 29, 2021 10:46 am
by ALt
Hi,

Love the software! Now just trying it on Raspberry pi 3 with official image- starts up no problem, have issue with autostart after install of Wave share SpotPear 3.2 display (connects directly to pins on board)

(I 'm sorry if this is obvious and a stupid question! I am very new to raspberry pi!)-

Installed git first, installed driver from Waveshare git hub- and voila touchscreen display works! Their instructions on their wiki appear to work, which is good and can switch between touchscreen and main HDMI monitor

However I see that QLC no longer autostarts - I just have the log in screen available- I have had many, many hours searching internet for solution to what might be simple!



I think the driver has affected a config file ? somehow and I'm not sure how to get it fixed! Any ideas folks! Sorry if this is something simple I have missed! Cheers, (I'm 52 which may explain things :-) )

Al

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Wed Dec 29, 2021 11:13 am
by mcallegari
Hi, what if you launch qlcplus from a terminal?
That should give you an indication if it runs and is not visible or if it stops immediately. The second case might be quite difficult to debug.

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Thu Dec 30, 2021 8:14 am
by GGGss
Did you have a look at this here? A sort like troubleshooting ... viewtopic.php?t=1818&start=20

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Thu Dec 30, 2021 2:09 pm
by ALt
Hi,

Thank you very much!

(I have tried this with both an external monitor on HDMI or with touchscreen active (only one screen can run at a time)

I did try to start diredtly from terminal;

sudo service qlcplus start - (and stop and restart) but nothing occured - waits a few seconds and then I can enter another command
I ran the command to see status of QLC plus:

and got
pi systend(1): Starting LSB Q Light controller Plus...
pi qlcplus(487): Starting Q Light Controller Plus: qlcplus
pi systend(1): Started LSB: Q Light Controller Plus

So I think (!) it looks like it is starting up, but I cannot see any action.

Cheers!

Al

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Fri Dec 31, 2021 8:44 am
by mcallegari
the following command will tell you if QLC+ is running or not:

Code: Select all

ps -ef | grep qlcplus
If it's running then it means you'll have to tweak the startup command in /etc/init.d/qlcplus
probably adjusting the output device, but I'm not sure since I don't know how the driver for your display works

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Fri Dec 31, 2021 9:26 am
by ALt
Ah, Thank you for your guidance-


The ps -ef | grep qlcplus gives

pi 780 644 0 09:14 ttyl 00:00:00 grep --color=auto qlcplus

I think this means it is not running, maybe started then stopped? Not sure if this is the case, or if it is fixable. No problem if not I will run without screen (its for a portable band lighting bar with footswitch)

Cheers and glad 2021 is nearly done! :-)

Al

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Fri Dec 31, 2021 9:37 am
by mcallegari
Please run QLC+ without systemd. Simply:

Code: Select all

qlcplus
and see if it gives any indication why it's not starting

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Fri Dec 31, 2021 11:27 am
by ALt
Hi Massimo,

Thank you for looking at this- if not possible to fix it is totally ok!

I typed just: qlcplus

and I had the answer:

qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

Thanks!

Al

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Fri Dec 31, 2021 3:30 pm
by mcallegari
Right, sorry, the proper command is:

Code: Select all

qlcplus -platform eglfs
(the same of the official image)

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Mon Jan 03, 2022 9:36 am
by ALt
Hi,

Happy new year all!

OK , i typed in command: qlcplus -platform eglfs

And receive:

Could not find DRM device
Aborted

Cheers,

Al

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Mon Jan 03, 2022 12:50 pm
by mcallegari
OK, that is the issue. The display driver is not integrated with OpenGL so QLC+ (Qt) cannot use it
Try this:

Code: Select all

qlcplus -platform linuxfb

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Wed Jan 05, 2022 7:37 pm
by ALt
Hi,

That's very helpful, QLC did start up, but I need to spend some time learning PI better... ( no touch input and no visible close button now)

As gig looming reinstalled the official image and loaded up show as auto start in root/qlc. Did auto start once and now doesn't and if I manually try to open it get message unable to access resource. Weird as did work and auto start before!

Any ideas? I did look at forum and see just saving to root/qlc as auto start should be enough but isn't working consistently sadly. Otherwise will take old laptop to gig but not ideal as used for synth sounds as well :ugeek:

Cheers,

Al :)

Re: Waveshare 3.2 raspberry pi3 install ok, QLC not autostarting

Posted: Wed Jan 05, 2022 7:57 pm
by ALt
Sorry, removed touchscreen and it now works. Probably going headless now, but cheers for the support, appreciate it man