moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.24k stars 544 forks source link

[RK] SDL Error (0): Unable to open decoder for format: 1 #509

Closed SupervisedThinking closed 3 years ago

SupervisedThinking commented 3 years ago

Describe the bug I'm building moonlight-qt for RK3399 devices based on latest LibreELEC master, my package https://github.com/SupervisedThinking/LibreELEC-RR/blob/master-rr/packages/supervisedthinking/emulation/streaming/moonlight-qt/package.mk

Once you start moonlight it does not find a working decoder:

00:00:01 - FFmpeg: [h264_mp4toannexb @ 0x11fc4d0] The input looks like it is Annex B already
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] probing device /dev/video3
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] driver 'rockchip-rga' on card 'rockchip-rga' in splane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] probing device /dev/video2
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-dec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] probing device /dev/video1
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-enc' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] probing device /dev/video0
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] driver 'rkvdec' on card 'rkvdec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] Could not find a valid device
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x11f4ff0] can't configure decoder

I've chatted with one of a mainatiner and he gave me the hint that: h264_v4l2m2m is stateful codec interface, rockchip needs stateless codec interface, e.g. request api

https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/dev-stateless-decoder.html

Anyway I'm not sure if it's a ffmpeg bug, rk mainline kernel bug or moonlight. But Kodi, Emulationstation & Pegasus FE can play videos by using either ffmpeg or gstreamer.

Moonlight Logs (please attach) https://pastebin.com/E5bT2vcG

cgutman commented 3 years ago

You'll need to build FFmpeg with RKMPP enabled, and Moonlight will use that and render using DRM.

For the latency to not be horrible, you'll probably want this patch too - https://github.com/cgutman/FFmpeg/commit/3371567d73c9d38f208b3f242bf58cf0a1ab31d7

SupervisedThinking commented 3 years ago

The Rockchip Mpp is the vendor blob solution (https://github.com/rockchip-linux/mpp) for media procession iirc but LE uses the mainline kernel + staging patches https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/patches/linux/default which relies on the v4l2 stateless codec interface.

One of the Kodi devs had a quick look at your code and told me looks like moonlight already supports DRM prime. So v4l2 should work with the correct ffmpeg patch set so is there any build flag or config to force moonlight to use this decoder?

cgutman commented 3 years ago

What is the custom FFmpeg decoder called? do you have a link to the FFmpeg patch set?

SupervisedThinking commented 3 years ago

These APIs and decoders are still wip & in staging but once they are complete mainline kernel will use them afaik right now some 5.11.y patches were backported but basically it works with Kodi.

The v4l2 stateless decoder: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/dev-stateless-decoder.html

Rockhip project & patches: https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/patches

FFmpeg: https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/multimedia/ffmpeg

cgutman commented 3 years ago

ok, give it a shot with this latest commit https://github.com/moonlight-stream/moonlight-qt/commit/ed3a5448b141c817747410313ee80ff7de783e8d

SupervisedThinking commented 3 years ago

nice -> I'll make some tests then!

cgutman commented 3 years ago

Actually I think I may have done that wrong. I think the v4l2requests support is an HWAccel not a codec.

Can you attach the output of ffmpeg -decoders and ffmpeg -hwaccels?

SupervisedThinking commented 3 years ago

According to the package file it is indeed a HWAccel https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/multimedia/ffmpeg/package.mk#L31-L43

SupervisedThinking commented 3 years ago

Build config for ffmpeg https://pastebin.com/0YiLDQNb

External libraries providing hardware acceleration:
v4l2_m2m                v4l2_reques
Enabled hwaccels:
h264_v4l2request        hevc_v4l2request        mpeg2_v4l2request       vp8_v4l2request         vp9_v4l2request
cgutman commented 3 years ago

OK, try now - https://github.com/moonlight-stream/moonlight-qt/commit/541784382aeb6d5e3a2f2a32b0a4a8dff59afd82

SupervisedThinking commented 3 years ago

Still no working decoder but I guess a step in the right direction:

00:00:00 - SDL Info (0): Compiled with SDL 2.0.14
00:00:00 - SDL Info (0): Running with SDL 2.0.14
00:00:00 - Qt Debug: Translation loaded: false
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at "/storage/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:01 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:01 - SDL Info (0): V-sync enabled
00:00:01 - SDL Info (0): Opening DRM device: /dev/dri/card0
00:00:01 - SDL Info (0): Using DRM renderer
00:00:01 - FFmpeg: [h264 @ 0x163ac50] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x163ac50] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x163ac50] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x163ac50] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x163ac50] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x163ac50] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x163ac50] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x163ac50] no frame!
00:00:01 - SDL Warn (0): Test decode failed: Invalid data found when processing input
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [h264_mp4toannexb @ 0x16a2aa0] The input looks like it is Annex B already
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] probing device /dev/video3
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-dec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] probing device /dev/video2
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-enc' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] probing device /dev/video1
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] driver 'rkvdec' on card 'rkvdec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] probing device /dev/video0
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] driver 'rockchip-rga' on card 'rockchip-rga' in splane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] Could not find a valid device
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x169efb0] can't configure decoder
00:00:01 - SDL Error (0): Unable to open decoder for format: 1
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] Format yuv420p chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x168d0f0] Reinit context to 1280x720, pix_fmt: yuv420p
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:01 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:02 - Qt Debug: Current Moonlight version: "3.0.0"
00:00:02 - Qt Info: Gamepad mappings are up to date
00:00:03 - Qt Info: "X99" is now offline

I'm updating to the latest upstreamed kernel version/patches and check again if there is some fix too, will report back.

SupervisedThinking commented 3 years ago

latest kernel 5.10.11 + updated DRM patches:

00:00:00 - SDL Info (0): Compiled with SDL 2.0.14
00:00:00 - SDL Info (0): Running with SDL 2.0.14
00:00:00 - Qt Info: No translation available for  "C"
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:00 - SDL Info (0): V-sync enabled
00:00:00 - SDL Info (0): Opening DRM device: /dev/dri/card0
00:00:01 - SDL Info (0): Using DRM renderer
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Invalid setup for format drm_prime: missing configuration.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] decode_slice_header error
00:00:01 - FFmpeg: [h264 @ 0x1ef55a0] no frame!
00:00:01 - SDL Warn (0): Test decode failed: Invalid data found when processing input
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [h264_mp4toannexb @ 0x1f5c560] The input looks like it is Annex B already
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] probing device /dev/video3
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] driver 'rockchip-rga' on card 'rockchip-rga' in splane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] probing device /dev/video2
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-dec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] probing device /dev/video1
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] driver 'hantro-vpu' on card 'rockchip,rk3399-vpu-enc' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] probing device /dev/video0
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] driver 'rkvdec' on card 'rkvdec' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] v4l2 output format not supported
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] Could not find a valid device
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0x1f58eb0] can't configure decoder
00:00:01 - SDL Error (0): Unable to open decoder for format: 1
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [h264 @ 0x1f02620] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1f02620] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1f02620] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1f02620] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1f02620] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1f02620] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x1f02620] Format yuv420p chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x1f02620] Reinit context to 1280x720, pix_fmt: yuv420p
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:01 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:01 - Qt Debug: Current Moonlight version: "3.0.0"
00:00:01 - Qt Info: Downloaded updated gamepad mappings
00:00:03 - Qt Info: "X99" is now offline

The video decoder works as you see in Kodi ff-h264-drm_prime(hw) https://i.imgur.com/JaNOIFE.png

Ignore the black picture, it's a Kodi dev bug afaik, if you watch tv there is a proper video output.

I've also tried the latest build with a Vim3 (Amlogic A311D) which reports working decoders:

00:00:00 - SDL Info (0): Compiled with SDL 2.0.14
00:00:00 - SDL Info (0): Running with SDL 2.0.14
00:00:00 - Qt Warning: Failed to move cursor on screen HDMI1: -14
00:00:00 - Qt Warning: Failed to move cursor on screen HDMI1: -14
00:00:00 - Qt Debug: Translation loaded: false
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:01 - SDL Info (0): V-sync enabled
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [h264_mp4toannexb @ 0xa9a1f0] The input looks like it is Annex B already
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] probing device /dev/video0
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] driver 'meson-vdec' on card 'Amlogic Video Decoder' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] Using device /dev/video0
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] driver 'meson-vdec' on card 'Amlogic Video Decoder' in mplane mode
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] requesting formats: output=H264 capture=NM12
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] output: H264 16 buffers initialized: 1920x1080, sizeimage 01555328, bytesperline 00000000
00:00:01 - FFmpeg: [h264_v4l2m2m @ 0xa92ac0] capture: NM12 20 buffers initialized: 1280x0720, sizeimage 00983040, bytesperline 00001280
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:02 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:02 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:02 - Qt Debug: Current Moonlight version: "3.0.0"
00:00:02 - Qt Info: Downloaded updated gamepad mappings
00:00:04 - Qt Info: "X99" is now offline

But the reason is according to a Kodi dev Stateless vs stateful = different patch sets so the Amlogic decoder works in a somethat different way -> stateful.

cgutman commented 3 years ago

I got my RK3288-based TinkerBoard out of storage and flashed Armbian Focal on it, so I'd be able to actually test this thing.

I fixed the Invalid setup for format drm_prime: missing configuration. error here - 243ba371b39b47736dd9b8f570a268e25ff6fa54

I wasn't able to coerce drmModeSetPlane() into succeeding though, even without X running. I don't know if I'm just doing something wrong or what, but I always got -EACCES. My guess is that Qt's EGLFS backend is becoming the implicit DRM master, which is preventing us from being able to set planes directly in the Moonlight code.

I also plumbed EGLImage support with ac947d3bdaa4bdb9c4687096f6035ce3bb569bf0 which lets us use the EGLRenderer that supports running with X or Wayland and renders in a window. With that I did manage to actually render, though the output is only a green screen (but the stats overlay does render fine on top of it). The cause of the green screen appears to be a Linux kernel bug or something as each call to EGLCreateImage() to do the DMABUF import triggers a WARN_ON():

[ 9968.326142] ------------[ cut here ]------------
[ 9968.326164] WARNING: CPU: 0 PID: 10682 at drivers/iommu/io-pgtable-arm.c:304 __arm_lpae_map+0x32c/0x334
[ 9968.326169] Modules linked in: netlink_diag fuse overlay algif_hash algif_skcipher af_alg snd_soc_hdmi_codec snd_soc_simple_card snd_soc_simple_card_utils zstd panfrost hantro_vpu(C) gpu_sched v4l2_h264 videobuf2_dma_contig videobuf2_vmalloc dw_hdmi_cec dw_hdmi_i2s_audio rockchip_rga videobuf2_dma_sg v4l2_mem2mem videobuf2_memops videobuf2_v4l2 snd_soc_rockchip_i2s snd_soc_rockchip_pcm videobuf2_common rk_crypto snd_soc_core dw_wdt snd_pcm_dmaengine rk3288_gpiomem syscon_reboot_mode reboot_mode snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device snd_pcm snd_timer snd soundcore r8723bs(C) rockchip_thermal cpufreq_dt zram sch_fq_codel ip_tables gpio_keys realtek
[ 9968.326271] CPU: 0 PID: 10682 Comm: PacerRender Tainted: G        WC        5.9.14-rockchip #20.11.3
[ 9968.326276] Hardware name: Rockchip (Device Tree)
[ 9968.326282] Backtrace: 
[ 9968.326304] [<c0f3cf18>] (dump_backtrace) from [<c0f3d2e0>] (show_stack+0x20/0x24)
[ 9968.326316]  r7:600b0013 r6:c15ab784 r5:00000000 r4:c15ab784
[ 9968.326331] [<c0f3d2c0>] (show_stack) from [<c0f45e18>] (dump_stack+0x94/0xa8)
[ 9968.326349] [<c0f45d84>] (dump_stack) from [<c0123764>] (__warn+0xe0/0x104)
[ 9968.326357]  r7:00000130 r6:00000009 r5:c08b09e8 r4:c12249e4
[ 9968.326367] [<c0123684>] (__warn) from [<c0f3d8f0>] (warn_slowpath_fmt+0x70/0xc0)
[ 9968.326379]  r7:00000130 r6:c12249e4 r5:c1506808 r4:00000000
[ 9968.326388] [<c0f3d884>] (warn_slowpath_fmt) from [<c08b09e8>] (__arm_lpae_map+0x32c/0x334)
[ 9968.326398]  r9:d54f4000 r8:00000001 r7:00001000 r6:0000008b r5:05a8b000 r4:e93e6780
[ 9968.326411] [<c08b06bc>] (__arm_lpae_map) from [<c08b07ec>] (__arm_lpae_map+0x130/0x334)
[ 9968.326422]  r10:00000002 r9:d54f4000 r8:00001000 r7:00800000 r6:154f4000 r5:05a8b000
[ 9968.326427]  r4:e93e6780
[ 9968.326436] [<c08b06bc>] (__arm_lpae_map) from [<c08b07ec>] (__arm_lpae_map+0x130/0x334)
[ 9968.326446]  r10:00000001 r9:c44ac000 r8:00001000 r7:00800000 r6:044ac000 r5:05a8b000
[ 9968.326451]  r4:e93e6780
[ 9968.326460] [<c08b06bc>] (__arm_lpae_map) from [<c08b07ec>] (__arm_lpae_map+0x130/0x334)
[ 9968.326469]  r10:00000000 r9:c533e000 r8:00001000 r7:00800000 r6:0533e000 r5:05a8b000
[ 9968.326474]  r4:e93e6780
[ 9968.326483] [<c08b06bc>] (__arm_lpae_map) from [<c08b0b28>] (arm_lpae_map+0x138/0x1a8)
[ 9968.326492]  r10:001fffff r9:e93e67c0 r8:00001000 r7:00000000 r6:00000cc0 r5:00600000
[ 9968.326497]  r4:ed256000
[ 9968.326517] [<c08b09f0>] (arm_lpae_map) from [<bf2127c4>] (mmu_map_sg+0xc0/0x128 [panfrost])
[ 9968.326531]  r7:39151000 r6:00003000 r5:00001000 r4:05a8b000
[ 9968.326548] [<bf212704>] (mmu_map_sg [panfrost]) from [<bf21336c>] (panfrost_mmu_map+0x7c/0xd4 [panfrost])
[ 9968.326558]  r10:ecb0b000 r9:00000000 r8:ebe3a440 r7:0000000b r6:e12c0980 r5:00000000
[ 9968.326563]  r4:c1431840
[ 9968.326579] [<bf2132f0>] (panfrost_mmu_map [panfrost]) from [<bf20ff80>] (panfrost_gem_open+0x124/0x1dc [panfrost])
[ 9968.326591]  r8:00000000 r7:ecb0b270 r6:00000000 r5:c1431840 r4:c231f400
[ 9968.326608] [<bf20fe5c>] (panfrost_gem_open [panfrost]) from [<c08ce730>] (drm_gem_handle_create_tail+0x108/0x1f0)
[ 9968.326623]  r10:cfb76000 r9:d8aa8420 r8:d8aa8440 r7:d8aa8400 r6:00000000 r5:c231f410
[ 9968.326628]  r4:c231f400
[ 9968.326640] [<c08ce628>] (drm_gem_handle_create_tail) from [<c08decc0>] (drm_gem_prime_fd_to_handle+0xfc/0x204)
[ 9968.326656]  r10:cfb76414 r9:c231f400 r8:ec169e64 r7:d8aa8504 r6:cfb76000 r5:d8aa8400
[ 9968.326661]  r4:e9b5ae00
[ 9968.326670] [<c08debc4>] (drm_gem_prime_fd_to_handle) from [<c08df46c>] (drm_prime_fd_to_handle_ioctl+0x34/0x40)
[ 9968.326681]  r10:ec169e64 r9:c08df438 r8:00000020 r7:00000000 r6:d8aa8400 r5:cfb76000
[ 9968.326687]  r4:c08debc4 r3:ec169e64
[ 9968.326698] [<c08df438>] (drm_prime_fd_to_handle_ioctl) from [<c08cf710>] (drm_ioctl_kernel+0xb8/0xfc)
[ 9968.326704]  r5:cfb76000 r4:c1506808
[ 9968.326713] [<c08cf658>] (drm_ioctl_kernel) from [<c08cf964>] (drm_ioctl+0x210/0x400)
[ 9968.326722]  r10:ec169e64 r9:d8aa8400 r8:0000002e r7:c08df438 r6:c1506808 r5:0000000c
[ 9968.326727]  r4:c106ac80
[ 9968.326744] [<c08cf754>] (drm_ioctl) from [<c02fb1cc>] (sys_ioctl+0x1d4/0xa58)
[ 9968.326757]  r10:00000078 r9:ec168000 r8:00000000 r7:d88be800 r6:d88be801 r5:c1506808
[ 9968.326762]  r4:c00c642e
[ 9968.326775] [<c02faff8>] (sys_ioctl) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
[ 9968.326784] Exception stack(0xec169fa8 to 0xec169ff0)
[ 9968.326794] 9fa0:                   a4fff754 a4fff728 00000078 c00c642e a4fff728 00000000
[ 9968.326804] 9fc0: a4fff754 a4fff728 c00c642e 00000036 00000016 015ba800 015ba7d8 a4fff858
[ 9968.326812] 9fe0: b6868068 a4fff70c b6851313 b580d6f8
[ 9968.326823]  r10:00000036 r9:ec168000 r8:c0100264 r7:00000036 r6:c00c642e r5:a4fff728
[ 9968.326828]  r4:a4fff754
[ 9968.326983] ---[ end trace ff0e9b56aedef84d ]---

I'm not sure if this is supposed to work on RK3288, but you should give it a shot on your RK3399 and see if it works better for you.

SupervisedThinking commented 3 years ago

Thanks for the heads up 👍🏻 well I guess armbians kernel is not "up-to-date" 5.9.14-rockchip so this might be an issue. I'm currently rebuilding a clean image after kernel bumps and will try your updates later

SupervisedThinking commented 3 years ago

Looks like some progress 😃 -> I've bumped SDL2 to https://github.com/spurious/SDL-mirror/commit/b7ab7a43171adbe659cd5844d2fd55ff2207bfac as your latest version depends on recent patches.

Now moonlight doesn't nag anymore about a missing decoder and I can connect & start a stream but I end up with "starting input stream establishment...."

All the gamestream host recognizes my inputs & I can hear the sound but still no video output.

