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  (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 | 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).