Moonlight game streaming on Manjaro
#1
Hi all!

So a makepkg of moonlight-qt works pretty well (https://aur.archlinux.org/packages/moonlight-qt/). I adjusted the version to 2.2.0 and got a working package.

It even streams from another machine on my home network, but that's where my success kinda ends. Streaming at 1080p/60fps seems to be just too much given the software-based decoding from ffmpeg. Even though I've run the hardware acceleration patching scripts from the pbp-tools repo (https://github.com/xmixahlx/pbp-tools), the streaming client still can't pick up the available devices:

Code:
00:00:00 - SDL Info (0): Trying fallback VAAPI driver names
00:00:00 - SDL Error (0): Failed to initialize VAAPI: -1
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0xaaaabe3cb630] VDPAU device creation on X11 display :0 failed.
00:00:00 - SDL Info (0): Trying fallback VDPAU driver paths
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0xaaaabe3b09b0] VDPAU device creation on X11 display :0 failed.
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0xaaaabe3f51e0] VDPAU device creation on X11 display :0 failed.
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0xaaaabe4a8680] VDPAU device creation on X11 display :0 failed.
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0xaaaabe4bdd80] VDPAU device creation on X11 display :0 failed.
00:00:00 - SDL Error (0): Failed to create VDPAU context: -1313558101
00:00:00 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:00 - SDL Info (0): Using SDL renderer
00:00:00 - FFmpeg: [h264_mp4toannexb @ 0xaaaabeb1e1d0] The input looks like it is Annex B already
00:00:00 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] probing device /dev/video5
00:00:00 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] driver 'uvcvideo' on card 'USB Camera: USB Camera' in splane mode
00:00:00 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] v4l2 output format not supported
00:00:00 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] probing device /dev/video4
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] driver 'uvcvideo' on card 'USB Camera: USB Camera' in splane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] probing device /dev/video3
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-dec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] probing device /dev/video2
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-enc' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] probing device /dev/video1
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] driver 'rkvdec' on card 'rkvdec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] probing device /dev/video0
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] driver 'rockchip-rga' on card 'rockchip-rga' in splane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] Could not find a valid device
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xaaaabeb291b0] can't configure decoder
00:00:01 - SDL Error (0): Unable to open decoder for format: 1
00:00:01 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:01 - SDL Info (0): Using SDL renderer


I've run the pbp-install-libva, pbp-install-libva-utils, pbp-install-libva-v4l2-request, and pbp-install-ffmpeg scripts. Do I need to run on a patched kernel as well? I'm not sure if 5.8.10-2-MANJARO-ARM has the patches or not.

I wasn't expecting vaapi to work yet based on the other topics I've read throughout the forums, but I was hoping either /dev/video1 or /dev/video2 would have reported back with the v4l2 format as available.

Any other suggestions are welcome as well!


Messages In This Thread
Moonlight game streaming on Manjaro - by ShootTheMoon - 09-27-2020, 05:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro Sway Theme Broken Eighty8 1 796 03-08-2024, 08:41 AM
Last Post: tophneal
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 2,316 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 824 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Streaming video sites tessa 1 1,476 01-19-2024, 03:47 AM
Last Post: similarwham
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,220 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,511 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 881 12-07-2023, 03:11 PM
Last Post: wdt
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 1,635 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 2,398 08-21-2023, 09:10 PM
Last Post: vanessadonald
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,491 08-21-2023, 09:08 PM
Last Post: vanessadonald

Forum Jump:


Users browsing this thread: 1 Guest(s)