streamdeck-ui icon indicating copy to clipboard operation
streamdeck-ui copied to clipboard

Streamdeck mk2 not recognized with streamdeck-ui v0.9.3

Open Bykow opened this issue 2 years ago • 9 comments

Describe the bug Using the AUR version of streamdeck. link Streamdeck launches, but does not see the streamdeck. It is not visible within the dropdown menu.

To Reproduce Steps to reproduce the behavior:

  1. paru streamdeck-ui
  2. $ streamdeck
  3. Drop down menu, nothing shows up

Expected behavior For the deck to be seen

Screenshots image

Operating system (please complete the following information)

  • OS: Arch, up to date
  • Desktop environment: Sway, wayland
  • Python version: Python 3.11.3

Stream Deck Version

  • Bus 005 Device 003: ID 0fd9:0080 Elgato Systems GmbH Stream Deck MK.2

Other

└─▪ cat /usr/lib/udev/rules.d/60-streamdeck.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0060", GROUP="users", MODE="0660"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0063", GROUP="users", MODE="0660"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="006c", GROUP="users", MODE="0660"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="006d", GROUP="users", MODE="0660"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0080", GROUP="users", MODE="0660"

Bykow avatar Jul 05 '23 07:07 Bykow

Just to add another data point, it was the upgrade of python-pillow to 10.0.0 that broke it for me. Downgrading it to 9.5.0 got streamdeck-ui working again.

scottweston avatar Jul 05 '23 08:07 scottweston

I can confirm downgrading to python-pillow 9.5.0 from 10.0 solved this issue. Not sure if @timothycrosley needs to update the app, or if something is wrong within python-pillow 10.0 and we just have to wait.

FormBurden avatar Jul 05 '23 20:07 FormBurden

Just to add another data point, it was the upgrade of python-pillow to 10.0.0 that broke it for me. Downgrading it to 9.5.0 got streamdeck-ui working again.

Thanks Can confirm that works on Arch for me to.

Data-007 avatar Jul 08 '23 11:07 Data-007

While we wait for the maintainer to fix the issue and release a new version or a community fork of this project to resolve this issue, i have whipped up a quick shell script to install this app using python virtual environments to allow using the streamdeck without encountering the pillow v10 bug.

relies on python3 being installed including pip and virtual environments. this is packages python, python-pip and python-virtualenv on archlinux, your package names may vary on different platforms.

This has been tested only on KDE but in theory should work on any platform that uses the XDG desktop config folder structures and the update-desktop-database command. if you run into any issues and wish to add a patch to the gist to help others fix it, let me know.

https://gist.github.com/AccaliaDeElementia/5855066cea67152e6085fa24f0b74616

AccaliaDeElementia avatar Jul 20 '23 12:07 AccaliaDeElementia

Works here plasma +Arch Thanks.

Data-007 avatar Jul 20 '23 13:07 Data-007

Glad I found this issue thread. I just bought my Stream Deck and hit this issue on Manjaro. Spent hours trying to find out what I was doing wrong. Finding this, I downgraded my python-pillow, and it was then working 100%. But yes, not a good experience for brand-new users, so I'm also hoping the maintainer responds soon. This does appear to be the best option for Linux support for Stream Deck.

Danie10 avatar Jul 20 '23 14:07 Danie10

While we wait for the maintainer to fix the issue and release a new version or a community fork of this project to resolve this issue, i have whipped up a quick shell script to install this app using python virtual environments to allow using the streamdeck without encountering the pillow v10 bug.

relies on python3 being installed including pip and virtual environments. this is packages python, python-pip and python-virtualenv on archlinux, your package names may vary on different platforms.

This has been tested only on KDE but in theory should work on any platform that uses the XDG desktop config folder structures and the update-desktop-database command. if you run into any issues and wish to add a patch to the gist to help others fix it, let me know.

https://gist.github.com/AccaliaDeElementia/5855066cea67152e6085fa24f0b74616

Why not just patch it to work with pillow 20? It's only two lines need to change, see #354

irthomasthomas avatar Jul 20 '23 14:07 irthomasthomas

@irthomasthomas a valid point. I did it this way because i know it worked on pillow 9.5 and so reverting it would fix the issue.

The patch you mentioned looks like it sorts things out, but as i've not tested it i didn't make my script apply the patch. If you want to issue a patch for my script to add the pillow v10 compatibility, I'll happily accept it.

AccaliaDeElementia avatar Jul 20 '23 16:07 AccaliaDeElementia

hi, this project seems to be stale and a new fork as been made with the intention of replacing this one at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui

fixing this issue with python pillow is a priority, and just waiting for this pr #354 to be moved there

coolapso avatar Jul 27 '23 21:07 coolapso