You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On latest mpv [other versions untested], and latest stable and beta NVIDIA proprietary drivers, dmabuf-wayland fails to produce video.
Reproduction Steps
With the hardware and software above, using dmabuf-wayland and any tested combination of gpu-api, gpu-context, and hwdec leads to no video output.
Expected Behavior
Video Output
Actual Behavior
No video output, with the status level error of:
status-level error of:
[hwupload] no support for this hw format
[hwupload] hardware format not supported
[autoconvert] HW-uploading to drm_prime
[hwupload] upload yuv420p -> drm_prime[yuv420p]
[hwupload] failed to upload frame
Cannot convert decoder/filter output to any format supported by the output.
Could not initialize video chain.
Possible additional context: When using other working vo's and hwdec, the output format tends to be along the lines of "cuda[nv12]", instead of drm_prime
I carefully read all instruction and confirm that I did the following:
I tested with the latest mpv version to validate that the issue is not already fixed.
I provided all required information including system and mpv version.
I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
I attached the full, untruncated log file.
I attached the backtrace in the case of a crash.
The text was updated successfully, but these errors were encountered:
dmabuf_wayland requires either vaapi or drmprime support. The latter is only relevant on SoC devices and AFAIK vaapi isn't going to work on nvidia so this is expected.
When nvidia-vaapi-driver is used, the vaapi hardware decoder does work in the gpu-next context.
Attached are two additional logs, one where dmabuf_wayland fails in the presence of the vaapi driver, and the other where vaapi under gpu-next succeeds
gpu-next is using vaapi-copy which doesn't work for dmabuf-wayland because it still needs to hwupload the frame to vaapi. You can try specifying --hwdec=vaapi. I think it will fail for you.
--hwdec=vaapi will work with --vo=gpu-next if you use OpenGL. It does not work with Vulkan (IIRC, due to the Vulkan dmabuf import not being supported). I haven't tried with --vo=dmabuf-wayland but if it doesn't work it's almost certainly a driver limitation you'd need to deal with in the driver.
mpv Information
Other Information
#1
-NixOS SMP PREEMPT_DYNAMIC Sat Jul 27 09:40:36 UTC 2024 x86_64 GNU/LinuxOn latest mpv [other versions untested], and latest stable and beta NVIDIA proprietary drivers, dmabuf-wayland fails to produce video.
Reproduction Steps
With the hardware and software above, using dmabuf-wayland and any tested combination of gpu-api, gpu-context, and hwdec leads to no video output.
Expected Behavior
Video Output
Actual Behavior
No video output, with the status level error of:
status-level error of:
[hwupload] no support for this hw format
[hwupload] hardware format not supported
[autoconvert] HW-uploading to drm_prime
[hwupload] upload yuv420p -> drm_prime[yuv420p]
[hwupload] failed to upload frame
Cannot convert decoder/filter output to any format supported by the output.
Could not initialize video chain.
Possible additional context: When using other working vo's and hwdec, the output format tends to be along the lines of "cuda[nv12]", instead of drm_prime
Log File
output.txt
Sample Files
Any and all videos tested yield the same result
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: