Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu-next + vulkan under heavy system load leads to partially presented or out-of-order frames on amdgpu #13811

Open
CounterPillow opened this issue Apr 2, 2024 · 2 comments

Comments

@CounterPillow
Copy link
Contributor

Important Information

Provide following Information:

  • mpv version: mpv v0.37.0-663-g9cee44147a and libplacebo v7.349.0 (v6.338.0-120-g7b294350-dirty)
  • Linux Distribution and Version: Arch Linux, x86_64, Linux 6.8.2-arch2-1
  • Source of the mpv binary: mpv-build
  • If known which version of mpv introduced the problem: N/A
  • Window Manager and version: kwin_wayland 6.0.2
  • GPU model, driver and version: AMD Radeon Vega 10 iGPU (Ryzen 7 Pro 3700U "Picasso"), Mesa 24.0.3, RADV
  • Possible screenshot or video of visual glitches: https://overviewer.org/~pillow/up/0306cb4fe7/corruption_vulkan_gpu-next.mp4

Reproduction steps

Be on a Ryzen 7 Pro 3700U, have some CPU-heavy task running in the background making the whole SoC throttle to stay within its power envelope.

mpv --no-config --log-file=/tmp/mpvsucks-vulkanagain.log --gpu-api=vulkan --profile=high-quality --vo=gpu-next --hwdec=auto --ytdl-format='bestvideo[height<=1080]+bestaudio/best' https://www.youtube.com/watch?v=dpiYR1_CsiI

Glitches do not happen with OpenGL. Glitches do not happen with vo=dmabuf-wayland.

Glitches also occasionally occur without CPU heavy tasks in the background, probably due to something taking a little too long and ruining the timing.

Expected behavior

mpv drops the whole frame.

Actual behavior

mpv partially draws the frame, sometimes drawing a few frames in the future or past but only in parts, and is generally unpleasant to look at.

Log file

https://overviewer.org/~pillow/up/d916e5bf9c/mpvsucks-vulkanagain.log

Sample files

YouTube link in the repro command should suffice.

@CounterPillow
Copy link
Contributor Author

And here's another logfile with both mpv and libplacebo updated to latest master and rebuilt without whatever weird shit keeps touching my git checkouts preventing the git pulls of ./rebuild from working: https://overviewer.org/~pillow/up/53b48aa64b/mpvsucks-vulkanupdated.log

@zhangn1985

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants