[SDL] Display blink
Alvin
alvinbeach at gmail.com
Mon Jun 18 08:57:46 PDT 2007
On Sunday 17 June 2007 11:24:12 Sam Lantinga wrote:
> > 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.
> >
> > WM_DELETE_WINDOW = XInternAtom(SDL_Display, "WM_DELETE_WINDOW", False);
>
> That's wierd, XInternAtom() shouldn't cause the display to blink. Is it
> a window manager bug maybe?
>
> See ya,
> -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment
I tried the TWM window manager and I had the same results.
I spent some time stepping through MPlayer. I had discovered the MPlayer no
longer caused the monitor to blink. After stepping through function after
function, I figured out that MPlayer was using XVideo rather than SDL?
However, when I used the "-vo sdl" when launching mplayer, the monitor blink
occurred.
I also added the Modelines to my xorg.conf file. I originally had none. This
made no difference.
I believe the blinking is caused by ATI's driver. When I set the driver for X
to be fbdev, the blinking did not occur. Even when I disable the 3D part of
fglrx and have only the 2D acceleration, the monitor still goes blank for a
second.
Thanks,
Alvin
More information about the SDL
mailing list