Hi Hans, On 23 March 2017 at 12:31, Hans de Goede <[email protected]> wrote: > The modesetting driver (which now often is used with Intel GPUs), > relies on dri2_probe_driver_name() to get the dri and vdpau driver > names, before this commit it would always assign the same name to > the 2 names. But the vdpau driver for i965 GPUs should be va_gl > (i915 does not support vdpau at all). > > This commit modifies the used lookup table and dri2_probe_driver_name() > to set the vdpau_driver to va_gl for i965 GPUs, it leaves the 2 > names the same for all other GPUs. > Mostly thinking out loud here:
Perhaps it's worth having the vdpau-va-gl as fallback across the board? We can do that via: - Pass more than one name via the DRI2 protocol - will need a protocol update. - Have the VDPAU library report failure and request another name - we seem to be missing protocol for that. - Handle the fallback in the VDPAU loader/frontend library - might seem a bit hacky. Pretty much all suggestions are a bit moot. I'm just throwing it out there - in case anyone likes them. -Emil _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
