[mythtv-users] VAAPI vs. normal vs. OpenGL?

Peter Bennett pb.mythtv at gmail.com
Mon Nov 20 13:17:44 UTC 2017



On 11/20/2017 07:18 AM, Jim Abernathy wrote:
>
> On 11/20/2017 07:11 AM, Stuart Auchterlonie wrote:
>> On 20/11/17 12:05, Jim Abernathy wrote:
>>> On 11/20/2017 06:40 AM, Stuart Auchterlonie wrote:
>>>> On 20/11/17 11:15, Jim Abernathy wrote:
>>>>> Every time I install mythtv 0.28 on any Intel CPU with built in GFX I
>>>>> check the setup wizard and it always has the Video Profile set to
>>>>> normal. When I Test the HD on that page it usually works fine.
>>>>>
>>>>> However, I remember that you use to have to change it to VAAPI or OpenGL
>>>>> High Quality to get the best performance and lowest CPU utilization.
>>>>> vainfo says I have VA-API version 0.39 (libva 1.7.0)
>>>>>
>>>>> What I notice lately is that if I change it to anything except normal,
>>>>> the FE crashes out of mythtv completely.
>>>>>
>>>>> Before I submit any logs, etc.  Should I just leave it on Normal for
>>>>> Intel GFX?
>>>>>
>>>> Shouldn't crash. logs please.
>>>> gdb backtrace even better.....
>>> So here is a link to the log for a session that I only started to run
>>> the setup wizard. I don't know how to give you a gdb backtrace. You'll
>>> need to guide me thru that.
>>>
>>> https://pastebin.com/raw/ZN97XjSd
>> I see an issue here
>> mythfrontend[17542]: E CoreContext vaapicontext.cpp:348 (CreateDisplay)
>> VAAPI: Invalid display
>> mythfrontend[17542]: E CoreContext videoout_openglvaapi.cpp:167
>> (CreateVAAPIContext) VidOutGLVAAPI: Failed to create VAAPI context.
>> mythfrontend[17542]: I CoreContext mythpainter_ogl.cpp:62 (ClearCache)
>> Clearing OpenGL painter cache.
>> mythfrontend[17542]: I CoreContext mythrender_opengl2.cpp:896
>> (DeleteOpenGLResources) OpenGL2: Deleting OpenGL Resources
>> mythfrontend[17542]: I CoreContext mythrender_opengl.cpp:1211
>> (DeleteOpenGLResources) OpenGL: Deleting OpenGL Resources
>> mythfrontend[17542]: E CoreContext videooutbase.cpp:318 (Create)
>> VideoOutput: Not compiled with any useable video output method.
>> mythfrontend[17542]: E CoreContext mythplayer.cpp:493 (InitVideo)
>> Player(1): Couldn't create VideoOutput instance. Exiting..
>>
>> So it's failing to create a connection to the x display for some
>> reason, and then bombing out. On the bright side it's not actually
>> crashing so we don't need a gdb backtrace.
>>
>> What is your DISPLAY variable set to?
>>
>> Can you re-run that test with `--verbose playback` please?
>>
>>
>> Regards
>> Stuart
>>
> here is the link to the verbose console output:
> https://pastebin.com/raw/mdFq98Dt
>
> Jim A
>
>
>

I think you may be using the QT theme painter with an OpenGL or VAAPI 
Playback profile. That does not work. Try changing the Theme Painter to 
OpenGL.

Peter


More information about the mythtv-users mailing list