Debian Stretch: error: GLSL 4.20 is not supported.

629 views
Skip to first unread message

Otto

unread,
Oct 1, 2017, 1:50:19 PM10/1/17
to IceSL
Hello,


i have installed icesl2.1.6-amd64.deb on Debian Stretch. The installation itself worked flawlessly but whenever I try to start IceSL-slicer it dies with the following error message:

    [FATAL]

    **** GLSL shader failed to compile (vertex) ****
    0:2(10): error: GLSL 4.20 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES


It seems as if the GLSL shader version on Debian Stretch is too new for icesl 2.16, doesnt it ? Does anybody know a workaround ?

I really like the software from what I have seen on youtube and would like to try it out - so any help would be apreciated.



regards,





Here is the full output when i start iceSL:

$ IceSL-slicer
( IceSL 'Sep 25 2017 17:39:16')
IceSL is highly experimental software.   =====>>> USE AT YOUR OWN RISK <<<=====
We strongly recommend that you visually check the produced G-code, and that you
supervise the printing process to avoid any damage to the printing nozzle due 
to improper z-levels or improper positioning of the printing mechanism.

[Environment] language used "en"
-=-=-=-=-=-=-=-=-=-=-=-=-
      glux v1.95
-=-=-=-=-=-=-=-=-=-=-=-=-
-> initializing extensions
[ OK ] GL_ARB_compute_shader
[ OK ] GL_ARB_draw_buffers
[ OK ] GL_ARB_fragment_shader
[ OK ] GL_ARB_half_float_pixel
[ OK ] GL_ARB_map_buffer_range
[ OK ] GL_ARB_multitexture
[ OK ] GL_ARB_occlusion_query
[ OK ] GL_ARB_shader_atomic_counters
[ OK ] GL_ARB_shader_image_load_store
[ OK ] GL_ARB_shader_objects
[ OK ] GL_ARB_sync (required)
[FAIL] GL_ARB_texture_buffer_object
[ OK ] GL_ARB_texture_float
[ OK ] GL_ARB_timer_query
[ OK ] GL_ARB_vertex_buffer_object
[ OK ] GL_ARB_vertex_program
[ OK ] GL_ARB_vertex_shader
[ OK ] GL_ATI_texture_float
[ OK ] GL_EXT_framebuffer_object
[FAIL] GL_EXT_geometry_shader4
[FAIL] GL_EXT_gpu_shader4
[ OK ] GL_EXT_texture3D
[FAIL] GL_NV_shader_buffer_load
[FAIL] GL_NV_texture_shader2
[ OK ] GL_VERSION_3_0 (required)
[ OK ] GL_VERSION_3_1 (required)
[ OK ] GL_VERSION_4_0 (required)
-=-=-=-=-=-=-=-=-=-=-=-=-

Renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
[settings] file '/home/arno/.icesl/environment.xml'.
[settings] No settings file '/home/arno/.icesl/environment.xml' found.
EnumerableSettings::loadSettings:  0 hours  0 min  0s    0 ms
Found printer ultimaker1
Found printer pharaoh_xd
Found printer prusai3
Found printer peek
Found printer icedelta
Found printer foldarap
Found printer colorizer
Found printer replicator2
Found printer ultimaker3
Found printer replicator1_gpx
Found printer ord
Found printer reprap
Found printer replicator2x
Found printer ultimaker2
MetricsFDM::loadPrinterFeatures()
[settings] file '/home/arno/.icesl/settings_ultimaker2.xml'.
[settings] No settings file '/home/arno/.icesl/settings_ultimaker2.xml' found.
EnumerableSettings::loadSettings:  0 hours  0 min  0s    0 ms
bool > add_brim value = 1
bool > add_raft value = 0
bool > print_perimeter_0 value = 1
bool > process_thin_features value = 0
[onSelectedPrinterChanged] selected printer is ultimaker2
[settings] file '/home/arno/.icesl/settings_ultimaker2.xml'.
[settings] No settings file '/home/arno/.icesl/settings_ultimaker2.xml' found.
EnumerableSettings::loadSettings:  0 hours  0 min  0s    0 ms
bool > add_brim value = 1
bool > add_raft value = 0
bool > gen_supports value = 0
bool > print_perimeter_0 value = 1
bool > process_thin_features value = 0
**** GLSL shader failed to compile (vertex) ****
0:2(10): error: GLSL 4.20 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

[FATAL]

**** GLSL shader failed to compile (vertex) ****
0:2(10): error: GLSL 4.20 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
 

salim....@gmail.com

unread,
Oct 2, 2017, 3:43:40 AM10/2/17
to IceSL
Hi Otto.

Thanks for trying out IceSL. It seems your system does not support OpenGL 4.3 which is the minimum version required by IceSL. However, let's make sure of that; can you please post here the output of the following commands?
> glxinfo
> lspci | grep -i --color 'vga\|3d\|2d'

Regards,
Salim.

Otto

unread,
Oct 2, 2017, 9:36:04 AM10/2/17
to IceSL
Hi Salim,



thanks for your kind respond!
Here are the outputs of some commands regarding system configuration:


# lspci | grep -i --color 'vga\|3d\|2d'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)

# glxinfo | grep OpenGL | grep "version string"
OpenGL core profile version string: 4.5 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 13.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

# uname -a
Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

# cat /etc/debian_version
9.1

I attached the output of the full "glxinfo" command because its quite long.



hope this helps ?


regards,
Otto
glxinof.log

salim....@gmail.com

unread,
Oct 2, 2017, 12:06:55 PM10/2/17
to IceSL
Hi Otto.

Regrettably, you cannot *yet* run IceSL on your system. This is the short answer, a more technical answer is below in case you're interested.

Your graphics card Intel HD Graphics 5500 supports up OpenGL 4.5 with the mesa drivers on linux, you can see this in the glxinfo output line:
OpenGL core profile version string: 4.5 (Core Profile) Mesa 13.0.6

This is true provided that your application creates an OpenGL context in core mode (hence the Core Profile text).

However, this same driver can only support up to OpenGL 3.0 if the application creates the OpenGL context in compatibility mode, you can see this in the glxinfo output line:
Max compat profile version: 3.0

IceSL unfortunately creates a compatibility profile context. Switching to core profile is not trivial, nonetheless, making IceSL core profile is right now a high priority feature, so chances are that we will do it soon.

Please stay tuned for updates and again we regret this incompatibility issue.

Regards,
Salim.

Otto

unread,
Oct 2, 2017, 12:24:08 PM10/2/17
to IceSL

Thank u Salim for your fast and precise answer.
Its a pity that it does not work on Debian Stretch since i like the worklfow of iceSL very much - at least from what i have seen on youtube and on the website.
I certainly will stay tuned and try it out when its ready then.


regards,
Otto
Reply all
Reply to author
Forward
0 new messages