After upgrading libva from 1.2.1 to 1.3.0 xine (w/ libva video driver) started displaying garbage when rendering subtitles.
Maybe libva 1.3.0 exposes a bug in xserver/glx, see the comment #18 at https://bugs.freedesktop.org/show_bug.cgi?id=76755. Could you try with xserver 1.15.1 or 220.127.116.112 (1.16.0 RC 2) ?
Thanks! It seems like my debian system is a bit outdated and I can't get xorg to compile for some dependency reason. As soon as either debian provides an updated xorg on any branch, or I managed to compile it, I'll come back with results.
Tried with 1.15.1; Same behavior.
Do you upgrade the whole graphics stack ? Does it work for you if downgrading libva from 1.3.0 to 1.2.1 ?
If by the whole graphics stack you mean xorg libraries, I didn't upgrade them at that time. I have done it now, but didn't have any change on (mis)behavior.
I'll see if I can get libva 1.2.1 to compile.
Meanwhile, I'm attaching a screenshot of xine so that you can see what happens to subtitles when I use -V vaapi.
I'm falling back to xv rendering on the meanwhile, xine cpu usage rises from avg 17% to 64% respectively when going from vaapi to xv.
Created attachment 97707 [details]
screenshot of a xine window with weird subtitles.
I retested with the latest libva/intel-driver on manster branch. No reproduce.
Besides, the test command line is:
mplayer -vo vaapi -va vaapi *.mp4 -sub *.srt;
The srt file I use is downloaded from the web.
I reported this against xine, not mplayer. The mplayer compilations I have access to lacks support to libva.
We are trying to narrow down the root cause and check whether the issue can be reproduced with other media player. Which platform are you using ?
On 4/28/14, email@example.com
> --- Comment #10 from haihao <firstname.lastname@example.org> ---
> We are trying to narrow down the root cause and check whether the issue can
> reproduced with other media player. Which platform are you using ?
> You are receiving this mail because:
> You reported the bug.
Could you attach your xorg.0.log and the ouput of vainfo ?
Created attachment 98269 [details]
Created attachment 98270 [details]
as requested, Xorg.log output
The commit f26114aef700d28730f6586a71d9f2526f5083f5 in the driver exposes a bug in xine-lib-vaapi. I will attach a patch for your reference.
Created attachment 98392 [details] [review]
a patch for your reference to how to fill the subpicture in xine-lib-vaapi
Tested, works for me. Forwared to xine team at https://bugs.xine-project.org/show_bug.cgi?id=514