DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a quick tip for those of you using the proprietary nvidia drivers. you can get a reasonable graphics speed boost by using the nvidia agp driver rather than the default. the following example is for a Debian 3.1 (Sarge) system, but should work for any generic distibution also.
the goal is to blacklist the default agp driver so that the nvidia kernel module will use its own agp driver. for example, i do
which tells me that i want to blacklist the via_agp kernel module. if you have an intel motherboard, you will likely want to blacklist the intel_agp module instead.
open /etc/hotplug/blacklist and add the name of your agp module to the end of the blacklist. for example, i add
Code:
via_agp
you need to reboot the system to be able to unload the current agp module (one of the few times you need to reboot a GNU/Linux box). when the system boots up, the nvidia kernel module will fall back on it's own agp driver, which is what we want. you can make sure that this is the case by doing
I tired this one but I am not succeeding but not sure why. Adding the module names to the blacklist does not seem to make any difference. Did some reading and edited the XF86Config-4 to load the nvidia driver but the result is still the same. It is still using agpgart, nvidia_agp, and via_agp. I thought I would then try to remove the module but it refuses as it is in use.;
/var/log/messages;
Jul 3 21:31:05 kt3 kernel: nvidia: module license 'NVIDIA' taints kernel.
Jul 3 21:31:05 kt3 kernel: 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
Jul 3 21:31:06 kt3 kernel: 0: NVRM: not using NVAGP, AGPGART is loaded!!
I'm runnin the debian stuff made with nvidia-glx and the nvidia-kernel-sources and it's automatically like that. Now I think I have a 4x agp slot so is my card limiting it to 2x or can I change this somewhere?
Originally posted by zero79 looks like you're using a pretty old version of the nvidia driver (5336) -- latest release is 7667. it may not work the same. update with
you may also want to check out the other method to prevent agpgart module loading on the link in my previous post.
oh, and like i said, you need to reboot because you can't seem to unload the agp modules without a reboot.
It's a fairly old agp card (not really into games) so fancy new support is not much good to me.
Have renamed the kernel drivers, as suggested in the link, which obviously nullified the drivers and it is now running off the nvidia_agp. Ran glxgears and getting a reading of 401 FPS which, if I remember correctly, is a big improvement on the old reading of about 300 FPS. The aspect of the desktop that has always bugged me has been the ghost images trailing behind a dragged object which seems to have stopped.
Update;
I have done some definitive tests with glxgears;
using the agpgart_agp and via_apgart 398 FPS
using nvidia_agp 398 FPS
based on this it doesn't seem to make any difference to display speed.
I would like to hear about similar experiences form others that try this.
Just a comment about getting results through glxgears. The glxgears module should be run in the same position relative to the console. If you move it over the console window you will get a different result to it positioned next to, but not overlapping the console window.
Home-built box, Athlon XP2000 CPU (clock speed 1.67GHz), 1280MB RAM, Nvidia GeForce FX 5900XT with 128MB RAM. It runs numerous distros, but those tests were done under Kubuntu 5.04 running kernel 2.6.10-5k7 and the 1.0-7174 nvidia module.
Originally posted by mugstar Home-built box, Athlon XP2000 CPU (clock speed 1.67GHz), 1280MB RAM, Nvidia GeForce FX 5900XT with 128MB RAM. It runs numerous distros, but those tests were done under Kubuntu 5.04 running kernel 2.6.10-5k7 and the 1.0-7174 nvidia module.
I dont know much about hardware, but is that the difference between amd and pentium? I have a pentium P4 1.5ghz and my GE Force also has 128mb. Doesn't seem like alot of difference there... did you do anything to tweak it to get the performace up? If so, can you guide me in the right direction?
I haven't tried any other tweaks to the graphics setup other than this one, and the rest of the set up is straight from the kubuntu apt repository, including the nvidia-glx and nvidia-kernel modules. Maybe the kubuntu folks tweak them - did you install the nvidia module manually or via apt?
The only other change I've made to the stock install is to run the k7 kernel rather than the 386 one from the installation disc, 'cos the 386 kernel didn't make use of all the RAM I have. Are you running a 386 or 686 kernel?
Also, which model is your GeForce card? It may have the same amount of RAM as mine but the chipsets may not be equivalent.
Originally posted by mugstar I haven't tried any other tweaks to the graphics setup other than this one, and the rest of the set up is straight from the kubuntu apt repository, including the nvidia-glx and nvidia-kernel modules. Maybe the kubuntu folks tweak them - did you install the nvidia module manually or via apt?
The only other change I've made to the stock install is to run the k7 kernel rather than the 386 one from the installation disc, 'cos the 386 kernel didn't make use of all the RAM I have. Are you running a 386 or 686 kernel?
Also, which model is your GeForce card? It may have the same amount of RAM as mine but the chipsets may not be equivalent.
My card is the GeForce FX 5500 and I'm using the 386 Kernel.
Per another suggestion I went through the readme and removed:
Load "dri"
Load "GLCore"
That gave me a little bit better perfomance, but I just noticed that if I have the glxwindow on top, my numbers are lower than if I'm running it in the background.
5647 frames in 5.0 seconds = 1129.400 FPS
5955 frames in 5.0 seconds = 1191.000 FPS
5641 frames in 5.0 seconds = 1128.200 FPS
5610 frames in 5.0 seconds = 1122.000 FPS
5279 frames in 5.0 seconds = 1055.800 FPS
(then clicked on a mozilla window to move it to the back)
15091 frames in 5.0 seconds = 3018.200 FPS
15772 frames in 5.0 seconds = 3154.400 FPS
15859 frames in 5.0 seconds = 3171.800 FPS
14819 frames in 5.0 seconds = 2963.800 FPS
15793 frames in 5.0 seconds = 3158.600 FPS
16002 frames in 5.0 seconds = 3200.400 FPS
15571 frames in 5.0 seconds = 3114.200 FPS
Should I try that kernel? Which one is it exactly, I see a few on the list in Synaptic.
edit: I just noticed that the K7 kernel is for AMD... i'm on a P4.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.