Gamestreaming Package+Sources Relase

Talking about OS and emulation core development
AreaScout
Posts: 1718
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 103 times
Been thanked: 317 times
Contact:

Re: Gamestreaming Package+Sources Relase

Post by AreaScout »

xperia64 wrote:
Wed Jan 27, 2021 11:38 am
the SDL backend seemingly works fine with H264 and HEVC at 720p30 and 720p60 (albeit with higher latency)
The SDL2 backend can be done faster if you add the transform rotation directly to FFmpeg and use vanilla SDL2 without rotation patch, it should became nearly or equally as fast as the RK video backend, I did that already last year in March :ugeek:

RG

ShotGlass215
Posts: 3
Joined: Sun Jan 31, 2021 7:30 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Gamestreaming Package+Sources Relase

Post by ShotGlass215 »

Hello! Just got my Odroid Go Super today. I downloaded and installed TheRA-OGS-OGA-RC1.img . I changed the ip to the steam pc ip. Changed the IP in the moonlight.sh file, rebooted the Odroid, but Moonlight simply goes black, then return to the menu screen. What am i mssing? Thanks for your time with my newbie question. Loving the Odroid so far. Cheers

AreaScout
Posts: 1718
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 103 times
Been thanked: 317 times
Contact:

Re: Gamestreaming Package+Sources Relase

