starting web access without a monitor

All the topics related to QLC+ on the Raspberry Pi
Post Reply
Uncle
Posts: 6
Joined: Sun Sep 15, 2019 4:57 pm
Real Name: Eric Branson

Hello
I have an Rpi 3b with a fresh install of 4.12.2 and it boots great with a monitor plugged in via HDMI but it will not start the web access if a monitor is not plugged in. I was hoping to put the Pi under some furniture and access it via the web access. I'm assuming I need to change a setting somewhere but I havent been able to discern where. When I SSH in and sudo service qlcplus status I get:

Code: Select all

qlcplus.service - LSB: Q Light Controller Plus
   Loaded: loaded (/etc/init.d/qlcplus; generated)
   Active: active (exited) since Sun 2019-09-15 09:49:31 PDT; 1min 25s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 446 ExecStart=/etc/init.d/qlcplus start (code=exited, status=0/SUCCESS)

Sep 15 09:49:30 raspberrypi systemd[1]: Starting LSB: Q Light Controller Plus...
Sep 15 09:49:31 raspberrypi qlcplus[446]: Starting Q Light Controller Plus: qlcplusSep 15 09:49:31 raspberrypi systemd[1]: Started LSB: Q Light Controller Plus.
When I do have a monitor connected I have web access with no issues.
Any help would be appreciated.
Thanks
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

As far as I know, monitor plug has nothing to do with the network nor web access.
Do you actually ping the RPi IP address without a monitor?
Uncle
Posts: 6
Joined: Sun Sep 15, 2019 4:57 pm
Real Name: Eric Branson

Yes I can ssh in with no monitor plugged in but can't access via webaccess.
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Weird...
Can you check via SSH if QLC+ is actually running without a monitor?
Uncle
Posts: 6
Joined: Sun Sep 15, 2019 4:57 pm
Real Name: Eric Branson

Sorry how would I do that other than:
Sudo service qlcplus status
Which shows active (exited)?
I'm still learning linux.
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

With the 'ps' command you can see the running processes. Just type

Code: Select all

ps -ef | grep qlcplus
and copy the output here please
Uncle
Posts: 6
Joined: Sun Sep 15, 2019 4:57 pm
Real Name: Eric Branson

Code: Select all

pi@raspberrypi:~ $ ps -ef | grep qlcplus
pi        3325  3307  0 10:05 pts/0    00:00:00 grep --color=auto qlcplus
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Then qlcplus crashes if no monitor is connected. This is no good.
I'll investigate the cause of it
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi, yesterday I checked this.
Unfortunately no good news.
The issue is confirmed and apparently it's not in QLC+ so I can't fix it. It seems there's something wrong between the Qt libraries and the RPi graphics driver (VC4)
I really hope they will fix this upstream...and soon, because this is quite a common usage case (headless) and it's not acceptable if it doesn't work.

I'm gonna see if I can report this issue to the Raspbian team.
I'm afraid meanwhile you need to plug something on the HDMI, even if you don't use it :(
Uncle
Posts: 6
Joined: Sun Sep 15, 2019 4:57 pm
Real Name: Eric Branson

Thanks for the reply
User avatar
GGGss
Posts: 3145
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

5$ HDMI dummy plug?
All electric machines work on smoke... when the smoke escapes... they don't work anymore
BassManTL
Posts: 1
Joined: Tue Sep 24, 2019 5:30 pm
Real Name: Todd Lindstrom

sadness...
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I've got some feedback from a Raspberry guy.
It seems there's a parameter in config.txt that pretends something is plugged on HDMI.
Can you please try to add this to config.txt and reboot?

Code: Select all

hdmi_force_hotplug=1
It's obviously a workaround, but it might do the job.
Also, it seems this issue might affect RPi 4 users only. I'll check both when I can.
alanle
Posts: 13
Joined: Thu Sep 26, 2019 3:54 am
Real Name: Alan Lechmann

Thanks for the WA, it works perfectly!
alanle
Posts: 13
Joined: Thu Sep 26, 2019 3:54 am
Real Name: Alan Lechmann

Looking for another thing, i found this post related to HDMI. At the end, one user post two scripts that could be helpfull regarding HDMI

https://www.raspberrypi.org/forums/view ... hp?t=12332
ralbrightii
Posts: 84
Joined: Sat Jan 16, 2016 2:32 am
Location: Usa
Real Name: mgGagGD
Contact:

mcallegari wrote: Fri Sep 27, 2019 1:17 pm I've got some feedback from a Raspberry guy.
It seems there's a parameter in config.txt that pretends something is plugged on HDMI.
Can you please try to add this to config.txt and reboot?

Code: Select all

hdmi_force_hotplug=1
It's obviously a workaround, but it might do the job.
Also, it seems this issue might affect RPi 4 users only. I'll check both when I can.
I can confirm the same issue exists with RPi 3. I am experiencing the same issue. I will load the code you indicated, and report back soon.
ralbrightii
Posts: 84
Joined: Sat Jan 16, 2016 2:32 am
Location: Usa
Real Name: mgGagGD
Contact:

Fixed it for me on a Rpi 3
Post Reply