You are not logged in.
Pages: 1
Playing a video in mpv works fine as long as it's in a window, if I switch fullscreen it "stutters" as if jumping a bunch of frames back all the time.
Used to work with older mesa/kernel. vlc is fine though, so are browser videos.
Using AMDGPU/radeon vulkan with wayland/swaywm.
Linux SAPHIRE 6.14.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 07 Apr 2025 19:59:13 +0000 x86_64 GNU/Linux
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] (rev c8)
mesa 1:25.0.3-1
vulkan-radeon 1:25.0.3-1
mpv 1:0.40.0-2
Last edited by almindor (2025-04-11 22:46:30)
Offline
If vlc works fine then vaapi is enabled, I guess
But just in case provide output of
vainfo
Hardware decoding is not enabled in mpv by default. Have you set up mpv.conf in accordance with
https://wiki.archlinux.org/title/Mpv#Ha … celeration ?
If you have post it's contents here.
Offline
If vlc works fine then vaapi is enabled, I guess
But just in case provide output ofvainfo
Hardware decoding is not enabled in mpv by default. Have you set up mpv.conf in accordance with
https://wiki.archlinux.org/title/Mpv#Ha … celeration ?If you have post it's contents here.
Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.0.3-arch1.1 for AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 19.1.7, DRM 3.61, 6.14.2-arch1-1)
vainfo: Supported profile and entrypoints
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I didn't have mpv configured in any way, no config file. Adding `hwdec=auto` to `~/.config/mpv/mpv.conf` did not produce any change in behavior.
Offline
Try to add
gpu-api=opengl
option to mpv.conf. If that doesn't help try
gpu-context=drm
Last edited by Xephon (2025-04-12 19:33:51)
Offline
For clarification, this is *only* when setting the window fullscreen, not when playing the video at the same size but eg. in a maximized window?
Do you get the same w/ eg. weston/hyprland or openbox/icewm (ie. X11)?
Offline
Try to add
gpu-api=opengl
This "fixes it". Note that this was working without any config file before.
Offline
Does vkcube behave the same?
Offline
This "fixes it". Note that this was working without any config file before.
That's because mpv 0.40 changed default settings from --gpu-api=opengl to --gpu-api=vulkan. And it causes issues on some systems.
New versions -> new features -> new bugs. It's not a fix, it's a workaround until upstream fixes it.
Offline
This "fixes it". Note that this was working without any config file before.
That's because mpv 0.40 changed default settings from --gpu-api=opengl to --gpu-api=vulkan. And it causes issues on some systems.
New versions -> new features -> new bugs. It's not a fix, it's a workaround until upstream fixes it.
I think this is more of an accidental symptom. From what I can say mesa 1:25+ and radeon-vulkan same has broken a LOT of things. It seems latest fixed some of those but not all issues with vulkan/amdgpu.
Offline
Does vkcube behave the same?
No, vkcube seems fine windowed or fullscreen.
Offline
I'm pretty sure it's caused by this bug in mesa.
Last edited by almindor (2025-04-15 22:46:33)
Offline
I'm pretty sure that's not a valid link
Offline
I'm pretty sure that's not a valid link
Hah, damn antiquated codes, why can't we all just markdown. Link fixed
Offline
Pages: 1