Bug 91309 - [ILK] vaPutImage is broken
Summary: [ILK] vaPutImage is broken
Status: CLOSED WONTFIX
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: PengChen
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-11 17:40 UTC by Uros Vampl
Modified: 2016-11-03 21:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
lspci (2.67 KB, text/plain)
2016-01-11 18:32 UTC, Tomasz C.
Details
i3-530 lspci -nn (3.19 KB, text/plain)
2016-01-11 18:48 UTC, Uros Vampl
Details

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.