Bug 38344

Summary: VC-1 file not decoded properly
Product: libva Reporter: Joe <dig2112>
Component: intelAssignee: haihao <haihao.xiang>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium CC: seanvk
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: XBMC Log
Screenshot of mplayer-vaapi
vainfo results
Xorg log

Description Joe 2011-06-15 05:27:07 UTC
Created attachment 47995 [details]
XBMC Log

Built a HTPC with the Intel Core i3 2100T and used the steps outline here:

http://forum.xbmc.org/showthread.php?t=96669

to compile libva and VAAPI-enabled XBMC.

When playing VC-1 files, the picture is distorted and discolored (mostly purple) and playback stutters.

Log attached below.
Comment 1 haihao 2011-06-15 17:57:23 UTC
Do you see the same effect with other player such as mplayer vaapi / VLC?
Comment 2 Joe 2011-06-16 10:44:43 UTC
Created attachment 48058 [details]
Screenshot of mplayer-vaapi
Comment 3 Joe 2011-06-16 10:45:59 UTC
(In reply to comment #1)
> Do you see the same effect with other player such as mplayer vaapi / VLC?

I've attached a screenshot of my attempt to run the same file through mplayer.
Comment 4 haihao 2011-06-19 22:58:30 UTC
I don't think you are using hardware acceleration for video playback. I saw some error messages such as 
"libva: va_getDriverName() return -1" in your screenshot. Could you attach the output of vainfo and your Xorg.0.log file as well?
Comment 5 Joe 2011-06-20 05:23:33 UTC
Created attachment 48189 [details]
vainfo results
Comment 6 Joe 2011-06-20 05:49:57 UTC
Created attachment 48191 [details]
Xorg log
Comment 7 Joe 2011-06-20 05:58:27 UTC
(In reply to comment #4)
> I don't think you are using hardware acceleration for video playback. I saw
> some error messages such as 
> "libva: va_getDriverName() return -1" in your screenshot. Could you attach the
> output of vainfo and your Xorg.0.log file as well?

I first ran vainfo immediately after compiling libva and didn't get any errors so I"m not sure why I am getting an error now. As for not using hardware acceleration, when playing back in XBMC I can confirm the use of the ff-h264-vaapi and ff-vc1-vaapi codecs during playback.
Comment 8 haihao 2012-12-28 02:52:13 UTC
Sorry for slowly reponsing, Does it work for you now ?
Comment 9 haihao 2015-11-18 07:48:53 UTC
No response from user for a long time so closing as WORKSFORME, Feel free to reopen this bug if you still experience the issue

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.