[PATCH xserver] xf86: dri2: Use va_gl as vdpau_driver for Intel i965 GPUs

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 24 14:38:42 UTC 2017

Hi Hans,

On 23 March 2017 at 12:31, Hans de Goede <hdegoede at redhat.com> 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.


More information about the xorg-devel mailing list