First of all, many thanks for the big help and your efforts.
Hopefully you can help me
I got a big problem wih my raspberry 4 Version B with the actual image qlcplus_raspios_bookworm_20241101
BTW, the image qlcplus_raspios_bookworm_20240317 have the same effects
The image: qlcplus_raspios_bullseye_20230519 run without any problems
Raspi ist connected via HDMI to a Monitor
I flash the image new, bring it into my raspberry
QLC don´t come up
I logged in and use
Code: Select all
/usr/sbin/qlcplus-start.sh
I connect the network to the raspi
QLC dont come up, only the terminal message shows up on the monitor
Then I use
Code: Select all
/usr/sbin/qlcplus-start.sh
Connect the network and reboot, QLC don´t come up. In the terminal there is only the login
When I use
Code: Select all
sudo service qlcplus status
Code: Select all
Maggus@Maggus:~ $ sudo qlcplus service status
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb
Aborted
Again new flashing, same effects
The I disconnect the monitor
Same Messages as before
I read nearly all topic arround this issues, but nothing helps me, to get the actual image running.
Please find the start.sh down here
Code: Select all
#!/usr/bin/env bash
#
# Q Light Controller Plus
# qlcplus-start.sh
#
# Copyright (c) 2024 Massimo Callegari
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# detect DRI card
if [ ! -f $HOME/.qlcplus/eglfs.json ]; then
mkdir -p $HOME/.qlcplus
for i in {1..5}
do
GPUDEV=`find /dev/dri/by-path -name *gpu-card*`
if [ ! -z "$GPUDEV" ]; then
GPUDEV=`readlink -f $GPUDEV`
echo '{ "device": "'$GPUDEV'" }' > $HOME/.qlcplus/eglfs.json
break
else
sleep 2
fi
done
fi
# detect HDMI plug state
QTPLATFORM="eglfs"
kmsprint -m | grep connected > /dev/null
if [ $? -eq 1 ]; then
QTPLATFORM="offscreen"
fi
# create QLC+ command line
QLCPLUS_OPTS="-platform $QTPLATFORM --nowm --web --web-auth --operate --overscan"
if [ -f $HOME/.qlcplus/autostart.qxw ]; then
QLCPLUS_OPTS="$QLCPLUS_OPTS --open $HOME/.qlcplus/autostart.qxw"
fi
# if NTP hasn't done its job already, set the date to modern age...
CURRDATE=`date +%Y`
if [ "$CURRDATE" -lt "2024" ]; then
date +%Y%m%d -s "20241101"
fi
export QT_QPA_EGLFS_PHYSICAL_WIDTH=320
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=200
export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
export QT_QPA_EGLFS_KMS_CONFIG=$HOME/.qlcplus/eglfs.json
/usr/bin/qlcplus $QLCPLUS_OPTS
Best regards from Germany
Marcus