timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.11k stars 239 forks source link

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

Open Bykow opened 1 year ago

Bykow commented 1 year ago

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)

Stream Deck Version

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"
scottweston commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 11 months ago

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 commented 11 months ago

Works here plasma +Arch Thanks.

Danie10 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

@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 commented 11 months ago

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