swetoast / steamlink-launcher

Steamlink launcher for OSMC
GNU General Public License v2.0
155 stars 19 forks source link

vcgencmd: command not found #49

Closed regseb closed 2 years ago

regseb commented 2 years ago

Since a few days, I have the following error at launch: /home/osmc/.local/share/SteamLink/steamlink.sh: line 60: vcgencmd: command not found And the interface to select a computer, configure the controller and check the network is no longer displayed. When I start Steamlink Launcher: there is the console, then a black screen for a few seconds, then back to Kodi.

I think this is the new version Steam Link 1.1.90 (released June 9, 2022) that uses commands only available in Raspberry Pi OS.

For Ubuntu, the vcgencmd command is in the libraspberrypi-bin package. But I didn't find it for Debian.

swetoast commented 2 years ago

this falls under OSMC we could make a dummy package that does nothing if sam doesnt wanna do it but its out of scope at the moment for this project

jose1711 commented 2 years ago

Not sure if this is related but I'll share an observation anyway. On OSMC the path to vcgencmd is defined in /etc/profile.d/901-videocore.sh:

export PATH="$PATH:/opt/vc/bin"

This works nicely for an interactive shell. The issue is that kodi is not loading it for some reason:

root@osmc:~# ps ewww $(pgrep kodi) | tr ' ' '\n' | grep ^PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

This also means that /home/osmc/.local/share/SteamLink/steamlink.sh has no idea how to find it. If I replace vcgencmd with the full path to the executable it works without issues.