SteamLink for Raspberry Pi Released
-
@LineOf7s said in SteamLink for Raspberry Pi Released:
So far it seems to work great, but using a standard wired Xbox 360 controller (userspace driver, apparently) the default mapping is... odd. Like, the left and right triggers are Select (aka Back) and Start respectively (among other things).
Remapping the controller in Steam Link seems to complete successfully, but Testing Controller immediately after shows that it doesn't "take".
Doing some research now to see if I can find a config file somewhere I need to tweak, but I thought I'd provide the data point in the meantime.
For those playing along at home, I uninstalled the xboxdrv and xpad drivers (which I don't seem to need when using wired Xbox 360 controllers) and my Steamlink mapping issues went away. I tried updating to 1.07 first but that didn't make a difference.
-
@hhromic said in SteamLink for Raspberry Pi Released:
Looks like the Foundation added SteamLink to Raspbian officially now:
https://archive.raspberrypi.org/debian/pool/main/s/steamlink/You don't need to manually download and install the deb anymore, just do
apt-get install steamlink
after updating the APT cache.@psyke83 maybe the scriptmodule can be simplified with this now :)
Thanks. I'll hold off on updating the module at least until the next version bump (in case there's other reports or missing dependencies with future builds that also need to be addressed).
The
.ignore_overscan
override is gone, but there's now an.ignore_kms
in its place. Not much significance for end-users, but it's interesting to see if Valve intends to have KMS compatibility at some point in the future. -
@mitu said in SteamLink for Raspberry Pi Released:
BGM script
It seems I was wrong. Modifying the music.py didn't do anything - it was a false positive.
I added "steamlink" and "SteamLink", loaded the script again via turning off and turning on background music - no change after reboot.
-
@thezoof said in SteamLink for Raspberry Pi Released:
It seems I was wrong. Modifying the music.py didn't do anything - it was a false positive.
I added "steamlink" and "SteamLink", loaded the script again via turning off and turning on background music - no change after reboot.
I've never used the bgm script, so I'm not too familiar with it - but
steamlink
may not be correct, as it's actually a shell script. When you launch steamlink:ps aux | grep steamlink pi 10081 0.4 0.3 4640 2644 pts/1 S+ 19:28 0:00 /bin/bash /home/pi/.local/share/SteamLink/steamlink.sh
Depending on how it whitelists processes, it may be necessary to specify the
.sh
extension or the full path. Additionally, once you start streaming, the script will launch a binary namedstreaming_client
, so you may need to add that as well. -
I set up Steam Link a couple of days ago and it worked great. I really am impressed with how quickly it was added to RetroPie.
Today though, I can't use it, as I get thrown straight back to EmulationStation when I try to connect to my remote Steam computer. I did seem to download a Steam Link update when launched, which may be what has broken it. This is what's in /dev/shm/runcommand.log
Parameters: Executing: /usr/bin/steamlink Unable to query physical screen size, defaulting to 100 dpi. To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters). Steam Link UI coordinate scale = 0.8 Added controller with mapping 060000004c0500006802000000010000,PS3 Controller,a:b14,b:b13,back:b0,dpdown:b6,dpleft:b7,dpright:b5,dpup:b4,guide:b16,leftshoulder:b10,leftstick:b1,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b11,rightstick:b2,righttrigger:b9,rightx:a2,righty:a3,start:b3,x:b15,y:b12, libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile
Anyone else seeing this?
-
So I agree that xbox 360 controller definitely does not work correctly, that needs to be fixed. Also one other thing I noticed is I wasn't able to enable 5.1 surround sound. When I did, no sound came out (Stereo works fine). Thoughts?
-
Hello @jasonw,
what is your host operating system?
My is a Ubuntu 18.04 and I had the same problem with my xbox 360 controller(wired).
I fixed it with installing steam-devices on host:sudo apt install steam-devices
-
@Swampy I’m running retropie 4.4.4 on a 3B+. I’ll give your suggestion a try this weekend, thanks!
-
@jasonw said in SteamLink for Raspberry Pi Released:
@Swampy I’m running retropie 4.4.4 on a 3B+. I’ll give your suggestion a try this weekend, thanks!
I mean the operating system of the host-pc.
-
@Swampy Windows 10.
-
Any idea what might cause steamlink to not show up in emulation station after the experimental binary has been installed? Dropping to the shell and running steamlink works just fine. It simple doesn’t show up in my emulation station list.
Running latest version of retropie.
Thanks
-
@psyke83 said in SteamLink for Raspberry Pi Released:
@thezoof said in SteamLink for Raspberry Pi Released:
It seems I was wrong. Modifying the music.py didn't do anything - it was a false positive.
I added "steamlink" and "SteamLink", loaded the script again via turning off and turning on background music - no change after reboot.
I've never used the bgm script, so I'm not too familiar with it - but
steamlink
may not be correct, as it's actually a shell script. When you launch steamlink:ps aux | grep steamlink pi 10081 0.4 0.3 4640 2644 pts/1 S+ 19:28 0:00 /bin/bash /home/pi/.local/share/SteamLink/steamlink.sh
Depending on how it whitelists processes, it may be necessary to specify the
.sh
extension or the full path. Additionally, once you start streaming, the script will launch a binary namedstreaming_client
, so you may need to add that as well.Unfortunately music is always playing. I tried all combinations here. Script seems simple yet it is ignored with steam being loaded.
-
Got it to work. I had to re-run the script - duh!
-
I updated the scriptmodule recently to fix a controller mapping issue with sixaxis controllers; steamlink is now configured to run in an Xorg session to prevent the controller's left analog sticks being erroneously used as a virtual mouse, causing in-game conflicts.
It might be worth updating & re-installing from the latest version of the scriptmodule if you're having controller issues of any type (cc: @LineOf7s, @jasonw).
-
I just installed steamlink and if I try to run it from Ports I get a black screen for a moment and then I'm back on the Ports screen.
cat /dev/shm/runcommand.log
:Executing: xinit /opt/retropie/ports/steamlink/steamlink_xinit.sh -- vt1 -keeptty /opt/retropie/supplementary/runcommand/runcommand.sh: line 1007: xinit: command not found
Any idea what I should do?
-
@ralh said in SteamLink for Raspberry Pi Released:
I just installed steamlink and if I try to run it from Ports I get a black screen for a moment and then I'm back on the Ports screen.
cat /dev/shm/runcommand.log
:Executing: xinit /opt/retropie/ports/steamlink/steamlink_xinit.sh -- vt1 -keeptty /opt/retropie/supplementary/runcommand/runcommand.sh: line 1007: xinit: command not found
Any idea what I should do?
Hmm... you need the
xorg
package. I'll add that to the depends of the scriptmodule later, but you don't need to wait - just manually install it yourself. -
Sorry, I'm a bit of a RetroPie noob and didn't realize it didn't use X at first.
After installing
xorg
and changing/etc/X11/Xwrapper.config
to sayallowed_users=anybody
everything works.Thanks for help!
-
@ralh said in SteamLink for Raspberry Pi Released:
Sorry, I'm a bit of a RetroPie noob and didn't realize it didn't use X at first.
After installing
xorg
and changing/etc/X11/Xwrapper.config
to sayallowed_users=anybody
everything works.Thanks for help!
Thanks for the update. IIRC, the RetroPie script usually removes xserver-xorg-legacy as an alternate to having to edit that file.
-
@psyke83 I'm on Retropie 4.4.4 and SteamLink doesn't load for me. I get a black screen with just a cursor (which I can move with the Dualshock 4 trackpad). My /boot/config.txt is actually empty, so I don't even have the option to comment out the scanlines option. How do I fix this?
-
I think I broke it. Installed it fine and entered the code on my OC to connect but then had the bright idea to configure my controller. However it had already recognised it was a OS4 pad and really I didn’t need to do anything! I completely messed up the button mapping and now no button works except d-pad doen which quits steamlink. 😭 I have tried uninstalling, restarting system and reinstalling but every time it remembers my dodgy controller configuration. Really I think I need to uninstall steamlink, restart system and FTP in and delete all traces of steamlink, restart system again and then install it fresh. I tried this once but clearly didn’t get every trace. If anyone can help me solve this (without a completely fresh installation of retropie!) I’d be very grateful. Where do I need to look for steamlink configs and stuff?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.