00:00:00 - SDL Info (0): Compiled with SDL 2.0.15
00:00:00 - SDL Info (0): Running with SDL 2.0.15
00:00:00 - Qt Info: No translation available for  "C"
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:00 - SDL Info (0): V-sync enabled
00:00:00 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:00 - SDL Info (0): Using DRM renderer
00:00:00 - FFmpeg: [h264 @ 0x1173e10] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] Format drm_prime chosen by get_format().
00:00:00 - FFmpeg: [h264 @ 0x1173e10] Format drm_prime requires hwaccel initialisation.
00:00:00 - FFmpeg: [h264 @ 0x1173e10] ff_v4l2_request_init: avctx=0x1173e10 hw_device_ctx=0x10961c0 hw_frames_ctx=(nil)
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_media_device: avctx=0x1173e10 ctx=0x1190fd0 path=/dev/media1 driver=hantro-vpu
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_video_device: avctx=0x1173e10 ctx=0x1190fd0 path=/dev/video1 capabilities=69222400
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_video_device: try output format failed
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_video_device: avctx=0x1173e10 ctx=0x1190fd0 path=/dev/video2 capabilities=69222400
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_video_device: try output format failed
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_media_device: avctx=0x1173e10 ctx=0x1190fd0 path=/dev/media0 driver=rkvdec
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_probe_video_device: avctx=0x1173e10 ctx=0x1190fd0 path=/dev/video0 capabilities=69222400
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] ff_v4l2_request_frame_params: avctx=0x1173e10 ctx=0x1190fd0 hw_frames_ctx=0x1189b90 hwfc=0x1174df0 pool=0x116c8e0 width=1280 height=720 initial_pool_size=3
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11bf350
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11bf484 type=10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11bf484 index=0 fd=-1 addr=0xeddfa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11bf4e8 type=9
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11bf4e8 index=0 fd=42 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11bf350 request_fd=43
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11bf870
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11bf9a4 type=10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11bf9a4 index=1 fd=-1 addr=0xed9fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11bfa08 type=9
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11bfa08 index=1 fd=44 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11bf870 request_fd=45
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11bfc40
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11bfd74 type=10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11bfd74 index=2 fd=-1 addr=0xed5fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11bfdd8 type=9
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11bfdd8 index=2 fd=46 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11bfc40 request_fd=47
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11c0010
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11c0144 type=10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11c0144 index=3 fd=-1 addr=0xed1fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11c01a8 type=9
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11c01a8 index=3 fd=48 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11c0010 request_fd=49
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11c03e0
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11c0514 type=10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11c0514 index=4 fd=-1 addr=0xecdfa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11c0578 type=9
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11c0578 index=4 fd=50 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11c03e0 request_fd=51
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11c07b0
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11c08e4 type=10
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11c08e4 index=5 fd=-1 addr=0xec9fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: avctx=0x1173e10 buf=0x11c0948 type=9
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_buffer_alloc: buf=0x11c0948 index=5 fd=52 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_frame_alloc: avctx=0x1173e10 size=512 data=0x11c07b0 request_fd=53
00:00:00 - FFmpeg: [h264 @ 0x1173e10] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:00 - FFmpeg: [h264 @ 0x1173e10] v4l2_request_queue_decode: avctx=0x1173e10 used=349 controls=4 index=5 fd=52 request_fd=53 first_slice=1 last_slice=1
00:00:00 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:00 - FFmpeg: [h264 @ 0x1173e10] ff_v4l2_request_uninit: avctx=0x1173e10 ctx=0x1190fd0
00:00:00 - FFmpeg: v4l2_request_frame_free: avctx=0x1173e10 data=0x11c07b0 request_fd=53
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11c0948 index=5 fd=52 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11c08e4 index=5 fd=-1 addr=0xec9fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: v4l2_request_frame_free: avctx=0x1173e10 data=0x11c03e0 request_fd=51
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11c0578 index=4 fd=50 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11c0514 index=4 fd=-1 addr=0xecdfa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: v4l2_request_frame_free: avctx=0x1173e10 data=0x11c0010 request_fd=49
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11c01a8 index=3 fd=48 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11c0144 index=3 fd=-1 addr=0xed1fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: v4l2_request_frame_free: avctx=0x1173e10 data=0x11bfc40 request_fd=47
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11bfdd8 index=2 fd=46 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11bfd74 index=2 fd=-1 addr=0xed5fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: v4l2_request_frame_free: avctx=0x1173e10 data=0x11bf870 request_fd=45
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11bfa08 index=1 fd=44 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11bf9a4 index=1 fd=-1 addr=0xed9fa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: v4l2_request_frame_free: avctx=0x1173e10 data=0x11bf350 request_fd=43
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11bf4e8 index=0 fd=42 addr=(nil) width=1280 height=720 size=1843200
00:00:00 - FFmpeg: v4l2_request_buffer_free: buf=0x11bf484 index=0 fd=-1 addr=0xeddfa000 width=1280 height=720 size=4194304
00:00:00 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x1174df0 pool=0x116c8e0
00:00:00 - FFmpeg: v4l2_request_pool_free: opaque=0x1173e10
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:00 - Qt Info: "X99" is now online at "192.168.1.10"
00:00:01 - Qt Debug: Current Moonlight version: "3.0.0"
00:00:01 - Qt Info: Downloaded updated gamepad mappings
00:00:01 - Qt Info: Discovered mDNS host: "X99.local."
00:00:01 - Qt Info: Resolved "X99.local." to QHostAddress("192.168.1.10")
00:00:01 - Qt Info: Resolved "X99.local." to QHostAddress("fe80::6cfb:cb8a:c352:e163")
00:00:03 - Qt Info: Processing new PC at "192.168.1.10" from mDNS QHostAddress("")
00:00:03 - Qt Info: Executing request: "http://192.168.1.10:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=b9646b40437f48bd9a11846f033eaae2"
00:00:03 - Qt Info: Executing request: "https://192.168.1.10:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=2afaac3f4ebb4694a9d8d6922920ea62"
00:00:18 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:19 - Qt Info: Server GPU: "GeForce GTX 1060 6GB"
00:00:19 - Qt Info: Server GFE version: "3.20.5.70"
00:00:19 - SDL Info (0): Video bitrate: 20000 kbps
00:00:19 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:19 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:19 - SDL Info (0): Audio channel count: 2
00:00:19 - SDL Info (0): Audio channel mask: 3
00:00:19 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:19 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:19 - Qt Info: Found "gamecontrollerdb.txt" at "/storage/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:19 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:19 - SDL Info (0): V-sync enabled
00:00:19 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:19 - SDL Info (0): Using DRM renderer
00:00:19 - FFmpeg: [h264 @ 0x2042940] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x2042940] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x2042940] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x2042940] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x2042940] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x2042940] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x2042940] Format drm_prime chosen by get_format().
00:00:19 - FFmpeg: [h264 @ 0x2042940] Format drm_prime requires hwaccel initialisation.
00:00:19 - FFmpeg: [h264 @ 0x2042940] ff_v4l2_request_init: avctx=0x2042940 hw_device_ctx=0x203b1e0 hw_frames_ctx=(nil)
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_media_device: avctx=0x2042940 ctx=0x203e210 path=/dev/media1 driver=hantro-vpu
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_video_device: avctx=0x2042940 ctx=0x203e210 path=/dev/video1 capabilities=69222400
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_video_device: try output format failed
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_video_device: avctx=0x2042940 ctx=0x203e210 path=/dev/video2 capabilities=69222400
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_video_device: try output format failed
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_media_device: avctx=0x2042940 ctx=0x203e210 path=/dev/media0 driver=rkvdec
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_probe_video_device: avctx=0x2042940 ctx=0x203e210 path=/dev/video0 capabilities=69222400
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] ff_v4l2_request_frame_params: avctx=0x2042940 ctx=0x203e210 hw_frames_ctx=0x2059030 hwfc=0x2043660 pool=0x203a3c0 width=1280 height=720 initial_pool_size=3
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d1a30
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d1b64 type=10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d1b64 index=0 fd=-1 addr=0xe50f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d1bc8 type=9
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d1bc8 index=0 fd=56 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d1a30 request_fd=57
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d1e00
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d1f34 type=10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d1f34 index=1 fd=-1 addr=0xe4cf9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d1f98 type=9
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d1f98 index=1 fd=58 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d1e00 request_fd=59
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d21d0
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2304 type=10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2304 index=2 fd=-1 addr=0xe48f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2368 type=9
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2368 index=2 fd=60 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d21d0 request_fd=61
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d25a0
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d26d4 type=10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d26d4 index=3 fd=-1 addr=0xe44f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2738 type=9
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2738 index=3 fd=62 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d25a0 request_fd=63
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d2970
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2aa4 type=10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2aa4 index=4 fd=-1 addr=0xe40f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2b08 type=9
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2b08 index=4 fd=64 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d2970 request_fd=65
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d2d40
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2e74 type=10
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2e74 index=5 fd=-1 addr=0xe3cf9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: avctx=0x2042940 buf=0x20d2ed8 type=9
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_buffer_alloc: buf=0x20d2ed8 index=5 fd=66 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_frame_alloc: avctx=0x2042940 size=512 data=0x20d2d40 request_fd=67
00:00:19 - FFmpeg: [h264 @ 0x2042940] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:19 - FFmpeg: [h264 @ 0x2042940] v4l2_request_queue_decode: avctx=0x2042940 used=349 controls=4 index=5 fd=66 request_fd=67 first_slice=1 last_slice=1
00:00:19 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:19 - FFmpeg: [h264 @ 0x2042940] ff_v4l2_request_uninit: avctx=0x2042940 ctx=0x203e210
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x2042940 data=0x20d2d40 request_fd=67
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2ed8 index=5 fd=66 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2e74 index=5 fd=-1 addr=0xe3cf9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x2042940 data=0x20d2970 request_fd=65
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2b08 index=4 fd=64 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2aa4 index=4 fd=-1 addr=0xe40f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x2042940 data=0x20d25a0 request_fd=63
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2738 index=3 fd=62 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d26d4 index=3 fd=-1 addr=0xe44f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x2042940 data=0x20d21d0 request_fd=61
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2368 index=2 fd=60 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d2304 index=2 fd=-1 addr=0xe48f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x2042940 data=0x20d1e00 request_fd=59
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d1f98 index=1 fd=58 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d1f34 index=1 fd=-1 addr=0xe4cf9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x2042940 data=0x20d1a30 request_fd=57
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d1bc8 index=0 fd=56 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20d1b64 index=0 fd=-1 addr=0xe50f9000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x2043660 pool=0x203a3c0
00:00:19 - FFmpeg: v4l2_request_pool_free: opaque=0x2042940
00:00:19 - SDL Info (0): V-sync enabled
00:00:19 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:19 - SDL Info (0): Using DRM renderer
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] Format drm_prime chosen by get_format().
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] Format drm_prime requires hwaccel initialisation.
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] ff_v4l2_request_init: avctx=0x1f94e10 hw_device_ctx=0x1f965e0 hw_frames_ctx=(nil)
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_media_device: avctx=0x1f94e10 ctx=0x1f98060 path=/dev/media1 driver=hantro-vpu
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_video_device: avctx=0x1f94e10 ctx=0x1f98060 path=/dev/video1 capabilities=69222400
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_video_device: try output format failed
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_video_device: avctx=0x1f94e10 ctx=0x1f98060 path=/dev/video2 capabilities=69222400
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_video_device: try output format failed
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_media_device: avctx=0x1f94e10 ctx=0x1f98060 path=/dev/media0 driver=rkvdec
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_probe_video_device: avctx=0x1f94e10 ctx=0x1f98060 path=/dev/video0 capabilities=69222400
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] ff_v4l2_request_frame_params: avctx=0x1f94e10 ctx=0x1f98060 hw_frames_ctx=0x1f9c670 hwfc=0x1f9a390 pool=0x13a92f0 width=1280 height=720 initial_pool_size=3
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x1fa29c0
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x1fa2af4 type=10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x1fa2af4 index=0 fd=-1 addr=0xe4910000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x1fa2b58 type=9
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x1fa2b58 index=0 fd=57 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x1fa29c0 request_fd=58
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x20214e0
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2021614 type=10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2021614 index=1 fd=-1 addr=0xe4510000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2021678 type=9
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2021678 index=1 fd=59 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x20214e0 request_fd=60
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x20218d0
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2021a04 type=10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2021a04 index=2 fd=-1 addr=0xe4110000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2021a68 type=9
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2021a68 index=2 fd=61 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x20218d0 request_fd=62
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x2021d00
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2021e34 type=10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2021e34 index=3 fd=-1 addr=0xe3d10000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2021e98 type=9
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2021e98 index=3 fd=63 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x2021d00 request_fd=64
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x2022130
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2022264 type=10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2022264 index=4 fd=-1 addr=0xe3910000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x20222c8 type=9
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x20222c8 index=4 fd=65 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x2022130 request_fd=66
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x2022560
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x2022694 type=10
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x2022694 index=5 fd=-1 addr=0xe3510000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: avctx=0x1f94e10 buf=0x20226f8 type=9
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_buffer_alloc: buf=0x20226f8 index=5 fd=67 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_frame_alloc: avctx=0x1f94e10 size=512 data=0x2022560 request_fd=68
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] v4l2_request_queue_decode: avctx=0x1f94e10 used=349 controls=4 index=5 fd=67 request_fd=68 first_slice=1 last_slice=1
00:00:19 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:19 - FFmpeg: [h264 @ 0x1f94e10] ff_v4l2_request_uninit: avctx=0x1f94e10 ctx=0x1f98060
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x1f94e10 data=0x2022560 request_fd=68
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20226f8 index=5 fd=67 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2022694 index=5 fd=-1 addr=0xe3510000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x1f94e10 data=0x2022130 request_fd=66
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x20222c8 index=4 fd=65 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2022264 index=4 fd=-1 addr=0xe3910000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x1f94e10 data=0x2021d00 request_fd=64
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2021e98 index=3 fd=63 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2021e34 index=3 fd=-1 addr=0xe3d10000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x1f94e10 data=0x20218d0 request_fd=62
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2021a68 index=2 fd=61 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2021a04 index=2 fd=-1 addr=0xe4110000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x1f94e10 data=0x20214e0 request_fd=60
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2021678 index=1 fd=59 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x2021614 index=1 fd=-1 addr=0xe4510000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_frame_free: avctx=0x1f94e10 data=0x1fa29c0 request_fd=58
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x1fa2b58 index=0 fd=57 addr=(nil) width=1280 height=720 size=1843200
00:00:19 - FFmpeg: v4l2_request_buffer_free: buf=0x1fa2af4 index=0 fd=-1 addr=0xe4910000 width=1280 height=720 size=4194304
00:00:19 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x1f9a390 pool=0x13a92f0
00:00:19 - FFmpeg: v4l2_request_pool_free: opaque=0x1f94e10
00:00:19 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:19 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:21 - SDL Info (0): Found host supported resolution: 1920x1080
00:00:21 - Qt Info: Executing request: "https://192.168.1.10:47984/launch?uniqueid=0123456789ABCDEF&uuid=de3471d37f534be2b4973bddfeb86842&appid=1088017781&mode=1920x1080x60&additionalStates=1&sops=1&rikey=177c09b78fa5aa453cf9b21dc87c6bd1&rikeyid=-659631327&localAudioPlayMode=0&surroundAudioInfo=196610&remoteControllersBitmap=0&gcmap=0"
00:00:25 - Qt Info: Found matching interface: "eth0" "B2:90:2C:8F:62:75" QFlags<QNetworkInterface::InterfaceFlag>(IsUp|IsRunning|CanBroadcast|CanMulticast)
00:00:25 - Qt Info: Interface Type: QNetworkInterface::Ethernet
00:00:25 - Qt Info: Interface MTU: 1500
00:00:25 - SDL Info (0): Initializing platform...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Resolving host name...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Starting RTSP handshake...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Initializing control stream...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Initializing video stream...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Initializing audio stream...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Initializing input stream...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Starting control stream...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Starting video stream...
00:00:25 - SDL Info (0): Video stream is 1920x1080x60 (format 0x1)
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Starting audio stream...
00:00:25 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:25 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:25 - SDL Info (0): Audio stream has 2 channels
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Starting input stream...
00:00:25 - SDL Info (0): done
00:00:25 - SDL Info (0): Qt UI screen is at (0,0)
00:00:25 - SDL Info (0): SDL found matching display 0
00:00:25 - SDL Info (0): Recreating renderer for window event: 1 (0 0)
00:00:25 - SDL Info (0): Chosen best display mode: 1920x1080x60
00:00:25 - SDL Info (0): V-sync enabled
00:00:25 - SDL Info (0): Received first audio packet after 100 ms
00:00:25 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:26 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:00:26 - SDL Info (0): Using DRM renderer
00:00:26 - SDL Info (0): Using H.264 SPS fixup
00:00:26 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:26 - SDL Info (0): Dropping window event during flush: 6 (1920 1080)
00:00:26 - SDL Info (0): Received first video packet after 500 ms
00:00:26 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:26 - SDL Info (0): IDR frame request sent
00:00:26 - SDL Info (0): Waiting for IDR frame
00:00:26 - SDL Info (0): Waiting for IDR frame
00:00:26 - SDL Info (0): Waiting for IDR frame
00:00:26 - FFmpeg: [h264 @ 0x20398c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:26 - FFmpeg: [h264 @ 0x20398c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:26 - FFmpeg: [h264 @ 0x20398c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:26 - FFmpeg: [h264 @ 0x20398c0] Format drm_prime chosen by get_format().
00:00:26 - FFmpeg: [h264 @ 0x20398c0] Format drm_prime requires hwaccel initialisation.
00:00:26 - FFmpeg: [h264 @ 0x20398c0] ff_v4l2_request_init: avctx=0x20398c0 hw_device_ctx=0x1f8c7a0 hw_frames_ctx=(nil)
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_media_device: avctx=0x20398c0 ctx=0xee5036e0 path=/dev/media1 driver=hantro-vpu
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_video_device: avctx=0x20398c0 ctx=0xee5036e0 path=/dev/video1 capabilities=69222400
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_video_device: try output format failed
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_video_device: avctx=0x20398c0 ctx=0xee5036e0 path=/dev/video2 capabilities=69222400
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_video_device: try output format failed
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_media_device: avctx=0x20398c0 ctx=0xee5036e0 path=/dev/media0 driver=rkvdec
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_probe_video_device: avctx=0x20398c0 ctx=0xee5036e0 path=/dev/video0 capabilities=69222400
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_init_context: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] ff_v4l2_request_frame_params: avctx=0x20398c0 ctx=0xee5036e0 hw_frames_ctx=0xee5008e0 hwfc=0xee50f840 pool=0xee50f8e0 width=1920 height=1088 initial_pool_size=3
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee50faf0
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee50fc24 type=10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee50fc24 index=0 fd=-1 addr=0xe00ef000 width=1920 height=1088 size=4194304
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee50fc88 type=9
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee50fc88 index=0 fd=63 addr=(nil) width=1920 height=1088 size=4177920
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee50faf0 request_fd=64
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee5105a0
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee5106d4 type=10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee5106d4 index=1 fd=-1 addr=0xdfcef000 width=1920 height=1088 size=4194304
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee510738 type=9
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee510738 index=1 fd=65 addr=(nil) width=1920 height=1088 size=4177920
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee5105a0 request_fd=66
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee510970
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee510aa4 type=10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee510aa4 index=2 fd=-1 addr=0xdf8ef000 width=1920 height=1088 size=4194304
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee510b08 type=9
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee510b08 index=2 fd=67 addr=(nil) width=1920 height=1088 size=4177920
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee510970 request_fd=68
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee510d40
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee510e74 type=10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee510e74 index=3 fd=-1 addr=0xdf4ef000 width=1920 height=1088 size=4194304
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee510ed8 type=9
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee510ed8 index=3 fd=69 addr=(nil) width=1920 height=1088 size=4177920
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee510d40 request_fd=70
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee511170
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee5112a4 type=10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee5112a4 index=4 fd=-1 addr=0xdf0ef000 width=1920 height=1088 size=4194304
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee511308 type=9
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee511308 index=4 fd=71 addr=(nil) width=1920 height=1088 size=4177920
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee511170 request_fd=72
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee5115e0
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee511714 type=10
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee511714 index=5 fd=-1 addr=0xdecef000 width=1920 height=1088 size=4194304
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: avctx=0x20398c0 buf=0xee511778 type=9
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_buffer_alloc: buf=0xee511778 index=5 fd=73 addr=(nil) width=1920 height=1088 size=4177920
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_frame_alloc: avctx=0x20398c0 size=512 data=0xee5115e0 request_fd=74
00:00:26 - FFmpeg: [h264 @ 0x20398c0] Reinit context to 1920x1088, pix_fmt: drm_prime
00:00:26 - FFmpeg: [h264 @ 0x20398c0] v4l2_request_queue_decode: avctx=0x20398c0 used=17628 controls=4 index=5 fd=73 request_fd=74 first_slice=1 last_slice=1
00:00:26 - SDL Info (0): EGLRenderer: Selected read-back format: 23
00:00:26 - Qt Info: Found "egl.vert" at ":/data/egl.vert"
00:00:26 - Qt Info: Found "egl.frag" at ":/data/egl.frag"
00:00:26 - Qt Info: Found "egl_overlay.vert" at ":/data/egl_overlay.vert"
00:00:26 - Qt Info: Found "egl_overlay.frag" at ":/data/egl_overlay.frag"
cgutman commented 3 years ago

Nice, I was going to ask you to pull in that SDL change if you wanted to run without X.

The remaining problem is that DRM master issue between Qt and SDL. For now, you can try launching moonlight with: -platform linuxfb

That will have Qt use the LinuxFB backend, allowing SDL to become the DRM master and allowing rendering to work properly. With LinuxFB, it does render for me (though with the green screen issue detailed before).

SupervisedThinking commented 3 years ago

My Qt5 package is only build with EGLFS and the DRM stuff but LinuxFB is disabled. The latest SDL2 version also breaks Emulationstation rendering 👀 Which Qt version do you actually use? I build 5.15.2 for my image.

cgutman commented 3 years ago

On my dev machine, I use Fedora 33's Qt packages which are 5.15.2. On my Tinkerboard with Armbian Focal, I'm using the Focal Qt packages which are 5.12.8.

Moonlight should run fine with anything between 5.9 and 5.15, though some features are degraded with versions prior to 5.11.

You should report that SDL Emulationstation bug on https://bugzilla.libsdl.org/ to ensure SDL 2.0.16 doesn't ship with it.

SupervisedThinking commented 3 years ago

It's SDL version 2.0.15-dev so I guess they iron out those quirks until next release although it could be linked to mesa-git etc. etc.

Basically it's all somewhat bleeding edge mainline staging driver stuff 🙈 you found a solution for the issue between Qt & SDL?

cgutman commented 3 years ago

I'm going to try destroying my Qt window before streaming to see if that lets SDL gain DRM master.

I was able to confirm that my code that imports DRM PRIME buffers to EGLImages is correct by using the LibreELEC v4l2-drmprime patch which allows the v4l2m2m codecs to output DRM PRIME buffers. It rendered correctly (though slowly) on my Raspberry Pi 4 using h264_v4l2m2m.

SupervisedThinking commented 3 years ago

Cool! Sounds like steady progress! 🥇 I guess SDL2-dev is still a dependency for DRM PRIME? Because I guess I have to start look for the "garbage" commit which broke emulationstation then ^^

cgutman commented 3 years ago

The Qt/SDL DRM master coexistence was a big headache, but I finally got it working.

Please try again with a88a3c9ea36a8f7492b1c6d8b4c09b5a971861ed

SupervisedThinking commented 3 years ago

Well that looks like a rather complex addition but I'm eager to test it soon 👍🎊

cgutman commented 3 years ago

@SupervisedThinking any luck with the latest code?

SupervisedThinking commented 3 years ago

@cgutman LE will be bumped to v10.0 in the next days & a beta releases will start. IIRC some updated RK video decoder patches will be released & I'm rebuilding currently and will test it then 👍🏻

SupervisedThinking commented 3 years ago

looks like you did it 🥇 I've made a clean rebuild and tried this sdl2 commit https://github.com/moonlight-stream/moonlight-qt/commit/28ecc6bcbf43aa4e49c6325c55e5413f3b2ca247 with your master commit https://github.com/libsdl-org/SDL/commit/33598563b35067417c2fed8fab03c503438ce6f6 and my RK3399 connects fine 👍🏻

00:00:00 - SDL Info (0): Compiled with SDL 2.0.15
00:00:00 - SDL Info (0): Running with SDL 2.0.15
00:00:00 - Qt Info: No translation available for  "C"
00:00:01 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:01 - SDL Info (0): Loaded 1 new gamepad mappings
00:00:01 - SDL Info (0): V-sync enabled
00:00:01 - SDL Info (0): Sharing DRM FD with SDL
00:00:01 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:01 - SDL Info (0): Using DRM renderer
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Format drm_prime requires hwaccel initialisation.
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] ff_v4l2_request_init: avctx=0x233a5b0 hw_device_ctx=0x2338580 hw_frames_ctx=(nil)
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_media_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/media1 driver=hantro-vpu
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/video3 capabilities=69222400
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: try output format failed
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/video4 capabilities=69222400
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: try output format failed
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_media_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/media0 driver=rkvdec
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/video0 capabilities=69222400
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: set controls failed, Invalid argument (22)
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Failed setup for format drm_prime: hwaccel initialisation returned error.
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Format drm_prime not usable, retrying get_format() without it.
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Format drm_prime chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Format drm_prime requires hwaccel initialisation.
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] ff_v4l2_request_init: avctx=0x233a5b0 hw_device_ctx=0x2338580 hw_frames_ctx=(nil)
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_media_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/media1 driver=hantro-vpu
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/video3 capabilities=69222400
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: try output format failed
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/video4 capabilities=69222400
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: try output format failed
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_media_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/media0 driver=rkvdec
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_probe_video_device: avctx=0x233a5b0 ctx=0x23532e0 path=/dev/video0 capabilities=69222400
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] ff_v4l2_request_frame_params: avctx=0x233a5b0 ctx=0x23532e0 hw_frames_ctx=0x2339470 hwfc=0x2330940 pool=0x2337280 width=1280 height=720 initial_pool_size=3
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2381830
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2381964 type=10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2381964 index=0 fd=-1 addr=0xeddaa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x23819c8 type=9
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x23819c8 index=0 fd=44 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2381830 request_fd=45
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2381c00
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2381d34 type=10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2381d34 index=1 fd=-1 addr=0xed9aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2381d98 type=9
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2381d98 index=1 fd=46 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2381c00 request_fd=47
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2381fd0
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2382104 type=10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2382104 index=2 fd=-1 addr=0xed5aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2382168 type=9
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2382168 index=2 fd=48 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2381fd0 request_fd=49
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x23823a0
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x23824d4 type=10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x23824d4 index=3 fd=-1 addr=0xed1aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2382538 type=9
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2382538 index=3 fd=50 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x23823a0 request_fd=51
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2382770
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x23828a4 type=10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x23828a4 index=4 fd=-1 addr=0xecdaa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2382908 type=9
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2382908 index=4 fd=52 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2382770 request_fd=53
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2382b40
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2382c74 type=10
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2382c74 index=5 fd=-1 addr=0xec9aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: avctx=0x233a5b0 buf=0x2382cd8 type=9
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_buffer_alloc: buf=0x2382cd8 index=5 fd=54 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_frame_alloc: avctx=0x233a5b0 size=512 data=0x2382b40 request_fd=55
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] v4l2_request_queue_decode: avctx=0x233a5b0 used=349 controls=4 index=5 fd=54 request_fd=55 first_slice=1 last_slice=1
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:01 - FFmpeg: [h264 @ 0x233a5b0] ff_v4l2_request_uninit: avctx=0x233a5b0 ctx=0x23532e0
00:00:01 - FFmpeg: v4l2_request_frame_free: avctx=0x233a5b0 data=0x2382b40 request_fd=55
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2382cd8 index=5 fd=54 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2382c74 index=5 fd=-1 addr=0xec9aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: v4l2_request_frame_free: avctx=0x233a5b0 data=0x2382770 request_fd=53
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2382908 index=4 fd=52 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x23828a4 index=4 fd=-1 addr=0xecdaa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: v4l2_request_frame_free: avctx=0x233a5b0 data=0x23823a0 request_fd=51
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2382538 index=3 fd=50 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x23824d4 index=3 fd=-1 addr=0xed1aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: v4l2_request_frame_free: avctx=0x233a5b0 data=0x2381fd0 request_fd=49
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2382168 index=2 fd=48 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2382104 index=2 fd=-1 addr=0xed5aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: v4l2_request_frame_free: avctx=0x233a5b0 data=0x2381c00 request_fd=47
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2381d98 index=1 fd=46 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2381d34 index=1 fd=-1 addr=0xed9aa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: v4l2_request_frame_free: avctx=0x233a5b0 data=0x2381830 request_fd=45
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x23819c8 index=0 fd=44 addr=(nil) width=1280 height=720 size=1843200
00:00:01 - FFmpeg: v4l2_request_buffer_free: buf=0x2381964 index=0 fd=-1 addr=0xeddaa000 width=1280 height=720 size=4194304
00:00:01 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x2330940 pool=0x2337280
00:00:01 - FFmpeg: v4l2_request_pool_free: opaque=0x233a5b0
00:00:02 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:02 - SDL Info (0): Loaded 1 new gamepad mappings
00:00:02 - Qt Info: "X99" is now online at "192.168.1.10"
00:00:02 - SDL Info (0): Captured Qt EGLFS DRM master fd (legacy): 5
00:00:02 - Qt Debug: Current Moonlight version: "3.0.0"
00:00:02 - Qt Info: Downloaded updated gamepad mappings
00:00:02 - Qt Info: Discovered mDNS host: "X99.local."
00:00:02 - Qt Info: Resolved "X99.local." to QHostAddress("192.168.1.10")
00:00:02 - Qt Info: Resolved "X99.local." to QHostAddress("fe80::6cfb:cb8a:c352:e163")
00:00:04 - Qt Info: Processing new PC at "192.168.1.10" from mDNS QHostAddress("")
00:00:04 - Qt Info: Executing request: "http://192.168.1.10:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=fcd2a07f514d46088ec0b3ad6b6ad32a"
00:00:04 - Qt Info: Executing request: "https://192.168.1.10:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=f1a422e4566c4e8d9ea05c8f8d2b67e8"
00:00:05 - Qt Info: "X99" is now at "192.168.1.10"
00:00:09 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:10 - Qt Info: Server GPU: "GeForce GTX 1060 6GB"
00:00:10 - Qt Info: Server GFE version: "3.21.0.36"
00:00:10 - SDL Info (0): Video bitrate: 20000 kbps
00:00:10 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:10 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:10 - SDL Info (0): Audio channel count: 2
00:00:10 - SDL Info (0): Audio channel mask: 3
00:00:10 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:10 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:10 - Qt Info: Found "gamecontrollerdb.txt" at "/storage/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:10 - SDL Info (0): Loaded 3 new gamepad mappings
00:00:10 - SDL Info (0): V-sync enabled
00:00:10 - SDL Info (0): Sharing DRM FD with SDL
00:00:10 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:10 - SDL Info (0): Using DRM renderer
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Format drm_prime chosen by get_format().
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Format drm_prime requires hwaccel initialisation.
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] ff_v4l2_request_init: avctx=0x365a2f0 hw_device_ctx=0x3656330 hw_frames_ctx=(nil)
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_media_device: avctx=0x365a2f0 ctx=0x35b1ba0 path=/dev/media1 driver=hantro-vpu
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: avctx=0x365a2f0 ctx=0x35b1ba0 path=/dev/video3 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: avctx=0x365a2f0 ctx=0x35b1ba0 path=/dev/video4 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_media_device: avctx=0x365a2f0 ctx=0x35b1ba0 path=/dev/media0 driver=rkvdec
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: avctx=0x365a2f0 ctx=0x35b1ba0 path=/dev/video0 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: set controls failed, Invalid argument (22)
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Failed setup for format drm_prime: hwaccel initialisation returned error.
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Format drm_prime not usable, retrying get_format() without it.
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Format drm_prime chosen by get_format().
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Format drm_prime requires hwaccel initialisation.
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] ff_v4l2_request_init: avctx=0x365a2f0 hw_device_ctx=0x3656330 hw_frames_ctx=(nil)
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_media_device: avctx=0x365a2f0 ctx=0x36b82b0 path=/dev/media1 driver=hantro-vpu
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: avctx=0x365a2f0 ctx=0x36b82b0 path=/dev/video3 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: avctx=0x365a2f0 ctx=0x36b82b0 path=/dev/video4 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_media_device: avctx=0x365a2f0 ctx=0x36b82b0 path=/dev/media0 driver=rkvdec
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_probe_video_device: avctx=0x365a2f0 ctx=0x36b82b0 path=/dev/video0 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] ff_v4l2_request_frame_params: avctx=0x365a2f0 ctx=0x36b82b0 hw_frames_ctx=0x3654c30 hwfc=0x365b660 pool=0x36560a0 width=1280 height=720 initial_pool_size=3
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e6630
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e6764 type=10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e6764 index=0 fd=-1 addr=0xe5ca9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e67c8 type=9
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e67c8 index=0 fd=58 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e6630 request_fd=59
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e6a00
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e6b34 type=10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e6b34 index=1 fd=-1 addr=0xe58a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e6b98 type=9
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e6b98 index=1 fd=60 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e6a00 request_fd=61
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e6dd0
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e6f04 type=10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e6f04 index=2 fd=-1 addr=0xe54a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e6f68 type=9
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e6f68 index=2 fd=62 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e6dd0 request_fd=63
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e71a0
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e72d4 type=10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e72d4 index=3 fd=-1 addr=0xe50a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e7338 type=9
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e7338 index=3 fd=64 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e71a0 request_fd=65
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e7570
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e76a4 type=10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e76a4 index=4 fd=-1 addr=0xe4ca9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e7708 type=9
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e7708 index=4 fd=66 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e7570 request_fd=67
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e7940
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e7a74 type=10
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e7a74 index=5 fd=-1 addr=0xe48a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: avctx=0x365a2f0 buf=0x36e7ad8 type=9
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_buffer_alloc: buf=0x36e7ad8 index=5 fd=68 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_frame_alloc: avctx=0x365a2f0 size=512 data=0x36e7940 request_fd=69
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] v4l2_request_queue_decode: avctx=0x365a2f0 used=349 controls=4 index=5 fd=68 request_fd=69 first_slice=1 last_slice=1
00:00:10 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:10 - FFmpeg: [h264 @ 0x365a2f0] ff_v4l2_request_uninit: avctx=0x365a2f0 ctx=0x36b82b0
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x365a2f0 data=0x36e7940 request_fd=69
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e7ad8 index=5 fd=68 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e7a74 index=5 fd=-1 addr=0xe48a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x365a2f0 data=0x36e7570 request_fd=67
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e7708 index=4 fd=66 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e76a4 index=4 fd=-1 addr=0xe4ca9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x365a2f0 data=0x36e71a0 request_fd=65
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e7338 index=3 fd=64 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e72d4 index=3 fd=-1 addr=0xe50a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x365a2f0 data=0x36e6dd0 request_fd=63
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e6f68 index=2 fd=62 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e6f04 index=2 fd=-1 addr=0xe54a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x365a2f0 data=0x36e6a00 request_fd=61
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e6b98 index=1 fd=60 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e6b34 index=1 fd=-1 addr=0xe58a9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x365a2f0 data=0x36e6630 request_fd=59
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e67c8 index=0 fd=58 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36e6764 index=0 fd=-1 addr=0xe5ca9000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x365b660 pool=0x36560a0
00:00:10 - FFmpeg: v4l2_request_pool_free: opaque=0x365a2f0
00:00:10 - SDL Info (0): V-sync enabled
00:00:10 - SDL Info (0): Sharing DRM FD with SDL
00:00:10 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:10 - SDL Info (0): Using DRM renderer
00:00:10 - FFmpeg: [h264 @ 0x369ad30] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Format drm_prime chosen by get_format().
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Format drm_prime requires hwaccel initialisation.
00:00:10 - FFmpeg: [h264 @ 0x369ad30] ff_v4l2_request_init: avctx=0x369ad30 hw_device_ctx=0x35cded0 hw_frames_ctx=(nil)
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_media_device: avctx=0x369ad30 ctx=0x369b7c0 path=/dev/media1 driver=hantro-vpu
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: avctx=0x369ad30 ctx=0x369b7c0 path=/dev/video3 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: avctx=0x369ad30 ctx=0x369b7c0 path=/dev/video4 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_media_device: avctx=0x369ad30 ctx=0x369b7c0 path=/dev/media0 driver=rkvdec
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: avctx=0x369ad30 ctx=0x369b7c0 path=/dev/video0 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: set controls failed, Invalid argument (22)
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Failed setup for format drm_prime: hwaccel initialisation returned error.
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Format drm_prime not usable, retrying get_format() without it.
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Format drm_prime chosen by get_format().
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Format drm_prime requires hwaccel initialisation.
00:00:10 - FFmpeg: [h264 @ 0x369ad30] ff_v4l2_request_init: avctx=0x369ad30 hw_device_ctx=0x35cded0 hw_frames_ctx=(nil)
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_media_device: avctx=0x369ad30 ctx=0x36b81f0 path=/dev/media1 driver=hantro-vpu
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: avctx=0x369ad30 ctx=0x36b81f0 path=/dev/video3 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: avctx=0x369ad30 ctx=0x36b81f0 path=/dev/video4 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: try output format failed
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_media_device: avctx=0x369ad30 ctx=0x36b81f0 path=/dev/media0 driver=rkvdec
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_probe_video_device: avctx=0x369ad30 ctx=0x36b81f0 path=/dev/video0 capabilities=69222400
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] ff_v4l2_request_frame_params: avctx=0x369ad30 ctx=0x36b81f0 hw_frames_ctx=0x369b710 hwfc=0x35c9510 pool=0x35cb810 width=1280 height=720 initial_pool_size=3
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b84f0
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b8624 type=10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b8624 index=0 fd=-1 addr=0xe5925000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b8688 type=9
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b8688 index=0 fd=61 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b84f0 request_fd=62
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b8920
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b8a54 type=10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b8a54 index=1 fd=-1 addr=0xe5525000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b8ab8 type=9
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b8ab8 index=1 fd=63 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b8920 request_fd=64
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b8d50
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b8e84 type=10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b8e84 index=2 fd=-1 addr=0xe5125000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b8ee8 type=9
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b8ee8 index=2 fd=65 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b8d50 request_fd=66
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b9180
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b92b4 type=10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b92b4 index=3 fd=-1 addr=0xe4d25000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x36b9318 type=9
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x36b9318 index=3 fd=67 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x36b9180 request_fd=68
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x360da00
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x360db34 type=10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x360db34 index=4 fd=-1 addr=0xe4925000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x360db98 type=9
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x360db98 index=4 fd=69 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x360da00 request_fd=70
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x360de30
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x360df64 type=10
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x360df64 index=5 fd=-1 addr=0xe4525000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: avctx=0x369ad30 buf=0x360dfc8 type=9
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_buffer_alloc: buf=0x360dfc8 index=5 fd=71 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_frame_alloc: avctx=0x369ad30 size=512 data=0x360de30 request_fd=72
00:00:10 - FFmpeg: [h264 @ 0x369ad30] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:10 - FFmpeg: [h264 @ 0x369ad30] v4l2_request_queue_decode: avctx=0x369ad30 used=349 controls=4 index=5 fd=71 request_fd=72 first_slice=1 last_slice=1
00:00:10 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:10 - FFmpeg: [h264 @ 0x369ad30] ff_v4l2_request_uninit: avctx=0x369ad30 ctx=0x36b81f0
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x369ad30 data=0x360de30 request_fd=72
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x360dfc8 index=5 fd=71 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x360df64 index=5 fd=-1 addr=0xe4525000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x369ad30 data=0x360da00 request_fd=70
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x360db98 index=4 fd=69 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x360db34 index=4 fd=-1 addr=0xe4925000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x369ad30 data=0x36b9180 request_fd=68
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b9318 index=3 fd=67 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b92b4 index=3 fd=-1 addr=0xe4d25000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x369ad30 data=0x36b8d50 request_fd=66
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b8ee8 index=2 fd=65 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b8e84 index=2 fd=-1 addr=0xe5125000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x369ad30 data=0x36b8920 request_fd=64
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b8ab8 index=1 fd=63 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b8a54 index=1 fd=-1 addr=0xe5525000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_frame_free: avctx=0x369ad30 data=0x36b84f0 request_fd=62
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b8688 index=0 fd=61 addr=(nil) width=1280 height=720 size=1843200
00:00:10 - FFmpeg: v4l2_request_buffer_free: buf=0x36b8624 index=0 fd=-1 addr=0xe5925000 width=1280 height=720 size=4194304
00:00:10 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x35c9510 pool=0x35cb810
00:00:10 - FFmpeg: v4l2_request_pool_free: opaque=0x369ad30
00:00:10 - Qt Info: Found "gamecontrollerdb.txt" at "/storage/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:10 - SDL Info (0): Loaded 3 new gamepad mappings
00:00:12 - SDL Info (0): Found host supported resolution: 1920x1080
00:00:12 - Qt Info: Executing request: "https://192.168.1.10:47984/launch?uniqueid=0123456789ABCDEF&uuid=05eeb04de1a54b3c84c8b5cbcb922c74&appid=1088017781&mode=1920x1080x60&additionalStates=1&sops=1&rikey=ee8fe130d8dbb439f5375f9b7f625a41&rikeyid=-1977212585&localAudioPlayMode=0&surroundAudioInfo=196610&remoteControllersBitmap=0&gcmap=0"
00:00:16 - Qt Info: Found matching interface: "eth0" "B2:90:2C:8F:62:75" QFlags<QNetworkInterface::InterfaceFlag>(IsUp|IsRunning|CanBroadcast|CanMulticast)
00:00:16 - Qt Info: Interface Type: QNetworkInterface::Ethernet
00:00:16 - Qt Info: Interface MTU: 1500
00:00:16 - SDL Info (0): Initializing platform...
00:00:16 - SDL Info (0): done
00:00:16 - SDL Info (0): Resolving host name...
00:00:16 - SDL Info (0): done
00:00:16 - SDL Info (0): Starting RTSP handshake...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Initializing control stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Initializing video stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Initializing audio stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Initializing input stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Starting control stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Starting video stream...
00:00:17 - SDL Info (0): Video stream is 1920x1080x60 (format 0x1)
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Starting audio stream...
00:00:17 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:17 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:17 - SDL Info (0): Audio stream has 2 channels
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Starting input stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Qt UI screen is at (0,0)
00:00:17 - SDL Info (0): SDL found matching display 0
00:00:17 - Qt Warning: Could not set cursor on screen HDMI1: -13
00:00:17 - SDL Info (0): Recreating renderer for window event: 1 (0 0)
00:00:17 - SDL Info (0): Chosen best display mode: 1920x1080x60
00:00:17 - SDL Info (0): V-sync enabled
00:00:17 - SDL Info (0): Sharing DRM FD with SDL
00:00:17 - SDL Info (0): Received first audio packet after 100 ms
00:00:17 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:17 - SDL Info (0): Using DRM renderer
00:00:17 - FFmpeg: [h264 @ 0x36cf000] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Format drm_prime chosen by get_format().
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Format drm_prime requires hwaccel initialisation.
00:00:17 - FFmpeg: [h264 @ 0x36cf000] ff_v4l2_request_init: avctx=0x36cf000 hw_device_ctx=0x36cb470 hw_frames_ctx=(nil)
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_media_device: avctx=0x36cf000 ctx=0x36e6380 path=/dev/media1 driver=hantro-vpu
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: avctx=0x36cf000 ctx=0x36e6380 path=/dev/video3 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: avctx=0x36cf000 ctx=0x36e6380 path=/dev/video4 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_media_device: avctx=0x36cf000 ctx=0x36e6380 path=/dev/media0 driver=rkvdec
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: avctx=0x36cf000 ctx=0x36e6380 path=/dev/video0 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: set controls failed, Invalid argument (22)
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Failed setup for format drm_prime: hwaccel initialisation returned error.
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Format drm_prime not usable, retrying get_format() without it.
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Format drm_prime chosen by get_format().
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Format drm_prime requires hwaccel initialisation.
00:00:17 - FFmpeg: [h264 @ 0x36cf000] ff_v4l2_request_init: avctx=0x36cf000 hw_device_ctx=0x36cb470 hw_frames_ctx=(nil)
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_media_device: avctx=0x36cf000 ctx=0x36d0510 path=/dev/media1 driver=hantro-vpu
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: avctx=0x36cf000 ctx=0x36d0510 path=/dev/video3 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: avctx=0x36cf000 ctx=0x36d0510 path=/dev/video4 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_media_device: avctx=0x36cf000 ctx=0x36d0510 path=/dev/media0 driver=rkvdec
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_probe_video_device: avctx=0x36cf000 ctx=0x36d0510 path=/dev/video0 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_init_context: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] ff_v4l2_request_frame_params: avctx=0x36cf000 ctx=0x36d0510 hw_frames_ctx=0x36ca1c0 hwfc=0x36c8c40 pool=0x36cdcb0 width=1280 height=720 initial_pool_size=3
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368c8c0
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368c9f4 type=10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368c9f4 index=0 fd=-1 addr=0xd7dee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368ca58 type=9
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368ca58 index=0 fd=76 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368c8c0 request_fd=77
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368ccf0
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368ce24 type=10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368ce24 index=1 fd=-1 addr=0xd79ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368ce88 type=9
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368ce88 index=1 fd=78 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368ccf0 request_fd=79
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368d120
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368d254 type=10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368d254 index=2 fd=-1 addr=0xd75ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368d2b8 type=9
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368d2b8 index=2 fd=80 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368d120 request_fd=81
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368d550
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368d684 type=10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368d684 index=3 fd=-1 addr=0xd71ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368d6e8 type=9
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368d6e8 index=3 fd=82 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368d550 request_fd=83
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368d980
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368dab4 type=10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368dab4 index=4 fd=-1 addr=0xd6dee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368db18 type=9
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368db18 index=4 fd=84 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368d980 request_fd=85
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368ddb0
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368dee4 type=10
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=875967059 width=1280 height=720 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368dee4 index=5 fd=-1 addr=0xd69ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: avctx=0x36cf000 buf=0x368df48 type=9
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: pixelformat=842094158 width=1280 height=720 bytesperline=1280 sizeimage=1843200 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_buffer_alloc: buf=0x368df48 index=5 fd=86 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_frame_alloc: avctx=0x36cf000 size=512 data=0x368ddb0 request_fd=87
00:00:17 - FFmpeg: [h264 @ 0x36cf000] Reinit context to 1280x720, pix_fmt: drm_prime
00:00:17 - FFmpeg: [h264 @ 0x36cf000] v4l2_request_queue_decode: avctx=0x36cf000 used=349 controls=4 index=5 fd=86 request_fd=87 first_slice=1 last_slice=1
00:00:17 - FFmpeg: [h264 @ 0x36cf000] ff_v4l2_request_uninit: avctx=0x36cf000 ctx=0x36d0510
00:00:17 - FFmpeg: v4l2_request_frame_free: avctx=0x36cf000 data=0x368ddb0 request_fd=87
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368df48 index=5 fd=86 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368dee4 index=5 fd=-1 addr=0xd69ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: v4l2_request_frame_free: avctx=0x36cf000 data=0x368d980 request_fd=85
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368db18 index=4 fd=84 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368dab4 index=4 fd=-1 addr=0xd6dee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: v4l2_request_frame_free: avctx=0x36cf000 data=0x368d550 request_fd=83
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368d6e8 index=3 fd=82 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368d684 index=3 fd=-1 addr=0xd71ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: v4l2_request_frame_free: avctx=0x36cf000 data=0x368d120 request_fd=81
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368d2b8 index=2 fd=80 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368d254 index=2 fd=-1 addr=0xd75ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: v4l2_request_frame_free: avctx=0x36cf000 data=0x368ccf0 request_fd=79
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368ce88 index=1 fd=78 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368ce24 index=1 fd=-1 addr=0xd79ee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: v4l2_request_frame_free: avctx=0x36cf000 data=0x368c8c0 request_fd=77
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368ca58 index=0 fd=76 addr=(nil) width=1280 height=720 size=1843200
00:00:17 - FFmpeg: v4l2_request_buffer_free: buf=0x368c9f4 index=0 fd=-1 addr=0xd7dee000 width=1280 height=720 size=4194304
00:00:17 - FFmpeg: v4l2_request_hwframe_ctx_free: hwfc=0x36c8c40 pool=0x36cdcb0
00:00:17 - FFmpeg: v4l2_request_pool_free: opaque=0x36cf000
00:00:17 - SDL Info (0): Sharing DRM FD with SDL
00:00:17 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:17 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:00:17 - SDL Info (0): Using DRM renderer
00:00:17 - SDL Info (0): Using H.264 SPS fixup
00:00:17 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:17 - SDL Info (0): Dropping window event during flush: 6 (1920 1080)
00:00:17 - SDL Info (0): Received first video packet after 600 ms
00:00:17 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:17 - SDL Info (0): IDR frame request sent
00:00:17 - SDL Info (0): Waiting for IDR frame
00:00:17 - SDL Info (0): Waiting for IDR frame
00:00:17 - FFmpeg: [h264 @ 0x368f480] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x368f480] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x368f480] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:17 - FFmpeg: [h264 @ 0x368f480] Format drm_prime chosen by get_format().
00:00:17 - FFmpeg: [h264 @ 0x368f480] Format drm_prime requires hwaccel initialisation.
00:00:17 - FFmpeg: [h264 @ 0x368f480] ff_v4l2_request_init: avctx=0x368f480 hw_device_ctx=0x36ae310 hw_frames_ctx=(nil)
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_media_device: avctx=0x368f480 ctx=0xe83fbc70 path=/dev/media1 driver=hantro-vpu
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: avctx=0x368f480 ctx=0xe83fbc70 path=/dev/video3 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: avctx=0x368f480 ctx=0xe83fbc70 path=/dev/video4 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_media_device: avctx=0x368f480 ctx=0xe83fbc70 path=/dev/media0 driver=rkvdec
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: avctx=0x368f480 ctx=0xe83fbc70 path=/dev/video0 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: set controls failed, Invalid argument (22)
00:00:17 - FFmpeg: [h264 @ 0x368f480] Failed setup for format drm_prime: hwaccel initialisation returned error.
00:00:17 - FFmpeg: [h264 @ 0x368f480] Format drm_prime not usable, retrying get_format() without it.
00:00:17 - FFmpeg: [h264 @ 0x368f480] Format drm_prime chosen by get_format().
00:00:17 - FFmpeg: [h264 @ 0x368f480] Format drm_prime requires hwaccel initialisation.
00:00:17 - FFmpeg: [h264 @ 0x368f480] ff_v4l2_request_init: avctx=0x368f480 hw_device_ctx=0x36ae310 hw_frames_ctx=(nil)
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_media_device: avctx=0x368f480 ctx=0xe8396ec0 path=/dev/media1 driver=hantro-vpu
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: avctx=0x368f480 ctx=0xe8396ec0 path=/dev/video3 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: avctx=0x368f480 ctx=0xe8396ec0 path=/dev/video4 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_try_format: pixelformat 875967059 not supported for type 10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: try output format failed
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_media_device: avctx=0x368f480 ctx=0xe8396ec0 path=/dev/media0 driver=rkvdec
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_probe_video_device: avctx=0x368f480 ctx=0xe8396ec0 path=/dev/video0 capabilities=69222400
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_init_context: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] ff_v4l2_request_frame_params: avctx=0x368f480 ctx=0xe8396ec0 hw_frames_ctx=0xe83fc390 hwfc=0xe83977a0 pool=0xe8397800 width=1920 height=1088 initial_pool_size=3
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe8397a00
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8397b34 type=10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8397b34 index=0 fd=-1 addr=0xd7300000 width=1920 height=1088 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8397b98 type=9
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8397b98 index=0 fd=79 addr=(nil) width=1920 height=1088 size=4177920
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe8397a00 request_fd=80
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe83984a0
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe83985d4 type=10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe83985d4 index=1 fd=-1 addr=0xd6f00000 width=1920 height=1088 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8398638 type=9
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8398638 index=1 fd=81 addr=(nil) width=1920 height=1088 size=4177920
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe83984a0 request_fd=82
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe83988d0
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8398a04 type=10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8398a04 index=2 fd=-1 addr=0xd6b00000 width=1920 height=1088 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8398a68 type=9
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8398a68 index=2 fd=83 addr=(nil) width=1920 height=1088 size=4177920
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe83988d0 request_fd=84
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe8398d80
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8398eb4 type=10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8398eb4 index=3 fd=-1 addr=0xd6700000 width=1920 height=1088 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8398f18 type=9
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8398f18 index=3 fd=85 addr=(nil) width=1920 height=1088 size=4177920
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe8398d80 request_fd=86
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe83991e0
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8399314 type=10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8399314 index=4 fd=-1 addr=0xd6300000 width=1920 height=1088 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8399378 type=9
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8399378 index=4 fd=87 addr=(nil) width=1920 height=1088 size=4177920
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe83991e0 request_fd=88
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe8399640
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe8399774 type=10
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=875967059 width=1920 height=1088 bytesperline=0 sizeimage=4194304 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe8399774 index=5 fd=-1 addr=0xd5f00000 width=1920 height=1088 size=4194304
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: avctx=0x368f480 buf=0xe83997d8 type=9
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: pixelformat=842094158 width=1920 height=1088 bytesperline=1920 sizeimage=4177920 num_planes=1
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_buffer_alloc: buf=0xe83997d8 index=5 fd=89 addr=(nil) width=1920 height=1088 size=4177920
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_frame_alloc: avctx=0x368f480 size=512 data=0xe8399640 request_fd=90
00:00:17 - FFmpeg: [h264 @ 0x368f480] Reinit context to 1920x1088, pix_fmt: drm_prime
00:00:17 - FFmpeg: [h264 @ 0x368f480] v4l2_request_queue_decode: avctx=0x368f480 used=32321 controls=4 index=5 fd=89 request_fd=90 first_slice=1 last_slice=1
00:00:17 - SDL Info (0): EGLRenderer: EGLImage pixel format: 23
00:00:17 - Qt Info: Found "egl.vert" at ":/data/egl.vert"
00:00:17 - Qt Info: Found "egl.frag" at ":/data/egl.frag"
00:00:17 - Qt Info: Found "egl_overlay.vert" at ":/data/egl_overlay.vert"
00:00:17 - Qt Info: Found "egl_overlay.frag" at ":/data/egl_overlay.frag"
00:04:31 - SDL Info (0): Server notified termination reason: 0x0100
00:04:31 - SDL Error (0): Connection terminated: 0
00:04:31 - SDL Info (0): Quit event received
00:04:31 - Qt Warning: Could not set cursor on screen HDMI1: -13
00:04:31 - SDL Info (0): Global video stats
00:04:31 - SDL Info (0): ----------------------------------------------------------
Incoming frame rate from network: 59.13 FPS
Decoding frame rate: 59.13 FPS
Rendering frame rate: 58.89 FPS
Frames dropped by your network connection: 0.00%
Frames dropped due to network jitter: 0.40%
Average receive time: 1.00 ms
Average decoding time: 3.58 ms
Average frame queue delay: 0.89 ms
Average rendering time (including monitor V-sync latency): 12.95 ms
00:04:31 - SDL Info (0): Stopping input stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Stopping audio stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Stopping video stream...
00:04:31 - Qt Info: Found "gamecontrollerdb.txt" at "/storage/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:04:31 - SDL Info (0): Loaded 3 new gamepad mappings
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Stopping control stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Cleaning up input stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Cleaning up audio stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Cleaning up video stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Cleaning up control stream...
00:04:31 - SDL Info (0): done
00:04:31 - SDL Info (0): Cleaning up platform...
00:04:31 - SDL Info (0): done
cgutman commented 3 years ago

Wow nice! Latency looks low too.

I wish the V4L2+EGL path worked that well on my Raspberry Pi or (worked at all) on my RK3288 TinkerBoard.

SupervisedThinking commented 3 years ago

Well I have no clue if the Rk3288 & the RK3399 share the same video decoder unit or if the mainlining process is at the same stage.

Allwinner / Rockchip.
These SoCs have medium impact changes. Both move to a “Stable Rolling Beta” state using modern Linux kernels (5.10) 
which bring incremental improvements to hardware support. Hardware video decoding now benefits from the V4L2 “stateless” 
kernel APIs maturing (with our help) and reaching their initial stable release. 
Allwinner has also evolved lots of low-level capabilities for power management – hidden but important things for stability.

https://libreelec.tv/2021/02/upcoming-changes/

I have no clue which distribution you use but LE has a lot of (staging) patches tailored for ffmpeg & linux:

https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/patches/ffmpeg https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/patches/linux/default

So I guess this just needs to mature a bit & your Tinkerboard will benefit too.

The latency should be low since the desktop is just 5m away & connected by Gbit Ethernet ^^ beside that the RK3399 vpu should be able to decode 4k@60Hz or something so no big deal to handle h.264 1080p@60Hz anyway it's quite cool that this is up and running because just connecting a controller in the kitchen, guest room etc. and play a bit is always nice 🥇

