Windows fullscreen mode warping

I have a strange problem with SDL running fullscreen under w2k…

I set a display mode of 800x600 16 bit fullscreen with double buffering:

SDL_SetVideoMode( 800, 600, 16, SDL_HWSURFACE | SDL_HWACCEL |
SDL_FULLSCREEN | SDL_DOUBLEBUF );

This works fine and fast when I run my program one, two maybe even three
times… but then after a few times, the screen will stretch (appears to
be bad monitor sync or something), and eventually, the monitor will lose
sync completely and I have problems getting back to windows.

What is going on?

Best regards
Anders

I have a strange problem with SDL running fullscreen under w2k…

I set a display mode of 800x600 16 bit fullscreen with double buffering:

SDL_SetVideoMode( 800, 600, 16, SDL_HWSURFACE | SDL_HWACCEL |
SDL_FULLSCREEN | SDL_DOUBLEBUF );

This works fine and fast when I run my program one, two maybe even three
times… but then after a few times, the screen will stretch (appears to
be bad monitor sync or something), and eventually, the monitor will lose
sync completely and I have problems getting back to windows.

What is going on?

Sounds like bad video drivers to me.

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

— Anders Emil Hansen wrote:

I have a strange problem with SDL running fullscreen under w2k…

I set a display mode of 800x600 16 bit fullscreen with double buffering:

SDL_SetVideoMode( 800, 600, 16, SDL_HWSURFACE | SDL_HWACCEL |
SDL_FULLSCREEN | SDL_DOUBLEBUF );

This works fine and fast when I run my program one, two maybe even three
times… but then after a few times, the screen will stretch (appears to
be bad monitor sync or something), and eventually, the monitor will lose
sync completely and I have problems getting back to windows.

What is going on?

I’ve had problems that sound similar when running Tux Racer in Win2k. I
haven’t begun my own SDL development, so I can’t say for sure that it
would always happen with SDL…

I’m using the latest ATI All-In-Wonder 128 Pro drivers>

Best regards
Anders


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

=====
Dave Brondsema
dave at brondsema.net
http://www.brondsema.net


Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

Thanks, Sam, I have downloaded the latest Detonator XP drivers, all
appears to be working now!

Thanks again
Anders, Head of MM Development, Electronic Gardeners> Subject: Re: [SDL] Windows fullscreen mode warping

From: Sam Lantinga
Date: Mon, 17 Dec 2001 05:53:46 -0800
Reply-To: sdl at libsdl.org

I have a strange problem with SDL running fullscreen under w2k…

I set a display mode of 800x600 16 bit fullscreen with double
buffering:

SDL_SetVideoMode( 800, 600, 16, SDL_HWSURFACE | SDL_HWACCEL |
SDL_FULLSCREEN | SDL_DOUBLEBUF );

This works fine and fast when I run my program one, two maybe even
three

times… but then after a few times, the screen will stretch
(appears to

be bad monitor sync or something), and eventually, the monitor will
lose

sync completely and I have problems getting back to windows.

What is going on?

Sounds like bad video drivers to me.

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