Moonlight client on Librem 5

Hi there,

I just installed Moonlight client on my Librem 5 through Flatpack repository.
Unfortunately it doesn’t work as it says “no functioning accelerated video decoder detected” but Librem 5 has h.264 hardware decoding right ? V4l2 should should work through Hantro driver ?
What am I missing here ? I guy on MNT Reform forum seems to think that ffmpeg/ffplay is not using h264_v4l2m2m on imx8m.

Somebody managed to make moonlight work on the Librem 5 ?

Many thanks.

Screenshot 2023-05-27 at 19.25.58

can you run on console to see what is going on or disable hw accel into app…most app it using vaapi or vdpau

I tried running with the -platform wayland flag but it doesn’t change anything. (even if moonlight wiki specify that moonlight installed through flatpack run under wayland by default)

Here is the log in 2 post as it’s too long :

purism@pureos:~$ flatpak run com.moonlight_stream.Moonlight
00:00:00 - Qt Warning: Could not find color scheme “”
00:00:00 - SDL Info (0): Compiled with SDL 2.26.0
00:00:00 - SDL Info (0): Running with SDL 2.26.0
00:00:00 - Qt Info: No translation available for “en_US”
00:00:00 - SDL Info (0): Detected Wayland
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 “/home/purism/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt”
00:00:00 - SDL Info (0): Loaded 266 new gamepad mappings
00:00:01 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:01 - SDL Error (0): EGLRenderer: SDL_CreateRenderer() failed: Could not create EGL context (call to eglCreateContext failed, reporting an error of EGL_BAD_CONFIG)
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:01 - SDL Error (0): EGLRenderer: SDL_CreateRenderer() already failed on this window!
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2c0b99e0] Cannot load libcuda.so.1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2c0b99e0] Could not dynamically load CUDA
00:00:01 - SDL Error (0): av_hwdevice_ctx_create(CUDA) failed: -1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2c01df00] Cannot load libcuda.so.1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2c01df00] Could not dynamically load CUDA
00:00:01 - SDL Error (0): av_hwdevice_ctx_create(CUDA) failed: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Error (0): Unable to load FFmpeg decoder
00:00:01 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:01 - SDL Error (0): EGLRenderer: SDL_CreateRenderer() failed: Could not create EGL context (call to eglCreateContext failed, reporting an error of EGL_BAD_CONFIG)
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): Using DRM renderer
00:00:01 - FFmpeg: [hevc_mp4toannexb @ 0xffff2ce8c800] The input looks like it is Annex B already
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] probing device /dev/video3
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] driver ‘hantro-vpu’ on card ‘nxp,imx8mq-vpu-g2-dec’ in mplane mode
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] v4l2 output format not supported
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] probing device /dev/video1
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] driver ‘hantro-vpu’ on card ‘nxp,imx8mq-vpu-g1-dec’ in mplane mode
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] v4l2 output format not supported
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] Could not find a valid device
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] can’t configure decoder
00:00:01 - SDL Error (0): Unable to open decoder for format: 100
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): DRM backend supports exporting EGLImage
00:00:01 - SDL Error (0): EGLRenderer: SDL_CreateRenderer() already failed on this window!
00:00:01 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128
00:00:01 - SDL Info (0): Direct rendering via DRM is disabled
00:00:01 - SDL Info (0): Using DRM renderer
00:00:01 - FFmpeg: [hevc_mp4toannexb @ 0xffff2c647370] The input looks like it is Annex B already
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] probing device /dev/video3
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] driver ‘hantro-vpu’ on card ‘nxp,imx8mq-vpu-g2-dec’ in mplane mode
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] v4l2 output format not supported
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] probing device /dev/video1
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] driver ‘hantro-vpu’ on card ‘nxp,imx8mq-vpu-g1-dec’ in mplane mode
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] v4l2 output format not supported
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] Could not find a valid device
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] can’t configure decoder
00:00:01 - SDL Error (0): Unable to open decoder for format: 100
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [hevc_mp4toannexb @ 0xffff2c556590] The input looks like it is Annex B already
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] Format nv12 chosen by get_format().
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] probing device /dev/video3
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] driver ‘hantro-vpu’ on card ‘nxp,imx8mq-vpu-g2-dec’ in mplane mode
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] v4l2 output format not supported
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] probing device /dev/video1
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] driver ‘hantro-vpu’ on card ‘nxp,imx8mq-vpu-g1-dec’ in mplane mode
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] v4l2 output format not supported
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] Could not find a valid device
00:00:01 - FFmpeg: [hevc_v4l2m2m @ 0xffff2ce8d760] can’t configure decoder
00:00:01 - SDL Error (0): Unable to open decoder for format: 100
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2cb56120] Cannot load libcuda.so.1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2cb56120] Could not dynamically load CUDA
00:00:01 - SDL Error (0): av_hwdevice_ctx_create(CUDA) failed: -1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2c9b8b70] Cannot load libcuda.so.1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0xffff2c9b8b70] Could not dynamically load CUDA
00:00:01 - SDL Error (0): av_hwdevice_ctx_create(CUDA) failed: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Error (0): Unable to load FFmpeg decoder
00:00:01 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/i965_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_18
kmsro: driver missing
libva error: /usr/lib/aarch64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so init failed
libva info: va_openDriver() returns 2
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/intel-vaapi-driver/nvidia_drv_video.so
libva info: Trying to open /usr/lib/aarch64-linux-gnu/GL/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib64/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/dri/mxsfb-drm_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/mxsfb-drm_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘i965’
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1

ibva info: User environment variable requested driver ‘radeonsi’
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver ‘nvidia’
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Warn (0): VDPAU is not supported on Wayland
00:00:01 - SDL Info (0): Using SDL renderer
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] Decoding VUI
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] Format yuv420p chosen by get_format().
00:00:01 - FFmpeg: [h264 @ 0xffff2ce8d760] Reinit context to 1280x720, pix_fmt: yuv420p
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:02 - Qt Info: Found “gamecontrollerdb.txt” at “/home/purism/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt”
00:00:02 - SDL Info (0): Loaded 266 new gamepad mappings
00:00:02 - Qt Debug: Current Moonlight version: “4.3.1”
00:00:02 - Qt Warning: qrc:/gui/main.qml:423:5: QML ErrorMessageDialog: Binding loop detected for property “x”
00:00:07 - Qt Warning: QObject::connect(QObject, QThreadPool): invalid nullptr parameter
00:00:07 - Qt Warning: QObject::connect(QObject, Unknown): invalid nullptr parameter

1 Like

If you put this ``` in front of the code it works a lot better for viewing the code.

I did some testing yesterday and seems that ffmpeg v4l2m2m does not enabled in Librem 5 build, so i guess it need to compile manual and enable v4l2m2m flag.
So yesterday i removed millipixels together with ffmpeg to build newer ffmpeg and enable some flags… but atm i not finishedd, so i will come back later here to report.

  • Also i was very disappointed that Millipixels it using FFmpeg to transcode to conventional .mp4-h.264_aac, i think will be better and fancy to .mkv-vp9_opus because as far i know the librem 5 do not have encoder, it just using NEON to transcode, and mkv it more Libre, vp9 improve quality and size and of course .mkv-vp9-opus will be hw accel decoder by Librem 5 VPU. :wink: @dcz
1 Like

Thank you !
BTW I tried to force software decoding as you suggested. It works, but the CPU is completely maxed out. It can handle proper decoding up to 720p, but not above.

If it can help : https://community.mnt.re/t/notes-on-building-ffmpeg-and-mpv-to-use-the-hardware-h-264-decoder/305

Good point. Do you want to contribute a fix?

1 Like

Yes i will, but first i need to do several testing to squeeze all benefits than before.