SupervisedThinking commented 3 years ago

FYI: these are the logs of my regularly used HTPC with i3-6100 CPU

Incoming frame rate from network: 59.92 FPS
Decoding frame rate: 59.92 FPS
Rendering frame rate: 59.86 FPS
Frames dropped by your network connection: 0.01%
Frames dropped due to network jitter: 0.09%
Average receive time: 2.37 ms
Average decoding time: 0.38 ms
Average frame queue delay: 0.91 ms
Average rendering time (including monitor V-sync latency): 10.75 ms

RK3399

Incoming frame rate from network: 59.13 FPS
Decoding frame rate: 59.13 FPS
Rendering frame rate: 58.89 FPS
Frames dropped by your network connection: 0.00%
Frames dropped due to network jitter: 0.40%
Average receive time: 1.00 ms
Average decoding time: 3.58 ms
Average frame queue delay: 0.89 ms
Average rendering time (including monitor V-sync latency): 12.95 ms

Full log:

00:00:00 - SDL Info (0): Compiled with SDL 2.0.15
00:00:00 - SDL Info (0): Running with SDL 2.0.15
00:00:00 - Qt Info: No translation available for  "C"
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 1 new gamepad mappings
00:00:00 - SDL Info (0): V-sync enabled
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:00:00 - SDL Info (0): Initialized VAAPI 1.10
00:00:00 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754)
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x41524742 -> bgra.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x42475241 -> argb.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x41424752 -> rgba.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x52474241 -> abgr.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x58524742 -> bgr0.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x42475258 -> 0rgb.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x58424752 -> rgb0.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x52474258 -> 0bgr.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30335241 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30334241 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30335258 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30334258 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x36314752 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x50424752 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x50524742 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x56555941 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30303859 -> gray.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x3231564e -> nv12.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x3132564e -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x32595559 -> yuyv422.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x59565955 -> uyvy422.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x32315659 -> yuv420p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30323449 -> yuv420p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x50313134 -> yuv411p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x48323234 -> yuv422p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x56323234 -> yuv440p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x50343434 -> yuv444p.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x33434d49 -> unknown.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Format 0x30313050 -> p010le.
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754).
00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x19a4140] Driver not found in known nonstandard list, using standard behaviour.
00:00:00 - SDL Info (0): Using indirect rendering due to lack of VAEntrypointVideoProc
00:00:00 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:00 - FFmpeg: [h264 @ 0x215ef80] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x215ef80] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x215ef80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x215ef80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x215ef80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x215ef80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Format vaapi_vld chosen by get_format().
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Format vaapi_vld requires hwaccel initialisation.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Considering format 0x3231564e -> nv12.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Direct mapping possible.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x1.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x2.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x3.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x4.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x5.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x6.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x7.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x8.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x9.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0xa.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0xb.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0xc.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0xd.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0xe.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0xf.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x10.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x11.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x12.
00:00:00 - FFmpeg: [AVHWFramesContext @ 0x2154e00] Created surface 0x13.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Considering format 0x3231564e -> nv12.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Decode context initialised: 0x4/0x10000000.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Reinit context to 1280x720, pix_fmt: vaapi_vld
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Param buffer (type 0, 672 bytes) is 0.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Param buffer (type 1, 240 bytes) is 0x1.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 0 param buffer (3128 bytes) is 0x2.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 0 data buffer (75 bytes) is 0x3.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 1 param buffer (3128 bytes) is 0x4.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 1 data buffer (80 bytes) is 0x5.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 2 param buffer (3128 bytes) is 0x6.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 2 data buffer (85 bytes) is 0x7.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 3 param buffer (3128 bytes) is 0x8.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Slice 3 data buffer (97 bytes) is 0x9.
00:00:00 - FFmpeg: [h264 @ 0x215ef80] Decode to surface 0x13.
00:00:00 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 1 new gamepad mappings
00:00:00 - Qt Debug: Current Moonlight version: "3.0.0"
00:00:00 - Qt Info: Downloaded updated gamepad mappings
00:00:01 - Qt Info: Discovered mDNS host: "X99.local."
00:00:01 - Qt Info: "X99" is now online at "192.168.1.10"
00:00:01 - Qt Info: Resolved "X99.local." to QHostAddress("192.168.1.10")
00:00:01 - Qt Info: Resolved "X99.local." to QHostAddress("fe80::6cfb:cb8a:c352:e163")
00:00:03 - Qt Info: Processing new PC at "192.168.1.10" from mDNS QHostAddress("")
00:00:03 - Qt Info: Executing request: "http://192.168.1.10:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=823150ddaaf74dfe83d3bd5be970c32e"
00:00:03 - Qt Info: Executing request: "https://192.168.1.10:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=410dc6224d1b40dca33605524bba689b"
00:00:03 - Qt Info: "X99" is now at "192.168.1.10"
00:00:07 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:07 - Qt Info: Server GPU: "GeForce GTX 1060 6GB"
00:00:07 - Qt Info: Server GFE version: "3.21.0.36"
00:00:07 - SDL Info (0): Video bitrate: 100000 kbps
00:00:07 - SDL Info (0): Desired audio buffer: 240 samples (2880 bytes)
00:00:07 - SDL Info (0): Obtained audio buffer: 240 samples (2880 bytes)
00:00:07 - SDL Info (0): Audio channel count: 6
00:00:07 - SDL Info (0): Audio channel mask: 3F
00:00:07 - SDL Info (0): V-sync enabled
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:00:07 - SDL Info (0): Initialized VAAPI 1.10
00:00:07 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754)
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x41524742 -> bgra.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x42475241 -> argb.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x41424752 -> rgba.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x52474241 -> abgr.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x58524742 -> bgr0.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x42475258 -> 0rgb.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x58424752 -> rgb0.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x52474258 -> 0bgr.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30335241 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30334241 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30335258 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30334258 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x36314752 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x50424752 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x50524742 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x56555941 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30303859 -> gray.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x3231564e -> nv12.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x3132564e -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x32595559 -> yuyv422.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x59565955 -> uyvy422.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x32315659 -> yuv420p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30323449 -> yuv420p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x50313134 -> yuv411p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x48323234 -> yuv422p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x56323234 -> yuv440p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x50343434 -> yuv444p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x33434d49 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Format 0x30313050 -> p010le.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754).
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x246fd00] Driver not found in known nonstandard list, using standard behaviour.
00:00:07 - SDL Info (0): Using indirect rendering due to lack of VAEntrypointVideoProc
00:00:07 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:07 - FFmpeg: [hevc @ 0x378cc00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x378cc00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x378cc00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x378cc00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Decoding VPS
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Main profile bitstream
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Decoding SPS
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Main profile bitstream
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Decoding VUI
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Decoding PPS
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Format vaapi_vld chosen by get_format().
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Format vaapi_vld requires hwaccel initialisation.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Considering format 0x3231564e -> nv12.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Direct mapping possible.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x1.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x2.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x3.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x4.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x5.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x6.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x7.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x8.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x9.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0xa.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0xb.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0xc.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0xd.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0xe.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0xf.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x10.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x11.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x12.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x378f380] Created surface 0x13.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Considering format 0x3231564e -> nv12.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Decode context initialised: 0xf/0x10000000.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Output frame with POC 3.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Param buffer (type 0, 604 bytes) is 0.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Slice 0 param buffer (264 bytes) is 0x1.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Slice 0 data buffer (237 bytes) is 0x2.
00:00:07 - FFmpeg: [hevc @ 0x378cc00] Decode to surface 0x13.
00:00:07 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:07 - SDL Info (0): Desired audio buffer: 240 samples (2880 bytes)
00:00:07 - SDL Info (0): Obtained audio buffer: 240 samples (2880 bytes)
00:00:07 - Qt Info: Found "gamecontrollerdb.txt" at "/storage/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:07 - SDL Warn (0): 0 new mappings found in gamecontrollerdb.txt. Is it corrupt?
00:00:07 - SDL Info (0): V-sync enabled
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:00:07 - SDL Info (0): Initialized VAAPI 1.10
00:00:07 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754)
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x41524742 -> bgra.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x42475241 -> argb.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x41424752 -> rgba.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x52474241 -> abgr.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x58524742 -> bgr0.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x42475258 -> 0rgb.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x58424752 -> rgb0.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x52474258 -> 0bgr.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30335241 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30334241 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30335258 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30334258 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x36314752 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x50424752 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x50524742 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x56555941 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30303859 -> gray.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x3231564e -> nv12.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x3132564e -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x32595559 -> yuyv422.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x59565955 -> uyvy422.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x32315659 -> yuv420p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30323449 -> yuv420p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x50313134 -> yuv411p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x48323234 -> yuv422p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x56323234 -> yuv440p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x50343434 -> yuv444p.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x33434d49 -> unknown.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Format 0x30313050 -> p010le.
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754).
00:00:07 - FFmpeg: [AVHWDeviceContext @ 0x1a36a40] Driver not found in known nonstandard list, using standard behaviour.
00:00:07 - SDL Info (0): Using indirect rendering due to lack of VAEntrypointVideoProc
00:00:07 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:07 - FFmpeg: [hevc @ 0x3797480] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x3797480] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x3797480] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x3797480] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:07 - FFmpeg: [hevc @ 0x3797480] Decoding VPS
00:00:07 - FFmpeg: [hevc @ 0x3797480] Main profile bitstream
00:00:07 - FFmpeg: [hevc @ 0x3797480] Decoding SPS
00:00:07 - FFmpeg: [hevc @ 0x3797480] Main profile bitstream
00:00:07 - FFmpeg: [hevc @ 0x3797480] Decoding VUI
00:00:07 - FFmpeg: [hevc @ 0x3797480] Decoding PPS
00:00:07 - FFmpeg: [hevc @ 0x3797480] Format vaapi_vld chosen by get_format().
00:00:07 - FFmpeg: [hevc @ 0x3797480] Format vaapi_vld requires hwaccel initialisation.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Considering format 0x3231564e -> nv12.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Direct mapping possible.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x1.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x2.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x3.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x4.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x5.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x6.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x7.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x8.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x9.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0xa.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0xb.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0xc.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0xd.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0xe.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0xf.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x10.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x11.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x12.
00:00:07 - FFmpeg: [AVHWFramesContext @ 0x3783400] Created surface 0x13.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Considering format 0x3231564e -> nv12.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Decode context initialised: 0xf/0x10000000.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Output frame with POC 3.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Param buffer (type 0, 604 bytes) is 0.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Slice 0 param buffer (264 bytes) is 0x1.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Slice 0 data buffer (237 bytes) is 0x2.
00:00:07 - FFmpeg: [hevc @ 0x3797480] Decode to surface 0x13.
00:00:07 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:07 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:07 - SDL Info (0): Loaded 1 new gamepad mappings
00:00:09 - SDL Info (0): Found host supported resolution: 1920x1080
00:00:09 - Qt Info: Executing request: "https://192.168.1.10:47984/launch?uniqueid=0123456789ABCDEF&uuid=009fb6404c7c43ff9047649c0a91130a&appid=1088017781&mode=1920x1080x60&additionalStates=1&sops=1&rikey=274fc0dce6599d085dcc55518e8222d0&rikeyid=1863775930&localAudioPlayMode=0&surroundAudioInfo=4128774&remoteControllersBitmap=1&gcmap=1"
00:00:13 - Qt Info: Found matching interface: "eth0" "40:8D:5C:B3:DC:98" QFlags<QNetworkInterface::InterfaceFlag>(IsUp|IsRunning|CanBroadcast|CanMulticast)
00:00:13 - Qt Info: Interface Type: QNetworkInterface::Ethernet
00:00:13 - Qt Info: Interface MTU: 1500
00:00:13 - SDL Info (0): Initializing platform...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Resolving host name...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting RTSP handshake...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing control stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing video stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing audio stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Initializing input stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting control stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting video stream...
00:00:13 - SDL Info (0): Video stream is 1920x1080x60 (format 0x100)
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting audio stream...
00:00:13 - SDL Info (0): Desired audio buffer: 240 samples (2880 bytes)
00:00:13 - SDL Info (0): Obtained audio buffer: 240 samples (2880 bytes)
00:00:13 - SDL Info (0): Audio stream has 6 channels
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Starting input stream...
00:00:13 - SDL Info (0): done
00:00:13 - SDL Info (0): Qt UI screen is at (0,0)
00:00:13 - SDL Info (0): SDL found matching display 0
00:00:14 - SDL Info (0): Gamepad 0 (player 0) is: Xbox One Wireless Controller (haptic capabilities: 0x10000) (mapping: 050000005e040000e002000003090000 -> 050000005e040000e002000003090000,Xbox One Wireless Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b8,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b9,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux,)
00:00:14 - SDL Info (0): Recreating renderer for window event: 1 (0 0)
00:00:14 - SDL Info (0): Chosen best display mode: 1920x1080x60
00:00:14 - SDL Info (0): V-sync enabled
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:00:14 - SDL Info (0): Initialized VAAPI 1.10
00:00:14 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754)
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x41524742 -> bgra.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x42475241 -> argb.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x41424752 -> rgba.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x52474241 -> abgr.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x58524742 -> bgr0.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x42475258 -> 0rgb.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x58424752 -> rgb0.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x52474258 -> 0bgr.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30335241 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30334241 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30335258 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30334258 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x36314752 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x50424752 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x50524742 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x56555941 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30303859 -> gray.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x3231564e -> nv12.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x3132564e -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x32595559 -> yuyv422.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x59565955 -> uyvy422.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x32315659 -> yuv420p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30323449 -> yuv420p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x50313134 -> yuv411p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x48323234 -> yuv422p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x56323234 -> yuv440p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x50343434 -> yuv444p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x33434d49 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Format 0x30313050 -> p010le.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754).
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1acd040] Driver not found in known nonstandard list, using standard behaviour.
00:00:14 - SDL Info (0): Using indirect rendering due to lack of VAEntrypointVideoProc
00:00:14 - SDL Info (0): Received first audio packet after 100 ms
00:00:14 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Decoding VPS
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Main profile bitstream
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Decoding SPS
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Main profile bitstream
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Decoding VUI
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Decoding PPS
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Format vaapi_vld chosen by get_format().
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Format vaapi_vld requires hwaccel initialisation.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Considering format 0x3231564e -> nv12.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Direct mapping possible.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x1.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x2.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x3.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x4.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x5.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x6.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x7.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x8.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x9.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0xa.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0xb.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0xc.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0xd.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0xe.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0xf.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x10.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x11.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x12.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x379e080] Created surface 0x13.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Considering format 0x3231564e -> nv12.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Decode context initialised: 0xf/0x10000000.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Output frame with POC 3.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Param buffer (type 0, 604 bytes) is 0.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Slice 0 param buffer (264 bytes) is 0x1.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Slice 0 data buffer (237 bytes) is 0x2.
00:00:14 - FFmpeg: [hevc @ 0x35b0c00] Decode to surface 0x13.
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:00:14 - SDL Info (0): Initialized VAAPI 1.10
00:00:14 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754)
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x41524742 -> bgra.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x42475241 -> argb.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x41424752 -> rgba.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x52474241 -> abgr.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x58524742 -> bgr0.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x42475258 -> 0rgb.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x58424752 -> rgb0.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x52474258 -> 0bgr.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30335241 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30334241 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30335258 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30334258 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x36314752 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x50424752 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x50524742 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x56555941 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30303859 -> gray.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x3231564e -> nv12.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x3132564e -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x32595559 -> yuyv422.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x59565955 -> uyvy422.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x32315659 -> yuv420p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30323449 -> yuv420p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x50313134 -> yuv411p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x48323234 -> yuv422p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x56323234 -> yuv440p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x50343434 -> yuv444p.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x33434d49 -> unknown.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Format 0x30313050 -> p010le.
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 20.4.5 (289275e754).
00:00:14 - FFmpeg: [AVHWDeviceContext @ 0x1accb00] Driver not found in known nonstandard list, using standard behaviour.
00:00:14 - SDL Info (0): Using indirect rendering due to lack of VAEntrypointVideoProc
00:00:14 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:00:14 - SDL Info (0): SDL renderer backend: opengl
00:00:14 - SDL Info (0): SDL renderer backend requires main thread rendering
00:00:14 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:14 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:14 - SDL Info (0): Dropping window event during flush: 6 (1920 1080)
00:00:14 - SDL Info (0): Dropping window event during flush: 1 (0 0)
00:00:14 - SDL Info (0): Received first video packet after 600 ms
00:00:14 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:14 - SDL Info (0): IDR frame request sent
00:00:14 - SDL Info (0): Waiting for IDR frame
00:00:14 - SDL Info (0): Waiting for IDR frame
00:00:14 - SDL Info (0): Waiting for IDR frame
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Decoding VPS
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Main profile bitstream
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Decoding SPS
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Main profile bitstream
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Decoding VUI
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Decoding PPS
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Format vaapi_vld chosen by get_format().
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Format vaapi_vld requires hwaccel initialisation.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Considering format 0x3231564e -> nv12.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Direct mapping possible.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x1.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x2.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x3.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x4.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x5.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x6.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x7.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x8.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x9.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0xa.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0xb.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0xc.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0xd.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0xe.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0xf.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x10.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x11.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x12.
00:00:14 - FFmpeg: [AVHWFramesContext @ 0x7f68e40053c0] Created surface 0x13.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Considering format 0x3231564e -> nv12.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Picked nv12 (0x3231564e) as best match for yuv420p.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Decode context initialised: 0xf/0x10000000.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Output frame with POC 4.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Param buffer (type 0, 604 bytes) is 0.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Slice 0 param buffer (264 bytes) is 0x1.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Slice 0 data buffer (128610 bytes) is 0x2.
00:00:14 - FFmpeg: [hevc @ 0x37f6d80] Decode to surface 0x13.
00:00:14 - SDL Info (0): Selected read-back format: 23
00:00:45 - SDL Info (0): Returning RTP packet queued for too long
00:00:45 - SDL Info (0): Received OOS audio data (expected 6380, but got 6381)
00:01:29 - SDL Info (0): Network dropped an entire frame
00:01:29 - SDL Info (0): Waiting for IDR frame
00:01:29 - SDL Info (0): IDR frame request sent
00:03:31 - SDL Info (0): Unhandled button event: 118
00:03:31 - SDL Info (0): Unhandled button event: 118
00:03:32 - SDL Info (0): Unhandled button event: 118
00:03:33 - SDL Info (0): Unhandled button event: 118
00:04:23 - SDL Info (0): Returning RTP packet queued for too long
00:04:23 - SDL Info (0): Received OOS audio data (expected 49908, but got 49909)
00:05:42 - SDL Info (0): Unhandled button event: 118
00:05:42 - SDL Info (0): Unhandled button event: 118
00:05:50 - SDL Info (0): Server notified termination reason: 0x0100
00:05:50 - SDL Error (0): Connection terminated: 0
00:05:50 - SDL Info (0): Quit event received
00:05:50 - SDL Info (0): Global video stats
00:05:50 - SDL Info (0): ----------------------------------------------------------
Incoming frame rate from network: 59.92 FPS
Decoding frame rate: 59.92 FPS
Rendering frame rate: 59.86 FPS
Frames dropped by your network connection: 0.01%
Frames dropped due to network jitter: 0.09%
Average receive time: 2.37 ms
Average decoding time: 0.38 ms
Average frame queue delay: 0.91 ms
Average rendering time (including monitor V-sync latency): 10.75 ms
00:05:50 - SDL Info (0): Stopping input stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Stopping audio stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Stopping video stream...
00:05:50 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:05:50 - SDL Info (0): Loaded 1 new gamepad mappings
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Stopping control stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Cleaning up input stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Cleaning up audio stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Cleaning up video stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Cleaning up control stream...
00:05:50 - SDL Info (0): done
00:05:50 - SDL Info (0): Cleaning up platform...
00:05:50 - SDL Info (0): done
00:05:50 - Qt Info: Discovered mDNS host: "X99.local."
00:05:50 - Qt Info: Resolved "X99.local." to QHostAddress("192.168.1.10")
00:05:50 - Qt Info: Resolved "X99.local." to QHostAddress("fe80::6cfb:cb8a:c352:e163")
00:05:52 - Qt Info: Processing new PC at "192.168.1.10" from mDNS QHostAddress("")
00:05:52 - Qt Info: Executing request: "http://192.168.1.10:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=e1335eb0f0ce4186a825da7693852363"
00:05:52 - Qt Info: Executing request: "https://192.168.1.10:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=cde986e2065f4cca86e96271df0beed7"