Win32 fullscreen bugs?

I have a project I’m working on, and the Win32 version doesn’t seem to
work at all in fullscreen. I’ve tried multiple computers with many
different versions of Windows and various video cards, and SDL
fullscreen always crashes/freezes, whereas windowed mode works fine.
Hardware/software surfaces doesn’t seem to matter.

My latest build for Win32 is at
http://chris.luethy.net/epiar_win32_20020603.zip

does doing:
ep___.exe --fullscreen

actually work for anybody?

if it doesn’t, does anybody know why this wouldn’t work? the source code
is in cvs at epiar.sourceforge.net

i’d appreciate any help. latest sdl-1.2.4 cvs exhibits this issue too,
and since X11 fullscreen/windowed and win32 windowed works fine, I’m
assuming it’s a bug in SDL about fullscreen. am i right?

thanks for the help.–
Chris
@Christopher_Thielen

Chris wrote:

I have a project I’m working on, and the Win32 version doesn’t seem to
work at all in fullscreen. I’ve tried multiple computers with many
different versions of Windows and various video cards, and SDL
fullscreen always crashes/freezes, whereas windowed mode works fine.
Hardware/software surfaces doesn’t seem to matter.

My latest build for Win32 is at
http://chris.luethy.net/epiar_win32_20020603.zip

does doing:
ep___.exe --fullscreen

actually work for anybody?

if it doesn’t, does anybody know why this wouldn’t work? the source code
is in cvs at epiar.sourceforge.net

i’d appreciate any help. latest sdl-1.2.4 cvs exhibits this issue too,
and since X11 fullscreen/windowed and win32 windowed works fine, I’m
assuming it’s a bug in SDL about fullscreen. am i right?

thanks for the help.

I’ve had a rocky road with windows fullscreen myself, however I can
assure you that it will at least sometimes work.

Not having looked at your code, I can report based on my own
semi-limited experience that using SDL’s rendering with only the
SDL_SWSURFACE and SDL_FULLSCREEN flags works correctly, however adding
SDL_DOUBLEBUF will break it. Fullscreen openGL seems to work on about
half the windows computers I have tried. When it doesn’t work, it tends
to crash outright.

Anyway, I’m sure someone who knows more than I will come along and
provide a more definitive responce. I would actually like it if there
were some FAQ about this, because it seems to me that any known no-go’s
should be listed somewhere where people can find them for themselves.

                                                        -ray

You almost certainly don’t want hardware surfaces. I only looked at the code
for about 30 seconds – it turns out that I’m very sleepy and should go to
bed. :slight_smile: But for what it’s worth, full screen mode works beautifully in my
game @ 640x480 (16 bits, but I don’t think that matters) on both Win32 and
Linux. (It tried to work when I was using 500x350, but didn’t quite get it
right – the mouse wasn’t quite where it thought it was. B+ for effort,
though…)On Mon, Jun 03, 2002 at 06:55:16PM -0700, Chris wrote:

I have a project I’m working on, and the Win32 version doesn’t seem to
work at all in fullscreen. I’ve tried multiple computers with many
different versions of Windows and various video cards, and SDL
fullscreen always crashes/freezes, whereas windowed mode works fine.
Hardware/software surfaces doesn’t seem to matter.


Matthew Miller @Matthew_Miller http://www.mattdm.org/
Boston University Linux ------> http://linux.bu.edu/

Fullscreen works here (Win2K + Elsa Winner II), but there’s no sound at
all (same when windowed). Oh, I have to say I suppose there is sound
and music looking at the “audio” folder :). Nice work, btw, I remember
I played a similar game years ago, where ships lose crew when hit and
anyone could recover them…was fun.----- Mensaje Original -----
De: Chris
Fecha: Martes, Junio 4, 2002 3:55 am
Asunto: [SDL] win32 fullscreen bugs?

I have a project I’m working on, and the Win32 version doesn’t
seem to
work at all in fullscreen. I’ve tried multiple computers with many
different versions of Windows and various video cards, and SDL
fullscreen always crashes/freezes, whereas windowed mode works fine.
Hardware/software surfaces doesn’t seem to matter.

My latest build for Win32 is at
http://chris.luethy.net/epiar_win32_20020603.zip

does doing:
ep___.exe --fullscreen

actually work for anybody?

if it doesn’t, does anybody know why this wouldn’t work? the
source code
is in cvs at epiar.sourceforge.net

i’d appreciate any help. latest sdl-1.2.4 cvs exhibits this issue too,
and since X11 fullscreen/windowed and win32 windowed works fine, I’m
assuming it’s a bug in SDL about fullscreen. am i right?

thanks for the help.


Chris
chris at luethy.net


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