<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>An alternative workaround to specifying the i965 driver is to add the following to the device section of xorg.conf:<br></div><div><br></div><div>Option "DRI" "3" <br></div><div><br></div><div>The problem appears to be a known issue with intel UHD500 / latest Mesa and intel driver (<a href="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/issues/193" target="_blank">https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/issues/193</a>). </div><div><br></div></div></div></blockquote><div><br></div><div>If using the default modern kernel modesetting intel driver rather than the legacy intel xorg driver package (xserver-xorg-video-intel), the issue with opengl applications is altogether avoided.  However, without xorg.conf options provided by the legacy driver, I had to rework my approach for ensuring the system always boots to the correct resolution / refresh rate in XFCE whether receiver/television are on or off and for enabling RGB Broadcast Full for proper colorspace once x display is available.</div><div><br></div><div>I have also discovered another issue on 20.04 with this hardware (Apollo Lake J3455 - Intel Gen 9 graphics) when using VAAPI deinterlacing.  The installation now defaults to the iHD driver rather than i965 and the iHD driver does not correctly expose all of the supported VAAPI functionality as available.  </div><div><br></div><div>This was causing validation of the VAAPI deinterlacers (motion_adaptive motion_compensated etc) in mythfrontend to fail according to the mythfrontend.log. It wasn't obvious in the video without inspecting the log since myth will fall back to opengl deinterlacing gracefully. The issue can also be verified by comparing the output of vainfo using iHD vs i965.  </div><div><br></div><div>To work around, you must force the use of the i965 driver by invoking mythfrontend as follows:</div><div>  $ LIBVA_DRIVER_NAME=i965 mythfrontend</div><div><br></div><div>Take away is anyone on 20.04 using VAAPI for hardware deinterlacing with the iHD driver might want to verify whether it is working or not for their combination of hardware and driver version.  Possibly related to the issue under discussion here (<a href="https://github.com/intel/media-driver/issues/804">https://github.com/intel/media-driver/issues/804</a>) so hopefully will get fixed in a future iHD driver release.</div></div></div>