moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.5k stars 325 forks source link

Nvidia Jetson Nano support #741

Open Helios747 opened 5 years ago

Helios747 commented 5 years ago

Please provide the following info.

NVidia Geforce Experience version: NA

Moonlight Embedded version: NA

Moonlight Embedded source: repository/included in distribution/compiled from source/... GitHub

Moonlight Embedded running on: Raspberry Pi/Cubox-i/Hummingboard/Other linux device/... Nvidia Jetson Nano

Moonlight Embedded running on distribution: Arch Linux/Raspbian/OpenELEC/... Ubuntu 18.04

Verbose output -verbose of Moonlight Embedded: NA

What is the expected result? NA

What happens instead of that? NA

Recently Nvidia released a $100 dev board. A SBC with a Tegra X1. It has a somewhat smaller Maxwell GPU than what shipped in the Shield TV but it is otherwise an extremely capable arm64 SBC which should be able to run Moonlight just fine. Especially if you're able to actually just use nvidia's video decoder.

When running CMake, it checks for several different vendors of GPUs, fails to match Nvidia against the list, and bombs out.

Is there any interest in supporting this board?

valentinwilliams commented 5 years ago

Any news ? :)

telamon commented 4 years ago

Output from failed attempt to compile moonlight-embedded on a jetson nano

-- Could NOT find Broadcom (missing: BROADCOM_INCLUDE_DIR VCOS_LIBRARY VCHIQ_LIBRARY OPENMAXIL_LIBRARY BCM_HOST_LIBRARY) 
-- Could NOT find Freescale (missing: FREESCALE_INCLUDE_DIR KERNEL_INCLUDE_DIR VPU_LIBRARY) 
-- Could NOT find Amlogic (missing: AMLOGIC_INCLUDE_DIR AMCODEC_LIBRARY AMADEC_LIBRARY AMAVUTILS_LIBRARY) 
-- Could NOT find Rockchip (missing: ROCKCHIP_INCLUDE_DIR ROCKCHIP_LIBRARY) 
-- Checking for module 'libavcodec'
--   No package 'libavcodec' found
-- Checking for module 'libavutil'
--   No package 'libavutil' found
-- Checking for module 'libcec>=4'
--   No package 'libcec' found
CMake Error at CMakeLists.txt:166 (message):
  No video output available

-- Configuring incomplete, errors occurred!
See also "/home/flash/Downloads/moonlight-embedded/build/CMakeFiles/CMakeOutput.log".
See also "/home/flash/Downloads/moonlight-embedded/build/CMakeFiles/CMakeError.log".
mlaugharn commented 4 years ago

Try sudo apt install libp8-platform-dev libcec-dev libva-dev libva2 libavcodec57 libavcodec-dev libsdl2-dev libvdpau-dev

mlaugharn commented 4 years ago

btw it worked when I used the sdl platform instead of the default 'auto'. There may be other platforms that may even work better but it's the only one I've tried so far. It did 60 fps no problem.

moonlight stream -platform sdl -windowed <ip address>

0yueyunfei0 commented 4 years ago

Any hardware video decoder support news ? :)

KiralyCraft commented 3 years ago

This is now supported by Moonlight-Qt