Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RViz 1.9.28 Laser Scan display generates continuous "PointCloudMaterial" error #624

Closed
pirobot opened this issue Mar 25, 2013 · 15 comments
Closed

Comments

@pirobot
Copy link

pirobot commented Mar 25, 2013

After the latest Groovy Debian update, including a Laser Scan Display in RViz 1.9.28 generates a continual stream of errors in the launch terminal window of the form:

[ERROR] [1364222520.254417256]: No techniques available for material [PointCloudMaterial2274Point]

I am running this on an Acer L460 with integrated Intel GMA3100 graphics and Ubuntu 12.04LTS. I get the same result with all three options for OGRE_RTT_MODE.

Here is the Ogre.log file when running rviz with the -l option and a Laser Scan display:

[ INFO] [1364224786.509634021]: rviz version 1.9.28
[ INFO] [1364224786.509690789]: compiled against OGRE version 1.7.4 (Cthugha)
[ INFO] [1364224787.449203574]: Creating resource group General
[ INFO] [1364224787.449308524]: Creating resource group Internal
[ INFO] [1364224787.449334132]: Creating resource group Autodetect
[ INFO] [1364224787.449434149]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[ INFO] [1364224787.449624457]: Registering ResourceManager for type Material
[ INFO] [1364224787.449659131]: Registering ResourceManager for type Mesh
[ INFO] [1364224787.449687738]: Registering ResourceManager for type Skeleton
[ INFO] [1364224787.449738663]: MovableObjectFactory for type 'ParticleSystem' registered.
[ INFO] [1364224787.449791583]: OverlayElementFactory for type Panel registered.
[ INFO] [1364224787.449817232]: OverlayElementFactory for type BorderPanel registered.
[ INFO] [1364224787.449841602]: OverlayElementFactory for type TextArea registered.
[ INFO] [1364224787.449871589]: Registering ResourceManager for type Font
[ INFO] [1364224787.449922246]: ArchiveFactory for archive type FileSystem registered.
[ INFO] [1364224787.449950851]: ArchiveFactory for archive type Zip registered.
[ INFO] [1364224787.449974790]: DDS codec registering
[ INFO] [1364224787.450013802]: FreeImage version: 3.15.1
[ INFO] [1364224787.450039025]: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
[ INFO] [1364224787.450210401]: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,sti
[ INFO] [1364224787.450241612]: Registering ResourceManager for type HighLevelGpuProgram
[ INFO] [1364224787.450303312]: Registering ResourceManager for type Compositor
[ INFO] [1364224787.450575427]: MovableObjectFactory for type 'Entity' registered.
[ INFO] [1364224787.450606250]: MovableObjectFactory for type 'Light' registered.
[ INFO] [1364224787.450633809]: MovableObjectFactory for type 'BillboardSet' registered.
[ INFO] [1364224787.450659312]: MovableObjectFactory for type 'ManualObject' registered.
[ INFO] [1364224787.450686119]: MovableObjectFactory for type 'BillboardChain' registered.
[ INFO] [1364224787.450710882]: MovableObjectFactory for type 'RibbonTrail' registered.
[ INFO] [1364224787.450794087]: --* OGRE Initialising
[ INFO] [1364224787.450817723]: --* Version 1.7.4 (Cthugha)
[ INFO] [1364224787.450847109]: Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/RenderSystem_GL
[ INFO] [1364224787.452814629]: Installing plugin: GL RenderSystem
[ INFO] [1364224787.452851479]: OpenGL Rendering Subsystem created.
[ INFO] [1364224787.535490135]: Plugin successfully installed
[ INFO] [1364224787.535556573]: Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeSceneManager
[ INFO] [1364224787.536891032]: Installing plugin: Octree & Terrain Scene Manager
[ INFO] [1364224787.536920605]: Plugin successfully installed
[ INFO] [1364224787.536946417]: Loading library /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_ParticleFX
[ INFO] [1364224787.538196623]: Installing plugin: ParticleFX
[ INFO] [1364224787.538229511]: Particle Emitter Type 'Point' registered
[ INFO] [1364224787.538257692]: Particle Emitter Type 'Box' registered
[ INFO] [1364224787.538282912]: Particle Emitter Type 'Ellipsoid' registered
[ INFO] [1364224787.538308015]: Particle Emitter Type 'Cylinder' registered
[ INFO] [1364224787.538333157]: Particle Emitter Type 'Ring' registered
[ INFO] [1364224787.538476181]: Particle Emitter Type 'HollowEllipsoid' registered
[ INFO] [1364224787.538505191]: Particle Affector Type 'LinearForce' registered
[ INFO] [1364224787.538529885]: Particle Affector Type 'ColourFader' registered
[ INFO] [1364224787.538554886]: Particle Affector Type 'ColourFader2' registered
[ INFO] [1364224787.538580524]: Particle Affector Type 'ColourImage' registered
[ INFO] [1364224787.538605497]: Particle Affector Type 'ColourInterpolator' registered
[ INFO] [1364224787.538630871]: Particle Affector Type 'Scaler' registered
[ INFO] [1364224787.538655562]: Particle Affector Type 'Rotator' registered
[ INFO] [1364224787.538680734]: Particle Affector Type 'DirectionRandomiser' registered
[ INFO] [1364224787.538705978]: Particle Affector Type 'DeflectorPlane' registered
[ INFO] [1364224787.538729238]: Plugin successfully installed
[ INFO] [1364224787.538774348]: CPU Identifier & Features
[ INFO] [1364224787.538798760]: -------------------------
[ INFO] [1364224787.538822321]: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
[ INFO] [1364224787.538844369]: * SSE: yes
[ INFO] [1364224787.538865766]: * SSE2: yes
[ INFO] [1364224787.538886763]: * SSE3: yes
[ INFO] [1364224787.538907774]: * MMX: yes
[ INFO] [1364224787.538928789]: * MMXEXT: yes
[ INFO] [1364224787.538950014]: * 3DNOW: no
[ INFO] [1364224787.538971248]: * 3DNOWEXT: no
[ INFO] [1364224787.538992194]: * CMOV: yes
[ INFO] [1364224787.539013085]: * TSC: yes
[ INFO] [1364224787.539034109]: * FPU: yes
[ INFO] [1364224787.539054781]: * PRO: yes
[ INFO] [1364224787.539075721]: * HT: no
[ INFO] [1364224787.539096531]: -------------------------
[ INFO] [1364224787.539120509]: ******************************
*** Starting GLX Subsystem ***


