Fullscreen Mac - flicker?

Hello, I just joined this list.

I have just ported an SDL app from Windows to Linux, and now MacOS8/9. All
versions seem to be working nicely, except for one problem with the Mac
version. Displaying fullscreen @ 16bpp, I seem to get a lot of flicker. The
image does not look like it is synched to the vertical retrace. Has anyone
had this problem before? I’m using:

SDL_SetVideoMode( 800, 600, bpp,
SDL_FULLSCREEN | SDL_HWSURFACE |
SDL_DOUBLEBUF );

and

SDL_Flip(s);

Otherwise, running in a window or at 32bpp seem to work fine (but slower).
Any help appreciated.

p.s., is this list still active? The archives on www.libsdl.org seem to drop
off around January of this year(?)_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Hello, I just joined this list.

I have just ported an SDL app from Windows to Linux, and now MacOS8/9. All
versions seem to be working nicely, except for one problem with the Mac
version. Displaying fullscreen @ 16bpp, I seem to get a lot of flicker.
The
image does not look like it is synched to the vertical retrace. Has anyone
had this problem before? I’m using:

SDL_SetVideoMode( 800, 600, bpp,
SDL_FULLSCREEN | SDL_HWSURFACE |
SDL_DOUBLEBUF );

and

SDL_Flip(s);

Otherwise, running in a window or at 32bpp seem to work fine (but slower).
Any help appreciated.

Have you tried looking at the surface flags after you set the video mode to
see what you actually got? Sounds like maybe it isn’t double buffered if
you are getting flicker.

----- Original Message -----
From: feral_coder@hotmail.com (Feral Coder)
To:
Sent: Monday, March 25, 2002 4:21 PM
Subject: [SDL] fullscreen Mac - flicker?

(Argh, sorry Sam, replied to wrong address!)

Thank you. I was looking at:

http://www.libsdl.org/pipermail/sdl/

which I just did a forced refresh on. Strange, my IE browser must have had a
really old copy stuck in it somehow!

Just an addition to my previous post: I have tried the Mac version on MacOS
8.5 and 9.1 boxes with similar results.>From: Sam Lantinga

To: “Feral Coder” <@Feral_Coder>
Subject: Re: [SDL] fullscreen Mac - flicker?
Date: Mon, 25 Mar 2002 13:32:13 -0800

p.s., is this list still active? The archives on www.libsdl.org seem to
drop
off around January of this year(?)

What archives are you looking at?
http://www.libsdl.org/pipermail/sdl/2002-March/thread.html

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

Hello, I just joined this list.

I have just ported an SDL app from Windows to Linux, and now MacOS8/9.
All versions seem to be working nicely, except for one problem with the
Mac version. Displaying fullscreen @ 16bpp, I seem to get a lot of
flicker. The image does not look like it is synched to the vertical
retrace. Has anyone had this problem before? I’m using:

The default video driver doesn’t have VBL-sync code. Try enabling the
DrawSprocket video driver if it isn’t enabled. Hold down the command key
at startup and select it from the pulldown menu. You can also add:

putenv(“SDL_VIDEODRIVER=DSp”);

before you call SDL_Init() to achieve the same change.

-DOn Monday, March 25, 2002, at 04:21 PM, Feral Coder wrote:

One last followup. (unfortunately this account does not seem to be receiving
messages from the list, I’ll try re-subscribing with a different account).

But thanks to Jason & Darrell (I can see your messages on the archives). The
surface was not double-buffered, but Darrell’s suggestion to use
putenv(“SDL_VIDEODRIVER=DSp”) seems to force it to draw in sync._________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com