Trying to get mpv to play a video on Wayland with my configuration leads to the following crash:
--------------------------
$ mpv Chimera-2397fps-AV1-10bit-960x540-1658kbps.mp4
(+) Video --vid=1 (*) (av1 960x540 25.000fps)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).
[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints
VO: [gpu] 960x540 yuv420p10
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
V: 00:00:00 / 00:23:48 (0%)
[vo/gpu/wayland] Error occurred on the display fd, closing
Exiting... (Quit)
--------------------------
The same happens no matter if I try to enable or disable the HW encoding:
--------------------------
$ mpv --hwdec=no Chimera-2397fps-AV1-10bit-960x540-1658kbps.mp4
(+) Video --vid=1 (*) (av1 960x540 25.000fps)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
VO: [gpu] 960x540 yuv420p10
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
[vo/gpu/wayland] Error occurred on the display fd, closing
V: 00:00:00 / 00:23:48 (0%)
Exiting... (Quit)
--------------------------
--------------------------
$ mpv --hwdec=yes Chimera-2397fps-AV1-10bit-960x540-1658kbps.mp4
(+) Video --vid=1 (*) (av1 960x540 25.000fps)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).
[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints
Using hardware decoding (nvdec).
VO: [gpu] 960x540 cuda[p010]
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
[vo/gpu/wayland] Error occurred on the display fd, closing
V: 00:00:00 / 00:23:48 (0%)
Exiting... (Quit)
--------------------------
I've tried installing either intel-media-va-driver-non-free, either intel-media-va-driver, but I get the same result no matter what package is installed.
File used: http:// download. opencontent. netflix. com.s3. amazonaws. com/AV1/ Chimera/ Chimera- 2397fps- AV1-10bit- 960x540- 1658kbps. mp4
Trying to get mpv to play a video on Wayland with my configuration leads to the following crash:
------- ------- ------- ----- 2397fps- AV1-10bit- 960x540- 1658kbps. mp4
$ mpv Chimera-
(+) Video --vid=1 (*) (av1 960x540 25.000fps)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).
[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints
VO: [gpu] 960x540 yuv420p10
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
V: 00:00:00 / 00:23:48 (0%)
[vo/gpu/wayland] Error occurred on the display fd, closing
Exiting... (Quit) ------- ------- -----
-------
The same happens no matter if I try to enable or disable the HW encoding:
------- ------- ------- ----- 2397fps- AV1-10bit- 960x540- 1658kbps. mp4
$ mpv --hwdec=no Chimera-
(+) Video --vid=1 (*) (av1 960x540 25.000fps)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
VO: [gpu] 960x540 yuv420p10
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
[vo/gpu/wayland] Error occurred on the display fd, closing
V: 00:00:00 / 00:23:48 (0%)
Exiting... (Quit) ------- ------- -----
-------
------- ------- ------- ----- 2397fps- AV1-10bit- 960x540- 1658kbps. mp4
$ mpv --hwdec=yes Chimera-
(+) Video --vid=1 (*) (av1 960x540 25.000fps)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[ffmpeg] AVHWDeviceContext: Failed to query surface attributes: 20 (the requested function is not implemented).
[vo/gpu/vaapi-egl] failed to retrieve libavutil frame constraints
Using hardware decoding (nvdec).
VO: [gpu] 960x540 cuda[p010]
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
[vo/gpu/wayland] Error occurred on the display fd, closing
V: 00:00:00 / 00:23:48 (0%)
Exiting... (Quit) ------- ------- -----
-------
I've tried installing either intel-media- va-driver- non-free, either intel-media- va-driver, but I get the same result no matter what package is installed.
It's also worth noting that the same issue (and same output) happens no matter what file I'm using. I also tried loading an H264 file (http:// distribution. bbb3d.renderfar ming.net/ video/mp4/ bbb_sunflower_ 1080p_60fps_ normal. mp4) and am getting the same problem.
ProblemType: Bug ature: Ubuntu 5.15.0- 47.51-generic 5.15.46 dules: nvidia_modeset nvidia esult: pass
DistroRelease: Ubuntu 22.04
Package: mpv 0.34.1-1ubuntu3
ProcVersionSign
Uname: Linux 5.15.0-47-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 16 13:51:10 2022
InstallationDate: Installed on 2022-09-08 (7 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: mpv
UpgradeStatus: No upgrade log present (probably fresh install)