[ INFO] [1364224787.539200673]: GLRenderSystem::_createRenderWindow "OgreWindow(0)", 1x1 windowed miscParams: externalGLControl=� macAPI=carbon parentWindowHandle=92274689
[ INFO] [1364224787.541318445]: GLXWindow::create used FBConfigID = 117
[ INFO] [1364224787.541406878]: GL_VERSION = 1.4 Mesa 8.0.4
[ INFO] [1364224787.541434271]: GL_VENDOR = Tungsten Graphics, Inc
[ INFO] [1364224787.541460300]: GL_RENDERER = Mesa DRI Intel(R) G33 x86/MMX/SSE2
[ INFO] [1364224787.541529539]: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_multitexture GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_NV_vertex_program GL_ARB_depth_texture GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_vertex_program1_1 GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_ARB_half_float_pixel GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_pixel_buffer_object GL_ARB_texture_rectangle GL_EXT_pixel_buffer_object GL_EXT_texture_rectangle GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_gpu_program_parameters GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_map_buffer_range GL_EXT_separate_shader_objects GL_ARB_ES2_compatibility GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_EXT_provoking_vertex GL_ARB_robustness
[ INFO] [1364224787.541714030]: Supported GLX extensions: GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_MESA_multithread_makecurrent GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap
[ INFO] [1364224787.541760349]: ***************************
[ INFO] [1364224787.541786128]: *** GL Renderer Started ***
[ INFO] [1364224787.541808568]: ***************************
[ INFO] [1364224787.544478969]: Registering ResourceManager for type GpuProgram
[ INFO] [1364224787.544515471]: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
[ INFO] [1364224787.544924775]: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.546245058]: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.546650118]: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.547051394]: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.547453950]: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.547855799]: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.548263614]: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.548799508]: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.549201123]: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.549602107]: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.550004651]: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.550437514]: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.550846379]: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.551248313]: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.551655865]: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.552167195]: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[ INFO] [1364224787.552223689]: [GL] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_SHORT_RGB
[ INFO] [1364224787.552250505]: RenderSystem capabilities
[ INFO] [1364224787.552275169]: -------------------------
[ INFO] [1364224787.552298553]: RenderSystem Name: OpenGL Rendering Subsystem
[ INFO] [1364224787.552323460]: GPU Vendor: unknown
[ INFO] [1364224787.552346585]: Device Name: Mesa DRI Intel(R) G33 x86/MMX/SSE2
[ INFO] [1364224787.552371315]: Driver Version: 1.4.0.0
[ INFO] [1364224787.552393983]: * Fixed function pipeline: yes
[ INFO] [1364224787.552415668]: * Hardware generation of mipmaps: yes
[ INFO] [1364224787.552436953]: * Texture blending: yes
[ INFO] [1364224787.552458620]: * Anisotropic texture filtering: yes
[ INFO] [1364224787.552482407]: * Dot product texture operation: yes
[ INFO] [1364224787.552504933]: * Cube mapping: yes
[ INFO] [1364224787.552527286]: * Hardware stencil buffer: yes
[ INFO] [1364224787.552551048]: - Stencil depth: 8
[ INFO] [1364224787.552572805]: - Two sided stencil support: yes
[ INFO] [1364224787.552595091]: - Wrap stencil values: yes
[ INFO] [1364224787.552616512]: * Hardware vertex / index buffers: yes
[ INFO] [1364224787.552637644]: * Vertex programs: yes
[ INFO] [1364224787.552661764]: * Number of floating-point constants for vertex programs: 4096
[ INFO] [1364224787.552685595]: * Number of integer constants for vertex programs: 0
[ INFO] [1364224787.552709799]: * Number of boolean constants for vertex programs: 0
[ INFO] [1364224787.552733720]: * Fragment programs: yes
[ INFO] [1364224787.552758411]: * Number of floating-point constants for fragment programs: 4096
[ INFO] [1364224787.552783379]: * Number of integer constants for fragment programs: 0
[ INFO] [1364224787.552808292]: * Number of boolean constants for fragment programs: 0
[ INFO] [1364224787.552829728]: * Geometry programs: no
[ INFO] [1364224787.552853523]: * Number of floating-point constants for geometry programs: 0
[ INFO] [1364224787.552887085]: * Number of integer constants for geometry programs: 0
[ INFO] [1364224787.552911662]: * Number of boolean constants for geometry programs: 0
[ INFO] [1364224787.552934922]: * Supported Shader Profiles: arbfp1 arbvp1
[ INFO] [1364224787.552956478]: * Texture Compression: yes
[ INFO] [1364224787.552977739]: - DXT: no
[ INFO] [1364224787.552998850]: - VTC: no
[ INFO] [1364224787.553019958]: - PVRTC: no
[ INFO] [1364224787.553041153]: * Scissor Rectangle: yes
[ INFO] [1364224787.553063893]: * Hardware Occlusion Query: no
[ INFO] [1364224787.553085109]: * User clip planes: yes
[ INFO] [1364224787.553106538]: * VET_UBYTE4 vertex element type: yes
[ INFO] [1364224787.553128762]: * Infinite far plane projection: yes
[ INFO] [1364224787.553150269]: * Hardware render-to-texture: yes
[ INFO] [1364224787.553171440]: * Floating point textures: no
[ INFO] [1364224787.553192813]: * Non-power-of-two textures: yes
[ INFO] [1364224787.553213987]: * Volume textures: yes
[ INFO] [1364224787.553238506]: * Multiple Render Targets: 1
[ INFO] [1364224787.553260784]: - With different bit depths: yes
[ INFO] [1364224787.553282033]: * Point Sprites: yes
[ INFO] [1364224787.553304078]: * Extended point parameters: yes
[ INFO] [1364224787.553341349]: * Max Point Size: 255
[ INFO] [1364224787.553363609]: * Vertex texture fetch: yes
[ INFO] [1364224787.553399993]: * Number of world matrices: 0
[ INFO] [1364224787.553423788]: * Number of texture units: 8
[ INFO] [1364224787.553447370]: * Stencil buffer depth: 8
[ INFO] [1364224787.553471595]: * Number of vertex blend matrices: 0
[ INFO] [1364224787.553496226]: - Max vertex textures: 16
[ INFO] [1364224787.553518233]: - Vertex textures shared: yes
[ INFO] [1364224787.553539635]: * Render to Vertex Buffer : no
[ INFO] [1364224787.553563397]: * GL 1.5 without VBO workaround: no
[ INFO] [1364224787.553585160]: * Frame Buffer objects: yes
[ INFO] [1364224787.553607696]: * Frame Buffer objects (ARB extension): yes
[ INFO] [1364224787.553630334]: * Frame Buffer objects (ATI extension): yes
[ INFO] [1364224787.553651409]: * PBuffer support: yes
[ INFO] [1364224787.553673572]: * GL 1.5 without HW-occlusion workaround: no
[ INFO] [1364224787.553701383]: Registering ResourceManager for type Texture
[ INFO] [1364224787.553793462]: DefaultWorkQueue('Root') initialising on thread 0x9e17f58.
[ INFO] [1364224787.553888483]: DefaultWorkQueue('Root')::WorkerFunc - thread 0xa3ea078 starting.
[ INFO] [1364224787.553952414]: Particle Renderer Type 'billboard' registered
[ INFO] [1364224787.553993927]: DefaultWorkQueue('Root')::WorkerFunc - thread 0xa35bac8 starting.
[ INFO] [1364224787.554120595]: SceneManagerFactory for type 'OctreeSceneManager' registered.
[ INFO] [1364224787.554150222]: SceneManagerFactory for type 'TerrainSceneManager' registered.
[ INFO] [1364224787.554215331]: OpenGl version: 1.4 (GLSL 0).
[ INFO] [1364224787.576869613]: Creating resource group rviz
[ INFO] [1364224787.577009547]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577074214]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/textures' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577145513]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/fonts' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577221423]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/models' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577295258]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/materials' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577383516]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/materials/scripts' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577527403]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/materials/glsl120' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577590531]: Added resource location '/opt/ros/groovy/share/rviz/ogre_media/materials/scripts120' of type 'FileSystem' to resource group 'rviz'
[ INFO] [1364224787.577619984]: Parsing scripts for resource group Autodetect
[ INFO] [1364224787.577657982]: Finished parsing scripts for resource group Autodetect
[ INFO] [1364224787.577689214]: Parsing scripts for resource group General
[ INFO] [1364224787.577722463]: Finished parsing scripts for resource group General
[ INFO] [1364224787.577750184]: Parsing scripts for resource group Internal
[ INFO] [1364224787.577783177]: Finished parsing scripts for resource group Internal
[ INFO] [1364224787.577810297]: Parsing scripts for resource group rviz
[ INFO] [1364224787.578666252]: Parsing script glsl120.program
[ INFO] [1364224787.580369689]: Parsing script nogp.program
[ INFO] [1364224787.581587871]: Parsing script point_cloud_sphere.material
[ INFO] [1364224787.582175646]: Parsing script point_cloud_point.material
[ INFO] [1364224787.582703123]: Parsing script point_cloud_flat_square.material
[ INFO] [1364224787.583265110]: Parsing script point_cloud_square.material
[ INFO] [1364224787.583768862]: Parsing script default_pick_and_depth.material
[ INFO] [1364224787.584497123]: Parsing script point_cloud_tile.material
[ INFO] [1364224787.585140923]: Parsing script point_cloud_box.material
[ INFO] [1364224787.585595116]: Parsing script arial.fontdef
[ INFO] [1364224787.585692286]: Finished parsing scripts for resource group rviz
[ INFO] [1364224787.600620988]: GLRenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed miscParams: externalGLControl=� macAPI=carbon parentWindowHandle=85983266
[ INFO] [1364224787.604792187]: GLXWindow::create used FBConfigID = 117
[ INFO] [1364224787.604986728]: GLRenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed miscParams: externalGLControl=� macAPI=carbon parentWindowHandle=85983266
[ INFO] [1364224787.608658829]: GLXWindow::create used FBConfigID = 117
[ INFO] [1364224787.608824535]: GLRenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed miscParams: externalGLControl=� macAPI=carbon parentWindowHandle=85983266
[ INFO] [1364224787.613328210]: GLXWindow::create used FBConfigID = 117
[ INFO] [1364224787.613524166]: Created render window after 3 attempts.
[ INFO] [1364224788.124354813]: Mesh: Loading rviz_sphere.mesh.
[ INFO] [1364224788.282622730]: Texture: SelectionRect0Texture: Loading 1 faces(PF_R8G8B8A8,1x1x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1x1x1.
[ INFO] [1364224788.282861909]: WARNING: material rviz/DefaultPickAndDepth has no supportable Techniques and will be blank. Explanation:
Pass 0: Fragment program rviz/glsl120/pickcolor.frag cannot be used - not supported.
Pass 0: Fragment program rviz/glsl120/black.frag cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/depth.vert cannot be used - not supported.
Pass 0: Fragment program rviz/glsl120/pickcolor.frag cannot be used - not supported.
Pass 0: Fragment program rviz/glsl120/black.frag cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/depth.vert cannot be used - not supported.

[ INFO] [1364224788.513309003]: Mesh: Loading rviz_cylinder.mesh.
[ INFO] [1364224788.513588807]: Mesh: Loading rviz_cone.mesh.
[ INFO] [1364224789.128235985]: Mesh: Loading rviz_cube.mesh.
[ INFO] [1364224789.263680365]: Material package://rbx1_description/meshes/create_body.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.298982119]: Texture: package://rbx1_description/meshes/create_body.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224789.321804518]: Material package://rbx1_description/meshes/create_body.daeMaterial1 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.321950999]: Material package://rbx1_description/meshes/create_body.daeMaterial2 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.439453887]: Material package://rbx1_description/meshes/kinect.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.477745664]: Texture: package://rbx1_description/meshes/kinect.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224789.581887402]: Material package://rbx1_description/meshes/plate_0_logo.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.619795956]: Texture: package://rbx1_description/meshes/plate_0_logo.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224789.714252429]: Material package://rbx1_description/meshes/plate_1_logo.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.752227076]: Texture: package://rbx1_description/meshes/plate_1_logo.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224789.848338464]: Material package://rbx1_description/meshes/plate_2_logo.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224789.880987014]: Texture: package://rbx1_description/meshes/plate_2_logo.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224789.982046867]: Material package://rbx1_description/meshes/68-02403-125_Spacer.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224790.070422361]: Material package://rbx1_description/meshes/68-04552-2000-RA_Turtlebot_M-F_Standoff.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224790.126913478]: Texture: package://rbx1_description/meshes/68-04552-2000-RA_Turtlebot_M-F_Standoff_color.png: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224790.239782345]: Material package://rbx1_description/meshes/68-02421-8000-RA_Turtlebot_F-F_Standoff.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224790.296432788]: Texture: package://rbx1_description/meshes/68-02421-8000-RA_Turtlebot_F-F_Standoff_color.png: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ INFO] [1364224790.414936561]: Material package://rbx1_description/meshes/68-04556-RA_Kinect_Standoff_Assy.daeMaterial0 was requested with isManual=true, but this is not applicable for materials; the flag has been reset to false
[ INFO] [1364224790.474580804]: Texture: package://rbx1_description/meshes/68-04552-1000-RA_Turtlebot_M-F_Standoff_color.png: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
[ WARN] [1364224790.878374689]: Message from [/turtlebot_node] has a non-fully-qualified frame_id [odom]. Resolved locally to [/odom]. This is will likely not work in multi-robot systems. This message will only print once.
[ WARN] [1364224793.213948383]: Message from [/depthimage_to_laserscan] has a non-fully-qualified frame_id [camera_depth_frame]. Resolved locally to [/camera_depth_frame]. This is will likely not work in multi-robot systems. This message will only print once.
[ INFO] [1364224793.215351902]: WARNING: material PointCloudMaterial0Point has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/point.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/point.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/point.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/point.vert cannot be used - not supported.

[ INFO] [1364224793.215425223]: WARNING: material PointCloudMaterial0Square has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.

[ INFO] [1364224793.215619959]: WARNING: material PointCloudMaterial0FlatSquare has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.

[ INFO] [1364224793.215679305]: WARNING: material PointCloudMaterial0Sphere has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.

[ INFO] [1364224793.215736918]: WARNING: material PointCloudMaterial0Tiles has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/nogp/billboard_tile.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard_tile.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard_tile.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard_tile.vert cannot be used - not supported.

[ INFO] [1364224793.215794825]: WARNING: material PointCloudMaterial0Box has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/nogp/box.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/box.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/box.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/box.vert cannot be used - not supported.

[ INFO] [1364224793.269926968]: WARNING: material PointCloudMaterial1Point has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/point.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/point.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/point.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/point.vert cannot be used - not supported.

[ INFO] [1364224793.270042361]: WARNING: material PointCloudMaterial1Square has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert(with_depth) cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.
Pass 0: Vertex program rviz/glsl120/nogp/billboard.vert cannot be used - not supported.

@dgossow
Copy link
Member

dgossow commented Mar 25, 2013

This indicates that your graphics driver does not support GLSL 1.20, which is needed for any kind of point cloud rendering.

Judging from the log output you provided, you have OpenGL 1.4 with GLSL 1.0 supported as an extension. It might be possible that our current shaders are actually compatible with that and we could relatively easily handle this case in RViz.

So, just so I understand this correctly - with the last public RViz release in Groovy (I believe that was 1.9.24) it used to work on that computer?

@pirobot
Copy link
Author

pirobot commented Mar 25, 2013

Good question--actually, no, I was running ROS Fuerte under Ubuntu 10.04LTS on the Acer machine. Then I upgraded to Ubuntu 12.04LTS so that I could run Groovy. So RViz was running fine under Fuerte/Lucid and the problems are now happening under Groovy/Precise. (Sorry for the confusion--I have several machines running different ROS/Ubuntu combinations to try to support different ROS users using different releases...)

@dgossow
Copy link
Member

dgossow commented Mar 25, 2013

In Fuerte, RViz was using Cg shaders, which can explain why it worked back then on your machine.
Are you sure you have the latest graphics drivers installed on that machine?

@pirobot
Copy link
Author

pirobot commented Mar 25, 2013

I have whatever Ubuntu 12.04 installs for the Intel GMA 3100. The output from lspci gives:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)

