|
Bugzilla – Full Text Bug Listing |
| Summary: | OpenGL: libglfw3 crashes on glewInit(), same code works with libglfw3-wayland | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Matthias Jungmann <rahmspinat> |
| Component: | Development | Assignee: | Ferdinand Thiessen <rpm> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | jebin12raj, P.Suetterlin |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Tumbleweed | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Matthias Jungmann
2021-08-09 07:16:35 UTC
Hi Ferdinand, would you please help to take a look at this issue? I'm really not sure whether it is right to assign it to you, please feel free to reassign whenever necessary, thanks. I compiled libglfw3 on my own and got still the same error. So maybe the problem is more related to glwf3 itself. Ok, I did some more investigations: With the (offical) glfw3 examples code I changed my test code and managed it to compile and run. Therefore, libglfw3 seems to work. But this does not explain why I have to change my test code for X11, but I don't have to change it for wayland. Seems to be that the libraries libglfw3 and libglfw3-wayland are different versions of the glfw API. Having the same issue here, both with a self-written application and the game supertuxkart. Both abort with Error: Missing GL version ** (gui:23595): ERROR **: 13:35:13.075: unhandled exception (type std::exception) in signal handler: what: Could not initialize GLEW I noticed that the changelog of libGLEW mentions it was switched to use EGL end July. And indeed, if I just downgrade libGLEW2 to a version before that change (I got libGLEW2_2-2.2.0-1.14.x86_64.rpm from the Tumbleweed History download area), both programs run again (The rest of the system is Tumbleweed 20210820). Sorry fore late response, but I can not reproduce it. Compiling the linked source code using: `g++ test.cpp -lglfw -lGLEW -lGL` succeed and even running the program in a X11 session does work without issues. Setup: libGLEW2_2 = 2.2.0-3.1 libglfw3 = 3.3.4-1.4 After more investigation, it seems like this was a result of #1189524 So the real issue is that GLEW does not properly support EGL. *** This bug has been marked as a duplicate of bug 1189524 *** |