Elgato StreamDeck and Zynthian OS

With Oram I get the same error

qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
This plugin does not support propagateSizeHints()

and after reboot I get

IP:192.168.1.26 SegFault (1) then 2,3,4, … and a big ERROR on the Splash screen of the Zynthian

so I will try a Vangelis update

fingers crossed

After a Vangelis Update I get this at Zynthian boot

======================

IP:192.168.1.26 SegFault (1)

=======================

in the logs I get

=====================================================

File “/zynthian/zynthian-ui/./zynthian_main.py”, line 48, in
zyngui.create_screens()

File “/zynthian/zynthian-ui/zyngui/zynthian_gui.py”, line 476, in create_screens
self.screens[‘loading’] = zynthian_gui_loading()
^^^^^^^^^^^^^^^^^^^^^^
File “/zynthian/zynthian-ui/zyngui/zynthian_gui_loading.py”, line 72, in init
image=zynthian_gui_config.loading_imgs[0],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

=========================================================

and the SegFault increases to 2 and then Zynthian tries to reload

If I stop the zynthian service with “systemctl stop zynthian”

I can try to run streamdeck

========================================================

(venv) root@zynthian:/# (venv) root@zynthian:/# cd /root/.local/lib/python3.11/site-packages/streamdeck_ui
(venv) root@zynthian:~/.local/lib/python3.11/site-packages/streamdeck_ui# python gui.py
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
This plugin does not support propagateSizeHints()

==========================================================

So I think that in my case the install script of the streamdeck_ui app messes with some settings vital for zynthian

Thanks for trying to help anyway

Hello COd3man

I made another fresh install of a working stable Oram version

My setup is :

Raspberry Pi 4 Model B Rev 1.5
Audio: RBPi Headphones
Display: Generic HDMI/DSI Display
Wiring: TOUCH_ONLY
I2C: Not detected
Profile: v5

So it is not an official Kit , only a RPI4 with and HDMI 7 inches screen and I use the RPI headphone for sound

I do not understand what errors I got in previous install mean

You say that you are on a Vangelis OS.

I suppose that you updated an Oram (stage or not) via the WebConf and that only after checking that the update was OK you installed streamdeck_ui app

I really want my StremDeck(s) to work with Zinthian OS because I am no (more) able to mount the official KIT and I think that having controls for most of the Zynthian OS with chosen CUIAs is a great experience

So if your setup is more or less like mine there is no reason that I cannot make it work

As we say in France

“Cent fois sur le métier remettez votre ouvrage”

:zynlogo:

After installing Vangelis which was OK (but that I do not like that much) , I installed the

streamdeck_ui app

The streamdeck_ui app gave same errors as before and when trying to run zynthian it failed

with same segmentation errors.

So I give up for now and go back to Oram and try to make my other big toys

(Launchpad Pro MK3 and LaunchControl XL MK3) work with Zynthian

Good Luck with your (happy for you) work in progress

Kindly

Alain

I would love to hear (in the Zynbleton Vangelis - READ ME thread) what you don’t like about Vangelis. We are heading towards that as the next stable release and want to hear all feedback so that it can be the best yet!

Hm, that’s really strange. I created a fresh oram image yesterday and than updated to vangelis (from webconf). After that I installed my first try, removed this and tried “your” script above.

I must say: streamdeck_ui with CUIAs cannot fully replace a hardware UI (as far as I can see at the moment). It appears that streamdeck buttons cannot be assigned multiple functions, i.e., pressing a key changes the image and sends a different CUIA command (e.g. pressing the metronome changes the color, send the metronome-start CUIA and pressing again should change the color back and send another CUIA for stopping).

Multiple functions are possible in the original windows software.

So the question is whether it is worthwhile to continue researching this topic. For sending CUIAs, a streamdeck is ok, but as a hardware UI replacement I think there is some better streamdeck software needed.

Regards, Holger

Hello Holger

With the official Elgato App on Windows (like it or not ) I can use the fantastic midiplugin

So I tried GitHub - nekename/OpenDeck: Linux software for the Stream Deck with support for original Elgato Stream Deck plugins

Which is supposed to be able to run Plugins for Windows with the help of WINE.

But WINE is not supporting ARCH64

So I tried with the basic plugin which can simulate a PC keyboard output

and it worked I could make a UP button with “U” as a parameter and in Zynthian have a CUIA action ARROW_UP for “U”

So basically I could have a minimal Desktop Env on my RPI400 in which I could run the OpenDeck App or (and) the Zynthian App from a terminal window

But when i run zynthian.sh the opendeck app in background refuses to speak with zynthianOS

Maybe it’s beacause of the venv , I do not know…

Anyway for now i am Okay with my setup , the only thing that bothers me is that the LaunchPAD mini MK3 is not velocity sensitive

1 Like

Hi @AL1-1956 :slight_smile:,

While I certainly don’t enjoy the same degree of IT knowledge as the skilled system engineers and devs who run this project, I think that I can awarely advise you against holding true this kind of tenets.

Zynthian is definitely not an OS layer running alongside Debian, neither is a Debian distro. Is a Debian-based embedded system built for a single purpose: creating a musical framework for real-time DAC and ADC handling of digital acoustic data, within a totally custom GUI without desktop view and direct file management facilities.

In order to work in this way, Zynthian replaces completely the functions of an operating system, and takes exclusive control of the hardware and software input/output channels. As such, and as far as I know, it cannot be executed as a desktop application of another general-purpose OS.

I guess that this might be where your issues and inconsistencies with Elgato devices arise from.

I wonder why it is so important for you to use Streamdeck on Zynthian, while there are various ways for using more effectively different keyboard devices with CUIA key-bindings? Just curious :slight_smile:.

All best regards :rainbow:

1 Like

Hello Aethermind

Thank you for making things (almost) clear in my old brain (as you probably guessed 1956 is my birth year) :winking_face_with_tongue:

The reason I wanted to use a StreamDeck to control Zynthian is

SD has 32 buttons so it would have been nice to have all the fine png in zynthian-ui/icons

on buttons

for the ZynPAD part I am fighting with a LaunchPAD Pro MK3 because the driver is not working

I managed to solve a few problems about sysex commands but still get a lot of errors when i load it.

The dev team does not have this controller so I totally understand why the driver is not working.

And my linux/python skills are very very low , so…:zany_face:

1 Like

Okay

So now that I have a basic (mini MK3 like) working driver for the LaunchPAD pro MK3 and that I managed to have big audio files on external storage , time to take another look on StreamDeck.

1 Like