After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748393 - gleffects_laplacian: error when testing the element
gleffects_laplacian: error when testing the element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-24 01:53 UTC by Vineeth
Modified: 2015-05-26 03:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vineeth 2015-04-24 01:53:46 UTC
When trying to launch with the below pipeline

gst-launch-1.0 videotestsrc num-buffers=20 ! glupload ! gleffects_laplacian ! videoconvert ! autovideosink 
it fails with the below error

ERROR: from element /GstPipeline:pipeline0/gleffects_laplacian:gleffects_laplacian0: Failed to initialize conv0 shader, Fragment Shader compilation failed:
0:4(799): error: `invert' undeclared
0:4(793): error: cannot construct `float' from a non-numeric data type
0:4(788): error: cannot construct `vec3' from a non-numeric data type
0:4(782): error: operands to arithmetic operators must be numeric
0:4(778): error: no matching function for call to `abs(error)'; candidates are:
0:4(778): error:    float abs(float)
0:4(778): error:    vec2 abs(vec2)
0:4(778): error:    vec3 abs(vec3)
0:4(778): error:    vec4 abs(vec4)
0:4(778): error:    int abs(int)
0:4(778): error:    ivec2 abs(ivec2)
0:4(778): error:    ivec3 abs(ivec3)
0:4(778): error:    ivec4 abs(ivec4)
0:4(772): error: cannot construct `vec4' from a non-numeric data type

Additional debug info:
gstgleffects.c(548): gst_gl_effects_get_fragment_shader (): /GstPipeline:pipeline0/gleffects_laplacian:gleffects_laplacian0
Comment 1 Matthew Waters (ystreet00) 2015-05-26 03:08:38 UTC
commit cb482f13bebca0d4a710b386c75066940f31aa0f
Author: Matthew Waters <matthew@centricular.com>
Date:   Tue May 26 12:44:47 2015 +1000

    gleffects_laplacian: fix shader compilation in gl3/gles2
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748393