Adding Steamlink to v9.0.0
-
ToiletSalad -
February 21, 2019 at 6:59 AM -
Thread is Resolved
-
-
You may want to try my plugin, it uses Nvidia Game stream instead of Steam Link: GitHub - veldenb/plugin.program.moonlight-qt: A launcher and updater for running Moonlight-qt on LibreELEC/Raspberry Pi 4 systems.
-
- Official Post
LE runs everything as root and I've known that for more than a decade, so I have never said sudo is required.
-
I may test this again now I've moved to V10
-
I know this has been asked before, but it's been a few months so... any update on a workaround for the raspberry pi 4? I am pretty happy since I ditched raspbian in favor of LibreELEC, but having steamplay working on the Pi was pretty neat.
Is dual booting raspbian/libreelec my only option here? I had a look and it seems like a PITA to get dual boot working on the Pi. Any suggestions?
-
Haven't posted an update in a while and since the old script/libs are now outdated, here's the updated ones.
missing files in /lib - https://www.mediafire.com/file/bkm4158hc…225.tar.gz/file
steamlink.sh -
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.this is for rpi3 and (currently) libreelec 9.2.8. everything else previously in this thread is the same. enjoy.
-
Hello,
Thank you all for these awesome solutions and updates.
I am simply posting this to suggest a new way i found, to stream Steam Big Picture from your host pc to Libreelec/kodi on Raspberry pi.
so i found these two projects/repos :
Kodi 19 Moonlight launcher :: https://github.com/veldenb/plugin.program.moonlight-qt
Sunshine is a Game stream host for Moonlight :: https://github.com/LizardByte/Sunshine
so sunshine on my windows pc with an AMD GPU (no Nvidea Stream app ) and moonlight running in a docker in the raspberry pi.
for installation :
Sunshine = go to releases and dowload the .zip and run as admin and read the docs
Moonlight = works for Pi4 & Pi3 follow the README , thats what i did .
Setup :
Raspberry Pi 3b with Libreelec 10.
Benefits :
easier to install the plugin and update it
works to share desktop screen to the the PI
Gaming video quality was not extra but playable
-
Hi,
I want to thank everyone here for their efforts and to share what ultimately worked for me.
SBC: pi 4, 4gb ram
OS: Linux LibreELEC 5.10.110
SteamLink version: steamlink-rpi3-1.2.0.241.tar.gz
Audio: HDMI PCM stereo
Followed OP's directions:QuoteI wanted to try steamlink without reinstalling anything, so after about an hour of screwing around here is how I got it working.
This only makes changes within /storage/steamlink , nothing else is touched. If you do not have at least a novice understanding of linux shell or don't fully understand the commands here DO NOT ATTEMPT.
First thing we download the newest Steamlink and extract it (run on rpi)
Code
Codecd /storage wget "$(wget -q -O - http://media.steampowered.com/steamlink/rpi/public_build.txt)" tar -zxf steamlink-rpi3-1.2.0.241.tar.gz
Next we need to download the missing libs that aren't included in this or libreelec itself. These commands might work within the rpi itself but I did them on my desktop.
Code
Codecurl --header 'Host: director.downloads.raspberrypi.org' --user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --header 'DNT: 1' --header 'Upgrade-Insecure-Requests: 1' 'http://director.downloads.raspberrypi.org/raspbian_full/images/raspbian_full-2018-11-15/2018-11-13-raspbian-stretch-full.zip' --output '2018-11-13-raspbian-stretch-full.zip' unzip 2018-11-13-raspbian-stretch-full.zip rm -f 2018-11-13-raspbian-stretch-full.zip mkdir x mount -o loop,ro,offset=50331648 -t ext4 2018-11-13-raspbian-stretch-full.img x cd x for i in libpng16.so.16 libicui18n.so.57 libicuuc.so.57 libicudata.so.57 libX11-xcb.so.1 libX11.so.6 libXext.so.6 libxcb.so.1 libxkbcommon-x11.so.0 libXau.so.6 libXdmcp.so.6 libxcb-xkb.so.1 libbsd.so.0; do cp "$(find -name $i)" .. ; done cd .. umount x rmdir x
Now we have extracted all the libs we need from raspbian, next step is to transfer them into steamlink's /lib folder (the hostname will be different for your setup)
Code
Next we need to install the steamlink udev rules, but udev is readonly, so we just overlay it (run from rpi)
Code
Codemkdir /storage/steamlink/overlay_work mount -t overlay overlay -o lowerdir=/lib/udev/rules.d,upperdir=/storage/steamlink/udev/rules.d/,workdir=/storage/steamlink/overlay_work /lib/udev/rules.d udevadm trigger
Now the steamlink.sh that comes with it is not geared for libreelec, so copy this one over it
External Content pastebin.com
Content embedded from external sources will not be displayed without your consent.
Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.
...
This worked well except that I had no audio output at all the following modifications were required:
QuoteAudio didn't work. I figured it was because I was testing with a linux host but it didn't work in windows either.
To fix add this to your config.txt
Code
Then use this new steamlink.sh that does the udev stuff automatically and loads pulseaudio before steamlink
Which led me to getting garbled sound on the analogue audio jack only, adding the following lines in the steamlink.sh file:
Code# start pulseaudio echo 'starting pulseaudio' pulseaudio -k 2>/dev/null cat /etc/pulse/default.pa | sed 's/^\(load-module module-udev-detect\|load-module module-detect\)/\1 tsched=0/' > /storage/steamlink/pulse_default.pa pulseaudio -D -n -F "$TOP/pulse_default.pa" # The next line is used for setting the audio output device. To obtain a list of posible values # run 'pulseaudio -d', then 'pactl list sinks' which will list all availible output devices, use # the name: field of the desired output as the argument for the following command. pactl set-default-sink alsa_output.1.hdmi-stereo
And that's it, works perfectly!
-