[SDL] Wierd semi-freeze

David Olofson david.olofson at reologica.se
Thu Oct 17 01:54:00 PDT 2002


On Wednesday 16 October 2002 21:30, Brad wrote:
> I've written a game that uses SDL and OpenGL, and under Linux every so
> often it'll freeze. Not just the game but *everything* freezes. The
> little diagnostic LEDs on my motherboard, which normally flash all
> sorts of numbers when Linux is running stop flashing. It's frozen. But
> after a few minutes everything suddenly starts working again, like
> nothing had happened.
>
> I have no idea what's causing this. I'm using SDL 1.2.5, SDL_mixer, and
> SDL_image. My graphics card is a GeForce 2 GTS with latest drivers.


Sounds like a driver and/or X issue, or maybe simply that you stress the 
memory subsystem too much. (If you run out of RAM, and especially if you 
run out of swap space, some kernels don't behave too well. It may take a 
good while before the kernel gets around to deal with the situation - 
although at that point, you would normally notice that some process is 
killed...)

Are you seeing this with other applications? Any certain feature that 
seems to trigger it? Tried any other driver version, library or X 
versions? Are you sure you don't have mixed versions of some stuff? Tried 
your program on another machine?


//David Olofson - Programmer, Composer, Open Source Advocate

.- Coming soon from VaporWare Inc...------------------------.
| The Return of Audiality! Real, working software. Really!  |
| Real time and off-line synthesis, scripting, MIDI, LGPL...|
`-----------------------------------> (Public Release RSN) -'
.- M A I A -------------------------------------------------.
|    The Multimedia Application Integration Architecture    |
`----------------------------> http://www.linuxdj.com/maia -'
   --- http://olofson.net --- http://www.reologica.se ---




More information about the SDL mailing list