RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    RPI 4 Steamlink crashes [solved]

    Scheduled Pinned Locked Moved Help and Support
    steamlink
    12 Posts 2 Posters 1.7k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Can you modify /opt/retropie/configs/ports/steamlink/emulators.cfg and remove the XINIT: part from the launch command of steamlink ? Does it work with this modification ?

      S 2 Replies Last reply Reply Quote 0
      • S
        skip @mitu
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • S
          skip @mitu
          last edited by

          @mitu Thanks for the reply

          I edited the emulators.cfg to the following
          a960b834-03fa-44ca-bf48-47f38a218361-image.png

          And now when I launch SteamLink from the Ports menu it loads and goes back to Retropie

          Here the log file
          b8dcacd0-3c97-4db8-b94c-fc8eac3cfdc6-image.png

          Thank you

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @skip
            last edited by

            @skip Are you running the latest version or you're still running the downgraded version (1.1.62.158) ?

            S 1 Reply Last reply Reply Quote 0
            • S
              skip @mitu
              last edited by

              @mitu You're right, sorry!

              Thanks for the reminder! I had not that much sleep tonight and forgot about that.

              I am running 1.1.92.230now and this is the log

              Parameters:
              Executing: /opt/retropie/ports/steamlink/steamlink_xinit.sh
              xset:  unable to open display ""
              matchbox: can't open display! check your DISPLAY variable.
              Added controller with mapping 030000005e0400008e02000014016800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:$
              INFO: Connected to Remote Client service with session 8196955630107934252
              Bad thread local
              
              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by mitu

                Same error, I see. I'll have to give it a test on Buster, I think the changes for Bullseye support in Steamlink may have broke something on Buster.

                S 1 Reply Last reply Reply Quote 0
                • S
                  skip @mitu
                  last edited by

                  @mitu I'll try to downgrade to the last version (1.1.86.210) before bullseye's experimental support and report back to you

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    skip @skip
                    last edited by

                    I tried

                    • 1.1.86.210
                      Gave the bad thread error

                    • 1.1.82.201

                    Parameters: 
                    Executing: /opt/retropie/ports/steamlink/steamlink_xinit.sh
                    xset:  unable to open display ""
                    matchbox: can't open display! check your DISPLAY variable.
                    * failed to add service - already in use?
                    
                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by mitu

                      I can't reproduce the issue.
                      I started steamlink and it updated itself to version 1.1.92.230 automatically, then it started the remote play once I pressed on the Start Playing button. With the default emulators.cfg, steamlink is started from a X.org (desktop) session, but the latest versions (since 'bullseye' X-less playback was added) also work without a desktop session.

                      FWIW, I'm using a similar setup, with a Pi4 4Gb model. In the log file, the same error appears (Bad thread local), but only when I exit steamlink.

                      One thing to check - the new version may have changed the controller button mappings, so when you press the Start Playing you may actually instruct steamlink to exit. Can you try pressing the 'other' button when you're on Start Playing (i.e. press A of you were pressing B or vice-versa) ?

                      NOTE: before testing, make sure you upgrade to the latest version and add back the XINIT: stanza in emulators.cfg. You may also start steamlink from the command line if you want, after exiting EmulationStation.

                      S 2 Replies Last reply Reply Quote 0
                      • S
                        skip @mitu
                        last edited by

                        @mitu Thank you for taking the time, I will verify and get back to you

                        1 Reply Last reply Reply Quote 0
                        • S
                          skip @mitu
                          last edited by

                          @mitu OMG, I am so sorry for wasting your time. Yes, it was the button setup and I was exiting the application all the time. I think we can mark this as solved and as Layer 8 issue.

                          Thank you again for your patience and time.

                          1 Reply Last reply Reply Quote 1
                          • 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.