swetoast / steamlink-launcher Goto Github PK
View Code? Open in Web Editor NEWSteamlink launcher for OSMC
License: GNU General Public License v2.0
Steamlink launcher for OSMC
License: GNU General Public License v2.0
I don't know if this is related to the 3B+ itself, though I know Steamlink can run on it (I have done it before). When launching the app, it reload Kodi back to its startup point, just like if I just powered up the RPi (I have Plex set up to start as soon as Kodi starts, and every time it is starting again).
Let me know if I can provide any informations! (fresh installation of OSMC, nothing installed beside Plex add-on).
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.
Build link: http://download.osmc.tv/installers/diskimages/v19testing/OSMC_TGT_vero3_20210414.img.gz
Process I followed:
Error message: "Failed to install due to an invalid structure"
Fails to start with the following message:
You have dtoverlay=vc4-kms-v3d in /boot/config.txt, which will cause a black screen when starting streaming - aborting.
Try commenting out that line and rebooting.
But when I do this, OSMC fails to start
Hello there! The ZIP file is not being accepted by OSMC since the structure is invalid. It was downloaded through SSH using this command:
wget -c https://github.com/swetoast/steamlink-launcher/releases/download/0.0.3/plugin.program.steamlink-v.0.0.3.zip
@slouken hey i got an issue with Steamlink are you still working on Steamlink?
https://discourse.osmc.tv/t/steamlink-issues-with-kodi-19-and-bootloader-4-0-0/89990/4
if so please read the link above and see if there is a possibility for a fix for Kodi 19 it kinda doesnt like overlays that Steamlink uses.
Hi
I'd love to test out the steamlink and since I'm already using osmc (on a pi 3B+), I came across your package. It (at least seems to) installs fine. But when running it, it says something like
You need at least 128mb of gpu memory
and returns to osmc.
Now, in the pi config on osmc, allocating gpu memory manually is disabled (greyed out). Not sure if this used to be possible previously.
Doing some research it seems that osmc removed this option (recently?) and allocates gpu mem dynamically (or at least automatically) and there is no way to adjust it manually.
The only official info on steams side concerning compatibility that I found is this
https://help.steampowered.com/en/faqs/view/6424-467A-31D9-C6CB
And it says rpi 3B and 3B+ (but not 4, maybe because the article is older?). So, if Pi4 is not (officially) supported, and 3B+ does not have enough gpu mem, how can I even run your package?
Any help is appreciated, thank you!
Cheers.
Apparently in file steamlink-launcher.sh
during su osmc
some environment variables are lost, in my case /sbin
was lost from $PATH
. Because of this /sbin/ldconfig
and /sbin/start-stop-daemon
are not reachable
Changing su osmc
to su - osmc
fixed this
Hi, there really sorry if this is a silly question or something I should ask somewhere else I'm very very new to Kodi and LibreELEC. I have used Linux before but only very basic stuff (Ubuntun mainly).
Anyway the issue I'm having is I have installed v0.0.6 of this repo onto the LibreELEC raspberry pi I have and went to run it from the UI of Kodi I got the following error message
There is no working 'sudo'.
On debian/ubuntu/all general purpose linux distributions 'sudo'
allows a permitted user to execute a command as the superuser
or another user, as specified by the security policy
With LibreELEC you have root access by default, so you dont need 'sudo'
Now I get this same message when SSH'ed into the LibreELEC box and I try using SUDO anything so I might be an issue with LibreELEC that I have tried googleing for but not found much any advice or help would be very helpful.
I have it working and its been great but i do have a bit of an issue as i have to press enter on a keyboard each time i load this program on my raspberry pi 4b 8gb running OSMC 2022.09-1. I obviously dont really want to keep a keyboard plugged in all time just to do this once button press. Can i fix this? It also says i should probably change the vram from 128mbs but i think the raspberry pi 4b has dynamic allocation for vram from my research.
Steam Controller wont Pair.
I used Steam Controller before on Raspbian with Steamlink on the same Raspberry. I Installed OSMC with this Add-on and the Controller is already paired, but with wrong mapping and not recognized on Steam (Host). Its like Keyboard input.
I paired the controller with my PC after that i cant re-pair it on the Raspberry Pi SteamLink app.
when i connected the controller via USB the is every Button press doubled.
Hi,
I have this message when i launch this add on :
Starting Steamlink... There is no working sudo
How can I resolve this problem ?
I'm running OSMC on a Pi 4. When Steam Link with the launcher the display reports resolution 3840×2160p. It does not matter what resolution OSMC was set to use prior to launching Steam Link. It always switches to 2160p. The Steam Link client or host, whatever it is, doesn't like that and display a black screen instead. Sound comes through fine, and the stream stats looks good.
I tried Steam Link on Raspbian to troubleshoot and that it worked well (though that was Debian Bullseye).
I've also tried to limit the stream resolution in the streaming settings to no avail. Thus it really seems like the issue lies with the chosen 2160p resolution chosen by Steam Link.
Can the launcher force a maximum of 1080p somehow?
I was able to get this working properly once previously, but had to reinstall OSMC and now the installer isn't completing the install process. It appears to be trying to remove core OSMC components.
Log started: 2023-09-11 16:30:22
Removing rbp4-device-osmc (1.1.3) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package rbp4-device-osmc (--remove):
installed rbp4-device-osmc package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
rbp4-device-osmc
Processing was halted because there were too many errors.
Log ended: 2023-09-11 16:30:22
I'm on a 8GB Pi4.
I installed wakeonlan
on my RPi3 and added a line in the launcher script to wake up the gaming machine on launch. Maybe this can be turned into a feature supported in the addon’s settings UI?
How does this add-on relate to the new (I think?) version of Steam Link released recently? steamlink-launcher
seems to download Steam Link directly from media.steampowered.com, which is currently version 1.0.8. I checked my install, and this hasn't been updated since at least March 2019.
However, Valve have now released a new version 1.1.73.179 on Flathub. Is this new version available for OSMC, and if so, should steamlink-launcher
install this instead?
When steamlink
is installed, the python
dependency isn't found:
dpkg: dependency problems prevent configuration of steamlink:
steamlink depends on python:any; however:
Package python is not installed.
dpkg: error processing package steamlink (--install):
dependency problems - leaving unconfigured
Then Steam Link starts. I can Start Playing. The screen is black, but I can hear the sound as I move through the menus. And on my computer, there is Steam in Big Picture.
Had to change the url in the addon.py script to pull the package.
http://media.steampowered.com/steamlink/rpi/steamlink.deb - in the script = 404
http://media.steampowered.com/steamlink/rpi/latest/steamlink.deb - works
Unfortunately the package install stopped at - Do you want to continue? [Y/n] and I have no keyboard connected but I assume things will work now once I find one and press Y.
Thanks for the nifty launcher.
I tried to install the latest dev version and it gives me an error when I want to start Steamlink via Kodi.
I'm using the latest version of LibreElec (9.2.3) with Kodi 18.7.1 on a Rpi 3.
I guess the reason for this error message is that Py3 is not supported because Kodi 18 is using Py2.
The master version of Steamlink seems to work with Py2 according to addon.xml. So that seems fine.
I am running OSMC on a Rasberry Pi 3b+ and everything worked fine just last week. Today I wanted to start steam link and got stuck during the dependency installation.
While trying to install libegl1 I get the message that the package rbp2-device-osmc
should be removed, which then is blocked by the system since OSMC cannot work without it and so the installation process is aborted.
Here is the log for the install step:
$ sudo apt -y install libegl1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
armv7-libbluray-osmc armv7-librtmp-osmc armv7-libshairplay-osmc armv7-libsqlite-osmc fontconfig-config fonts-dejavu-core libaacs0
libasound2 libasound2-data libass9 libatomic1 libavahi-client3 libavahi-compat-libdnssd1 libcdio19 libcrossguid0 libcups2
libdeflate0 libevdev2 libfmt7 libfontconfig1 libfreetype6 libfribidi0 libfstrcmp0 libgif7 libgraphite2-3 libharfbuzz0b
libimagequant0 libinput-bin libinput10 libiso9660-11 libjansson4 libjbig0 libjpeg62-turbo liblcms2-2 libldb2 libmad0 libmariadb3
libmicrohttpd12 libmtdev1 libnfs13 libnspr4 libnss3 libogg0 libp8-platform2 libpcrecpp0v5 libplist3 libpopt0 libpython3.9
libsamplerate0 libsmbclient libspdlog1 libssh-4 libtag1v5-vanilla libtdb1 libtiff5 libtinyxml2.6.2v5 libudfread0 libvorbis0a
libvorbisenc2 libwacom-common libwacom2 libwebp6 libwebpdemux2 libwebpmux3 libxkbcommon0 libxslt1.1 libyajl2 mariadb-common
mediacenter-addon-osmc mediacenter-eventclients-common-osmc mediacenter-send-osmc mediacenter-skin-osmc mysql-common
python-apt-common python-is-python3 python3-apt python3-certifi python3-chardet python3-dbussy python3-idna python3-ldb
python3-pexpect python3-pil python3-pkg-resources python3-ptyprocess python3-requests python3-samba python3-six python3-talloc
python3-tdb python3-unidecode python3-urllib3 rbp2-libcec-osmc samba-common samba-common-bin samba-libs xkb-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libegl-mesa0 libgbm1 libglapi-mesa libwayland-client0 libwayland-server0 libx11-6 libx11-data libx11-xcb1 libxcb-dri2-0
libxcb-dri3-0 libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxshmfence1
The following packages will be REMOVED:
rbp2-device-osmc rbp2-mediacenter-osmc rbp2-mesa-osmc
The following NEW packages will be installed:
libegl-mesa0 libegl1 libgbm1 libglapi-mesa libwayland-client0 libwayland-server0 libx11-6 libx11-data libx11-xcb1 libxcb-dri2-0
libxcb-dri3-0 libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxshmfence1
0 upgraded, 15 newly installed, 3 to remove and 7 not upgraded.
Need to get 0 B/2102 kB of archives.
After this operation, 285 MB disk space will be freed.
(Reading database ... 39228 files and directories currently installed.)
Removing rbp2-device-osmc (1.6.1) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package rbp2-device-osmc (--remove):
installed rbp2-device-osmc package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
rbp2-device-osmc
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Starting the Steamlink Launcher turns off my TV - which isn't a big deal, but quite annoying.
Using lastest stable version of OSMC (Kodi 18, April).
There's an errant quotation in line 4 of addon.xml that stops installation on OSMC.
<import addon="xbmc.python" version="3.0.0""/>
Removing the errant one,
<import addon="xbmc.python" version="3.0.0"/>
and the install passes with no errors.
v0.0.4 could not install OSMC on raspbery pi 3.
plugin zip file needed "plugin.program.steamlink" directory.
I tried to modified zip file as follows
http://blog.osakana.net/sw/work/plugin.program.steamlink-v.0.0.4a.zip
this zip file work fine.
Hello, I am aware that it's generally not advised to raise an issue here with the Steam Link app, however due to the locked down nature of OSMC, I don't think I would get much help in the Steam forums about this, and given that it is only in Steam Link and not Kodi, I'm not sure how much the OSMC forums would be able to help.
I got this Add-On, and got remote play working fairly quickly, with minimal latency. However, audio is not working in the Steam Link app. I know it is not an issue with my PC because my audio is fine when streaming to my phone, and none of the UI sounds in the Steam Link app before even streaming anything work either. I have tried fresh-installing OSMC and this Add-On to no avail. Is Steam Link expecting a different audio framework to what OSMC is using? What can I change in OSMC to have it mesh well?
Log: https://paste.osmc.tv/yilezuduci
Again, apologies if this is the wrong place to raise this issue. If you could point me in the right direction for where to find a solution I'd be very grateful.
YurchenkoSt provided a fix to the Error reading Attributes issue when attempting to install the Add-on from the compiled zip. Looks like the second quote on line 4 is still present in my fresh DL of the compiled 0.0.9. For what it's worth the version for the plugin.program.steamlink is still 0.0.7a too.
Launching Steam Link for the first time fails because the path isn't set correctly, /sbin and /usr/sbin are not in the path, so package installation fails.
Fresh install of OSMC, and the steamlink-launcher appears to install without issue. When trying to run, a command line pops up that says: You are running with less than 128 MB video memory, you may need to go to the Raspberry Pi Configuration and increase your GPU memory. Press enter to continue:
There is no way to allocate memory to GPU in OSMC for the Pi 4 (my understanding is that GPU memory is dynamically allocated on the Pi 4, so the option is greyed out in the OSMC settings).
Is there a workaround for this that allows steam link to work on a Pi 4 with OSMC? (In Raspberry PI OS, you can still allocate memory to GPU in the settings, and Steam Link works on the Pi 4).
Kodi version is 19.3
Hello I just want to ask u if u are still working on it and if this will support libreelec on rpi4b. Thanks
Hi
I am running OSMC 2020.11-1 that runs on Kodi 18.9. If I try to install the addon from zip file I get an error
message saying "Installing the Add-on from zip file located at /media/UBUNTU 2019_1/plugin.program.steamlink-v0.0.7a.zip failed due to an invalid structure".
Similarly the only entry in my logs relating to this addon reads as follows :
2021-03-19 10:39:35.539 T:1916514320 ERROR: Failed to read 'zip://%2fmedia%2fUBUNTU%2019_1%2fplugin.program.steamlink-v0.0.7a.zip/plugin.program.steamlink-v0.0.7a/addon.xml'
After seeing the above I did try renaming the folder in the zip from plugin.program.steamlink to plugin.program.steamlink-v0.0.7a, but no dice. I also noticed in the addon.xml there is an extra " after the version on line 4, <import addon="xbmc.python" version="3.0.0""/>
, but fixing that also did not fix my problem.
A recent commit added a usermod command to add osmc to the input group, but they also need to be in the plugdev group to have full controller support.
e.g.
sudo usermod -a -G input,plugdev osmc
In the README.md it says:
its intended for RPI 2 and 3 not 4
Could we get a quick explanation on why the Raspberry Pi 4 is not supported and whether it will be supported in the future?
What work needs to be done to make it work on the Pi 4 (if possible at all)?
After placing the zip on my SD card and installing through OSMC, I attempted to open Steamlink Launcher, and was told I had to manually input "dpkg --configure -a" in order to be able to install dependencies needed for Steamlink Launcher. This also required me to use superuser to actually invoke that code. OSMC is a fresh install, only add-on is Plex. I cannot remember the dependencies, but it looked to be 4 or 5 separate things that needed to be installed before Steamlink Launcher would open.
When running the addon:
You have dtoverlay=vc4-kms-v3d in /boot/config.txt, which will cause a black screen when starting streaming - aborting.
Try commenting out that line and rebooting.
If I comment out that line, OSMC won't boot properly (It'll just show the sad face continuously).
After some research I've found out this seems to happen in Kodi 19 even when launching steamlink from the console due to a new OSMC bootloader, but since this launcher was made specifically for Kodi 19 I'm wondering whether you guys thought of something.
Installing on OSMC last version : 2 packages were required but not found : ldconfig and start-stop-daemon.
Then installation failed cause of this.
Steamlink prints error EGL Error : Could not create the egl surface: error = 0x300b
which seems to come from QT
Changing the resolution in osmc system settings seems to fix this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.