Post by AreaScout »

    You have to pair with your streaming PC first

    Code: Select all

    moonlight pair 192.168.1.2
    RG
    These users thanked the author AreaScout for the post:
    ShotGlass215 (Mon Feb 01, 2021 1:41 am)

    ShotGlass215
    Posts: 3
    Joined: Sun Jan 31, 2021 7:30 am
    languages_spoken: english
    Has thanked: 2 times
    Been thanked: 0
    Contact:

    Re: Gamestreaming Package+Sources Relase

    Post by ShotGlass215 »

    yeah i read that, but when i try to putty SSH into the odroid it asks for a username and password. I've searched the forums and google and i cannot find the info.

    AreaScout
    Posts: 1718
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell, Go2, C4
    Has thanked: 103 times
    Been thanked: 317 times
    Contact:

    Re: Gamestreaming Package+Sources Relase

    Post by AreaScout »

      And how did you edit the moonlight.sh file if you do not have a password ?

      edit: If it's based on the stock image, it's user: odroid pass: odroid
      Last edited by AreaScout on Tue Feb 02, 2021 5:42 am, edited 1 time in total.
      These users thanked the author AreaScout for the post:
      ShotGlass215 (Tue Feb 02, 2021 12:36 am)

      ShotGlass215
      Posts: 3
      Joined: Sun Jan 31, 2021 7:30 am
      languages_spoken: english
      Has thanked: 2 times
      Been thanked: 0
      Contact:

      Re: Gamestreaming Package+Sources Relase

      Post by ShotGlass215 »

      moonlight.sh is in 'ROMS/moonlight/' directory in a free share on the image.
      Thanks for the username and password.

      NateMac00
      Posts: 5
      Joined: Fri Feb 05, 2021 7:45 am
      languages_spoken: english
      ODROIDs: ODROID-GO Super
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Gamestreaming Package+Sources Relase

      Post by NateMac00 »

      So I literally received my Super today, so far all I’ve done is install Emuelec, is there a way to add this to Emuelec or is this something separate all together? Sorry for the newbie questions.

      AreaScout
      Posts: 1718
      Joined: Sun Jul 07, 2013 3:05 am
      languages_spoken: german, english
      ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
      N1, Go, VU5A, Show2, CloudShell2,
      H2, N2, VU7A, VuShell, Go2, C4
      Has thanked: 103 times
      Been thanked: 317 times
      Contact:

      Re: Gamestreaming Package+Sources Relase

      Post by AreaScout »

        @NateMac00

        Best is to ask this shanti in this thread viewtopic.php?f=193&t=37516 he is the guy behind EmuELEC, other then that you can try to install the deb package on EmuELEC but I doubt it will work, or you can test it with the stock image from HK following the instructions on the first page

        NateMac00
        Posts: 5
        Joined: Fri Feb 05, 2021 7:45 am
        languages_spoken: english
        ODROIDs: ODROID-GO Super
        Has thanked: 0
        Been thanked: 0
        Contact:

        Re: Gamestreaming Package+Sources Relase

        Post by NateMac00 »

        AreaScout wrote:
        Fri Feb 05, 2021 10:11 pm
          @NateMac00

          Best is to ask this shanti in this thread viewtopic.php?f=193&t=37516 he is the guy behind EmuELEC, other then that you can try to install the deb package on EmuELEC but I doubt it will work, or you can test it with the stock image from HK following the instructions on the first page
          Thanks for the info!

          AreaScout
          Posts: 1718
          Joined: Sun Jul 07, 2013 3:05 am
          languages_spoken: german, english
          ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
          N1, Go, VU5A, Show2, CloudShell2,
          H2, N2, VU7A, VuShell, Go2, C4
          Has thanked: 103 times
          Been thanked: 317 times
          Contact:

          Re: Gamestreaming Package+Sources Relase

          Post by AreaScout »

            Game tip for all streaming fans out there !

            These users thanked the author AreaScout for the post (total 2):
            odroid (Mon Feb 08, 2021 10:02 am) • meveric (Thu Apr 01, 2021 6:13 pm)

            fifounet75
            Posts: 2
            Joined: Sun Feb 07, 2021 9:05 pm
            languages_spoken: english
            ODROIDs: Odroid go super
            Has thanked: 0
            Been thanked: 0
            Contact:

            Re: Gamestreaming Package+Sources Relase

            Post by fifounet75 »

            Hello, everyone !! Thanks for all your work !!

            I only have a question... some of my game don't seems to shutdown properly... and I'm stuck on my windows frame...

            So with the odroid go super is stuck with moonlight... I must go in command line to kill moonlight.. but I'm unable to restart the same game...

            I try the moonlight-qt which is able to go out with L1 + R1 + start + select and force quit the game but the qt version is not done for the odroid go super...

            regards

            AreaScout
            Posts: 1718
            Joined: Sun Jul 07, 2013 3:05 am
            languages_spoken: german, english
            ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
            N1, Go, VU5A, Show2, CloudShell2,
            H2, N2, VU7A, VuShell, Go2, C4
            Has thanked: 103 times
            Been thanked: 317 times
            Contact:

            Re: Gamestreaming Package+Sources Relase

            Post by AreaScout »

              Hi, try to add -quitappafter command line switch to moonlight if you have troubles quit NVIDIA Shield game stream

              fifounet75
              Posts: 2
              Joined: Sun Feb 07, 2021 9:05 pm
              languages_spoken: english
              ODROIDs: Odroid go super
              Has thanked: 0
              Been thanked: 0
              Contact:

              Re: Gamestreaming Package+Sources Relase

              Post by fifounet75 »

              thanks !!
              It worked !!

              KingSavag3
              Posts: 2
              Joined: Tue Mar 09, 2021 11:17 am
              languages_spoken: english
              ODROIDs: OGA BE
              Has thanked: 0
              Been thanked: 0
              Contact:

              Re: Gamestreaming Package+Sources Relase

              Post by KingSavag3 »

              Hello, I am having issues getting this to work on my odroid go advance black edition. Once I open moonlight it goes black then returns to the main menu.
              I am currently using theRA-OGS-RC2 image, I added my IP address and it gave me this response
              librga:RGA_GET_VERSION:4.00,4.000000
              ctx=0x55c72214f0,ctx->rgaFd=3
              Rga built version:version:+2017-09-28 10:12:42
              Connect to xx.xxx.xxx.xx
              Please enter the following PIN on the target PC: 6896
              Failed to pair to server: Already paired

              Shoesy
              Posts: 93
              Joined: Sat Jul 18, 2020 1:26 am
              languages_spoken: english
              ODROIDs: Odroid Go Advance
              Has thanked: 9 times
              Been thanked: 8 times
              Contact:

              Re: Gamestreaming Package+Sources Relase

              Post by Shoesy »

              Sounds like you’re there - did you try running the script from the front end after that?

              KingSavag3
              Posts: 2
              Joined: Tue Mar 09, 2021 11:17 am
              languages_spoken: english
              ODROIDs: OGA BE
              Has thanked: 0
              Been thanked: 0
              Contact:

              Re: Gamestreaming Package+Sources Relase

              Post by KingSavag3 »

              what script

              Shoesy
              Posts: 93
              Joined: Sat Jul 18, 2020 1:26 am
              languages_spoken: english
              ODROIDs: Odroid Go Advance
              Has thanked: 9 times
              Been thanked: 8 times
              Contact:

              Re: Gamestreaming Package+Sources Relase

              Post by Shoesy »

              Moonlight app (probably not a script - just the link in your os)

              AreaScout
              Posts: 1718
              Joined: Sun Jul 07, 2013 3:05 am
              languages_spoken: german, english
              ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
              N1, Go, VU5A, Show2, CloudShell2,
              H2, N2, VU7A, VuShell, Go2, C4
              Has thanked: 103 times
              Been thanked: 317 times
              Contact:

              Re: Gamestreaming Package+Sources Relase

              Post by AreaScout »

              KingSavag3 wrote:
              Tue Mar 09, 2021 11:23 am
              Hello, I am having issues getting this to work on my odroid go advance black edition. Once I open moonlight it goes black then returns to the main menu.
              I am currently using theRA-OGS-RC2 image, I added my IP address and it gave me this response
              librga:RGA_GET_VERSION:4.00,4.000000
              ctx=0x55c72214f0,ctx->rgaFd=3
              Rga built version:version:+2017-09-28 10:12:42
              Connect to xx.xxx.xxx.xx
              Please enter the following PIN on the target PC: 6896
              Failed to pair to server: Already paired
                Delete the directory .cache/moonlight/ inside your home directory

                Shoesy
                Posts: 93
                Joined: Sat Jul 18, 2020 1:26 am
                languages_spoken: english
                ODROIDs: Odroid Go Advance
                Has thanked: 9 times
                Been thanked: 8 times
                Contact:

                Re: Gamestreaming Package+Sources Relase

                Post by Shoesy »

                Is moonlight-qt still on the horizon? I’m using moonlight so much now I’d like to build a dedicated streaming card :)

                deerwings
                Posts: 181
                Joined: Mon Oct 08, 2018 9:11 am
                languages_spoken: english
                ODROIDs: Odroid Go, Odroid Go Advance, Odroid Go Super
                Has thanked: 4 times
                Been thanked: 16 times
                Contact:

                Re: Gamestreaming Package+Sources Relase

                Post by deerwings »

                Any idea if there's an update? I updated my nVidia drivers the other day, and while there's a Moonlight update for PC that seems to be fine, Moonlight-embeddded doesn't work now. And I had it working *perfectly* before!

                AreaScout
                Posts: 1718
                Joined: Sun Jul 07, 2013 3:05 am
                languages_spoken: german, english
                ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                N1, Go, VU5A, Show2, CloudShell2,
                H2, N2, VU7A, VuShell, Go2, C4
                Has thanked: 103 times
                Been thanked: 317 times
                Contact:

                Re: Gamestreaming Package+Sources Relase

                Post by AreaScout »

                Shoesy wrote:
                Thu Apr 01, 2021 3:48 pm
                Is moonlight-qt still on the horizon? I’m using moonlight so much now I’d like to build a dedicated streaming card :)
                moonlight-qt is rarely used on the Go but moonlight-embedded a lot -> why ? Only to install Qt5 on your Go costs you a 560MB download and I think some dependencies +, so for image builders this is not welcome and not easy to maintain
                deerwings wrote:
                Sun Apr 11, 2021 11:13 am
                Any idea if there's an update? I updated my nVidia drivers the other day, and while there's a Moonlight update for PC that seems to be fine, Moonlight-embeddded doesn't work now. And I had it working *perfectly* before!
                No update needed, works flawlessly here, but I had to disable the windows firewall for private network to make it work ... it seems to be a Microsoft problem then, thought I had that ports already explicitly open

                In a PowerShell with administrator rights add this firewall rules:

                Code: Select all

                netsh advfirewall firewall add rule name="GameStream UDP" dir=in protocol=udp localport=5353,47998-48010 action=allow profile=private
                netsh advfirewall firewall add rule name="GameStream TCP" dir=in protocol=tcp localport=47984,47989,48010 action=allow profile=private
                
                RG

                deerwings
                Posts: 181
                Joined: Mon Oct 08, 2018 9:11 am
                languages_spoken: english
                ODROIDs: Odroid Go, Odroid Go Advance, Odroid Go Super
                Has thanked: 4 times
                Been thanked: 16 times
                Contact:

                Re: Gamestreaming Package+Sources Relase

                Post by deerwings »

                AreaScout wrote:
                Sun Apr 11, 2021 5:57 pm
                deerwings wrote:
                Sun Apr 11, 2021 11:13 am
                Any idea if there's an update? I updated my nVidia drivers the other day, and while there's a Moonlight update for PC that seems to be fine, Moonlight-embeddded doesn't work now. And I had it working *perfectly* before!
                No update needed, works flawlessly here, but I had to disable the windows firewall for private network to make it work ... it seems to be a Microsoft problem then, thought I had that ports already explicitly open

                In a PowerShell with administrator rights add this firewall rules:

                Code: Select all

                netsh advfirewall firewall add rule name="GameStream UDP" dir=in protocol=udp localport=5353,47998-48010 action=allow profile=private
                netsh advfirewall firewall add rule name="GameStream TCP" dir=in protocol=tcp localport=47984,47989,48010 action=allow profile=private
                
                RG
                Thanks, but that doesn't work. GeForce experience 3.22 update breaks it. I had to update Moonlight on my other units and it accesses things just fine, but on my OGS it connects but gets no display. If I look at console and try running something there, it gives me an RTSP truncated error. The problem is a GeForce Experience update that breaks it. I know it is running because I can watch the application open through a Moonlight list on another machine and watch when the app shows that it's running, but there is no audio and video. This is a problem with the Moonlight package on the OGS, and can only be fixed by reverting back to my previous install of GeForce Experience. Something needs to be updated in Moonlight-embedded to fix this. I have no problem recompiling it if there is a moonlight-embedded update to coincide with the moonlight-qt update that works fine. But moonlight-embedded seems to be a version behind.

                I found a fix on the GeForce Experience forum that HOPEFULLY fixes the problem by creating a dummy .json in the Nvidia corporation downloader folder as well as added some hosts redirects. HOPEFULLY this works. At least until we get told there's a moonlight-embedded fix. When Moonlight is working, it works *great* on this, no screen tearing or anything and I use it for Moonlight streaming frequently when I'm at my workdesk.

                AreaScout
                Posts: 1718
                Joined: Sun Jul 07, 2013 3:05 am
                languages_spoken: german, english
                ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                N1, Go, VU5A, Show2, CloudShell2,
                H2, N2, VU7A, VuShell, Go2, C4
                Has thanked: 103 times
                Been thanked: 317 times
                Contact:

                Re: Gamestreaming Package+Sources Relase

                Post by AreaScout »

                  Ok today I also got the new GeForce Experience (3.22) and you are right, upstream moonlight-embedded has updated there moonlight-common-c submodule today, I have merged the changes you can try to build it for your own, I was also trying it but got a segfault :( I do not have much time maybe I can test more on the weekend, maybe you have more luck !

                  RG
                  These users thanked the author AreaScout for the post:
                  odroid (Thu Apr 15, 2021 8:51 am)

                  User avatar
                  meveric
                  Posts: 11613
                  Joined: Mon Feb 25, 2013 2:41 pm
                  languages_spoken: german, english
                  ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
                  Has thanked: 71 times
                  Been thanked: 514 times
                  Contact:

                  Re: Gamestreaming Package+Sources Relase

                  Post by meveric »

                  I'm very happy with sunshine instead of GFE.
                  It's rather stable and even if it doesn't support hardware encoding (under Linux) everything I tried so for on my laptop was working mighty fine without stressing the CPU too much.
                  In fact I even use to to watch my shows that run on the laptop on my cellphone when I need to leave to room for whatever reason. It's quite handy.
                  So as long as GFE is broken, you could try switching to sunshine for a while until a new version of moonlight-embedded can be build.
                  Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
                  Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
                  If you want to add my repository to your image read my HOWTO integrate my repo into your image.

                  AreaScout
                  Posts: 1718
                  Joined: Sun Jul 07, 2013 3:05 am
                  languages_spoken: german, english
                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                  N1, Go, VU5A, Show2, CloudShell2,
                  H2, N2, VU7A, VuShell, Go2, C4
                  Has thanked: 103 times
                  Been thanked: 317 times
                  Contact:

                  Re: Gamestreaming Package+Sources Relase

                  Post by AreaScout »

                    meveric wrote:
                    Thu Apr 15, 2021 5:30 pm
                    So as long as GFE is broken, you could try switching to sunshine for a while until a new version of moonlight-embedded can be build.
                    It's not completely broken, SDL back-end is still working, it's just the Rockchip back-end which is broken, I hope it's only the package size or something that has changed :shock:

                    AreaScout
                    Posts: 1718
                    Joined: Sun Jul 07, 2013 3:05 am
                    languages_spoken: german, english
                    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                    N1, Go, VU5A, Show2, CloudShell2,
                    H2, N2, VU7A, VuShell, Go2, C4
                    Has thanked: 103 times
                    Been thanked: 317 times
                    Contact:

                    Re: Gamestreaming Package+Sources Relase

                    Post by AreaScout »

                      @deerwings

                      Never mind, the problem is fixed, I found some time to test again, the segfault was happen because it was loading the old libmoonlight-rk.so library, tested with the new fixed one and it works, I will upload new packages this weekend

                      Here is the change set to the corresponding commit https://github.com/irtimmer/moonlight-c ... 8c0801e032

                      RG
                      These users thanked the author AreaScout for the post:
                      odroid (Fri Apr 16, 2021 9:51 am)

                      AreaScout
                      Posts: 1718
                      Joined: Sun Jul 07, 2013 3:05 am
                      languages_spoken: german, english
                      ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                      N1, Go, VU5A, Show2, CloudShell2,
                      H2, N2, VU7A, VuShell, Go2, C4
                      Has thanked: 103 times
                      Been thanked: 317 times
                      Contact:

                      Re: Gamestreaming Package+Sources Relase

                      Post by AreaScout »

                        @all

                        New moonlight-embedded_2.4.11-2 package with GFE 3.22 support available to download

                        Download on first page or here ->


                        >>>> Download moonlight-embedded 2.4.11-2 <<<<

                        RG and have fun
                        These users thanked the author AreaScout for the post:
                        odroid (Mon Apr 19, 2021 9:38 am)

                        AreaScout
                        Posts: 1718
                        Joined: Sun Jul 07, 2013 3:05 am
                        languages_spoken: german, english
                        ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                        N1, Go, VU5A, Show2, CloudShell2,
                        H2, N2, VU7A, VuShell, Go2, C4
                        Has thanked: 103 times
                        Been thanked: 317 times
                        Contact:

                        Re: Gamestreaming Package+Sources Relase

                        Post by AreaScout »

                          @all

                          Yet another moonlight-embedded_2.4.11-3 package with two new changes available to download

                          • Changed random Client ID to the same as official Moonlight
                          • Fixed trigger left/right range (SDL)


                          Download on first page or here ->


                          >>>> Download moonlight-embedded 2.4.11-3 <<<<

                          RG and have fun
                          These users thanked the author AreaScout for the post (total 2):
                          odroid (Mon Apr 26, 2021 9:42 am) • southoz (Fri Jun 18, 2021 3:06 pm)

                          deerwings
                          Posts: 181
                          Joined: Mon Oct 08, 2018 9:11 am
                          languages_spoken: english
                          ODROIDs: Odroid Go, Odroid Go Advance, Odroid Go Super
                          Has thanked: 4 times
                          Been thanked: 16 times
                          Contact:

                          Re: Gamestreaming Package+Sources Relase

                          Post by deerwings »

                          To make it easier for anyone trying to install, here's what I did:

                          Code: Select all

                          #!/bin/bash
                          sudo apt-get install libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libexpat1-dev cmake uuid-dev libenet-dev libpulse-dev libdrm-dev;
                          git clone https://github.com/rockchip-linux/linux-rga.git;
                          cd linux-rga;
                          sudo apt install meson ninja-build;
                          meson -Dlibdrm=true --prefix=/usr build/;
                          ninja -C build;
                          sudo ninja -C build install;
                          cd ~;
                          git clone https://github.com/rockchip-linux/mpp.git;
                          cd mpp;
                          cmake -DRKPLATFORM=ON -DHAVE_DRM=ON .;
                          make -j3;
                          sudo make install;
                          git clone https://github.com/AreaScout/moonlight-embedded.git --recursive;
                          cd moonlight-embedded/;
                          mkdir build && cd build;
                          cmake  ../.;
                          make -j3;
                          strip moonlight;
                          sudo apt-get install libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libexpat1-dev cmake uuid-dev libenet-dev libpulse-dev libbz2-dev liblzma-dev libdrm-dev;
                          wget https://www.areascout.at/libsdl2_2.0.10_arm64.deb;
                          wget https://www.areascout.at/libsdl2-dev_2.0.10_arm64.deb;
                          sudo apt install ./libsdl2_2.0.10_arm64.deb;
                          sudo apt install ./libsdl2-dev_2.0.10_arm64.deb;
                          git clone https://github.com/rockchip-linux/linux-rga.git;
                          cd linux-rga;
                          sudo apt install meson ninja-build;
                          meson -Dlibdrm=true --prefix=/usr build/;
                          ninja -C build;
                          sudo ninja -C build install;
                          cd ~;
                          git clone https://github.com/rockchip-linux/mpp.git;
                          cd mpp;
                          cmake -DRKPLATFORM=ON -DHAVE_DRM=ON .;
                          make -j3;
                          sudo make install;
                          git clone https://github.com/JeffyCN/FFmpeg.git;
                          cd FFmpeg;
                          wget -O FFmpeg.patch https://pastebin.com/raw/1m3j6st9;
                          patch -p1 < FFmpeg.patch;
                          ./configure --enable-gpl --disable-vaapi --enable-pthreads --enable-neon --enable-vfp --enable-rkmpp --enable-librga --enable-version3 --enable-libdrm --enable-shared --enable-static;
                          make -j3;
                          cd ~;
                          git clone https://github.com/AreaScout/moonlight-embedded.git --recursive;
                          cd moonlight-embedded/;
                          mkdir build && cd build;
                          cmake  -DUSE_CUSTOM_FFMPEG=ON -DFFMPEG_HOME:STRING=/home/odroid/FFmpeg ../.;
                          make -j3;
                          strip moonlight;
                          wget https://www.areascout.at/moonlight-embedded_2.4.11-3_arm64.deb;
                          sudo dpkg -i moonlight-embedded_2.4.11-3_arm64.deb;
                          sudo ldconfig;
                          
                          Stuck the above code in an install-moonlight.sh and chmod +ax install-moonlight.sh, then ran as a regular user and it just worked. Might need to reboot. Figured sticking everything in a single code snippet for people that might get confused with all the stuff on the previous pages. Much thanks to everyone who made this all possible!
                          These users thanked the author deerwings for the post (total 2):
                          odroid (Mon Aug 09, 2021 9:14 am) • Josh86 (Fri Aug 13, 2021 3:15 am)

                          AreaScout
                          Posts: 1718
                          Joined: Sun Jul 07, 2013 3:05 am
                          languages_spoken: german, english
                          ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                          N1, Go, VU5A, Show2, CloudShell2,
                          H2, N2, VU7A, VuShell, Go2, C4
                          Has thanked: 103 times
                          Been thanked: 317 times
                          Contact:

                          Re: Gamestreaming Package+Sources Relase

                          Post by AreaScout »


                            @deerwings

                            Cool script, but you do not have to build FFmpeg, my moonlight binary is linked static against it, that's why the binary has 11MB default would be a few hundred kb only

                            @all

                            New moonlight-embedded 2.5.1-1 package with a lot of changes since 2.4.11-3

                            • Mouse emulation support for evdev
                            • Fix initialization of mapping structs
                            • Update SDL_GameControllerDB
                            • Add DRM_FORMAT_NV12_10 definition for RK backend …
                            • Fix pressing unmapped buttons causing unexpected inputs
                            • Revert "Fix pressing unmapped buttons causing unexpected inputs" …
                            • Fix handling of buttons outside the normal joystick range …
                            • Fix null termination issue if /proc/cpuinfo was over 4KB
                            • Add parameter to disable gamepad mouse emulation
                            • Version 2.5.1

                            • Add MMAL video decoder
                            • Sent max FPS value of 60 when using SOPS …
                            • Warn about unsupported resolutions in combination with SOPS …
                            • forced omx rotation to 90 degrees
                            • initial touchscreen support (rotated 90 degrees for the moment)
                            • Added command line option to control omx rotation
                            • Added display rotation support to mmal decoder
                            • Included video.h in pi and mmal to give access to rotation flags
                            • Added transform flag to mmal display settings so rotation takes effect
                            • Applied display rotation to mouse movement in evdev
                            • refactored touchscreen code for clarity and safety, and removed hacke… …
                            • Emulating right click on touch screens with a long press
                            • Merge remote-tracking branch 'tomblind/touchscreen'
                            • Fix missed merging conflicts …
                            • Update moonlight-common-c
                            • Fix surround sound on a resumed session
                            • Fix frame rate locked to 60 FPS with GFE 3.20.3
                            • Fix gcc-10 compilation (fno-common flag enabled by default)
                            • moonlight-common-c: merge new upstream changes
                            • Fixed trigger left/right range …
                            • Changed random Client ID to the same as official Moonlight
                            • Merge branch 'clientid'
                            • Merge pull request moonlight-stream#814 from mariotaku/master …
                            • Randomized input IV
                            • Added missing import
                            • Merge pull request moonlight-stream#816 from mariotaku/master …
                            • Switch back to upstream moonlight-common-c
                            • Update urls in docs
                            • Fix copying rikeyid value
                            • Don't add X509v3 extensions …
                            • Avoid needless EVP_get_digestbyname() and EVP_DigestInit_ex() calls
                            • Never use audio callbacks for fake platform
                            • Use 48KHz sample rate for PA test to match the actual stream
                            • Update SPS fixup code to match current Qt/Android version
                            • Change default value of 'unsupported' to true to match other clients
                            • FFmpeg software decoding doesn't support RFI for HEVC
                            • FFmpeg VAAPI doesn't need slices and is incompatible with RFI
                            • Start plumbing 7.1 surround sound support
                            • Update SDL_GameControllerDB and convert it to a submodule
                            • Fix ALSA and PA mappings for 7.1 surround sound
                            • Default to 60 FPS at all resolutions …
                            • Use the same remote streaming and packet size defaults as other clients
                            • Enable audio encryption unless on a slow CPU
                            • Add AppVeyor CI
                            • Add Raspbian package build to CI
                            • Avoid deprecated av_init_packet() function
                            • Remove old reference to ENET_LIBRARIES
                            • Cleanup and optimize FFmpeg code
                            • Fix usage help after remote and FPS default changes
                            • Use moonlight-common-c definition for max channel count
                            • Add arbitrary audio duration support to all audio backends
                            • Pass RTSP session URL to moonlight-common-c
                            • Don't fail if SOPS isn't supported at the current resolution
                            • Don't prefix GPU type with 'NVIDIA'
                            • Fix left vs right modifiers, insert key, and super keys
                            • Add meta modifiers
                            • Add friendly messages for certain error cases
                            • Add half-axis support for triggers
                            • Add half-axis support for dpad
                            • Fix Pi fallback to ALSA/PA after 7109301
                            • Fix PulseAudio when manually specifying the audio device
                            • Fix surround channel mappings on PulseAudio
                            • Avoid stuck keys on disconnect and remove useless sleep
                            • Fix over-counting of evdev gamepads on stream start
                            • Ignore accelerometers and improve debugging of player numbers
                            • Remove gamepad from host when removed from client
                            • Avoid mapping PS4 trackpad as a gamepad
                            • Add a verbose print when a device is ignored as an accelerometer
                            • Version 2.5.0




                            Download on first page or here ->


                            >>>> Download moonlight-embedded 2.5.1-1 <<<<

                            RG and have fun

                            Please note that the binary get's installed now under /usr/bin and not anymore under /usr/local/bin so please do a sudo apt remove moonlight-embedded before install
                            These users thanked the author AreaScout for the post (total 2):
                            odroid (Tue Aug 10, 2021 10:06 am) • deerwings (Sat Sep 04, 2021 5:42 am)

                            AreaScout
                            Posts: 1718
                            Joined: Sun Jul 07, 2013 3:05 am
                            languages_spoken: german, english
                            ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                            N1, Go, VU5A, Show2, CloudShell2,
                            H2, N2, VU7A, VuShell, Go2, C4
                            Has thanked: 103 times
                            Been thanked: 317 times
                            Contact:

                            Re: Gamestreaming Package+Sources Relase

                            Post by AreaScout »

                            @all

                            Just want to inform you that sunshine the Gamestreaming server has improved a lot and new binaries are available to download from here https://github.com/loki-47-6F-64/sunshine/releases

                            In other words, you can now do super fast HW accelerated streaming with Nvidia or Intel GPU on Linux to devices running moonlight like the Go Super and you can do super fast HW accelerated streaming with Nvidia, AMD or Intel GPU on Windows to devices running moonlight like the Go Super, there is no limit for Nvidia GPU's anymore, that is extremely cool 8-) 👌🙏👍🤸‍♀️

                            RG
                            These users thanked the author AreaScout for the post:
                            odroid (Tue Aug 17, 2021 9:31 am)

                            Christian_Haitian
                            Posts: 61
                            Joined: Sat Nov 10, 2018 10:40 pm
                            languages_spoken: english
                            ODROIDs: Go, Go Advance
                            Has thanked: 26 times
                            Been thanked: 43 times
                            Contact:

                            Re: Gamestreaming Package+Sources Relase

                            Post by Christian_Haitian »

                            I am surprised that there’s not more conversation about how well this works. Even via a small 2.4ghz dongle, I am able to reliably stream games such as Broforce and gamecube games using the Dolphin emulator from my PC. Thank you to AreaScout for this wonderful feature addition to this platform.
                            These users thanked the author Christian_Haitian for the post:
                            AreaScout (Wed Sep 01, 2021 4:28 pm)
                            A jack of all trades is a master of none, but oftentimes better than a master of one

                            AreaScout
                            Posts: 1718
                            Joined: Sun Jul 07, 2013 3:05 am
                            languages_spoken: german, english
                            ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                            N1, Go, VU5A, Show2, CloudShell2,
                            H2, N2, VU7A, VuShell, Go2, C4
                            Has thanked: 103 times
                            Been thanked: 317 times
                            Contact:

                            Re: Gamestreaming Package+Sources Relase

                            Post by AreaScout »

                              Christian_Haitian wrote:
                              Mon Aug 30, 2021 3:24 pm
                              I am able to reliably stream games such as Broforce and gamecube games using the Dolphin emulator from my PC.
                              Thank you :), Just because you talked about the conversation, the coolest new feature on version 2.5 is that now you can toggle to use your thumbstick as mouse which is very good for i.e 'point an click' adventures, you can now just press the start button for some seconds to toggle this feature on and off, how cool is that !

                              RG
                              These users thanked the author AreaScout for the post:
                              odroid (Wed Sep 01, 2021 5:16 pm)

                              Christian_Haitian
                              Posts: 61
                              Joined: Sat Nov 10, 2018 10:40 pm
                              languages_spoken: english
                              ODROIDs: Go, Go Advance
                              Has thanked: 26 times
                              Been thanked: 43 times
                              Contact:

                              Re: Gamestreaming Package+Sources Relase

                              Post by Christian_Haitian »

                              AreaScout wrote:
                              Wed Sep 01, 2021 4:36 pm
                                Christian_Haitian wrote:
                                Mon Aug 30, 2021 3:24 pm
                                I am able to reliably stream games such as Broforce and gamecube games using the Dolphin emulator from my PC.
                                Thank you :), Just because you talked about the conversation, the coolest new feature on version 2.5 is that now you can toggle to use your thumbstick as mouse which is very good for i.e 'point an click' adventures, you can now just press the start button for some seconds to toggle this feature on and off, how cool is that !

                                RG
                                Very cool. Does this require a OGS with it's dual sticks? On my OGA 1.0, holding start doesn't allow me to move the mouse with the joystick. :|
                                A jack of all trades is a master of none, but oftentimes better than a master of one

                                Christian_Haitian
                                Posts: 61
                                Joined: Sat Nov 10, 2018 10:40 pm
                                languages_spoken: english
                                ODROIDs: Go, Go Advance
                                Has thanked: 26 times
                                Been thanked: 43 times
                                Contact:

                                Re: Gamestreaming Package+Sources Relase

                                Post by Christian_Haitian »

                                Ahh, looks like you have to use the rk platform so mouse will work. It doesn't work via sdl. Not sure if that was just missed or is expected behavior.
                                A jack of all trades is a master of none, but oftentimes better than a master of one

                                AreaScout
                                Posts: 1718
                                Joined: Sun Jul 07, 2013 3:05 am
                                languages_spoken: german, english
                                ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                N1, Go, VU5A, Show2, CloudShell2,
                                H2, N2, VU7A, VuShell, Go2, C4
                                Has thanked: 103 times
                                Been thanked: 317 times
                                Contact:

                                Re: Gamestreaming Package+Sources Relase

                                Post by AreaScout »

                                  Christian_Haitian wrote:
                                  Thu Sep 02, 2021 10:46 am
                                  Not sure if that was just missed or is expected behavior.
                                  No it is expected, the changes are made only inside the evdev input backend and not sdl, it would be a nice feature request to make the input backend also chose able via command line as well as the audio backend and be able to mix them

                                  RG
                                  These users thanked the author AreaScout for the post:
                                  Christian_Haitian (Fri Sep 03, 2021 2:15 pm)

                                  Christian_Haitian
                                  Posts: 61
                                  Joined: Sat Nov 10, 2018 10:40 pm
                                  languages_spoken: english
                                  ODROIDs: Go, Go Advance
                                  Has thanked: 26 times
                                  Been thanked: 43 times
                                  Contact:

                                  Re: Gamestreaming Package+Sources Relase

                                  Post by Christian_Haitian »

                                  I also should note that I had to rebuild moonlight from your git, AreaScout, in order to get the rk platform to work. With just installing the most recent .deb file you provided, rk only yielded a green screen with working audio and input. No video output on the oga. Once I built moonlight from your latest commit, I just copied the libmoonlight-rk.so to my existing setup for the OGA and it works great.
                                  A jack of all trades is a master of none, but oftentimes better than a master of one

                                  AreaScout
                                  Posts: 1718
                                  Joined: Sun Jul 07, 2013 3:05 am
                                  languages_spoken: german, english
                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                  N1, Go, VU5A, Show2, CloudShell2,
                                  H2, N2, VU7A, VuShell, Go2, C4
                                  Has thanked: 103 times
                                  Been thanked: 317 times
                                  Contact:

                                  Re: Gamestreaming Package+Sources Relase

                                  Post by AreaScout »

                                    The deb package must be ok, I think you had an old library left from 2.4.11 because the new deb package installs to prefix /usr and the old one to /usr/local, any old library left in that directory is loaded preferred before that one in /usr/lib, I had the same problem, so when you told green screen it just made a click on my side ;)

                                    RG
                                    These users thanked the author AreaScout for the post:
                                    Christian_Haitian (Fri Sep 03, 2021 9:43 pm)

                                    deerwings
                                    Posts: 181
                                    Joined: Mon Oct 08, 2018 9:11 am
                                    languages_spoken: english
                                    ODROIDs: Odroid Go, Odroid Go Advance, Odroid Go Super
                                    Has thanked: 4 times
                                    Been thanked: 16 times
                                    Contact:

                                    Re: Gamestreaming Package+Sources Relase

                                    Post by deerwings »

                                    AreaScout wrote:
                                    Tue Aug 10, 2021 2:31 am
                                      @deerwings

                                      Cool script, but you do not have to build FFmpeg, my moonlight binary is linked static against it, that's why the binary has 11MB default would be a few hundred kb only
                                      Thank you, I posted the script mostly as a resolution if anyone else was still having potential issues or were trying to follow instructions from the Op and having issues. Only problem I have is if I try to run at 60fps I get horrendous screen tearing on the OGS, but if I run it at 30fps it runs perfectly fine.

                                      I haven't updated it since you've updated Moonlight, but I may see about updating the script at some point or at least just the deb and see what it does. If I could get 60fps working, that'd be awesome. I do run into occasional issues where if I exit, it stops the stream but freezes on the last image so I wonder if your recent update was that fix. Looking forward to testing when I get around to it!

                                      Only actual real problem I have, is when I'm using Wifi for streaming, my battery life suffers drastically. But I imagine that comes with the territory using a regular USB Wifi dongle.

                                      Funny enough, I do have a Pluggable 2.4ghz dongle that works perfectly fine, along with a 2.4/5ghz wifi dongle that works just as great between the two!

                                      Also, I've got a modified list generation script for Emulationstation that adds several default options to the Moonlight executable links default but I'm sure anyone with half a wit of scripting could easily do that themselves.

                                      But thanks for all of your hard work! Since I replaced my OGS analogue sticks with Vita sticks, it's definitely one my preferred Moonlight streaming devices! I just wish I could make the audio louder. Been thinking of seeing what kind of hardware mod I might make to really blast the audio.

                                      deerwings
                                      Posts: 181
                                      Joined: Mon Oct 08, 2018 9:11 am
                                      languages_spoken: english
                                      ODROIDs: Odroid Go, Odroid Go Advance, Odroid Go Super
                                      Has thanked: 4 times
                                      Been thanked: 16 times
                                      Contact:

                                      Re: Gamestreaming Package+Sources Relase

                                      Post by deerwings »

                                      AreaScout wrote:
                                      Fri Sep 03, 2021 9:14 pm
                                        The deb package must be ok, I think you had an old library left from 2.4.11 because the new deb package installs to prefix /usr and the old one to /usr/local, any old library left in that directory is loaded preferred before that one in /usr/lib, I had the same problem, so when you told green screen it just made a click on my side ;)

                                        RG
                                        After uninstalling the 2.4.11-3 package and installing the new 2.5.1-1 package, I lose all input. Or as it seems, I'm not sure if the display is frozen or not. There's nothing in /usr/local/bin for moonlight so I know it's removed those files when I removed it. If I remove that package and reinstall 2.4.11-3 then everything works again. Not sure what the issue is with that.

                                        AreaScout
                                        Posts: 1718
                                        Joined: Sun Jul 07, 2013 3:05 am
                                        languages_spoken: german, english
                                        ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                        N1, Go, VU5A, Show2, CloudShell2,
                                        H2, N2, VU7A, VuShell, Go2, C4
                                        Has thanked: 103 times
                                        Been thanked: 317 times
                                        Contact:

                                        Re: Gamestreaming Package+Sources Relase

                                        Post by AreaScout »

                                          I have uninstalled and installed it now two times and it was always working

                                          Try this as root after uninstall the package:

                                          Code: Select all

                                          apt install mlocate
                                          updatedb
                                          locate libmoonlight
                                          locate libgamestream
                                          
                                          If there is any library found -> delete it and do this:

                                          Code: Select all

                                          ldconfig
                                          apt install ./moonlight-embedded_2.5.1-1_arm64.deb
                                          ldconfig
                                          
                                          If there was no error message after install It should work now

                                          RG

                                          Post Reply

                                          Return to “Platform development”

                                          Who is online

                                          Users browsing this forum: No registered users and 0 guests