Totem video playback flickers when moving between windows

Bug #535426 reported by Alan Pope 🍺🐧🐱 🦄
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Totem
Fix Released
Medium
totem (Ubuntu)
Fix Released
Low
Martin Pitt
Lucid
Fix Released
Low
Martin Pitt

Bug Description

Binary package hint: compiz

nvidia binary, dual screen, latest lucid. If I play a video in totem and move my mouse (I have my x set so it highlights the window I am over) the video flickers. It also does it when maximising or in any way playing around with pretty much any window operation of the totem one or any other window.. Screencasts to follow..

the flicker is more noticable than the screencast shows.

ProblemType: Bug
Architecture: amd64
CompizPlugins: [core,ccp,move,resize,place,decoration,workarounds,gnomecompat,dbus,mousepoll,resizeinfo,text,session,neg,screenshot,svg,imgjpeg,vpswitch,png,regex,commands,animation,shift,wall,wobbly,snap,fade,expo,scale,scaleaddon,ezoom,switcher,staticswitcher]
Date: Wed Mar 10 00:14:38 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
MachineType: System manufacturer System Product Name
NonfreeKernelModules: nvidia
Package: compiz 1:0.8.4-0ubuntu13
PackageArchitecture: all
PciDisplay: 01:00.0 VGA compatible controller [0300]: nVidia Corporation G71 [GeForce 7900 GT/GTO] [10de:0291] (rev a1)
ProcCmdLine: auto BOOT_IMAGE=Linux ro root=/dev/md0
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu12
 libgl1-mesa-glx 7.7-4ubuntu1
 libdrm2 2.4.18+git20100302.9a37455b+rebuilt1-0ubuntu0raof
 xserver-xorg-video-intel 2:2.9.1-1ubuntu10
 xserver-xorg-video-ati 1:6.12.99+git20100126.e5933fd7-0ubuntu2
SourcePackage: compiz
Uname: Linux 2.6.32-15-generic x86_64
dmi.bios.date: 04/24/2009
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS P5N32-E SLI ACPI BIOS Revision 1801
dmi.board.name: P5N32-E SLI
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSP5N32-ESLIACPIBIOSRevision1801:bd04/24/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5N32-ESLI:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
glxinfo: Error: [Errno 2] No such file or directory
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.32-15-generic

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

No flicker video taken with compiz off.

Revision history for this message
Kai Jauch (kaijauch) wrote :

This doesn't appear to be a compiz problem, I'm getting the same flickering when totem gets or loses window focus with and without compiz running. I noticed that the flickering only occurs when the "video area" of the totem window is selected.

Flickering:
- start totem and let it play a video, click once on the video area
- focus another window -> flickering
- focus totem -> flickering

Not flickering:
- start totem and let it play a video, click anywhere in the playlist once (or highlight the youtube/properties/... dropdown menu)
- focus another window -> no flickering
- focus totem -> no flickering

This can also be reproduced by clicking once on the video area of totem, then the playlist, then the video part again etc.

Totem 2.29.91-0ubuntu2 on Intel graphics.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Have re-assigned to totem after testing with compiz off and using nouveau video driver.

affects: compiz (Ubuntu) → totem (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is not likely a totem one, totem is just an user interface the video playing is done by gstreamer and the video driver stack

Changed in totem (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

do you get the same if playing the video with : gst-launch-0.10 playbin2 uri=file:///path/to/file and performing the same steps? As Sebastien said this is probably not a totem issue.

Changed in totem (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Incomplete
Revision history for this message
Kai Jauch (kaijauch) wrote :

I repeated the same steps, it doesn't flicker with "gst-launch-0.10 playbin2".
It's probably connected to the "selected widget indication". If the drop down menu above the playlist is selected, it turns orange. If you focus another window, the orange highlight disappears. I suspect that the same thing is happening when the video area is selected. If the totem window loses focus, the (in this case not visible) "widget indication" goes away, which causes a short flicker.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

FWIW I'm getting the same flicker as well, also with an nVidia card, on the Lucid beta; it does not happen in other movie players (VLC, MPlayer).

Changed in totem:
status: Unknown → Confirmed
Changed in totem (Ubuntu):
status: Incomplete → Triaged
Changed in totem:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in totem (Ubuntu):
status: Triaged → Fix Committed
Martin Pitt (pitti)
Changed in totem (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

debdiff from lucid final (which had a git snapshot from April 13) to 2.30.1, with the autoconf noise and po changes stripped.

This is part of the "stable GNOME point releases for LTS" update.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted totem into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Daniel Gnoutcheff (gnoutchd) wrote :

I just tested it, and it looks good. Flicker's gone. Thanks!

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package totem - 2.30.1-0ubuntu1

---------------
totem (2.30.1-0ubuntu1) lucid-proposed; urgency=low

  [ Martin Pitt ]
  * New upstream bug fix release. Changes since our last git snapshot:
    - Fix crashes on exit.
    - Fix possible crasher when PyGTK isn't available. (LP: #367573)
    - Require gstreamer 0.10.28.1 for queue2 fixes.
    - Fix Youtube search lasting forever while playing Video. (LP: #559862)
    - Fix artifacts or black screen when paused. (LP: #535426)
    - Translation updates.
  * 90_autotools.patch: Refresh for new upstream version.
  * 90_autotools.patch: Revert upstream change of bumping gstreamer
    dependency to 0.10.28.1; set it back to 0.10.28. There are no queue2
    related changes in totem since our previous git snapshot, so this can't
    make a difference.

  [ Loïc Minier ]
  * totem.preinst: Actually remove alternatives by checking for action
    "upgrade" instead of "configure" which isn't used with preinsts; bump
    version to 2.30.0git20100413-0ubuntu2 for that to be effective.
 -- Martin Pitt <email address hidden> Wed, 28 Apr 2010 15:58:47 +0200

Changed in totem (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied lucid-proposed to maverick.

Changed in totem (Ubuntu):
status: Fix Committed → Fix Released
Changed in totem:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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