Bug 1004686

Summary: In the presence of gstreamer-plugins-vaapi, totem is not able to play videos
Product: [openSUSE] openSUSE Tumbleweed Reporter: Gerald Pfeifer <gp>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar, zaitor
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 975831    

Description Gerald Pfeifer 2016-10-14 10:20:54 UTC
This is consistently reproducible on my system (current Tumbleweed,
Lneovo T450 with Broadwell-U Integrated Graphics, see below).

When gstreamer-plugins-vaapi is installed, totem plays the sound, but
no video output for MP4s, FLVs,...  Once gstreamer/VAAPI is removed,
everything is back to normal.

This feels similar to bug #951150 from a year ago.

# hwinfo --gfx
08: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.374]
  Unique ID: _Znp.FN2jBW+YDR6
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel Broadwell-U Integrated Graphics"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1616 "Broadwell-U Integrated Graphics"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x5034 
  Revision: 0x09
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0xe0000000-0xe0ffffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0x3000-0x303f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 43 (1042676 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00001616sv000017AAsd00005034bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
Comment 1 Gerald Pfeifer 2016-10-14 10:22:18 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1123536 also seems related
(if not the same).
Comment 2 Dominique Leuenberger 2016-10-14 10:33:23 UTC
Very likely the same as redhat - as in TW with GNOME 3.22, the session switched to be a wayland session too.

You can verify this as cause by logging in explicitly to a Xorg session (chose the session at the gdm login screen)
Comment 3 Gerald Pfeifer 2016-10-14 10:43:24 UTC
(In reply to Dominique Leuenberger from comment #2)
> Very likely the same as redhat - as in TW with GNOME 3.22, the session
> switched to be a wayland session too.
> 
> You can verify this as cause by logging in explicitly to a Xorg session
> (chose the session at the gdm login screen)

Yes, verified switching between two different account and installing/
deinstalling this package.

As long as this is broken, should we really default to Wayland?
Comment 4 Dominique Leuenberger 2016-10-14 10:56:35 UTC
(In reply to Gerald Pfeifer from comment #3)

> Yes, verified switching between two different account and installing/
> deinstalling this package.
> 
> As long as this is broken, should we really default to Wayland?

I'd argue that for TW - where we target tech enthusiast, this default is fine (unless we find worse issues that can't be worked around) - somehow we have to get the experience with this after all.

For Leap, of course, this would be out of place (and is also not the case)
Comment 5 Bjørn Lie 2016-10-14 20:38:34 UTC
gstreamer-vaapi and wayland have been broken for "years".

I have a small hope that this will be fixed with the next stable gst*-1.10 rel that is not that far away.

At least since gst-vaapi moved to freedesktop there have been a few vaapi + wayland fixes committed.
Comment 6 Stefan Dirsch 2016-10-17 08:23:51 UTC
Most likely issue in GNOME component/library. Reassigning.
Comment 7 Bjørn Lie 2016-12-07 18:06:47 UTC
With the pending gstreamer updates to new stable branch (1.10.2) I have working totem with vaapi and wayland.

Once these hit TW I ask that people confirm that it's working for them too so we can finaly close this bug.
Comment 8 Bjørn Lie 2017-01-11 12:46:49 UTC
Dimstar confirmed in irc that gst-vaapi + wayland and totem now works, so closing as fixed.