Journy
04-24-03, 02:35 AM
Hallo,
I am confronted with a very strange behaviour when using the newest nvidia driver for Linux.
With 4x AGP rate (AGPGART) my whole System freezes with blinking caps lock and scroll lock LEDs on my keyboard. As you migth expect, keyboard doesn't respond anymore and I cannot switch to another console. Even remote login with ssh doesn't work so I can assume that it is a hard freeze.
This happens, if I resize an OpenGL window (is a part of a game I am writing). When resizing, the following GL Actions are performed:
GLfloat ratio = ( GLfloat ) w / ( GLfloat ) h;
glViewport (0, 0, (GLsizei) w, (GLsizei) h);
glMatrixMode (GL_PROJECTION);
glLoadIdentity ();
gluPerspective( 45.0f, ratio, 10.0f, 300.0f );
glMatrixMode (GL_MODELVIEW);
glLoadIdentity ();
This problem first occurred when I added the following rendering code:
// prepare new projection and modelview matrice
glMatrixMode (GL_PROJECTION);
glPushMatrix () ;
glLoadIdentity();
glOrtho (0.0, w, 0.0, h, -1.0, 1.0);
glMatrixMode (GL_MODELVIEW);
glLoadIdentity();
[...] // rendering code
// restore old projection matrice
glMatrixMode (GL_PROJECTION);
glPopMatrix () ;
glMatrixMode (GL_MODELVIEW);
Back to my problem:
This works well for first resize (as far as I remember), but further resizes will lead to the freeze.
I tried to use NVAGP with the effect, that AGP was completly disabled. With disabled AGP, the system doesn't freeze, but I'll get unpredictable behaviour. Sometimes I get a segmentation fault in libGL..., once the server application for my game crashed (although it never crashed before) and at very best, the X-Server could not be restarted anymore and I couldn't log into console (init process respawned to fast so it was disabled ...).
I also tried append="mem=nopentium" in lilo with same effects.
The same codes works perfect on another Linux Box (with same NVIDIA driver) and the Windows port (on same machine where the freeze occurs).
My "hanging" system:
- AMD Athlon XP 1700+
- GeForce IV Ti4200
- SIS Chipset on Mainboard (SIS735 ?)
- 3/4 Gigabyte DDR RAM (266 FSB)
- Debian/testing Linux
- custom built of 2.4.20 Vanilla with AGPGART as module
As I mentioned, I tried AGPGART and AGP disabled. I have not tested to downgrade the driver.
Thx for every advise ;)
Grüssle, Journy
I am confronted with a very strange behaviour when using the newest nvidia driver for Linux.
With 4x AGP rate (AGPGART) my whole System freezes with blinking caps lock and scroll lock LEDs on my keyboard. As you migth expect, keyboard doesn't respond anymore and I cannot switch to another console. Even remote login with ssh doesn't work so I can assume that it is a hard freeze.
This happens, if I resize an OpenGL window (is a part of a game I am writing). When resizing, the following GL Actions are performed:
GLfloat ratio = ( GLfloat ) w / ( GLfloat ) h;
glViewport (0, 0, (GLsizei) w, (GLsizei) h);
glMatrixMode (GL_PROJECTION);
glLoadIdentity ();
gluPerspective( 45.0f, ratio, 10.0f, 300.0f );
glMatrixMode (GL_MODELVIEW);
glLoadIdentity ();
This problem first occurred when I added the following rendering code:
// prepare new projection and modelview matrice
glMatrixMode (GL_PROJECTION);
glPushMatrix () ;
glLoadIdentity();
glOrtho (0.0, w, 0.0, h, -1.0, 1.0);
glMatrixMode (GL_MODELVIEW);
glLoadIdentity();
[...] // rendering code
// restore old projection matrice
glMatrixMode (GL_PROJECTION);
glPopMatrix () ;
glMatrixMode (GL_MODELVIEW);
Back to my problem:
This works well for first resize (as far as I remember), but further resizes will lead to the freeze.
I tried to use NVAGP with the effect, that AGP was completly disabled. With disabled AGP, the system doesn't freeze, but I'll get unpredictable behaviour. Sometimes I get a segmentation fault in libGL..., once the server application for my game crashed (although it never crashed before) and at very best, the X-Server could not be restarted anymore and I couldn't log into console (init process respawned to fast so it was disabled ...).
I also tried append="mem=nopentium" in lilo with same effects.
The same codes works perfect on another Linux Box (with same NVIDIA driver) and the Windows port (on same machine where the freeze occurs).
My "hanging" system:
- AMD Athlon XP 1700+
- GeForce IV Ti4200
- SIS Chipset on Mainboard (SIS735 ?)
- 3/4 Gigabyte DDR RAM (266 FSB)
- Debian/testing Linux
- custom built of 2.4.20 Vanilla with AGPGART as module
As I mentioned, I tried AGPGART and AGP disabled. I have not tested to downgrade the driver.
Thx for every advise ;)
Grüssle, Journy