[mythtv] Qt warnings on mythfrontend start

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Jan 6 16:44:20 UTC 2020


On 04/01/2020 16:33, Paul Harrison wrote:
> 
> On 04/01/2020 16:00, Klaas de Waal wrote:
>> Hi,
>>
>> With today's master I get the following warning on start of
>> mythfrontend (3 lines before and 1 line after also shown):
>>
>> 2020-01-04 16:55:34.268534 I  Checking for theme updates every hour
>> 2020-01-04 16:55:34.268722 I  Registering HouseKeeperTask
>> 'HardwareProfiler'.
>> 2020-01-04 16:55:34.269404 I  Starting HouseKeeper.
>> Attempted flush to non-raster surface QWidgetWindow(0x131d220,
>> name="mainwindowWindow") of type QSurface::OpenGLSurface (consider
>> using Qt::WA_PaintOnScreen to exclude from backingstore sync)
>> Attempted flush to non-raster surface QWidgetWindow(0x131d220,
>> name="mainwindowWindow") of type QSurface::OpenGLSurface (consider
>> using Qt::WA_PaintOnScreen to exclude from backingstore sync)
>> 2020-01-04 16:55:34.433313 I  Bonjour: Service registration complete:
>> name 'Mythfrontend on modu' type '_mythfrontend._tcp.' domain:
>> 'local.'
>>
>> This is with mythfrontend running in  a 1280x720 window on a 1920x1200
>> screen, Intel graphics only.
>>
>> Groetjes,
>> Klaas.
> 
> 
> I see something similar using an NVidia card.
> 
> Early in the log I see these errors
> 
> [AVHWDeviceContext @ 0x562dd8ad6cc0] libva: va_getDriverName() failed
> with unknown libva error,driver_name=(null)
> [AVHWDeviceContext @ 0x562dd8ad6cc0] Failed to initialise VAAPI
> connection: -1 (unknown libva error).
> 
> 

When i've seen this it's caused by trying to run under Wayland.
Mark's code handles this, and opens VAAPI in a different way that
works.

Regards
Stuart

> Then later  same as Klaas
> 
> Attempted flush to non-raster surface QWidgetWindow(0x562dd85e7270,
> name="mainwindowWindow") of type QSurface::OpenGLSurface (consider using
> Qt::WA_PaintOnScreen to exclude from backingstore sync)
> Attempted flush to non-raster surface QWidgetWindow(0x562dd85e7270,
> name="mainwindowWindow") of type QSurface::OpenGLSurface (consider using
> Qt::WA_PaintOnScreen to exclude from backingstore sync)
> 
> 
> Paul H.
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-dev mailing list