nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs (http://www.nvnews.net/vbulletin/showthread.php?t=36401)

roli 09-07-04 05:16 PM

Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
3 Attachment(s)
Very Well, since i can trace more this problem, i registered so i can post this problem here to see if anyone has had it or knows how to fix it :)


Ok, this problem started a couple of weeks ago, when i changed an old Geforce 2 MX PCI that a friend lend to me , i changed it to a Geforce FX 5200 AGP 8X card.

I've included the 3 more important files as stated on the Read here before asking for help Thread.

1) The card works perfectly on Windows, so its not the card.

2) I've tried with all the combinations of AGP Settings (both Enabling/Disabling SBA, Fast Writes, in the driver, and in the kernel, i've tried using NVAGP and AGPGART in the two different kernels i've tried, and even with no AGP advanced modes at all)

3) Yes, i have tried disabling RenderAccel, TwinView, no difference, my standard working resolution is 1024x768@85Hz, i've tried 800x600, and 640x480 as well, i've tried with 16 bit color depth, hell i've tried with 8 bit!!

4) its a bit pointless to tell it, (coz, glxgears is not a good performance checker), but, with the default glxgears window size i get always less than 1100 fps, of course glxinfo says it has direct rendering

5) OpenGL performance is choppy, i.e (if i maximize the glxgears window, the gears start to render in a choppy way, or almost stop while rotating, stutters)

6) Using Gentoo 2004.0 lastest "STABLE" Xorg-x11 , Tried 4 Drivers 4496 5336 6106 and 6111,
same results with glxgears

Also as stated in Title, i've tried Two kernels with a lot of different configs, 2.6.5-gentoo-r1 and 2.6.8-gentoo-r3, and before anyone asks, yes, i've tried disabling ACPI and IOAPIC.

my machine is an Athlon T-bird 1.2 Ghz, 512MB Ram, ASUS A7N8X (rev. 2.0)

memtest reports everything fine (put it running almost 7 hours), reiserfs without any bad block or inconsistency.

IIRC the GLcore message that you will be able to see in Xorg.log, is a non blocker and OpenGL should work fine, (and it did, back then with the same message), if you think otherwise, because im not sure if that is causing the problem, please let me know it, and possibly how to fix it.


Very Well, i'll aprecciate any help, or guides on how to fix it, (im seriously thinking of reinstalling gentoo on this one, is driving me nuts!
:retard: )

whig 09-08-04 03:05 AM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
You shouldn't load the GLcore module w/ nvidia, your log shows X spitting the dummy over it. Disabling twinview/tv in your X config might help - not that I've needed to do so but others in this forum have reported success that way.

roli 09-08-04 08:14 AM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
whig, thanks for your reply, yes i've tried without twinview, and the results are the same, have you got any other ideas? (i've disabled GLcore Already, and no difference either.. :()

Benit 09-08-04 11:36 AM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
I have the same problem, few days ago I put message here and I sent mail to nvidia but I did not obtain any answer that solves the problem

UnarmedPlayer 09-08-04 11:42 AM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
Quote:

Originally Posted by whig
You shouldn't load the GLcore module w/ nvidia, your log shows X spitting the dummy over it. Disabling twinview/tv in your X config might help - not that I've needed to do so but others in this forum have reported success that way.

Have you CONFIG_MTRR enabled? I have noticed a loss of
performance without it

roli 09-08-04 02:36 PM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
Yes, I have MTRR enabled in the kernel, of course, i haven't tried any kernel without this option set because it would loose performance (and im no talking about nvidia drivers only :) )


well i was able to "PARTIALLY" Solve it, i had to "reinstall" xorg-x11 not emerging it only, i had to "emerge -C" (remove it) and then emerge xorg-x11 again... , but the only drivers that work are 5336, and i'll better leave it as that for the moment, (at least i can play, and work), 6111 and 6106 still have the same problem i first stated on my first post, i would like if nvidia sees this issue, i don't know what's happening, and i would really like to use lastest drivers, without having to "reinstall" Xorg :/, mostly on gentoo, coz' i have to compile it from scratch (and as anyone will guess, is pretty annoying)


