mpv-player / mpv-player/mpv

mpv vaapi decode and video output gpu (--vo=gpu) unable to render YUYV format decoded image or video, shows blue screen

Open
#11,604 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hwdec:vaapi os:linux
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information
  • mpv version: 0.34.1
  • Linux Distribution and Version: Ubuntu 22.04 Jammy
  • Source of the mpv binary: Debian package
  • If known which version of mpv introduced the problem: Unknown
  • Window Manager and version: x11 and wayland both show same results
  • GPU driver and version: amdgpu 3.48.0 , reproducible on any version
Reproduction steps

mpv --hwdec=vaapi --hwdec-codecs=all --vo=gpu yuvj422p.jpg

mpv mjpeg decode with vaapi hardware acceleration and render using video output gpu is showing blue screen, hardware accelerated decode succeeds, but rendering fails.

Expected behavior

decoded video/picture must be rendered

Actual behavior

blue screen

Log file

https://github.com/mpv-player/mpv/issues/11604#issuecomment-1515854593

Sample files

https://user-images.githubusercontent.com/67162311/233290290-89c1968d-07cc-488e-bbf6-ff713d0f21c0.jpg

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the reported mpv command with the linked sample image, then inspect the linked log and compare VAAPI decoding with --vo=gpu rendering. The issue provides no source file or test entry point, so trace the YUYV decoded-image path from the reproduction. Done means the sample renders correctly instead of showing a blue screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.