With gstreamer-vaapi installed, DVD video is flickering and green in a wayland session

Bug #1723565 reported by Doug McMahon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clutter-gst-3.0 (Ubuntu)
Confirmed
Undecided
Unassigned
gstreamer-vaapi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Test Case:
Install the gstreamer-vaapi plugin.
Install & reconfigure libdvd
Playback a commercial dvd in the ubuntu session with totem

What happens:
Video window flickers between a green screen & video
Pausing may show video or just green (timing?
If in the main menu picking the main title produces flickering of,
green screen, menu, video

Only occurs in a ubuntu session with the gst-vaapi plugin installed.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: totem 3.26.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 13 22:48:39 2017
InstallationDate: Installed on 2017-10-06 (7 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171004)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: totem
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Doug McMahon (mc3man)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in totem (Ubuntu):
status: New → Confirmed
Revision history for this message
Frogs Hair (detaill) wrote :
Revision history for this message
Frogs Hair (detaill) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This is probably either a bug in the GL code paths of clutter-gst, or gstreamer-vaapi.

I don't suppose 'mpv' works for you with DVDs?

affects: totem (Ubuntu) → gstreamer-vaapi (Ubuntu)
Changed in gstreamer-vaapi (Ubuntu):
status: Confirmed → Incomplete
Changed in clutter-gst-3.0 (Ubuntu):
status: New → Confirmed
Changed in gstreamer-vaapi (Ubuntu):
status: Incomplete → Confirmed
summary: - With vaapi plugin DVD_VIDEO media renders quite poorly in wayland
- session
+ With gstreamer-vaapi installed, DVD video is flickering and green in a
+ wayland session
Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1723565] Re: With vaapi plugin DVD_VIDEO media renders quite poorly in wayland session

On 10/15/2017 10:43 PM, Daniel van Vugt wrote:
> This is probably either a bug in the GL code paths of clutter-gst, or
> gstreamer-vaapi.
>
> I don't suppose 'mpv' works for you with DVDs?
>
> ** Package changed: totem (Ubuntu) => gstreamer-vaapi (Ubuntu)
>
> ** Also affects: clutter-gst-3.0 (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: clutter-gst-3.0 (Ubuntu)
> Status: New => Confirmed
>
> ** Summary changed:
>
> - With vaapi plugin DVD_VIDEO media renders quite poorly in wayland session
> + With gstreamer-vaapi installed, DVD video is flickering and green in a wayland session
>
While mpv isn't that suitable for dvd (dev's don't care about), it does
work ok with vaapi in wayland.
Ex. (currently muddling thru the new changes that you'll see in 0.28, a
bit of a pita. Have gotten  -
window deco but no vaapi
vaapi but no window deco
Anyway -

$ mpv --gpu-context=wayland --hwdec=vaapi --dvd-device=/dev/sr1 dvd://
Playing: dvd://
libdvdnav: Using dvdnav version 5.0.3
libdvdnav: DVD Title: TEMPTATIONS
libdvdnav: DVD Serial Number: 26333988
libdvdnav: DVD Title (Alternative): TEMPTATIONS
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000128
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000624d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00010a1e
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[dvdnav] Selecting title 0.
[dvdnav] DVDNAV, switched to title: 1
  (+) Video --vid=1 (mpeg2video 720x480 29.970fps)
  (+) Audio --aid=1 --alang=en (ac3 2ch 48000Hz)
File tags:
  Title: TEMPTATIONS
AO: [pulse] 48000Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [gpu] 720x480 => 720x540 vaapi[nv12]
AV: 00:00:00 / 02:53:51 (0%) A-V:  0.000
  (+) Video --vid=1 (mpeg2video 720x480 29.970fps)
  (+) Audio --aid=1 --alang=en (ac3 2ch 48000Hz)
      Subs  --sid=1 (eia_608)
AV: 00:00:05 / 02:53:51 (0%) A-V:  0.000

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.