• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Steam/Moonlight - Running games directly from EmulationStation

Scheduled Pinned Locked Moved Help and Support
moonlight
18 Posts 2 Posters 4.1k 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.
  • M
    mitu Global Moderator @StonedEdge
    last edited by 26 Aug 2022, 10:01

    @StonedEdge said in Steam/Moonlight - Running games directly from EmulationStation:

    The only issue I’ve found with Pegasus-FE and moonlight is that HDMI blanks (i.e the HDMI signal completely cuts off) consistently after 10 mins of streaming. The stream however keeps running fine as audio is present and my controller still functions as normal.

    It's the screensaver.

    S 1 Reply Last reply 26 Aug 2022, 12:02 Reply Quote 1
    • S
      StonedEdge @mitu
      last edited by 26 Aug 2022, 12:02

      @mitu

      Ah, gotcha! Is there a way to disable that? I assume with xscreensaver?

      Check out my build logs below:
      Wii SPii (Wii in a GBA SP Shell)
      https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
      Retro Lite CM4
      https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

      M 1 Reply Last reply 27 Aug 2022, 06:36 Reply Quote 0
      • M
        mitu Global Moderator @StonedEdge
        last edited by 27 Aug 2022, 06:36

        @StonedEdge said in Steam/Moonlight - Running games directly from EmulationStation:

        Ah, gotcha! Is there a way to disable that?

        Yes, your desktop environment should have some settings to disable the screensaver or monitor blanking. What is your desktop env ?

        I assume with xscreensaver?

        I doubt it.

        S 1 Reply Last reply 27 Aug 2022, 11:00 Reply Quote 0
        • S
          StonedEdge @mitu
          last edited by StonedEdge 27 Aug 2022, 11:00

          @mitu I’m using the standard LXDE package with the official RetroPie image, installed from RetroPie-Setup. I tried installing xscreensaver and disabling it that way but unfortunately the screen is still blanking... tvservice -p command brings it back to life so its definitely something to do with the blanking... despite it being disabled, strange...

          Check out my build logs below:
          Wii SPii (Wii in a GBA SP Shell)
          https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
          Retro Lite CM4
          https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

          1 Reply Last reply Reply Quote 0
          • M
            mitu Global Moderator
            last edited by 27 Aug 2022, 17:23

            Run

            xset -dpms s off s noblank
            

            after starting desktop session and before starting any program.

            S 2 Replies Last reply 28 Aug 2022, 07:33 Reply Quote 0
            • S
              StonedEdge @mitu
              last edited by StonedEdge 28 Aug 2022, 07:33

              @mitu Hmm, unfortunately this didn't seem to work. I tried adding the below to the moonlight.sh script in the /opt/retropie/supplementary/moonlight directory, but it didn't seem to change anything... EDIT: Nvm, turns out the dpms commands wouldn't work for me unless I enabled it. See here: https://forums.linuxmint.com/viewtopic.php?t=329548

              #!/usr/bin/env bash
              export XDG_DATA_DIRS=/opt/retropie/supplementary/moonlight/share
              export XDG_CONFIG_DIR=/opt/retropie/configs/all
              export XDG_CACHE_DIR=/opt/retropie/configs/all
              xset -dpms s off s noblank
              /opt/retropie/supplementary/moonlight/bin/moonlight "$@" -audio default

              Check out my build logs below:
              Wii SPii (Wii in a GBA SP Shell)
              https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
              Retro Lite CM4
              https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

              1 Reply Last reply Reply Quote 0
              • S
                StonedEdge @mitu
                last edited by StonedEdge 28 Aug 2022, 12:37

                @mitu

                After to speaking to the developer it seems that Pegasus-FE doesn’t run in an X11 environment but rather on top of Open GLES/EGL, so perhaps X11 commands don’t work here. Is there a way to pause it somehow using EGLFS that you’re familiar with? Perhaps xset commands have no affect...

                Check out my build logs below:
                Wii SPii (Wii in a GBA SP Shell)
                https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
                Retro Lite CM4
                https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by 28 Aug 2022, 15:30

                  @StonedEdge said in Steam/Moonlight - Running games directly from EmulationStation:

                  After to speaking to the developer it seems that Pegasus-FE doesn’t run in an X11 environment but rather on top of Open GLES/EGL, so perhaps X11 commands don’t work here. Is there a way to pause it somehow using EGLFS that you’re familiar with? Perhaps xset commands have no affect...

                  This is the same display method used by EmulationStation, so there shouldn't be a difference here. Most likely Pegasus is not controlling the display video during a gameplay so I don't think it has any influence on how the display blanking is checked.

                  S 2 Replies Last reply 28 Aug 2022, 15:36 Reply Quote 1
                  • S
                    StonedEdge @mitu
                    last edited by StonedEdge 28 Aug 2022, 15:36

                    @mitu Hmm, OK then. Well I'm a bit stumped... tvservice -p brings back the display entirely so it is definitely a HDMI related blanking problem.

                    Check out my build logs below:
                    Wii SPii (Wii in a GBA SP Shell)
                    https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
                    Retro Lite CM4
                    https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

                    1 Reply Last reply Reply Quote 0
                    • S
                      StonedEdge @mitu
                      last edited by 29 Aug 2022, 03:53

                      @mitu

                      OK, finally figured it out!

                      https://stackoverflow.com/questions/25149143/linux-kernel-consoleblank-argument-ignored

                      Needed to add export QT_QPA_PRESERVE_CONSOLE_STATE=1 to the autostart file. It seems the consoleblank=0 gets overriden by Qt applications. Seems like a bit of an undesirable behaviour but glad it works now.

                      Check out my build logs below:
                      Wii SPii (Wii in a GBA SP Shell)
                      https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
                      Retro Lite CM4
                      https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

                      1 Reply Last reply Reply Quote 1
                      18 out of 18
                      • First post
                        18/18
                        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.

                        This community forum collects and processes your personal information.
                        consent.not_received