09-27-2020, 05:44 PM
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:
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!
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!