Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-24-03, 02:35 AM   #1
Journy
Registered User
 
Join Date: Feb 2003
Posts: 6
Default Strange behaviour (freeze) with OpenGL and Linux NVIDIA driver

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
Journy is offline   Reply With Quote
Old 04-24-03, 03:54 AM   #2
Xeno
Registered User
 
Join Date: Apr 2003
Posts: 2
Default

the only thing i can tell you:
the blinking caps lock and scroll lock LEDs indicates a Kernel-Panic.


but i have many problems with that damn SiS chipset and AGP too.
Xeno is offline   Reply With Quote
Old 04-24-03, 04:16 AM   #3
Journy
Registered User
 
Join Date: Feb 2003
Posts: 6
Default

Hi,

thx for your reply.
Do you have AGP running and if yes, NVAGP or AGPGART ?

I just found out, that a fullscreen request in my code (using GTK) eventually not suitable and could be one part to my problem.

But although removing this request, I get segmentation faults in libGL and I cannot backtrace since the backtrace seems to be broken (although compiled with -g).
Journy is offline   Reply With Quote
Old 04-24-03, 05:24 AM   #4
Xeno
Registered User
 
Join Date: Apr 2003
Posts: 2
Default

To fix my crash, i had to disable AGP.
Sorry, but I don't know how to solve your problem ...
Xeno is offline   Reply With Quote
Old 03-25-04, 05:40 PM   #5
dunch
Registered User
 
Join Date: Mar 2004
Posts: 1
Default Re: Strange behaviour (freeze) with OpenGL and Linux NVIDIA driver

Quote:
Originally Posted by Journy
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.
Did this problem ever get resolved? I'm getting exactly the same problem.
dunch is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
302.17 for Linux x86/x86_64 released AaronP NVIDIA Linux 0 06-16-12 04:12 PM
(Linux) NVIDIA R302.11 OpenGL Extensions List News Archived News Items 0 06-12-12 07:30 AM
302.07 (beta) for Linux x86/x86_64 released AaronP NVIDIA Linux 0 05-02-12 09:55 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Thank you to the nVidia Linux driver developers... bwkaz NVIDIA Linux 3 09-15-02 10:22 PM

All times are GMT -5. The time now is 06:11 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.