[SDL] Display blink
Alvin
alvinbeach at gmail.com
Sun Jun 17 06:24:43 PDT 2007
Hello all,
Awhile ago I reported that my monitor would momentarily blank when SDL_Init()
was being called. I decided to investigate further, so I installed the
SDL-debuginfo version 1.2.11-22 RPM for openSUSE 10.2.
I wrote a simple program that just calls SDL_Init(SDL_VIDEO_INIT) then calls
SDL_Quit().
Using kdbg I stepped through the execution of SDL_Init().
What I was able to determine was that the monitor would blink when the
following line is executed at SDL_x11video.c:320
WM_DELETE_WINDOW = XInternAtom(SDL_Display, "WM_DELETE_WINDOW", False);
When I step into XInternAtom(), I'm taken to SDL_x11sym.h:68
SDL_X11_SYM(Atom, XInternAtom, (Display *a, _Xconst char *b, Bool c), (a,b,c), return)
It is at that point when the monitor blanks (blinks).
I am able to confirm (using the debugger, I peaked at current_video->name) that the "x11" video driver is being used.
Is anyone else experiencing this blinking behaviour? Is there any other tests I could run to help pin-point the cause?
Here are the stats of my machine:
AMD Athlon 64 X2 4200+
ATI Radeon X1300 Pro 256MB (fglrx 8.32.5)
openSUSE 10.2 kernel 2.6.18.8-0.3-default
SDL -1.2.11-22
SDL-debuginfo-1.2.11-22
X 7.2.0
Your help/input would be greatly appreciated.
Thank you.
Alvin
More information about the SDL
mailing list