Mpv: Problem with playing 720p video while seeking forward/backward with VAAPI enabled.

Created on 22 Oct 2020  路  8Comments  路  Source: mpv-player/mpv

Important Information

Provide following Information:

  • mpv version
    mpv 0.32.0-781-gdc0e9644cd
  • Linux Distribution and Version
    Name: Manjaro Linux Version: 20.2 (Nibia) Codename: Nibia Kernel: 5.9.1-2-MANJARO
  • Source of the mpv binary
    http://aur.archlinux.org/packages/mpv-build-git
  • If known which version of mpv introduced the problem
    No
  • Window Manager and version
    mutter 3.38.1-1
  • GPU driver and version
    Mesa Gallium driver 20.2.1 for Radeon RX 580 Series (POLARIS10, DRM 3.39.0, 5.9.1-2-MANJARO, LLVM 10.0.1)
  • Possible screenshot or video of visual glitches
    https://youtu.be/hqysR609dsg
    I forgot to add --no-config in this video, but it does happen with --no-config.

Reproduction steps

  1. Play 720p videos on 1080p screen with VAAPI enabled. (It both happens on full screen and window mode)
  2. Seek forwark/backward.

Expected behavior

No glitches.

Actual behavior

It has glitches.

Log file

https://0x0.st/iDkw.txt

Sample files

Any 720p videos.

linux upstream mesa

All 8 comments

This is a recent AMD regression, I experience it too. Unrelated to mpv, happens inside any application using VAAPI acceleration.

@CounterPillow Appreciate for the information, thanks.

Is this related to Linux kernel?

No, it happens on both latest stable kernel and the LTS kernel. The problem is probably within mesa.

Judging by how long this has been around for, I'd assume this is a regression in mesa 20.2.0.

I've also noticed that this only appears to happen with H.264 and not with VP9. I see mesa 20.2.0 had some commits relating to interlaced content, which would only affect H.264 and not VP9 as the latter does not have interlaced coding. Thus, if I were to start digging, I'd start bisecting between 20.1.0 and 20.2.0.

I've built a mesa 20.1.x and installed it, and can indeed confirm now that mesa 20.2.0 is the culprit.

can we close this issue or does anything speak against it?

[edit]
it's probably the best to report it upstream, link the issue here and close it then?

I think it's better to create a new issue in Arch Linux bugtracker: https://bugs.archlinux.org/?project=1&string=mesa

Manjaro Linux probably is using same builds of mesa from arch linux repos.

This is not related to mpv because Firefox and other apps with vaapi enabled have this bugs too.

It's already been reported upstream https://gitlab.freedesktop.org/mesa/mesa/-/issues/3681

And no, reporting it to the distro bugtracker is pointless.

So yeah you can close this, Akemi.

Was this page helpful?
0 / 5 - 0 ratings