Game Streaming client moonlight-embedded with 1080p and 4k

Post Reply
User avatar
AreaScout
Posts: 734
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2, XU4, XU4Q, N1, Go, VU5A, Show2, CloudShell2, H2
Contact:

Game Streaming client moonlight-embedded with 1080p and 4k

Unread post by AreaScout » Tue Feb 20, 2018 12:36 am

Hi all

I have successfully integrated hardware video decoding with Rockchips Media Process Platform and drm zero copy to moonlight-embedded a game streaming client


The Video shows game streaming on a XU4Q but on N1 it runs even better, sorry for not having a video on N1 ;)

Thanks to Martin Cerveny who permitted me to use some code from his command line player

I will look forward to get the changes upstream, 4k game play is not testet due to the lack of hardware but should work with at least HEVC Main10 video streams
and the whole thing will also work on systems without X11 running :)

Building:

checkout sources from this branch

Code: Select all

https://github.com/AreaScout/moonlight-embedded/tree/rockchip
librockchipmpp libraries build with drm support

Code: Select all

cmake -DRKPLATFORM=ON -DHAVE_DRM=ON .
for the rest please refer to this thread viewtopic.php?f=91&t=15456

Usage:

in case of 1080p

Code: Select all

./moonlight stream 192.168.1.2 -app "yourgamename" -fps 60 -1080 -platform rk
Known issues:
  • If X11 is running, after exit moonlight, mouse cursor is disabled, switching desktops with ALT+F1 and back ALT+F7 redraws the screen and mouse cursor re-appears (or move mouse over an already opened window)
  • sporadically Audio pauses, please use moonlight with pulseaudio for now

have fun

User avatar
AreaScout
Posts: 734
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2, XU4, XU4Q, N1, Go, VU5A, Show2, CloudShell2, H2
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by AreaScout » Tue Feb 20, 2018 5:44 am

Just for the record if you build your own image don't use libdrm from debian or ubuntu repositories, build your own https://github.com/rockchip-linux/libdrm-rockchip

User avatar
AreaScout
Posts: 734
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2, XU4, XU4Q, N1, Go, VU5A, Show2, CloudShell2, H2
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by AreaScout » Tue Feb 20, 2018 4:33 pm

@all

it would be nice if someone with N1 and HEVC (4k) capable Nvidia card can confirm that it's working, i did only test it by sending an 4k hevc video locally to that code, but not by streaming

RG

User avatar
rooted
Posts: 6299
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by rooted » Thu Feb 22, 2018 1:00 am

I would mate, but I'm like you and don't have the ability.

What is the minimum card one could test with?

User avatar
AreaScout
Posts: 734
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2, XU4, XU4Q, N1, Go, VU5A, Show2, CloudShell2, H2
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by AreaScout » Thu Feb 22, 2018 3:58 am

GTX Series of type 6xx is minimum requirement and as of PureVideo HD Verion VP7 (GM206 Core Type GPU) it supports 4k HEVC streaming

https://en.wikipedia.org/wiki/Nvidia_PureVideo

User avatar
AreaScout
Posts: 734
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2, XU4, XU4Q, N1, Go, VU5A, Show2, CloudShell2, H2
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by AreaScout » Sun Jun 17, 2018 5:09 pm

Hi all

Just want to let you know that Rockchip is supported now in moonlight-embedded my pull request got accepted :) https://github.com/irtimmer/moonlight-embedded

RG

User avatar
rooted
Posts: 6299
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by rooted » Mon Jun 18, 2018 12:57 am

AreaScout wrote:Hi all

Just want to let you know that Rockchip is supported now in moonlight-embedded my pull request got accepted :) https://github.com/irtimmer/moonlight-embedded

RG
You are doing a lot of great work to support Hardkernel devices, really appreciated :)

Thank you.

User avatar
AreaScout
Posts: 734
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2, XU4, XU4Q, N1, Go, VU5A, Show2, CloudShell2, H2
Contact:

Re: Game Streaming client moonlight-embedded with 1080p and

Unread post by AreaScout » Mon Jun 18, 2018 2:23 am

rooted wrote:You are doing a lot of great work to support Hardkernel devices, really appreciated :)

Thank you.
Thank you rooted :)

As of this commit https://github.com/rockchip-linux/mpp/c ... 7ad77e107f in mpp hevc/h265 is broken (h264 still works), just to warn anyone building from latest git

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest