![]() |
SDL-2.0: Cannot create window | ![]() |
![]() |
![]() |
greno
![]() |
![]() |
Ran some tests:
Installed the mesa-demos and they all run ok. So then I tried one of the SDL tests and specifically requested various renderers:
So then I check glxinfo to make sure that the driver wasn't the software rasterizer:
So why can't SDL-2.0 create an OpenGL renderer? UPDATE: opened bug: http://bugzilla.libsdl.org/show_bug.cgi?id=1495 . . |
||||||||||||||
|
![]() |
![]() |
greno
![]() |
![]() |
I took a minute and tried to trace what is happening when we try to render using opengl under Mesa.
And it looks like SDL keeps calling the same code over and over until it fails. . |
||||||||||||
|
![]() |
SDL-2.0: Cannot create window | ![]() |
Patrick Baggett
Guest
![]() |
![]() |
Can you do --track-origin=yes so we can see where the uninit'd values came from?
On Tue, May 15, 2012 at 10:27 AM, greno wrote:
|
||||||||||||
|
![]() |
Re: SDL-2.0: Cannot create window | ![]() |
greno
![]() |
![]() |
Yes, I had the option on already. It just shows that it came from stack allocation. . |
||||||||||||
|
![]() |
SDL-2.0: Cannot create window | ![]() |
Patrick Baggett
Guest
![]() |
![]() |
HERPDERP, right. Sorry. Reading over it now.
On Tue, May 15, 2012 at 10:42 AM, greno wrote:
|
||||||||||||
|
![]() |
![]() |
greno
![]() |
![]() |
I think you may be able to duplicate this by creating a Fedora 16 32-bit guest in VirtualBox and installing Mesa.
My understanding was that VirtualBox supported OpenGL hardware acceleration. . |
||||||||||
|
![]() |
![]() |
greno
![]() |
![]() |
Looking at this some more...
It looks like it is complaining about uninitialized structures. Looking through some of the code I can see where structures are allocated with calloc but that doesn't really initialize the structure. . |
||||||||||
|