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!
QLC+ is freezing
-
- Posts: 6
- Joined: Tue Sep 15, 2020 8:29 pm
- Real Name: Alexey
-
- Posts: 1330
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
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?
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?
- mcallegari
- Posts: 4807
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
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
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
-
- Posts: 6
- Joined: Tue Sep 15, 2020 8:29 pm
- Real Name: Alexey
The same without video https://youtu.be/1OjoThX13Ckmcallegari wrote: ↑Fri Sep 18, 2020 6:03 am 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
- mcallegari
- Posts: 4807
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
What type of DMX output interface are you using?
If it is an open DMX clone, you might need to adjust the output frequency
If it is an open DMX clone, you might need to adjust the output frequency
-
- Posts: 6
- Joined: Tue Sep 15, 2020 8:29 pm
- Real Name: Alexey
I'm going to describe all my steps: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
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
Last edited by pekkin on Sun Sep 20, 2020 8:44 pm, edited 1 time in total.
-
- Posts: 6
- Joined: Tue Sep 15, 2020 8:29 pm
- Real Name: Alexey
Sorry, I made a mistake when answering you and post has not appeared.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?
The same problem without video
https://youtu.be/MHkETS7sEpw
https://youtu.be/t6Ar41Fpznc