RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    SteamLink for Raspberry Pi Released

    Scheduled Pinned Locked Moved General Discussion and Gaming
    steamstreamingmoonlightsteamlink
    75 Posts 23 Posters 30.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thezoofT
      thezoof @mitu
      last edited by thezoof

      @mitu said in SteamLink for Raspberry Pi Released:

      BGM script

      @psyke83

      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.

      P 1 Reply Last reply Reply Quote 0
      • P
        psyke83 Global Moderator @thezoof
        last edited by psyke83

        @thezoof said in SteamLink for Raspberry Pi Released:

        @psyke83

        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 named streaming_client, so you may need to add that as well.

        thezoofT 1 Reply Last reply Reply Quote 1
        • W
          WonderBoy
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • jasonwJ
            jasonw
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • SwampyS
              Swampy
              last edited by

              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
              

              Linux is like wigwam: no Gates, no Windows and Apache inside.

              jasonwJ 1 Reply Last reply Reply Quote 0
              • jasonwJ
                jasonw @Swampy
                last edited by

                @Swampy I’m running retropie 4.4.4 on a 3B+. I’ll give your suggestion a try this weekend, thanks!

                1 Reply Last reply Reply Quote 0
                • SwampyS
                  Swampy
                  last edited by

                  @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.

                  Linux is like wigwam: no Gates, no Windows and Apache inside.

                  jasonwJ 1 Reply Last reply Reply Quote 0
                  • jasonwJ
                    jasonw @Swampy
                    last edited by

                    @Swampy Windows 10.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Purduecoz
                      last edited by

                      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

                      V 1 Reply Last reply Reply Quote 0
                      • thezoofT
                        thezoof @psyke83
                        last edited by

                        @psyke83 said in SteamLink for Raspberry Pi Released:

                        @thezoof said in SteamLink for Raspberry Pi Released:

                        @psyke83

                        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 named streaming_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.

                        1 Reply Last reply Reply Quote 0
                        • thezoofT
                          thezoof
                          last edited by

                          Got it to work. I had to re-run the script - duh!

                          R 1 Reply Last reply Reply Quote 0
                          • P
                            psyke83 Global Moderator
                            last edited by

                            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).

                            1 Reply Last reply Reply Quote 1
                            • R
                              ralh
                              last edited by ralh

                              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?

                              1 Reply Last reply Reply Quote 0
                              • P
                                psyke83 Global Moderator
                                last edited by

                                @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 xorgpackage. I'll add that to the depends of the scriptmodule later, but you don't need to wait - just manually install it yourself.

                                1 Reply Last reply Reply Quote 1
                                • R
                                  ralh
                                  last edited by

                                  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 say allowed_users=anybody everything works.

                                  Thanks for help!

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    psyke83 Global Moderator @ralh
                                    last edited by

                                    @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 say allowed_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.

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      PureSmoke @psyke83
                                      last edited by

                                      @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?

                                      1 Reply Last reply Reply Quote 0
                                      • BazB
                                        Baz
                                        last edited by

                                        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?

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          hhromic @Baz
                                          last edited by hhromic

                                          @Baz after uninstalling (and before reinstalling), try deleting the following directories:

                                          $HOME/.local/share/SteamLink
                                          $HOME/.local/share/Valve Corporation
                                          

                                          Also check in your $HOME/.config and $HOME/.cache directories for any traces of steam link.

                                          1 Reply Last reply Reply Quote 1
                                          • R
                                            RetroAK
                                            last edited by

                                            Has this been pulled?
                                            I'm running 4.4.4, made sure my retropie_setup script is up to date by running an update just now, yet I'm not seeing "steamlink" in the experimental extentions.
                                            I recently joined the retropie community and setup my rom machine just a couple weeks ago. Can't imagine why I'm not seeing this listed... would love to have this integrated in emulationstation.

                                            mituM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.