Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,068
    • Issues 3,068
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 998
    • Merge requests 998
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Issues
  • #2363
Closed
Open
Issue created Jan 17, 2020 by Pierre-Eric Pelloux-Prayer@peppDeveloper

Incorrect rendering with vaapi + uyvy422

The attached sample plays well when using these command lines:

mpv --vo=gpu bbb_i.mp4
mpv --vf=format:nv12:convert=yes --vo=vaapi bbb_i.mp4

But when played like this:

mpv --vo=vaapi bbb_i.mp4

the rendering is broken: uyvy

In this case the compute_shader_video_buffer compute shader program is used by vlVaPutSurface.

From a quick look I'm not sure it's compatible with the uyvy layout (eg: I think it assumes 1 y value per pixel, while uyvy has 2) but I'm not familiar with this code.

(tested on radeonsi)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking