[mythtv] Qt warnings on mythfrontend start
Klaas de Waal
klaas.de.waal at gmail.com
Tue Jan 7 21:46:43 UTC 2020
Hi Mark,
>
> The message is telling you that the VAAPI functionality check failed
> and as a result you are using software playback.
>
> Assuming you are using wayland, I'm fairly sure the issue is that you
> don't have the vaapi drm package installed. FFmpeg these days uses a
> DRM connection first and only then falls back to trying an X11
> connection.
>
> What does 'grep -in vaapi_drm *' show when run from your mythtv source
> directory?
>
> If VAAPI DRM is available, it should show something like:-
>
> config.h:389:#define HAVE_VAAPI_DRM 1
> config.mak:547:HAVE_VAAPI_DRM=yes
>
> Likewise 'apt search libva-drm' should tell you what packages are installed.
>
I am using apparently x11 as indicated by the value of XDG_SESSION_TYPE.
The grep in mythtv/mythtv shows:
config.ep:1399: vaapi_drm
config.ep:5793:check_lib vaapi_drm va/va.h va/va_drm.h vaGetDisplayDRM
-lva -lva-drm
config.h:389:#define HAVE_VAAPI_DRM 1
config.mak:547:HAVE_VAAPI_DRM=yes
configure:1855: vaapi_drm
configure:6169: check_lib vaapi_drm "va/va.h va/va_drm.h"
vaGetDisplayDRM -lva -lva-drm
Which suggests that the VAAPI stuff should be there...
Maybe the use of x11 is the determining factor, as most people with
Fedora 31 seem to have Wayland as this is the current default IIRC. I
think I freshly installed this system with Fedora 29 when X11 was
still default, and have since then upgraded.
I just now installed this package;
$ sudo dnf install libva-utils
which gives us the vainfo command.
The vainfo output also gives errors:
[
klaas at modu mythtv]$ vainfo
libva info: VA-API version 1.6.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
The library /usr/lib64/dri/i965_drv_video.so is indeed not present and
I cannot find in which package it is hidden. If it exists.
Hope this helps!
Groetjes,
Klaas.
More information about the mythtv-dev
mailing list