Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamdeck mk2 not recognized with streamdeck-ui v0.9.3 #349

Open
Bykow opened this issue Jul 5, 2023 · 9 comments
Open

Streamdeck mk2 not recognized with streamdeck-ui v0.9.3 #349

Bykow opened this issue Jul 5, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@Bykow
Copy link

Bykow commented Jul 5, 2023

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 Bykow added the bug Something isn't working label Jul 5, 2023
@scottweston
Copy link

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.

@FormBurden
Copy link

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.

@Data-007
Copy link

Data-007 commented Jul 8, 2023

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.

@AccaliaDeElementia
Copy link

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

@Data-007
Copy link

Works here plasma +Arch Thanks.

@Danie10
Copy link

Danie10 commented Jul 20, 2023

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.

@irthomasthomas
Copy link

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

@AccaliaDeElementia
Copy link

@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.

@coolapso
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants