[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-09 Thread Daniel van Vugt
Update: * totem is fixed by the gst-plugins-bad fix released today. * mpv is fixed by the patch proposed in bug 1708102. * chromium needs to either be ported to native Wayland, or for libva to be enhanced with DRI3 support. There are no workarounds for Chromium other than to avoid Wayland and

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-09 Thread Daniel van Vugt
Doug, and all: https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1708102/comments/3 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title: VA-API fails to initialize in a

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-09 Thread Daniel van Vugt
** Changed in: chromium-browser (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title: VA-API fails to initialize in a Gnome

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-09 Thread Daniel van Vugt
** Also affects: chromium-browser (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title: VA-API fails to initialize in

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Daniel van Vugt
I am going to work on additional patches so that by the time 17.10 is released all you will need is: mpv myvideo.mp4 ** Description changed: The Intel i965 VA-API driver works well in Xorg sessions (Unity7 and Gnome Shell). But it refuses to load when in a Wayland session: $ totem

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Daniel van Vugt
Doug, A couple of my fixes have landed today, as well as ffmpeg 3.3 which fixes most of mpv's acceleration problems. However your comment reminds me there's another bug with mpv I need to open and fix... mpv will by default try to use the X11 display provided by Xwayland and ends up with

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Daniel van Vugt
Actually comment #16 doesn't need a new bug. This bug will do fine for that. See comments #3 - #4. ** Changed in: mpv (Ubuntu) Status: Triaged => In Progress ** Changed in: mpv (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: gstreamer-vaapi (Ubuntu)

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Launchpad Bug Tracker
This bug was fixed in the package gst-plugins-bad1.0 - 1.12.2-1ubuntu2 --- gst-plugins-bad1.0 (1.12.2-1ubuntu2) artful; urgency=medium * Prefer native Wayland over X11/Xwayland if both are available. This fixes VA-API initialization failure in Gnome Shell Wayland sessions

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Doug McMahon
Regarding the mpv in artful: You can currently get some vaapi support in wayland session, you'd need to use hwdec=vaapi-copy Not as effective as hwdec=vaapi but I don't think they'll be changing that (commit noted), in near future. -- You received this bug notification because you are a member

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Sebastien Bacher
The simple version of the patch builds fine in a ppa, sponsoring that one ** Changed in: gst-plugins-bad1.0 (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu.

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Daniel van Vugt
Here is the "big" patch I used in testing (includes makefile fix that I suspect archive doesn't need, but my machine does). ** Patch added: "gst-plugins-bad1.0_1.12.2-1ubuntu2-big.debdiff"

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Daniel van Vugt
Here's the preferred clean fix. Doesn't build on my machine, but I suspect it will build in archive :S ** Patch added: "gst-plugins-bad1.0_1.12.2-1ubuntu2-small.debdiff"

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-08-08 Thread Daniel van Vugt
** Also affects: gst-plugins-bad1.0 (Ubuntu) Importance: Undecided Status: New ** Changed in: gst-plugins-bad1.0 (Ubuntu) Importance: Undecided => High ** Changed in: gst-plugins-bad1.0 (Ubuntu) Status: New => In Progress ** Changed in: gst-plugins-bad1.0 (Ubuntu)

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-16 Thread Doug McMahon
vaapi in mpv in a wayland session was broken due to this commit https://github.com/mpv-player/mpv/commit/bba08e38ff9842c4edf9da6a1d54066a01acd982 Testing here a reversion to allow, seems ok for at least me to date, as in

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-12 Thread Daniel van Vugt
** Changed in: mutter (Ubuntu) Status: In Progress => Triaged ** Changed in: mutter (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => (unassigned) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu.

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-06 Thread Bug Watch Updater
** Changed in: mutter Status: Unknown => Confirmed ** Changed in: mutter Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title:

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-06 Thread Daniel van Vugt
** Package changed: gst-plugins-base1.0 (Ubuntu) => mutter (Ubuntu) ** Also affects: mutter via https://bugzilla.gnome.org/show_bug.cgi?id=775698 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-06 Thread Daniel van Vugt
More progress: gst-play-1.0 fails on Gnome Shell Wayland only (and not in Weston) because of a mutter problem (or arguably the gstreamer-vaapi plugin assuming that mutter should support it): https://bugzilla.gnome.org/show_bug.cgi?id=775698 ** Bug watch added: GNOME Bug Tracker #775698

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-06 Thread Daniel van Vugt
** Changed in: gst-plugins-base1.0 (Ubuntu) Importance: Undecided => Medium ** Changed in: gst-plugins-base1.0 (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: gst-plugins-base1.0 (Ubuntu) Status: New => In Progress ** Changed in: totem (Ubuntu)

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-05 Thread Daniel van Vugt
** Description changed: The Intel i965 VA-API driver works well in Xorg sessions (Unity7 and Gnome Shell). But it refuses to load when in a Wayland session: $ totem bbb_sunflower_1080p_60fps_normal.mp4 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-04 Thread Bug Watch Updater
** Changed in: totem Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title: VA-API fails to initialize in a Gnome Shell Wayland

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-03 Thread Daniel van Vugt
On second thoughts, if we keep this bug about decoding flaws, and deal with all the display flaws elsewhere then we might be able to close some tasks here... -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu.

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-07-03 Thread Daniel van Vugt
Without sounding too defeated, I think it might be a good idea for us to not use the patch in comment #5 any time soon. The reason is that while the patch is correct, it triggers bigger issues in clutter-gst. And that starts to make me think I'm going too deep down this rabbit hole. It probably

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-30 Thread Ubuntu Foundations Team Bug Bot
The attachment "fix-1698287-for-totem-via-gstreamer-vaapi.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-30 Thread Bug Watch Updater
** Changed in: totem Status: Unknown => Incomplete ** Changed in: totem Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title:

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-30 Thread Daniel van Vugt
** Bug watch added: GNOME Bug Tracker #783169 https://bugzilla.gnome.org/show_bug.cgi?id=783169 ** Also affects: totem via https://bugzilla.gnome.org/show_bug.cgi?id=783169 Importance: Unknown Status: Unknown ** Description changed: The Intel i965 VA-API driver works well in

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-29 Thread Daniel van Vugt
** Changed in: gstreamer-vaapi (Ubuntu) Importance: Undecided => Medium ** Changed in: libva (Ubuntu) Importance: High => Medium ** Changed in: totem (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu-X, which is

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-29 Thread Daniel van Vugt
** Changed in: gstreamer-vaapi (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: gstreamer-vaapi (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-29 Thread Bug Watch Updater
** Changed in: libva Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu. https://bugs.launchpad.net/bugs/1698287 Title: VA-API fails to initialize in a Gnome Shell Wayland session To

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-29 Thread Daniel van Vugt
** Changed in: libva (Ubuntu) Status: In Progress => Triaged ** Changed in: libva (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => (unassigned) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to intel-vaapi-driver in Ubuntu.

[Ubuntu-x-swat] [Bug 1698287] Re: VA-API fails to initialize in a Gnome Shell Wayland session

2017-06-29 Thread Daniel van Vugt
** Changed in: mpv (Ubuntu) Status: In Progress => Triaged ** Changed in: mpv (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => (unassigned) ** Changed in: libva (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: libva (Ubuntu) Importance: Undecided =>