zenixls2 / alacritty

A cross-platform, GPU-accelerated terminal emulator
Apache License 2.0
112 stars 22 forks source link

GLSL 3.30 is not supported #26

Open pandasoli opened 10 months ago

pandasoli commented 10 months ago

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.

zenixls2 commented 6 months ago

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.