video blank and menus greyed out in cheese

Bug #930671 reported by cometdog
60
This bug affects 11 people
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Webcam (Microsoft LifeCam Cinema) works properly in guvcview, but not in cheese on 11.10 32-bit. Worked in cheese on Ubuntu 10.04 64-bit.

Opening cheese from the terminal gives the following series of messages:
$ cheese

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkHBox to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkHBox to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(cheese:2740): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

** (cheese:2740): WARNING **: Could not negotiate format

The cheese window opens successfully, but the video is blank (black) and all of the buttons are greyed out. All of the menu entries are greyed out as well, with the exception of:
Cheese -> Quit
Edit -> Move to Trash
Edit -> Move All to Trash
Help -> Contents
Help -> About

It is not even possible to access Preferences to see if changing any options would help.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cheese 3.2.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-14.23-genusername 3.0.9
Uname: Linux 3.0.0-14-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Sat Feb 11 10:48:02 2012
ExecutablePath: /usr/bin/cheese
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
MachineType: ASUSTeK Computer INC. A7N8X
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
RelatedPackageVersions:
 cheese 3.2.0-0ubuntu2
 cheese-common 3.2.0-0ubuntu2
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/29/2004
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS A7N8X Deluxe ACPI BIOS Rev 1008
dmi.board.name: A7N8X
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: REV 1.xx
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufactture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSA7N8XDeluxeACPIBIOSRev1008:bd03/29/2004:svnASUSTeKComputerINC.:pnA7N8X:pvrREV1.xx:rvnASUSTeKComputerINC.:rnA7N8X:rvrREV1.xx:cvnChassisManufactture:ct3:cvrChassisVersion:
dmi.product.name: A7N8X
dmi.product.version: REV 1.xx
dmi.sys.vendor: ASUSTeK Computer INC.
lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 045e:075d Microsoft Corp. LifeCam Cinema

Revision history for this message
cometdog (ericctharley) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in cheese (Ubuntu):
status: New → Confirmed
Revision history for this message
Danny Teok (dat789bb) wrote :

Bus 002 Device 010: ID 045e:075d Microsoft Corp. LifeCam Cinema

named_userk@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu precise (development branch)
Release: 12.04
Codename: precise

Symptoms include blank/black video on Cheese with menu's greyed out.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

'A problem with a non-essential hardware component' -> Medium

Changed in cheese (Ubuntu):
importance: Undecided → Medium
Revision history for this message
cometdog (ericctharley) wrote :

..working for me at the moment on 64-bit precise (original bug report was on 32-bit oneiric, and I wonder if Danny Teok is also on 32-bit?)

Revision history for this message
giardia (fabriziosm) wrote :

same issue on precise pangolin 32-bit with a logitech quick cam chat

tried LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese but no results, still black screen

Revision history for this message
Hsin-Yi, Chen (hychen) (ossug-hychen) wrote :

plese run cheese with this command and attach the log.

$ cheese --gst-debug=5 --gst-debug-no-color 2> gst-debug.log

Revision history for this message
Robert Focht (robertmf) wrote : Re: [Bug 930671] Re: video blank and menus greyed out in cheese
Download full text (7.3 KiB)

Ubuntu linux 12.04/32 bit

robert@linuxbox:~$ cheese --gst-debug=5 --gst-debug-no-color 2 >
gst-debug.log

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:57:18:
Junk at end of value

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:134:21:
'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:268:26:
'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:292:26:
'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:390:47:
Junk at end of value

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:408:47:
Junk at end of value

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:695:26:
'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:702:26:
'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1044:21: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1083:21: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1639:21: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1640:21: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1690:20: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1708:21: Horizontal and vertical offsets are required

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1714:21: Horizontal and vertical offsets are required

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1806:25: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:1871:55: Junk at end of value

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2183:20: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2349:25: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2428:26: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2845:26: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2856:26: 'px' is not a valid color name

(cheese:4499): Gtk-WARNING **: Theme parsing error:
gtk-widgets.css:2870:15: Horizontal and vertical offsets are required
Xlib: extension "GLX" missing on display ":0.0".
Segmentation fault (core dumped)

On Fri, Jan 25, 2013 at 6:03 AM, Hsin-Yi, Chen (hychen) <
<email address hidden>> wrote:

> plese run cheese with this command and attach the log.
>
> $ cheese --gst-debug=5 --gst-debug-no-color 2> gst-debug.log
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1023087).
> https://bugs.launchpad.net/bugs/930671
>
> Title:
> video blank and menus greyed out in cheese
>
> Status in “cheese” package in Ubuntu:
> Confirmed
>
> Bug description:
> We...

Read more...

Revision history for this message
giardia (fabriziosm) wrote :

as suggested this is the log of the command:

cheese --gst-debug=5 --gst-debug-no-color 2> gst-debug.log

by the way....the size of the file is pretty big!

Revision history for this message
Charlie Shaw (n2924-dotcom) wrote :
Revision history for this message
Charlie Shaw (n2924-dotcom) wrote :

detail that should have been with the attachment:

I have same issue with Ubuntu 11.10 on a Lenovo laptop with built-in camera; same Gtk warning message as indicated by the OP, but NO GUI or splash screen visible as cheese is started, so no way to access any 'check config' commands.

If I turn on the 'video call' option in Skype, camera works fine; but it is usually off as link BW is 'not good enough'; only apps running when cheese app is tried are F'Fox, T'bird, & the terminal console.

Running with the --gst-debug=5 log option as suggested by hychen above generates a *** 400 *** Mbyte file; after the start-up period, cheese is taking over 80% of the CPU (Celeron 2.2GHz), log file size seems static; 'nothing magic' happens.

There must be a lot of duplicate info/messages in the log as it has compressed down to less than 1MByte..(attached)

I see a forum post here: http://ubuntuforums.org/showthread.php?t=2068818 where the OP (squakie in the forum) states his issue (with 12.04) was solved on upgrade to 12.10.

Is it possible to get a backport / work-around for earlier versions ? (limited capabilities of my platform preclude moving to 3-D desktops). Bugzilla etc in other environments I have worked with give links to the changeset that fixed whatever issue was reported originally..

FTR, other info from my system:

dmesg |grep 'video'
[ 0.206120] pci 0000:00:02.0: Boot video device
[ 12.862718] Linux video capture interface: v2.00
[ 12.895972] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (090c:3371)
[ 13.005371] usbcore: registered new interface driver uvcvideo
[ 7166.558394] PM: resume of drv:uvcvideo dev:2-3:1.0 complete after 673.003 msecs
[ 7166.558400] PM: resume of drv:uvcvideo dev:2-3:1.1 complete after 672.982 msecs
~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 090c:3371 Feiya Technology Corp.
~$ lsmod |grep 'video'
uvcvideo 67271 0
videodev 85626 1 uvcvideo
video 19069 1 i915
~$ lsmod |grep 'i915'
i915 513895 3
drm_kms_helper 32889 1 i915
drm 192194 4 i915,drm_kms_helper
i2c_algo_bit 13199 1 i915
video 19069 1 i915
~$ ls -alrt /dev/video*
crw-rw----+ 1 root video 81, 0 2013-02-16 08:51 /dev/video0
~$ uname -a
Linux a_user 3.0.0-29-generic #46-Ubuntu SMP Tue Dec 4 12:17:31 UTC 2012 i686 i686 i386 GNU/Linux

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.