Linux crash when switching to fullscreen with geforce driver

Hi!

Are there any known issues with SDL and nvidia geforce4 chipsets?
On my System (Pentium 4, Fedora Core 1, Gnome Desktop 1024x768, geforce4) a
simple program that switches to fullscreen mode causes the whole system to
freeze on the second (sometimes the third) execution.
Here is the code:

#include <SDL.h>

int main(void)
{
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(800, 600, 32, SDL_FULLSCREEN | SDL_DOUBLEBUF);
SDL_Quit();
return 0;
}

The crash only happens when using an nvidia driver and switching to a
different resolution.
The generic VESA driver works fine.
I tried the SDL versions 1.2.5-9, 1.2.6-1 and 1.2.7-1 (the binary runtime
rpms) and the development version I use is 1.2.6-1.

If you need more information about my system, please let me know (and also
describe how to get it as I am fairly new to SDL and Linux).

Kind Regards,
Michael

Do you use the framebuffer console or X? In either case you should probably
contact the driver developer for help. nVidia has a forum dedicated to the
Linux/X Windows drivers where you might get much better support than here.

Regards,
Gregor MuecklOn Thursday 16 September 2004 16:11, Michael Kastner wrote:

Hi!

Are there any known issues with SDL and nvidia geforce4 chipsets?
On my System (Pentium 4, Fedora Core 1, Gnome Desktop 1024x768, geforce4) a
simple program that switches to fullscreen mode causes the whole system to
freeze on the second (sometimes the third) execution.
Here is the code:

#include <SDL.h>

int main(void)
{
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(800, 600, 32, SDL_FULLSCREEN | SDL_DOUBLEBUF);
SDL_Quit();
return 0;
}

The crash only happens when using an nvidia driver and switching to a
different resolution.
The generic VESA driver works fine.
I tried the SDL versions 1.2.5-9, 1.2.6-1 and 1.2.7-1 (the binary runtime
rpms) and the development version I use is 1.2.6-1.

If you need more information about my system, please let me know (and also
describe how to get it as I am fairly new to SDL and Linux).

Kind Regards,
Michael

Michael Kastner wrote:

Hi!

Are there any known issues with SDL and nvidia geforce4 chipsets?
On my System (Pentium 4, Fedora Core 1, Gnome Desktop 1024x768, geforce4) a
simple program that switches to fullscreen mode causes the whole system to
freeze on the second (sometimes the third) execution.

Are you running the rivafb module ? If so, please switch to the vesafb
module. Incompatibilities exist between the rivafb module and the closed
nvidia drivers.

Other than that, I run a geforce4 ti and a geforce4 mx with SDL without
any problem.

Stephane