Is there some other way I can check the driver status? Do you know how I can get a later driver?

@pirobot
Copy link
Author

pirobot commented Mar 26, 2013

I compiled RViz from source (https://github.com/ros-visualization/rviz) under Groovy/Ubuntu 12.04 but still get the same result as using the Debian version 1.9.28. Are there any parameters I can tweak in the source that might help?

@dgossow
Copy link
Member

dgossow commented Mar 26, 2013

Actually, the software renderer in Mesa has OpenGL 2.1 / GLSL 1.2, which is why we picked this as our minimum system requirement. See this on how to enable it: http://unix.stackexchange.com/questions/4252/using-software-opengl-rendering-with-x

@dgossow
Copy link
Member

dgossow commented Mar 26, 2013

Could you please check out the branch fix-624 and run it with your original setup? RViz should show you an informative error message and die gracefully.

@pirobot
Copy link
Author

pirobot commented Mar 26, 2013

Setting LIBGL_ALWAYS_SOFTWARE=1 fixed the problem! Now at least I can do the screen captures in RViz I need. Many thanks!

I checked out fix-624 and turned off the LIBGL_ALWAYS_SOFTWARE variable. The original problems return but RViz does not die gracefully. Instead, it keeps spitting out the message:

[ERROR] [1364306801.471749332]: No techniques available for material [PointCloudMaterial200Point]

BTW, I am completely happy with the fix provided by setting LIBGL_ALWAYS_SOFTWARE, especially with such an old graphics setup so don't waste too much time on getting hardware GL working unless it will benefit others.

@dgossow
Copy link
Member

dgossow commented Mar 26, 2013

I'm glad that this fixed your problem, and thanks for reporting.

I'd really like to have a solution that saves others from running into the same issue.

With the modified branch, you should get a popup window saying "Your graphics driver does not support OpenGL 2.1. Please enable software rendering before running RViz (e.g. type 'export LIBGL_ALWAYS_SOFTWARE=1')."

Did you run catkin_make before starting RViz? The changes I made require a recompile.

@hershwg
Copy link
Member

hershwg commented Mar 26, 2013

Looks like this would be a fair amount of work to implement, but in theory if the program can detect that the accelerated graphics driver is not sufficient, it should be able to close all the graphics things it has opened, set the environment variable itself, then re-create the graphics things. That way it would just use the software renderer automatically if that was the best available.

@pirobot
Copy link
Author

pirobot commented Mar 27, 2013

I did run catkin_make but I'm wondering if I have the updated source. I'll try again later this evening or tomorrow.

@pirobot
Copy link
Author

pirobot commented Mar 29, 2013

I tried fix-624 again from scratch but still did not get a popup window. The messages I see when launching RViz are:

[acer: rviz]$ rosrun rviz rviz -d rospack find rbx1_nav/fake_laser.rviz[ INFO] [1364568230.041288486]: rviz version 1.9.28
[ INFO] [1364568230.041376555]: compiled against OGRE version 1.7.4 (Cthugha)
[ INFO] [1364568236.457751846]: OpenGl version: 1.4 (GLSL 0).
[ INFO] [1364568236.579381320]: Created render window after 2 attempts.

Perhaps I'm not checking out fix-624 properly. Following some instructions I found on the web (http://stackoverflow.com/questions/3489173/how-to-clone-git-repository-with-specific-revision-changeset) I did the following in my ~/catkin_ws/src directory:

$ git clone git://github.com/ros-visualization/rviz.git
$ cd rviz
$ git checkout 40aaa7a
$ git reset --hard
$ git checkout -b master
$ cd ../../
$ catkin_make
$ rospack profile
$ rosrun rviz rviz -d rospack find rbx1_nav/fake_laser.rviz

@dgossow
Copy link
Member

dgossow commented Mar 29, 2013

Please run the following:

git clone git://github.com/ros-visualization/rviz.git
cd rviz
git checkout -t origin/fix-624
cd ../../
catkin_make
source devel/setup.bash
rosrun rviz rviz -d `rospack find rbx1_nav/fake_laser.rviz`

You should have rbx1_nav in the same src directory as RViz, or add it to the ROS_PACKAGE_PATH after calling setup.bash.

@pirobot
Copy link
Author

pirobot commented Apr 3, 2013

OK it worked this time. The RViz version displayed at startup is 1.9.24 and I get the popup saying "Your graphics driver does not support OpenGL 2.1. Please enable software rendering before running RViz (e.g. type 'export LIBGL_ALWAYS_SOFTWARE=1')."

@dgossow
Copy link
Member

dgossow commented Apr 3, 2013

OK, I'll close the issue then. Again, thank you for reporting and helping to resolve this.

@dgossow dgossow closed this as completed Apr 3, 2013
dgossow pushed a commit that referenced this issue Apr 3, 2013
adding handling of gl version < 2.1. Fixes #624
ipa-fez pushed a commit to ipa-fez/rviz that referenced this issue Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants