Webcam with cheese not working - shader fails to compile

Bug #1101951 reported by André Lopes
78
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Cheese
Expired
High
Clutter GStreamer Bindings
Fix Released
Undecided
Unassigned
cheese (Ubuntu)
Invalid
Undecided
Unassigned
clutter-gst-2.0 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

(cheese:3741): Cogl-WARNING **: Failed to link GLSL program:
error: linking with uncompiled shader

blank image
---
ApportVersion: 2.8-0ubuntu2
Architecture: i386
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2013-01-19 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130118)
MarkForUpload: True
Package: cheese 3.6.2-0ubuntu2
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=pt:pt_BR:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=pt_PT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
Tags: raring
Uname: Linux 3.8.0-1-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
André Lopes (zipatei) wrote : CheeseDebug.txt.gz

apport information

tags: added: apport-collected raring
description: updated
Revision history for this message
André Lopes (zipatei) wrote : Dependencies.txt

apport information

Revision history for this message
André Lopes (zipatei) wrote : HookError_source_cheese.txt

apport information

Revision history for this message
Steffen Röcker (sroecker) wrote : Re: Webcam with cheese not work

I can confirm this bug. Seems it is also seen in debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690852

Changed in cheese (Ubuntu):
status: New → Confirmed
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Ah sorry,

I mark mine report as dub, because this here has more usfull information.

BTW this is already reported upstream.

I link this ticket to the upstream report.

summary: - Webcam with cheese not work
+ Webcam with cheese not work - blank image
Changed in cheese:
importance: Unknown → High
status: Unknown → New
Changed in cheese:
status: New → Confirmed
Revision history for this message
Steffen Röcker (sroecker) wrote : Re: Webcam with cheese not work - blank image

I have compiled cogl with --enable-debug=yes and attached the output. A shader for clutter-gst can't be compiled (seems like clutter-gst-video-sink.c) This is on a laptop with intel video (Mesa) on raring.
Work's fine on a desktop with proprietary ATI drivers.

summary: - Webcam with cheese not work - blank image
+ Webcam with cheese not working - shader fails to compile
Revision history for this message
Gökçen Eraslan (gkcn) wrote :

Same problem with Intel graphics card. Console output:

(cheese:19481): Cogl-WARNING **: Failed to compile GLSL program:
src:
precision mediump float;
uniform sampler2D tex;void main () { vec4 color = texture2D (tex, vec2(cogl_tex_coord_in[0])); float y = 1.1640625 * (color.g - 0.0625); float u = color.b - 0.5; float v = color.a - 0.5; color.a = color.r; color.r = y + 1.59765625 * v; color.g = y - 0.390625 * u - 0.8125 * v; color.b = y + 2.015625 * u; gl_FragColor = color; gl_FragColor = gl_FragColor * cogl_color_in;}
error:
0:23(1): error: Illegal use of reserved word `precision'
0:23(1): error: syntax error, unexpected ERROR_TOK, expecting $end

(cheese:19481): Cogl-WARNING **: Failed to link GLSL program:
error: linking with uncompiled shader

Revision history for this message
Iain Lane (laney) wrote :

xnox tested the new clutter-gst-2.0 which I'm about to upload and it fixes this problem for him. I think it's possible there are multiple bugs here, so if someone continues to experience similar issues please do file another bug.

Changed in cheese (Ubuntu):
status: Confirmed → Invalid
Changed in clutter-gst-2.0 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clutter-gst-2.0 - 2.0.2-0ubuntu1

---------------
clutter-gst-2.0 (2.0.2-0ubuntu1) raring; urgency=low

  * New upstream release
    + Remove usage of ClutterStage/ClutterContainer deprecated APIs
    + Depend on Cogl 1.10 for shaders boilerplate (LP: #1101951)
    + Improve video-player player example on enter/leave event handling
    + Fix a bug a autocluttersink that would lead to playbin not considering it
      as a sink any more when removing the actual sink from the bin
  * Drop Debian patch; upstream now.
 -- Iain Lane <email address hidden> Thu, 07 Mar 2013 15:58:21 +0000

Changed in clutter-gst-2.0 (Ubuntu):
status: Confirmed → Fix Released
Changed in clutter-gst:
status: New → Fix Released
Changed in cheese:
status: Confirmed → Expired
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.