High-res issues

I’ve just downloaded and installed the SDL libraries and they’re
excellent :slight_smile: Just what I was looking for actually :-))

There is just one fly in the ointment at the moment, and it’s the
restoration of the screen after fullscreen mode is exited.

I have XFree86 3.3.5-3 installe don a Redhat 6.1 machine using a
Matrox G200 display adapter. It’s running at 1800x1440 at 32bit and
the screen does not restore once the fullscreen program has finished.

The same problem occurs if I run at 1600x1200 at 32bit, but goes away
if I run at 1280x1024 at 32bit.

I (obviously!) have the relevant lines in my XF86Config file. Is
there something I can do to restore the screen ? It’s annoying to
forget to switch down to low res to run the program, and not be
able to get back to the source code I didn’t save! (Muted noise of
me kicking myself…)

Yeah yeah, I could just run in 1280x1024, but be honest, would you
run at 640x480 once you’d run at 1280x1024 ? :slight_smile:

ATB,
Simon.

I’ve just downloaded and installed the SDL libraries and they’re
excellent :slight_smile: Just what I was looking for actually :-))

There is just one fly in the ointment at the moment, and it’s the
restoration of the screen after fullscreen mode is exited.

Heheh. Funny you should mention that…
Try the very latest X fullscreen code at:
http://www.devolution.com/~slouken/SDL/cvs/SDL-1.0.tar.gz

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

I (obviously!) have the relevant lines in my XF86Config file. Is
there something I can do to restore the screen ? It’s annoying to
forget to switch down to low res to run the program, and not be
able to get back to the source code I didn’t save! (Muted noise of
me kicking myself…)

Try CTRL-ALT-+. That lets you toggle between the modes which you have defined
for that bpp. You may need to change plus keys a bit to get it to work. Hmm.
Sam, you mean your code isn’t restoring the screen mode?>

ATB,
Simon

I (obviously!) have the relevant lines in my XF86Config file. Is
there something I can do to restore the screen ? It’s annoying to
forget to switch down to low res to run the program, and not be
able to get back to the source code I didn’t save! (Muted noise of
me kicking myself…)

Try CTRL-ALT-+. That lets you toggle between the modes which you have defined
for that bpp. You may need to change plus keys a bit to get it to work. Hmm.
Sam, you mean your code isn’t restoring the screen mode?

It should be.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

I’ve just downloaded and installed the SDL libraries and they’re
excellent :slight_smile: Just what I was looking for actually :-))

There is just one fly in the ointment at the moment, and it’s the
restoration of the screen after fullscreen mode is exited.

Heheh. Funny you should mention that…
Try the very latest X fullscreen code at:
http://www.devolution.com/~slouken/SDL/cvs/SDL-1.0.tar.gz

I actually did that, and the result was ‘No display found’, so I went
"back" to the SDL-1.1 distribution …

I was running the ‘optimum’ demos so perhaps it’s their fault (no
flames,
guys :slight_smile: but the basic result was that with the new SDL kit, it didn’t
run at all :frowning:

Is there a debugging switch I can turn on to figure out what’s going on
?

(As you can probably tell, I’m pretty new to this :slight_smile:

ATB,
Simon.