Bug 91309

Summary: [ILK] vaPutImage is broken
Product: libva Reporter: Uros Vampl <mobile.leecher>
Component: intelAssignee: PengChen <peng.c.chen>
Status: CLOSED WONTFIX QA Contact: Sean V Kelley <seanvk>
Severity: normal    
Priority: medium CC: tlinux
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: lspci
i3-530 lspci -nn

Description Uros Vampl 2015-07-11 17:40:57 UTC
The mpv player recently removed vaDeriveImage support from their code. This means that software decoded video is now displayed using vaPutImage. But on Ironlake, this results in a green picture being displayed instead of the actual video. Hardware decoded video is displayed fine, but that's limited to mpeg2 and h264.

This is using the currently newest libva-intel-driver, version 1.6.0
Comment 1 PengChen 2015-12-22 07:22:24 UTC
1,what is the format of the image for the intput of vaPutImage()?does this image have the right video data?
2,vaPutImage() put the image data to one created surface, then this surface is displayed with vaPutSurface() while X11 is used in your system
Comment 2 Uros Vampl 2015-12-28 11:21:59 UTC
> (In reply to PengChen from comment #1)
> 1,what is the format of the image for the intput of vaPutImage()?

The video uses yuv420p, if that's what you mean here.

> does this image have the right video data?

Yes. The same video, using the same player (mpv) with the same settings and the same version of libva-intel-driver, will display fine on a Haswell machine. Only Ironlake has the problem.
Comment 3 PengChen 2016-01-04 06:09:29 UTC
Could you attach the output of 'lspci -nn'?
Comment 4 Tomasz C. 2016-01-11 18:32:57 UTC
Created attachment 120958 [details]
lspci

The same problem on Intel Core i5-450M (Ironlake GPU)

Attachment result lspci -nn
Comment 5 Uros Vampl 2016-01-11 18:48:33 UTC
Created attachment 120959 [details]
i3-530 lspci -nn

i3-530 is what I have. lspci -nn is attached
Comment 6 PengChen 2016-01-25 02:45:50 UTC
do you know the source and destination surface or image format of vaPutImage() being used in mpv player?
Comment 7 Sean V Kelley 2016-11-03 21:26:20 UTC
Ironlake is an old platform with very limited support.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.