Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLSL 3.30 is not supported #26

Open
pandasoli opened this issue Nov 27, 2023 · 1 comment
Open

GLSL 3.30 is not supported #26

pandasoli opened this issue Nov 27, 2023 · 1 comment

Comments

@pandasoli
Copy link

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
Copy link
Owner

zenixls2 commented Mar 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants