Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
21478 Discussions

realsense-viewer not starting in ubuntu 20.04

thodor
Beginner
6,660 Views

I am trying to launch realsense-viewer in vanilla ubuntu 20.04, but it always throws an error and exits immediately:

 

$ realsense-viewer
0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
 15/12 18:14:39,131 WARNING [140280395247040] (rs.cpp:2087) null pointer passed for argument "block"
RealSense error calling rs2_gl_create_pointcloud():
    0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

 

 

 I installed RealSense SDK 2.0 following the instructions as described in https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md#installing-the-packages

glxinfo:

 

 

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
OpenGL version string: 2.1 Mesa 20.0.8
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

 

 

I don't understand why realsense-viewer seems to think I am running GLSL version 1.3!?

Any idea how to fix this? I'm using a ThinkPad 200s and a Realsense D435i for this project, if that's of any help.

Also I would like to point out my disappointment with the amount of entirely out-dated installation instructions for equally out-dated linux versions in various places, which makes it really difficult to find the correct instructions - particularly on the official product pages, eg. https://dev.intelrealsense.com/docs/compiling-librealsense-for-linux-ubuntu-guide

Thanks in advance, stay healthy!

Please move this question to the appropriate location, in case I missed it (could not find a location specifically for RealSense products, neither software nor hardware).

0 Kudos
1 Reply
AlHill
Super User
6,658 Views

You may find help here:

https://support.intelrealsense.com/hc/en-us/community/topics?erpm_id=1234530_ts1600136184847

Doc (not an Intel employee or contractor)

Reply