-
Notifications
You must be signed in to change notification settings - Fork 65
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
Examples won't start #32
Comments
Hi! Sorry for the alte reply. This is an issue that I have encountered before, and I believe it has to do with your available versions of OpenGL. Have you tried compiling with compatibility mode? |
I was running into the seg faults as well on ubuntu with MESA drivers. Switching over to proprietary drivers seemed to made the error go away. I did notice when using the MESA drivers opengl never got initialized while debugging through the code. |
Hi @the-brickster, do you know which version of the MESA drivers you were using when it wasn't working? This is interesting. Apparently there are frequent problems with driver mismatch issues and I want to locate what versions fail. |
Hello @weigert this was the version of MESA drivers I was running:
|
At least on linux + wayland, one thing to compare is output between a run of 0.0_Empty with export SDL_VIDEODRIVER=x11
and
Looking at include/view.cpp around SDL_CreateWindow
I see ArxLibertatis is running with SDL driver x11 so let's check out their src/window/SDL2Window.cpp
That's a lot of stuff to learn and digest, beyond my time allocatable atm. |
Had a bit more time and made a simple SDL2 opengl window without error:
|
i don't see where SDL_Init() is being called, come to think of it. Very confused now. |
It's a shame that we can't use this awesome library, any fixes 2 months later? |
Hi guys! I am really sorry for the late reply and that you can't run TinyEngine. It's really difficult for me to debug this because it appears to be an issue only on specific hardware. I can break-down the initialization procedure for you if you like @clort81 Note in All of the "SDL_GL" setup stuff you mentioned before, I also do appropriately. The stack trace you posted above that gets caught in So it still appears to be a driver issue. The best thing would be for you to post your mesa driver version, cpu / gpu version / general hardware specs, so we can try to see if there is a pattern. And just as an absolute sanity check, make sure SDL and all that good stuff is up to date. Maybe if I get GitHub actions set up, we can guarantee builds for different architectures. |
Here's the output of |
Hello,
Get the error
and
for all examples on Fedora and Win11/WSL/Ubunutu Jammy. It seems something with the gui-system, I use wayland.
Greets and thanks for this program!
The text was updated successfully, but these errors were encountered: