-
-
Notifications
You must be signed in to change notification settings - Fork 545
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
Core Dump on First Start #172
Comments
Hello, I don't know much about wayland but it seems like it can't load OpenGL. Make sure you've got a driver or software renderer that supports at least OpenGL 3.2 The assertion fail is unrelated, it's basically complaining that it had to terminate a thread without the block being initialized yet because of the OpenGL error. |
Yeah, it looks like a glew thing, but glewinfo works, so I'm looking into that. |
Looks like I'm running into nigels-com/glew#306 |
I was able to get everything working by updating the code in GLenum glewErr = glewInit();
if (glewErr != GLEW_OK && glewErr != GLEW_ERROR_NO_GLX_DISPLAY) { |
although this can be a quick and dirty "fix" it's very bad. |
Understood, it's a known issue with glew though, doesn't seem that bad to put in temporarily as it's only allowing one very specific error to go through and the initialization is otherwise successful. Also listed here nigels-com/glew#172 which references supertuxkart/stk-code@961ac4d. |
I think an issue should be opened on the glew repo to add a fix for this directly into glew. Would avoid having to specifically check for wayland in software (because I'll keep this issue open until a fix comes out from glew |
Try rebuilding GLEW and the application with GLEW_EGL defined. |
I have just run into this (on sway same as OP). It looks like some changes have been made in GLEW, but I don't understand them! What's the current status of this issue? Thanks! |
All of this is likely fixed in the latest nightly, reopen if not. |
Just built and tried to run for the first time and immediately got a core dump (the window outline showed very briefly). I'm running wayland/sway (with a 150% scaled 4k monitor) on an amd gpu with kernel 5.12.15. This is using commit ead7ee1.
Happy to help debug this in any way possible.
Here are the logs I'm getting:
And here's the backtrace, but it's not particularly helpful.
The text was updated successfully, but these errors were encountered: