alacritty icon indicating copy to clipboard operation
alacritty copied to clipboard

GLSL 3.30 is not supported

Open pandasoli opened this issue 1 year ago • 1 comments

For bug reports, the following information can help speed up the process. Please describe the bug that you have found and what you would expect to happen instead.

System

OS: Gentoo GNU/Linux (kernel 6.6.2-gentoo-dist) Version: alacritty 0.8.0-dev (7291702f) Linux/BSD: dwm

Logs

[2023-11-26 20:06:30.901956050] [ERROR] [alacritty] Alacritty encountered an unrecoverable error:

                                                    	There was an error initializing the shaders: Failed compiling shader: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

With some GTP helps I discovered it has something to do with my OpenGL version and that it has everything to do with my graphic hardware, what is bad as I'm on a Notebook full intel stuff.
Anyway this is my glxinfo | grep "OpenGL version" output:

OpenGL version string: 2.1 Mesa 23.3.0-rc5

What GPT says this Alacritty fork expects the version 3.0, but it is not what the log says. Anyway I hope someone can help cuz I got no idea what to do.

pandasoli avatar Nov 27 '23 01:11 pandasoli

https://github.com/zenixls2/alacritty/tree/ligature/alacritty/res try to modify the files here. the glsl is hard-coded to be #version 330 core. Maybe you could modify it to #version 210 core and compile again. I remember that if you downgrade it some syntaxes were not supported.

zenixls2 avatar Mar 07 '24 06:03 zenixls2