You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Playback failure with Qt6, Intel UHD and VAAPI #1099
Problem: on playback the screen stays black and the following message appears in an endless stream:
2025-05-19 22:12:10.105868 E VAAPIGLX: Error at opengl/mythvaapiglxinterop.cpp:454 (#-1, unknown libva error)
2025-05-19 22:12:10.116670 E VAAPIGLX: Error at opengl/mythvaapiglxinterop.cpp:454 (#-1, unknown libva error)
2025-05-19 22:12:10.119804 E VAAPIGLX: Error at opengl/mythvaapiglxinterop.cpp:454 (#-1, unknown libva error)
2025-05-19 22:12:10.143128 E VAAPIGLX: Error at opengl/mythvaapiglxinterop.cpp:454 (#-1, unknown libva error)
A bit of googling gives the suggestion that there is a bug in Intel's libva implementation of the vaPutSurface function: ua0lnj/vdr-plugin-softhddevice#52 https://bugs.gentoo.org/916781 intel/libva#716
However, what not quite matches is that on the same box, so with the same libva, playback is OK when master is compiled with Qt5.
The workaround suggested in the above is to do define LIBVA_DRI3_DISABLE to 1 so that the older DRI2 interface is used instead of the newer DRI3 interface.
This does actually work!
Thus, defining this: export LIBVA_DRI3_DISABLE=1
before starting mythfrontend does the job.
I have not yet figured out how to add this workaround to e.g. mythdisplay.cpp in a clean way, but it should not be too difficult to add setting this environment variable in the mythfrontend startup script when this error is encountered.
Note: selecting video playback profile OpenGL Normal can also be a solution; this problem happens only with video profile VAAPI Normal.
Note: to get any window at all with Qt6.4 and higher with VAAPI is is necessary to define this: export MYTHTV_NO_EGL=1
See also the "Qt6 story" in #754
Yes I think it is. I do not have the hardware configuration anymore on which I did report this but given that we now get windows on Intel/VAAPI with Ubuntu I think we can close this issue.
Activity
ulmus-scott commentedon Apr 6, 2026
@kmdewaal @linuxdude42 Did #1341 fix this?
kmdewaal commentedon Apr 6, 2026
Yes I think it is. I do not have the hardware configuration anymore on which I did report this but given that we now get windows on Intel/VAAPI with Ubuntu I think we can close this issue.
linuxdude42 commentedon Apr 8, 2026
Yes, this is now fixed for me. I can now run MythTV / Qt 6.83 on my laptop which has an Intel UHD Graphics 630 controller.
hambre commentedon Apr 8, 2026
Can this be backported to v36? Would be great.
ulmus-scott commentedon Apr 8, 2026
@hambre We are still finalizing what the fix is. The original fix broke the eglfs QPA platform, see #1341 .
Qt6: Revise the fix for OpenGL on Wayland and xcb EGL integration
Qt6: Revise the fix for OpenGL on Wayland and xcb EGL integration
Qt6: Revise the fix for OpenGL on Wayland and xcb EGL integration