It seems we're loosely in a deadlock on this one... The i965 VA driver is failing to load because it's using Xwayland. Xwayland only supports DRI3, while VA-API only supports DRI2. VA-API does support native Wayland, but that's not being tried by the video player apps as first preference. You could call it a bug that the apps choose X instead of Wayland, and that's easily fixable, but according to the mpv developers people prefer X in the mpv case because a native Wayland app has no titlebar or window decorations. But by defaulting to X, it uses Xwayland which does not support the same DRI interface as VA- API. Hence VA-API initialization fails.
So there are at least a few possible ways forward: * Implement DRI3 support in libva (unlikely to happen soon); or * Implement DRI2 support in Xwayland (unlikely to happen ever); or * Modify each player app to prioritize checking for Wayland before checking for X11 (rejected by mpv); or * Modify each player app to try vaInitialize multiple times (different display types) until one works. ** Also affects: libva (Ubuntu) Importance: Undecided Status: New ** Changed in: libva (Ubuntu) Status: New => In Progress ** No longer affects: libva ** Bug watch added: github.com/01org/libva/issues #79 https://github.com/01org/libva/issues/79 ** Also affects: libva via https://github.com/01org/libva/issues/79 Importance: Unknown Status: Unknown ** Summary changed: - i965-va-driver fails to load in a Gnome Shell Wayland session + VA-API fails to initialize in a Gnome Shell Wayland session -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to totem in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title: VA-API fails to initialize in a Gnome Shell Wayland session To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1698287/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs