Newbie - OpenGL fullscreen mode crashes X windows

Hi,

I’m a newbie to SDL so I appologize if this is a lame question or anything. I’ve
looked for an answer in the mailing list archive but couldn’t find one.

I downloaded the OpenGL Intro tutorial files. And they seem to work fine.
However, I tried changing lesson17.c to use 800x600 instead of 640x480 full
screen mode. It ran fine until I tried exiting. This caused the following to
occur:

  1. My monitor ( LG 775N ) went into suspend mode.
  2. No keyboard input seemed to be recognized ( not even ctrl-alt-del or
    ctrl-alt-backspace )

I had to restart my machine.

I was using the following:
SDL 1.2.1
XFree86 4.0.1
Mesa 3.4.1

Does anyone know why this occurs?

Thanks heaps,
Adrian.

Hi,

I’ve just noticed that this is actually nothing to do with SDL at all. When I
run X windows in 16 bpp, it can’t change resolutions from 800x600 to 1024x768
without causing the problem I mentioned. When X is run in 8 or 24 bpp,
everythihng ( including SDL fullscreen video mode ) is fine. I have an S3 Virge
video card.

I’ve also noticed that there was an email by Julien Carme on 22 Feb 2000 that
mentions what seems to be the same problem. But I couldn’t find any follow ups
to this that solve it.

Any help appreciated ( should I be mailing/posting to an X Windows
list/newsgroup? - can anyone point me to one? ).

Thanks,
Adrian.On Sun, 15 Jul 2001, Adrian wrote:

Hi,

I’m a newbie to SDL so I appologize if this is a lame question or anything. I’ve
looked for an answer in the mailing list archive but couldn’t find one.

I downloaded the OpenGL Intro tutorial files. And they seem to work fine.
However, I tried changing lesson17.c to use 800x600 instead of 640x480 full
screen mode. It ran fine until I tried exiting. This caused the following to
occur:

  1. My monitor ( LG 775N ) went into suspend mode.
  2. No keyboard input seemed to be recognized ( not even ctrl-alt-del or
    ctrl-alt-backspace )

I had to restart my machine.

I was using the following:
SDL 1.2.1
XFree86 4.0.1
Mesa 3.4.1

Does anyone know why this occurs?

Thanks heaps,
Adrian.

What version of XFree86 are you using and do you have the S3ViRGE GX or
GX2? If you’re using one of these chipsets and an XFree version <= 3.3.2
check out http://www.linuxgazette.com/issue32/lg_tips32.html#leggett. It’s
old but it works. I’d really suggest uprading to the newest XFree if
possible.On Sun, 15 Jul 2001, Adrian wrote:

Hi,

I’ve just noticed that this is actually nothing to do with SDL at all. When I
run X windows in 16 bpp, it can’t change resolutions from 800x600 to 1024x768
without causing the problem I mentioned. When X is run in 8 or 24 bpp,
everythihng ( including SDL fullscreen video mode ) is fine. I have an S3 Virge
video card.

I’ve also noticed that there was an email by Julien Carme on 22 Feb 2000 that
mentions what seems to be the same problem. But I couldn’t find any follow ups
to this that solve it.

Any help appreciated ( should I be mailing/posting to an X Windows
list/newsgroup? - can anyone point me to one? ).

Thanks,
Adrian.

On Sun, 15 Jul 2001, Adrian wrote:

Hi,

I’m a newbie to SDL so I appologize if this is a lame question or anything. I’ve
looked for an answer in the mailing list archive but couldn’t find one.

I downloaded the OpenGL Intro tutorial files. And they seem to work fine.
However, I tried changing lesson17.c to use 800x600 instead of 640x480 full
screen mode. It ran fine until I tried exiting. This caused the following to
occur:

  1. My monitor ( LG 775N ) went into suspend mode.
  2. No keyboard input seemed to be recognized ( not even ctrl-alt-del or
    ctrl-alt-backspace )

I had to restart my machine.

I was using the following:
SDL 1.2.1
XFree86 4.0.1
Mesa 3.4.1

Does anyone know why this occurs?

Thanks heaps,
Adrian.

XFree86 4.0.1
S3 Virge DX chip

Adrian.On Sun, 15 Jul 2001, Ti Leggett wrote:

What version of XFree86 are you using and do you have the S3ViRGE GX or
GX2? If you’re using one of these chipsets and an XFree version <= 3.3.2
check out http://www.linuxgazette.com/issue32/lg_tips32.html#leggett. It’s
old but it works. I’d really suggest uprading to the newest XFree if
possible.

On Sun, 15 Jul 2001, Adrian wrote:

Hi,

I’ve just noticed that this is actually nothing to do with SDL at all. When I
run X windows in 16 bpp, it can’t change resolutions from 800x600 to 1024x768
without causing the problem I mentioned. When X is run in 8 or 24 bpp,
everythihng ( including SDL fullscreen video mode ) is fine. I have an S3 Virge
video card.

I’ve also noticed that there was an email by Julien Carme on 22 Feb 2000 that
mentions what seems to be the same problem. But I couldn’t find any follow ups
to this that solve it.

Any help appreciated ( should I be mailing/posting to an X Windows
list/newsgroup? - can anyone point me to one? ).

Thanks,
Adrian.

On Sun, 15 Jul 2001, Adrian wrote:

Hi,

I’m a newbie to SDL so I appologize if this is a lame question or anything. I’ve
looked for an answer in the mailing list archive but couldn’t find one.

I downloaded the OpenGL Intro tutorial files. And they seem to work fine.
However, I tried changing lesson17.c to use 800x600 instead of 640x480 full
screen mode. It ran fine until I tried exiting. This caused the following to
occur:

  1. My monitor ( LG 775N ) went into suspend mode.
  2. No keyboard input seemed to be recognized ( not even ctrl-alt-del or
    ctrl-alt-backspace )

I had to restart my machine.

I was using the following:
SDL 1.2.1
XFree86 4.0.1
Mesa 3.4.1

Does anyone know why this occurs?

Thanks heaps,
Adrian.