mpv
mpv copied to clipboard
hwdec=vulkan with RADV still not working on my system
mpv Information
mpv 0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0
FFmpeg version: 7.0.2-3
FFmpeg library versions:
libavutil 59.8.100
libavcodec 61.3.100
libavformat 61.1.100
libswscale 8.1.100
libavfilter 10.1.100
libswresample 5.1.100
Other Information
- Linux version:
"Debian GNU/Linux trixie/sid"
- Kernel Version:
Linux debian-desktop 6.10.3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.3-1 (2024-08-04) x86_64 GNU/Linux
- GPU Model:
[AMD/ATI] Fiji [Radeon R9 FURY / NANO Series] [1002:7300] (rev cb)
- Mesa/GPU Driver Version:
Mesa 24.1.6-1
(Also tested 24.2.rc4) - Window Manager and Version: GNOME 46.4-1
- Source mpv: Debian testing repository
- Introduced in version: Ever since hwdec=vulkan was available
Reproduction Steps
RADV_PERFTEST=video_decode mpv --no-config --vo=gpu-next --gpu-api=vulkan --hwdec=vulkan --gpu-context=waylandvk <FILE>
Expected Behavior
Video playback with no issues and Vulkan Video hardware accelerated decoding
Actual Behavior
Depends on whether video is h264 or h265, but neither is working properly. Sometimes system completely hangs (kernel panic?).
h264:
No video output and error messages printed to console and dmesg, although some files produce garbled video output including big_buck_bunny_1080p_h264.mov.
mpv console output: https://gist.github.com/Brisse89/93eaa4d3a0a00e2fe9084ef496188e1a
dmesg: [ 6394.783530] amdgpu 0000:09:00.0: amdgpu: Disabling VM faults because of PRT request! [ 7369.984141] [drm:amdgpu_uvd_cs_pass2 [amdgpu]] *ERROR* )Handle 0x48780001 already in use!
h265: There's garbled video output and error messages printed to console and dmesg
Log File
Sample Files
https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_h264.mov
I carefully read all instruction and confirm that I did the following:
- [X] I tested with the latest mpv version to validate that the issue is not already fixed.
- [X] I provided all required information including system and mpv version.
- [X] 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
. - [X] I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- [X] I attached the full, untruncated log file.
- [X] I attached the backtrace in the case of a crash.