I was starting sway on endeavour and it said alacritty encountered a unrecoverable error. also, I was not able to start the terminal. it said: There was an error initializing the shaders: Failed compiling shaders: 0:1(10):error: GLSL 3.30 is not supported. supported versions are 1.10, 1.20 and 1.00 ES. How can I overcome this? Also my pc is quite old (10+ solid years so…), so does sway not support my pc?
Searching the web turned up this.
- Open .profile and add
export LIBGL_ALWAYS_SOFTWARE=1 alacritty
- Log out and in and try alacritty again
This is as
Alacritty requires a GPU capable of running GLSL 3.30 or higher.
Probably my GPU cant do that because my GPU is well over 10 years, I don’t want to break anything by doing that…
Nothing should happen doing this - if it does you can just remove it
Where is .profile available? I cant find it
Files that start with a . are hidden files. Do CTRL+H to show them.