I really like Nvidia Cards, (i had 4 so far), but the state of the drivers for linux is confusing for the moment, at least they don't suck as much as ATI ones do.


Greetings All..

P.D. Please, don't kill the thread, i would gladly aprecciate if anyone has comments/suggestions so we can trace this problem..

energyman76b 09-08-04 06:19 PM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
after emerging the nvidia drivers (both nvidia-kernel and nvidia-glx) did you an opengl-update nvidia?

roli 09-08-04 06:27 PM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
Ohh, of course, else would be a bit pointless to struggle with this problem for so long, almost every gentoo-nvidia problems related forum back at gentoo.org mentions it and also, if i were a total gentoo newbie, when you emerge nvidia-glx, portage warns you about "opengl-update", so well...


Well, altough is "Partially" Solved, it is still SLOW, (but at least not choppy or stuttery), at least i can work a little in blender, (wich is unusable with 6111 or 6106) , i've seen a lot of problems with fx5200 and 6111/6106 around in the forums, maybe a little driver bug with this chip?...


In Any Case, thanks energyman, at least shows the interest in my problem... :)

energyman76b 09-08-04 08:50 PM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
Hi,

well, a lot of people complaining about glx-probs here, in the mailing list and the gentoo forums, and all that went wrong was, they did not did an opengl-update.

Yes, the warning is there, it is mentioned in the docs, in the FAQs everywhere, still, some people have problems to read them.

Ok, you are not stupid ;o)

Hm, have you ever used the installer directly? If yes, then X is maybe loading up a mix of libs, I had that once, gives you an almost normal glxinfo output, but choppy opengl performance.

If not, you may want to install the 6111 driver and then replace one of the tls libs with the other (there are at least two of them). If I remember right, someone in this forum solved his performance problem this way, but you should search for the thread (some weeks old now). One is in /usr/lib/opengl/nvidia/lib/ the other in /usr/lib/opengl/nvidia/tls. But beware! That was not on a gentoo system, so this may not help and make everything worse. You should backup the files you are overwriting somewhere save (not /tmp).

energyman76b 09-08-04 08:57 PM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
oh, and one additional thought: CFLAGS? you are not using something strange, do you?

roli 09-09-04 12:14 AM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
ok My CFLAGS=-Os -O2 -march=athlon -pipe -fomit-frame-pointer

but, energy, i've found out something really interesting!!! :)
:clap: thanks for the tip on the TLS thing, got me working some more...

ok, when i run X trought: /etc/init.d/xdm start (gdm is my default session manager "and its also set in /etc/rc.conf), my performance with 6111 is totally crappy

BUT, when i do a plain startx or i set rc.conf to xdm, and log in to twm performance is normal!, but some games (wich i used for testing) complaing about no version information on /usr/lib/libGL.so, and some others like "foobilliard" corrupt their textures


i've tried the TLS thing, one way and the other, no difference...

im not sure what exactly causes the culprit, see, when i start XDM or STARTX from the console everything (well more or less) works fine, but if i use GDM or KDM, the performance drops as first stated on the post..

well, i've been editing gdm.conf and xdm-conf to see what does gdm to break it, and what causes xdm to NOT break it, but, i cannot go much further, i had almost two hours trying different X start lines for gdm, and i really don't want to startx from the console :drooling: , im totally misguided from here

Any suggestions would be gladly aprecciated..

energyman76b 09-09-04 12:45 AM

Re: Poor OpenGL performance 4 drivers, 2 kernels, 6 different configs
 
hm, very strange.

You should compare the xorg.log of gdm/xdm with th xorg.log when you start it with startx. Has gdm an own log? kdm has, and there are all the infos that let kdm barf and startx not ;o)

That is the only thing, that I can think of, at the moment. compare the logs. Not very helpfull.

Hm, and /usr/lib/libGL.so points to /usr/lib/opengl/nvidia/libs/libGL.so? and this to libGL.so.1.0.6111?


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

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