[GEM-dev] Problem with GLSL on UDOO

Jack jack at rybn.org
Sat Aug 23 16:32:27 CEST 2014


Le 23/08/2014 13:37, Jack a écrit :
> Hello,
>
> I am trying to run the Pd patch
> Gem/exemples/10.glsl/01.simple_texture.pd, but when i create the gemwin,
> i get :
> [glsl_fragment]: shader 'texture.frag' will be loaded when rendering is
> turned on (openGL context needed)
> [pix_texture]: using mode 0: TEXTURE_2D
> libGL error: UNIX signal already caught!libGL error: UNIX signal already
> caught!libGL error: UNIX signal already caught!libGL error: UNIX signal
> already caught!libGL error: UNIX signal already caught!libGL error: UNIX
> signal already caught!libGL error: UNIX signal already caught!libGL
> error: UNIX signal already caught!GEM: Direct Rendering enabled!
> GEM: GLEW version 1.5.4
> GEM: Start rendering
> [glsl_fragment]: compile Info_log:
> [glsl_fragment]: (10:0) : error : undefined identifier: 'gl_TextureMatrix'
> (10:0) : error : undefined identifier: 'gl_TexCoord'
> (12:0) : error : undefined identifier: 'color'
> (13:0) : error : undefined identifier: 'color'
> (14:0) : error : undefined identifier: 'color'
> (14:0) : error : undefined identifier: 'gray'
> (14:0) : error : undefined identifier: 'color'
> (15:0) : error : undefined identifier: 'color'
>
> error: [glsl_fragment]: shader not loaded
> verbose(4): ... you might be able to track this down from the Find menu.
> GL: invalid enumerant
> GL: invalid enumerant
> GL: invalid enumerant
> verbose(3): [pix_image]: loaded image '/home/ubuntu/Desktop/img1.jpg'
> GL: invalid enumerant
> GL: invalid enumerant
> GL: invalid enumerant
> ...
>
>
> If i send [print( to [glsl_fragment] i get :
> [glsl_fragment]: no GLSL support
I was unable to click on [print( when rendering was on because gemwin
was in fullscreen. Now that i can create gemwin of any dimension ($
VIV_DESKTOP=0 pd), i can click on [print( and get good infos from
[glsl_fragment]. Sorry for the noise about that.
++

Jack


>
> If i send [print( to [gemwin] i get :
> GEM information
> ---------------
> OpenGL info
> Vendor: Vivante Corporation
> Renderer: GC2000 Graphics Engine
> Version: 2.1 2.0.1
> Extensions: WGL_ARB_extensions_string
> Extensions: WGL_EXT_extensions_string
> Extensions: WGL_EXT_swap_control
> Extensions: GL_EXT_texture_env_add
> Extensions: GL_ARB_multitexture
> Extensions: GL_ARB_multisample
> Extensions: GL_ARB_texture_env_add
> Extensions: GL_ARB_texture_compression
> Extensions: GL_ARB_texture_env_combine
> Extensions: GL_ARB_depth_texture
> Extensions: GL_ARB_window_pos
> Extensions: GL_ARB_vertex_buffer_object
> Extensions: GL_ARB_shader_objects
> Extensions: GL_ARB_vertex_shader
> Extensions: GL_ARB_fragment_shader
> Extensions: GL_ARB_texture_non_power_of_two
> Extensions: GL_ARB_fragment_program_shadow
> Extensions: GL_EXT_texture_rectangle
> Extensions: GL_ARB_texture_rectangle
> Extensions: GL_ARB_pixel_buffer_object
> Extensions: GL_EXT_abgr
> Extensions: GL_EXT_blend_color
> Extensions: GL_EXT_polygon_offset
> Extensions: GL_EXT_texture
> Extensions: GL_EXT_texture3D
> Extensions: GL_EXT_subtexture
> Extensions: GL_EXT_histogram
> Extensions: GL_EXT_convolution
> Extensions: GL_EXT_texture_object
> Extensions: GL_SGIS_texture_lod
> Extensions: GL_EXT_rescale_normal
> Extensions: GL_EXT_vertex_array
> Extensions: GL_SGIS_generate_mipmap
> Extensions: GL_EXT_draw_range_elements
> Extensions: GL_EXT_bgra
> Extensions: GL_EXT_separate_specular_color
> Extensions: GL_EXT_secondary_color
> Extensions: GL_EXT_texture_env_combine
> Extensions: GL_EXT_blend_func_separate
> Extensions: GL_EXT_texture_lod_bias
> Extensions: GL_EXT_texture_filter_anisotropic
> Extensions: GL_EXT_texture_compression_s3tc
> Extensions: GL_NV_texture_rectangle
> Extensions: GL_ATI_vertex_array_object
> Extensions: GL_ATI_element_array
> Extensions: GL_EXT_stencil_two_side
> Extensions: GL_ATI_draw_buffers
> Extensions: GL_ATI_texture_env_combine3
> Extensions: GL_ATI_separate_stencil
> Extensions: GL_EXT_blend_equation_separate
> Extensions: GL_EXT_pixel_buffer_object
> Extensions: GL_EXT_color_table
> Extensions: GL_SGI_color_matrix
> Extensions: GL_EXT_texture_cube_map
> Extensions: GL_ARB_imaging
> Extensions: GL_EXT_framebuffer_object
> Extensions: GL_EXT_framebuffer_blit
> Extensions: GL_EXT_framebuffer_multisample
> Extensions: GL_EXT_texture_array
> Extensions: GL_EXT_draw_buffers2
> Extensions: GL_EXT_texture_buffer_object
> Extensions: GL_EXT_draw_instanced
> Extensions: GL_EXT_timer_query
> ---------------
> window state: 1
> topmost: 0
> profile: 0
> buffer: 2
> stereo: 0
> full screen: 1
> width: 500, height 500
> offset: 0+0
> frame rate: 20.000000
> red: 8
> green: 8
> blue: 8
> max texture: 8192
> lighting 0
> rectangle texturing: 2
> direct yuv texturing: 0
>
> gem::Settings
> -----------
> key ['gem.path']: ' ./Gem'
>
>
> OpenGL version is > 2.0 so GLSL program should run.
> What can i do to run this simple shader
> (Gem/exemples/10.glsl/01.simple_texture.pd) on UDOO ?
> Any suggestion is welcome.
> ++
>
> Jack
>
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at lists.iem.at
> http://lists.puredata.info/listinfo/gem-dev




More information about the GEM-dev mailing list