XF86/SDL/OpenGL blank screen problem

I’m running into a problem when changing video modes with
SDL_SetVideoMode() under Linux.

The first call is fine, but when I call it again later to change modes,
I get a blank window.
Everything else stills runs fine, and the display reappears when I move
the window (not much help in fullscreen mode though :-).

The problem occurs on my machine at home with a Matrox G400 and Xfree86
4, but not on my machine at work which has a Nvidia TNT-based card.

And the really annoying thing is that it used to work OK on the G400 -
I’ve obviously made some stupid change that the matrox driver is
sensitive to, but for the life of me I can’t figure out what it is I’ve
done or how to work around it.

Any ideas or suggestions would be most helpful!

Thanks,
Ben.–
ben_campbell at postmaster.co.uk

I’m running into a problem when changing video modes with
SDL_SetVideoMode() under Linux.

The first call is fine, but when I call it again later to change modes,
I get a blank window.
Everything else stills runs fine, and the display reappears when I move
the window (not much help in fullscreen mode though :-).

The problem occurs on my machine at home with a Matrox G400 and Xfree86
4, but not on my machine at work which has a Nvidia TNT-based card.

I don’t have idea why this is happening but just wanted to tell that I have
experienced the same thing with my G400. Are you using driver from 4.0.3 or
[some] CVS version? With a driver from dri.sourceforge.net I got much better
results.

  • Mikko