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

some shader crap #3338

Closed
nonetrix opened this issue Feb 13, 2020 · 11 comments
Closed

some shader crap #3338

nonetrix opened this issue Feb 13, 2020 · 11 comments

Comments

@nonetrix
Copy link

I ran the program and it spammed this "There was an error initializing the shaders:" and then said
"thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted (core dumped)"

System

OS: Linux/BSD/macOS/Windows manjaro linux
system: core 2 duo with integrated graphics
Version: alacritty --version output 0.4.1
Linux/BSD: X11 i3
Windows: WinPTY/ConPTY same error

Logs

it crashed the paste bin website somehow sorry

@chrisduerr
Copy link
Member

Does your GPU support OpenGL 3.2 or higher?

@nonetrix
Copy link
Author

How can I check?

Does your GPU support OpenGL 3.2 or higher?

@cole-h
Copy link
Contributor

cole-h commented Feb 17, 2020

On Linux, you can run glxinfo | grep "OpenGL version".

@dreamlayers
Copy link

dreamlayers commented Feb 18, 2020

Same here. Just installed it on a Dell Inspiron 6400 with Radeon Mobility x1400 graphics running Ubuntu 19.10 and X. No, the GPU doesn't support OpenGL 3.2 or higher: OpenGL version string: 2.1 Mesa 19.2.8. However, this is terrible error handling. The application ought to detect the error and quit, not overflow its stack. Also it ought to tell me why, like that it requires OpenGL 3.2 or higher and I only have 2.1.

@kchibisov
Copy link
Member

However, this is terrible error handling. The application ought to detect the error and quit, not overflow its stack.

This bug of error handling is already fixed on master ( #3239 ) and was accidentally introduced during some refactoring. So you can compile master and get a proper error if you want.

@nonetrix
Copy link
Author

On Linux, you can run glxinfo | grep "OpenGL version".

I'll be sure to check as soon as I can

@nonetrix
Copy link
Author

Same here. Just installed it on a Dell Inspiron 6400 with Radeon Mobility x1400 graphics running Ubuntu 19.10 and X. No, the GPU doesn't support OpenGL 3.2 or higher: OpenGL version string: 2.1 Mesa 19.2.8. However, this is terrible error handling. The application ought to detect the error and quit, not overflow its stack. Also it ought to tell me why, like that it requires OpenGL 3.2 or higher and I only have 2.1.

Probably wouldn't fix it but Vulkan support would be really cool

@nonetrix
Copy link
Author

On Linux, you can run glxinfo | grep "OpenGL version".

I'll be sure to check as soon as I can

Hopefully I can compile it for arm when my pinebook pro comes

@chrisduerr
Copy link
Member

Probably wouldn't fix it but Vulkan support would be really cool

GPUs that don't even support OpenGL 3.2+ which is already ancient are much less likely to support Vulkan. I'm not aware of any that do.

Sounds like this is a duplicate of #128 though.

@kchibisov
Copy link
Member

Well, it depends, but for example the one on Pinebook pro you can use Vulkan 1.0 and other GL ES things, however it can't run OpenGL 3.3 app like alacritty.

Look at t860

https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-t860-and-mali-t880-gpus

@chrisduerr
Copy link
Member

chrisduerr commented Feb 19, 2020

OpenGL 3.2 might be sufficient, though I could be wrong since GLSL 330 is only supported with OpenGL 3.3 I think.

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

No branches or pull requests

5 participants