moonlight-stream / moonlight-qt

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

Can't use in amd card in Debian sid #494

Closed plusls closed 3 years ago

plusls commented 3 years ago

Describe the bug Can't use in amd card.

libva info: VA-API version 1.8.0
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
00:00:23 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'radeonsi'
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
00:00:23 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.8.0
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: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva error: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
libva info: va_openDriver() returns -1
00:00:23 - SDL Info (0): Trying fallback VAAPI driver names
libva info: VA-API version 1.8.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: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so has no function __vaDriverInit_1_0
libva info: va_openDriver() returns -1
libva info: VA-API version 1.8.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: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
DRM_IOCTL_I915_GEM_APERTURE failed: 没有那个文件或目录
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
libva info: VA-API version 1.8.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: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva error: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0
libva info: va_openDriver() returns -1
00:00:23 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:23 - FFmpeg: [AVHWDeviceContext @ 0x30bb200] Successfully created a VDPAU device (G3DVL VDPAU Driver Shared Library version 1.0) on X11 display :0
00:00:23 - SDL Info (0): Driver: G3DVL VDPAU Driver Shared Library version 1.0
00:00:23 - SDL Info (0): Using VDPAU accelerated renderer
00:00:23 - FFmpeg: [h264 @ 0x3482180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x3482180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x3482180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x3482180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x3482180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x3482180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x3482180] Format vdpau chosen by get_format().
00:00:23 - FFmpeg: [h264 @ 0x3482180] Format vdpau requires hwaccel initialisation.
00:00:23 - FFmpeg: [h264 @ 0x3482180] Reinit context to 1280x720, pix_fmt: vdpau
00:00:23 - FFmpeg: [AVHWDeviceContext @ 0x344b640] Successfully created a VDPAU device (G3DVL VDPAU Driver Shared Library version 1.0) on X11 display :0
00:00:23 - SDL Info (0): Driver: G3DVL VDPAU Driver Shared Library version 1.0
00:00:23 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream
00:00:23 - SDL Info (0): Using VDPAU accelerated renderer
00:00:23 - SDL Info (0): Using H.264 SPS fixup
00:00:23 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:23 - SDL Info (0): Waiting for IDR frame
00:00:23 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:23 - SDL Info (0): IDR frame request sent
00:00:23 - SDL Info (0): Waiting for IDR frame
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau chosen by get_format().
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau requires hwaccel initialisation.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Failed setup for format vdpau: hwaccel initialisation returned error.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau not usable, retrying get_format() without it.
00:00:23 - FFmpeg: [h264 @ 0x349a800] decode_slice_header error
00:00:23 - FFmpeg: [h264 @ 0x349a800] no frame!
00:00:23 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:23 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:23 - SDL Info (0): IDR frame request sent
00:00:23 - SDL Info (0): Waiting for IDR frame
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau chosen by get_format().
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau requires hwaccel initialisation.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Failed setup for format vdpau: hwaccel initialisation returned error.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau not usable, retrying get_format() without it.
00:00:23 - FFmpeg: [h264 @ 0x349a800] decode_slice_header error
00:00:23 - FFmpeg: [h264 @ 0x349a800] no frame!
00:00:23 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:23 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:23 - SDL Info (0): IDR frame request sent
00:00:23 - SDL Info (0): Waiting for IDR frame
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau chosen by get_format().
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau requires hwaccel initialisation.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Failed setup for format vdpau: hwaccel initialisation returned error.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau not usable, retrying get_format() without it.
00:00:23 - FFmpeg: [h264 @ 0x349a800] decode_slice_header error
00:00:23 - FFmpeg: [h264 @ 0x349a800] no frame!
00:00:23 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:23 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:23 - SDL Info (0): IDR frame request sent
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau chosen by get_format().
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau requires hwaccel initialisation.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Failed setup for format vdpau: hwaccel initialisation returned error.
00:00:23 - FFmpeg: [h264 @ 0x349a800] Format vdpau not usable, retrying get_format() without it.
00:00:23 - FFmpeg: [h264 @ 0x349a800] decode_slice_header error
00:00:23 - FFmpeg: [h264 @ 0x349a800] no frame!
00:00:23 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:23 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:23 - SDL Info (0): IDR frame request sent
00:00:23 - SDL Info (0): Waiting for IDR frame

Client PC details (please complete the following information)

cgutman commented 3 years ago

I assume you're using the AppImage. I think it's because your VAAPI drivers are newer than the libva bundled in the AppImage supports.

Please try a more recent dev build - https://ci.appveyor.com/project/cgutman/moonlight-qt/builds/37041991/job/2788oxpf7t0b77f3/artifacts

plusls commented 3 years ago

Thank you for your reply. Yes, I'm using the AppImage. After Use new version, No longer show /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so has no function __vaDriverInit_1_0 error, but still have Failed setup for format vdpau: hwaccel initialisation returned error.

libva info: VA-API version 1.10.0
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: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:08:02 - SDL Info (0): Initialized VAAPI 1.10
00:08:02 - SDL Info (0): Driver: Mesa Gallium driver 20.2.6 for AMD BONAIRE (DRM 2.50.0, 5.9.0-5-amd64, LLVM 11.0.0)
00:08:02 - SDL Warn (0): Avoiding VAAPI on AMD driver
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [AVHWDeviceContext @ 0x31855c0] Successfully created a VDPAU device (G3DVL VDPAU Driver Shared Library version 1.0) on X11 display :0
00:08:02 - SDL Info (0): Driver: G3DVL VDPAU Driver Shared Library version 1.0
00:08:02 - SDL Info (0): Using VDPAU accelerated renderer
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x2cc1f80] Reinit context to 1280x720, pix_fmt: vdpau
00:08:02 - FFmpeg: [AVHWDeviceContext @ 0x2665f00] Successfully created a VDPAU device (G3DVL VDPAU Driver Shared Library version 1.0) on X11 display :0
00:08:02 - SDL Info (0): Driver: G3DVL VDPAU Driver Shared Library version 1.0
00:08:02 - SDL Info (0): Frame pacing active: target 60 Hz with 60 FPS stream
00:08:02 - SDL Info (0): Using VDPAU accelerated renderer
00:08:02 - SDL Info (0): Using H.264 SPS fixup
00:08:02 - SDL Info (0): FFmpeg-based video decoder chosen
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
^C00:08:02 - SDL Info (0): Quit event received
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau chosen by get_format().
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau requires hwaccel initialisation.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Failed setup for format vdpau: hwaccel initialisation returned error.
00:08:02 - FFmpeg: [h264 @ 0x3172180] Format vdpau not usable, retrying get_format() without it.
00:08:02 - FFmpeg: [h264 @ 0x3172180] decode_slice_header error
00:08:02 - FFmpeg: [h264 @ 0x3172180] no frame!
00:08:02 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:08:02 - SDL Info (0): Requesting IDR frame on behalf of DR
00:08:02 - SDL Info (0): IDR frame request sent
00:08:02 - SDL Info (0): Waiting for IDR frame
00:08:02 - SDL Info (0): Stopping input stream...
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Stopping audio stream...
00:08:02 - SDL Info (0): ENet wait interrupted
00:08:02 - SDL Info (0): Control stream connection failed: -1
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Stopping video stream...
00:08:02 - Qt Info: Found "gamecontrollerdb.txt" at "/home/plusls/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:08:02 - SDL Info (0): Loaded 106 new gamepad mappings
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Stopping control stream...
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Cleaning up input stream...
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Cleaning up audio stream...
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Cleaning up video stream...
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Cleaning up control stream...
00:08:02 - SDL Info (0): done
00:08:02 - SDL Info (0): Cleaning up platform...
00:08:02 - SDL Info (0): done
00:08:03 - Qt Info: Discovered mDNS host: "DESKTOP-75J3BOM.local."
00:08:03 - Qt Info: Resolved "DESKTOP-75J3BOM.local." to QHostAddress("192.168.122.69")
00:08:03 - Qt Info: Resolved "DESKTOP-75J3BOM.local." to QHostAddress("fe80::9c0f:af98:bdbf:5bb2")
00:08:04 - Qt Info: Processing new PC at "192.168.122.69" from mDNS QHostAddress("")
00:08:04 - Qt Info: Executing request: "http://192.168.122.69:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=02268ac526134b0ab15011b6e9c230fc"
00:08:04 - Qt Info: Executing request: "https://192.168.122.69:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=018e50dc496c430085b73068b0a57ddb"
cgutman commented 3 years ago

Try running the AppImage like: FORCE_VAAPI=1 ./Moonlight-r1242-x86_64.AppImage

plusls commented 3 years ago

it still not work. Format vaapi_vld not usable, retrying get_format() without it.

libva info: VA-API version 1.10.0
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: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
00:00:35 - SDL Info (0): Initialized VAAPI 1.10
00:00:35 - SDL Info (0): Driver: Mesa Gallium driver 20.2.6 for AMD BONAIRE (DRM 2.50.0, 5.9.0-5-amd64, LLVM 11.0.0)
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x3231564e -> nv12.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x30313050 -> p010le.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x36313050 -> unknown.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x30323449 -> yuv420p.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x32315659 -> yuv420p.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x56595559 -> unknown.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x32595559 -> yuyv422.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x59565955 -> uyvy422.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x41524742 -> bgra.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x41424752 -> rgba.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x58524742 -> bgr0.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Format 0x58424752 -> rgb0.
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] VAAPI driver: Mesa Gallium driver 20.2.6 for AMD BONAIRE (DRM 2.50.0, 5.9.0-5-amd64, LLVM 11.0.0).
00:00:35 - FFmpeg: [AVHWDeviceContext @ 0x252bdc0] Driver not found in known nonstandard list, using standard behaviour.
00:00:35 - SDL Info (0): VAAPI driver supports exporting DRM PRIME surface handles
00:00:35 - SDL Info (0): Frame pacing active: target 60 Hz with 60 FPS stream
00:00:35 - SDL Info (0): Using VAAPI accelerated renderer on x11
00:00:35 - SDL Info (0): Using H.264 SPS fixup
00:00:35 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:35 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:35 - SDL Info (0): IDR frame request sent
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:35 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:35 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:35 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:35 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:35 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:35 - SDL Info (0): IDR frame request sent
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:35 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:35 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:35 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:35 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:35 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:35 - SDL Info (0): IDR frame request sent
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:35 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:35 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:35 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:35 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:35 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:35 - SDL Info (0): IDR frame request sent
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:35 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:35 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:35 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:35 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:35 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:35 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:35 - SDL Info (0): IDR frame request sent
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:36 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:36 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:36 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:36 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:36 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:36 - SDL Info (0): IDR frame request sent
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:36 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:36 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:36 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:36 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:36 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:36 - SDL Info (0): IDR frame request sent
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:36 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:36 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:36 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:36 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:36 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:36 - SDL Info (0): IDR frame request sent
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 7(SPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 8(PPS), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] nal_unit_type: 5(IDR), nal_ref_idc: 3
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld chosen by get_format().
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld requires hwaccel initialisation.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Hardware does not support image size 2560x1440 (constraints: width 0-2048 height 0-1152).
00:00:36 - FFmpeg: [h264 @ 0x23db900] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
00:00:36 - FFmpeg: [h264 @ 0x23db900] Format vaapi_vld not usable, retrying get_format() without it.
00:00:36 - FFmpeg: [h264 @ 0x23db900] decode_slice_header error
00:00:36 - FFmpeg: [h264 @ 0x23db900] no frame!
00:00:36 - SDL Warn (0): avcodec_send_packet() failed: Invalid data found when processing input
00:00:36 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:36 - SDL Info (0): IDR frame request sent
^C00:00:36 - SDL Info (0): Quit event received
00:00:36 - SDL Info (0): Stopping input stream...
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Stopping audio stream...
00:00:36 - SDL Info (0): ENet wait interrupted
00:00:36 - SDL Info (0): Control stream connection failed: -1
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Stopping video stream...
00:00:36 - Qt Info: Found "gamecontrollerdb.txt" at "/home/plusls/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:36 - SDL Info (0): Loaded 106 new gamepad mappings
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Stopping control stream...
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Cleaning up input stream...
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Cleaning up audio stream...
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Cleaning up video stream...
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Cleaning up control stream...
00:00:36 - SDL Info (0): done
00:00:36 - SDL Info (0): Cleaning up platform...
00:00:36 - SDL Info (0): done
plusls commented 3 years ago

My config:

image

cgutman commented 3 years ago

Maybe your GPU is missing firmware or something required to use the decoder hardware on Debian?

Can you try another VAAPI or VDPAU enabled application like VLC and see if hardware decoding is working?

plusls commented 3 years ago

VLC works, but have some log:

[000055d0a178a5b0] main libvlc: 正在以默认界面运行 vlc。使用“cvlc”可以无界面模式使用 vlc。
[000055d0a1831a10] main playlist: playlist is empty
kf.kio.core: "无法进入文件夹 tags:/。"
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007fe69c003f10] gl gl: Initialized libplacebo v2.72.0 (API v72)
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fe69c003f10] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007fe6c4000990] main video output error: video output creation failed
[00007fe6b0e7a890] main decoder error: failed to create video output
[00007fe69c81f530] gl gl: Initialized libplacebo v2.72.0 (API v72)
[00007fe6b0e7a890] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[h264 @ 0x7fe6b0e8f8c0] Failed setup for format vdpau: hwaccel initialisation returned error.
[00007fe6b0e7a890] avcodec decoder error: existing hardware acceleration cannot be reused
[00007fe69c8896c0] gl gl: Initialized libplacebo v2.72.0 (API v72)
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fe69c8896c0] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007fe69c81f530] gl gl: Initialized libplacebo v2.72.0 (API v72)
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fe69c81f530] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007fe6c40c2f40] main video output error: video output creation failed
[00007fe6b0e7a890] main decoder error: failed to create video output
[00007fe69c81f530] gl gl: Initialized libplacebo v2.72.0 (API v72)
plusls commented 3 years ago

Here is some information mabe can help you.

$ vainfo
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.9.0)
vainfo: Driver version: Mesa Gallium driver 20.2.6 for AMD BONAIRE (DRM 2.50.0, 5.9.0-5-amd64, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileNone                   : VAEntrypointVideoProc
plusls commented 3 years ago
$ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 
420_16 16384 16384  
422_16 16384 16384  
444_16 16384 16384  

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                    3  9216  2048  1152
MPEG2_MAIN                      3  9216  2048  1152
H264_BASELINE                  41  9216  2048  1152
H264_MAIN                      41  9216  2048  1152
H264_HIGH                      41  9216  2048  1152
VC1_SIMPLE                      1  9216  2048  1152
VC1_MAIN                        2  9216  2048  1152
VC1_ADVANCED                    4  9216  2048  1152
MPEG4_PART2_SP                  3  9216  2048  1152
MPEG4_PART2_ASP                 5  9216  2048  1152
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE       0  9216  2048  1152
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  
plusls commented 3 years ago

https://gitlab.freedesktop.org/mesa/mesa/-/issues/1193

plusls commented 3 years ago

I saw that someone fix this problem after using "Mesa 21-0-0", i think it is an amd driver problem? But sid don't support this version, mabe i need wait driver update.

I hope that moonlight can support a fallback option to use cpu decode?

cgutman commented 3 years ago

It's supposed to fall back to CPU automatically, but it looks like your hardware decoding block doesn't fail the 720p test frame that Moonlight uses to determine if the hardware decoding is functional. Does it work if you try to stream 720p?

plusls commented 3 years ago

It works in 720p and 1080p but no work in 1440p.

Thank you!

I think it should work after mesa update to 20.3