bsharper / atv-desktop-remote

A simple app to allow you to control an Apple TV from your desktop
MIT License
193 stars 11 forks source link

Cant launch Application on Linux (using Wayland) #2

Open RavenOchlich opened 3 years ago

RavenOchlich commented 3 years ago

I successfully build the application, but it wont launch. In one case the application started and was fully functional. Sometimes the application launches with npm start and sometimes not. Sometimes i get the following error.

`rwo@main ~/t/r/a/dist> npm start

atv-mac-remote@0.9.8 start electron app

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

` If i run the linux-unpacked version it sometimes dosen't produce any output. Then it just hangs without a window. The same happens with the Appimage:

rwo@main ~/t/r/a/d/linux-unpacked> ./atv-mac-remote

bsharper commented 2 years ago

Hi @RavenOchlich, you can try updating to the latest version of electron to see if that fixes this issue?

Go to the project directory and type npm i -D electron@latest and then try running it again (npm start). I was able to update to electron version 13.1.6 (the current latest version as I write this) without any code changes.

Also FYI: the current protocol used to communicate to the Apple TV is being replaced. If you update to tvOS 15 this program won't work until the replacement protocol can be implemented.