Page 1 of 1
QLC+ is freezing
Posted: Tue Sep 15, 2020 8:33 pm
by pekkin
Hi, experts!
I want to run video sound and dmx script on raspberry pi 3B+, without division into different devices. We tried to use QLC, but it is freezing.
Have you any software, which helps us to solve this problem?
We have already check the supply it's good.
Thank you!
Re: QLC+ is freezing
Posted: Thu Sep 17, 2020 9:37 am
by pekkin
UPD:
This kind of problem: spontaneous blinking.
https://youtu.be/2cDO533ke_0
Re: QLC+ is freezing
Posted: Thu Sep 17, 2020 10:34 am
by janosvitok
I'd say the RPI CPU is maxed out. Can you make the video somehow simpler, e.g. decrease the resolution or use simpler codec?
What is the video resolution, what codec is used and how long is the video?
What storage do you use with RPI? How fast it is?
How do you drive the DMX? How many universes/channels?
Re: QLC+ is freezing
Posted: Fri Sep 18, 2020 6:03 am
by mcallegari
It looks like you are indeed sw decoding a video, which is not good..
Please check this:
https://www.qlcplus.org/forum/viewtopic.php?f=17&t=9021
It's an old article, I'm not sure if it still applies to the current RPi graphics stack
Re: QLC+ is freezing
Posted: Sat Sep 19, 2020 8:55 pm
by pekkin
Re: QLC+ is freezing
Posted: Sun Sep 20, 2020 8:16 am
by mcallegari
What type of DMX output interface are you using?
If it is an open DMX clone, you might need to adjust the output frequency
Re: QLC+ is freezing
Posted: Sun Sep 20, 2020 4:32 pm
by pekkin
mcallegari wrote: ↑Sun Sep 20, 2020 8:16 am
What type of DMX output interface are you using?
If it is an open DMX clone, you might need to adjust the output frequency
I'm going to describe all my steps:
Added these lines to the file /boot/config.tx
dtoverlay=pi3-disable-bt
init_uart_clock=16000000
enable_uart=1
Removed "console=serial0,115200" from /boot/cmdline.txt
Change config file /etc/ola/ola-uartdmx.conf
/dev/ttyAMA0-break = 100
/dev/ttyAMA0-malf = 24000
device = /dev/ttyAMA0
enabled = true
gpio readall
and to set GPIO 18 (BCM) in output mode
gpio -g mode 18 out
gpio -g write 18 1
also, pin 14 & 15 need to be in the ALT0 mode, if this is not the case use
gpio -g mode 14 alt0
gpio -g mode 15 alt0
Add text to rc.local: echo 18 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio18/direction
echo 1 > /sys/class/gpio/gpio18/value
Start Raspberry Pi with QLC+ and light working. Output to Universe 1, via UART plugin/ 2 videos show that sync pulse jumps (on the oscilloscope).
https://youtu.be/MHkETS7sEpw
https://youtu.be/t6Ar41Fpznc
Re: QLC+ is freezing
Posted: Sun Sep 20, 2020 4:34 pm
by pekkin
janosvitok wrote: ↑Thu Sep 17, 2020 10:34 am
I'd say the RPI CPU is maxed out. Can you make the video somehow simpler, e.g. decrease the resolution or use simpler codec?
What is the video resolution, what codec is used and how long is the video?
What storage do you use with RPI? How fast it is?
How do you drive the DMX? How many universes/channels?
Sorry, I made a mistake when answering you and post has not appeared.
The same problem without video
https://youtu.be/MHkETS7sEpw
https://youtu.be/t6Ar41Fpznc