[mythtv-users] Vaapi use on Sandy Bridge

william otten williammotten at gmail.com
Sat Jan 28 19:55:31 UTC 2012


On Sat, Jan 28, 2012 at 1:51 PM, william otten <williammotten at gmail.com>wrote:

>
>
> On Sat, Jan 28, 2012 at 1:45 PM, Raymond Wagner <raymond at wagnerrp.com>wrote:
>
>> On 1/28/2012 14:39, kenkyee at yahoo.com wrote:
>> > It only sucks 15% CPU w/ ffmeg/xvideo but it'd be nice if vaapi worked
>> > because I thought it was working :-P
>>
>> If you're only running 15% CPU running the software decoders, why even
>> bother with hardware decoding?  In any case, you should be running the
>> OpenGL renderer rather than XVideo if at all possible.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
> In my case and maybe Ken's it is opengl that looks to be the problem. My
> setup failed using opengl as the render with any usable decoder.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> Another user had the opengl problem but was able to apply a patch to
correct it but I can't since I'm limited in that area.
William,

I have not experimented with VAAPI as yet.  However, I do have an i5
2405S running Myth 0.24 quite successfully.  My experience is described
in this thread:

http://www.gossamer-threads.com/lists/mythtv/users/501137

I had an initial problem with mythfrontend crashing whenever I attempted
to use OpenGL.  The crash was as you experienced.  We identified the
cause as a null pointer reference in the mesa 3D driver, reported the
problem to freedesktop.org, and patched mesa with their proposed fix.
Since that time, we have had no crashes and video quality is excellent
using OpenGL.  The fix to this bug was committed to the mesa repository
last week and can be seen at:

http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.11&id=9b3ac17991b3b421591111f863f0583ef2f06a01
<
http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.11&id=9b3ac17991b3b421591111f863f0583ef2f06a01
>

The patch is quite simple and involves one function in
mesa/drivers/dri/intel/intel_
screen.c.  Another person on this list
reported that the patch solved an identical crash for him.  Before
diving into much debugging, I suggest you apply this patch to the mesa
7.11.2 code, recompile it, and give it a test.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120128/1a3d5723/attachment.html 


More information about the mythtv-users mailing list