Now that my problem with console-switching has been solved, I decided to push my luck and get acceleration to work with my Nvidia GEForce card. As instructed in NVidia's README, I installed the v1251 NVIDIA_GLX.rpm package. I also called switch2nvidia_glx and ensured that my XFree86Config file contained: "Load glx" in the Module section "Driver nvidia" in the Device section I've also installed the v1251 nvidia kernel module NVdriver in /lib/modules (a few levels down). Nonetheless, when I run "gears" I get only 642FPS rather than the expected 1100. Are my incantations insufficiently pleasing to the gods? If so, what need I do to appease them? Paul
hi paul, is the module "NVdriver" loaded into the kernel (not xfree) ? are you using the linux-own agpgart support or the one from nvidia ? greets, chris Am Sonntag, 8. Juli 2001 02:00 schrieb Paul Abrahams:
Now that my problem with console-switching has been solved, I decided to push my luck and get acceleration to work with my Nvidia GEForce card. As instructed in NVidia's README, I installed the v1251 NVIDIA_GLX.rpm package. I also called switch2nvidia_glx and ensured that my XFree86Config file contained:
"Load glx" in the Module section "Driver nvidia" in the Device section
I've also installed the v1251 nvidia kernel module NVdriver in /lib/modules (a few levels down).
Nonetheless, when I run "gears" I get only 642FPS rather than the expected 1100.
Are my incantations insufficiently pleasing to the gods? If so, what need I do to appease them?
Paul
-- visit me at http://mamalala.de
Christian Klippel wrote:
is the module "NVdriver" loaded into the kernel (not xfree) ?
Yes, I checked it with lsmod.
are you using the linux-own agpgart support or the one from nvidia ?
Dunno. How do I find out? Which one is the right one, and where might I get it? Paul
re, check /var/log/messages (or in the console window in x that starts up first by default) if there is something reading : Jun 30 09:56:35 nervous kernel: NVRM: not using NVAGP, AGPGART is loaded!! this indicates that you are using the kernels agpgart. i have thrown it out by compiling my own kernel (which i always do). do so by disabling the option "/dev/agpgart" under the section "character devices" as module it is called "agpgart.o" the nvdrivier has its own, i found out it is more stable with the nvdriver's agp support. but as always, "you mileage may vary" greets, chris Am Sonntag, 8. Juli 2001 02:15 schrieb Paul Abrahams:
Christian Klippel wrote:
is the module "NVdriver" loaded into the kernel (not xfree) ?
Yes, I checked it with lsmod.
are you using the linux-own agpgart support or the one from nvidia ?
Dunno. How do I find out? Which one is the right one, and where might I get it?
Paul
-- visit me at http://mamalala.de
On Sunday 08 July 2001 02:15, Paul Abrahams wrote:
Christian Klippel wrote:
is the module "NVdriver" loaded into the kernel (not xfree) ?
Yes, I checked it with lsmod.
are you using the linux-own agpgart support or the one from nvidia ?
Dunno. How do I find out? Which one is the right one, and where might I get it?
Paul
You can check the settings your nvidia card is using by cat /proc/nv/card0 (or whatever number your card is in your system) my system reports ----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: GeForce2 GTS IRQ: 11 ------ AGP Info ------- AGP status: Enabled AGP Driver: NVIDIA Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104 And I get 2800+ fps with gears at 1600x1200 at 16 bits colour depth Regards Anders
Funny, the new nvidia drivers work better at the higher res. I get 1500+ at 1024x768. I have read posts on other NG's about the higher performance at higher res. I plan to buy a new monitor soon and wonder what, if any, performance boost I'll get. Also, your runnig at 4x agp and I only have x2 but 2800+ fps is very nice. Cheers Curtis On Sunday 08 July 2001 11:04, Anders Johansson wrote:
On Sunday 08 July 2001 02:15, Paul Abrahams wrote:
Christian Klippel wrote:
is the module "NVdriver" loaded into the kernel (not xfree) ?
Yes, I checked it with lsmod.
are you using the linux-own agpgart support or the one from nvidia ?
Dunno. How do I find out? Which one is the right one, and where might I get it?
Paul
You can check the settings your nvidia card is using by
cat /proc/nv/card0 (or whatever number your card is in your system)
my system reports
----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: GeForce2 GTS IRQ: 11 ------ AGP Info ------- AGP status: Enabled AGP Driver: NVIDIA Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104
And I get 2800+ fps with gears at 1600x1200 at 16 bits colour depth
Regards Anders
Anders Johansson wrote:
On Sunday 08 July 2001 02:15, Paul Abrahams wrote:
Christian Klippel wrote:
is the module "NVdriver" loaded into the kernel (not xfree) ?
Yes, I checked it with lsmod.
are you using the linux-own agpgart support or the one from nvidia ?
Dunno. How do I find out? Which one is the right one, and where might I get it?
Paul
You can check the settings your nvidia card is using by
cat /proc/nv/card0 (or whatever number your card is in your system)
my system reports
----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: GeForce2 GTS IRQ: 11 ------ AGP Info ------- AGP status: Enabled AGP Driver: NVIDIA Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104
And I get 2800+ fps with gears at 1600x1200 at 16 bits colour depth
I get only about 600. My card0 yields: ----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: Riva TNT2 Ultra IRQ: 9 ------ AGP Info ------- AGP status: Enabled AGP Driver: AGPGART Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104 There's the obvious difference that my AGP driver is AGPART, not NVIDIA. But: pwa@suillus:/proc/nv > rpm -qa | grep NV NVIDIA_kernel-1.0-1251 NVIDIA_GLX-1.0-0 pwa@suillus:/proc/nv > rpm -qa | grep AGP pwa@suillus:/proc/nv > rpm -qa | grep agp pwa@suillus:/proc/nv > So it does look as though the correct NV files are there. And here are the relevant parts of my XF86Config file (uninteresting stuff elided): Section "Module" Load "type1" Load "freetype" Load "speedo" Load "extmod" Load "glx" EndSection Section "Screen" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1152x864" "1024x768" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection Section "Device" BoardName "RIVA TNT2 Model 64" BusID "1:0:0" Driver "nvidia" Identifier "Device[0]" Screen 0 VendorName "Nvidia" Videoram 32768 Option "backingstore" EndSection Section "DRI" Group "video" Mode 0660 EndSection I've tried inserting an NVagp option with various values, but it had no effect. Paul
On Sunday 08 July 2001 18:35, Paul Abrahams wrote:
Anders Johansson wrote:
On Sunday 08 July 2001 02:15, Paul Abrahams wrote:
Christian Klippel wrote:
is the module "NVdriver" loaded into the kernel (not xfree) ?
Yes, I checked it with lsmod.
are you using the linux-own agpgart support or the one from nvidia ?
Dunno. How do I find out? Which one is the right one, and where might I get it?
Paul
You can check the settings your nvidia card is using by
cat /proc/nv/card0 (or whatever number your card is in your system)
my system reports
----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: GeForce2 GTS IRQ: 11 ------ AGP Info ------- AGP status: Enabled AGP Driver: NVIDIA Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104
And I get 2800+ fps with gears at 1600x1200 at 16 bits colour depth
I get only about 600. My card0 yields:
----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: Riva TNT2 Ultra IRQ: 9 ------ AGP Info ------- AGP status: Enabled AGP Driver: AGPGART Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104
There's the obvious difference that my AGP driver is AGPART, not NVIDIA. But:
pwa@suillus:/proc/nv > rpm -qa | grep NV NVIDIA_kernel-1.0-1251 NVIDIA_GLX-1.0-0 pwa@suillus:/proc/nv > rpm -qa | grep AGP pwa@suillus:/proc/nv > rpm -qa | grep agp pwa@suillus:/proc/nv >
andjoh@samantha:~ > rpm -qa|grep NV NVIDIA_kernel-1.0-0 NVIDIA_GLX-1.0-0 There are two issues I can think of off hand. One is to make sure you're using nvidia's agp handler. The other is that you're using different module versions for X and the kernel. The readme expressly says that this won't work. This could very well be the problem.
So it does look as though the correct NV files are there. And here are the relevant parts of my XF86Config file (uninteresting stuff elided):
Section "Module" Load "type1" Load "freetype" Load "speedo" Load "extmod" Load "glx" EndSection
Section "Screen" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1152x864" "1024x768" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection
Section "Device" BoardName "RIVA TNT2 Model 64" BusID "1:0:0" Driver "nvidia" Identifier "Device[0]" Screen 0 VendorName "Nvidia" Videoram 32768 Option "backingstore" EndSection
Section "DRI" Group "video" Mode 0660 EndSection
I've tried inserting an NVagp option with various values, but it had no effect.
Paul
Anders
Anders Johansson wrote:
On Sunday 08 July 2001 18:35, Paul Abrahams wrote:
my system reports
----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: GeForce2 GTS IRQ: 11 ------ AGP Info ------- AGP status: Enabled AGP Driver: NVIDIA Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104
And I get 2800+ fps with gears at 1600x1200 at 16 bits colour depth
I get only about 600. My card0 yields:
----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: Riva TNT2 Ultra IRQ: 9 ------ AGP Info ------- AGP status: Enabled AGP Driver: AGPGART Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104
There's the obvious difference that my AGP driver is AGPART, not NVIDIA. But:
pwa@suillus:/proc/nv > rpm -qa | grep NV NVIDIA_kernel-1.0-1251 NVIDIA_GLX-1.0-0 pwa@suillus:/proc/nv > rpm -qa | grep AGP pwa@suillus:/proc/nv > rpm -qa | grep agp pwa@suillus:/proc/nv >
andjoh@samantha:~ > rpm -qa|grep NV NVIDIA_kernel-1.0-0 NVIDIA_GLX-1.0-0
There are two issues I can think of off hand. One is to make sure you're using nvidia's agp handler.
I just recompiled the Linux kernel, eliminating agp support from "character devices" in the configuration. Now I, like you, get NVIDIA rather than AGPART as the AGP driver. And that doesn't solve the problem.
The other is that you're using different module versions for X and the kernel. The readme expressly says that this won't work. This could very well be the problem.
Could be. Maybe there's something I'm missing about the NVidia kernel files. They come in three forms from the NVidia website: 317298 May 21 14:16 NVIDIA_kernel-1.0-1251.src.rpm 1405550 May 21 12:50 NVIDIA_kernel-1.0-1251.suse71.i386.rpm 315616 May 28 21:45 NVIDIA_kernel-1.0-1251.tar.gz As I remember, I used the source files and did a "make" because the NVidia rpm was for kernel 2.4.0 and I was running 2.4.4. I think I tried the other files earlier but something went wrong with them. Paul
Paul Abrahams wrote:
Anders Johansson wrote:
I just recompiled the Linux kernel, eliminating agp support from "character devices" in the configuration. Now I, like you, get NVIDIA rather than AGPART as the AGP driver. And that doesn't solve the problem.
The other is that you're using different module versions for X and the kernel. The readme expressly says that this won't work. This could very well be the problem.
Could be. Maybe there's something I'm missing about the NVidia kernel files. They come in three forms from the NVidia website:
317298 May 21 14:16 NVIDIA_kernel-1.0-1251.src.rpm 1405550 May 21 12:50 NVIDIA_kernel-1.0-1251.suse71.i386.rpm 315616 May 28 21:45 NVIDIA_kernel-1.0-1251.tar.gz
As I remember, I used the source files and did a "make" because the NVidia rpm was for kernel 2.4.0 and I was running 2.4.4. I think I tried the other files earlier but something went wrong with them.
OK, I've deleted the 1251 kernel package. Now I get: suillus:/aux/home/pwa # lsmod | grep NV NVdriver 656384 15 (autoclean) suillus:/aux/home/pwa # rpm -qa | grep NV NVIDIA_GLX-1.0-0 suillus:/aux/home/pwa # ls -l /lib/modules/2.4.5-win4lin/misc/video total 735 -rw-rw-r-- 1 root root 748127 Jul 8 13:08 NVdriver suillus:/aux/home/pwa # cat /proc/nv/card0 ----- Driver Info ----- NVRM Version: 1.0-1251 ------ Card Info ------ Model: Riva TNT2 Ultra IRQ: 9 ------ AGP Info ------- AGP status: Enabled AGP Driver: NVIDIA Bridge: Via Apollo Pro KT133 SBA: Supported [disabled] FW: Unsupported [disabled] Rates: 4x 2x 1x [4x] Registers: 0x1f000207:0x00000104 And: suillus:/aux/home/pwa # gears 3097 frames in 5.001 seconds = 619.276 FPS 3211 frames in 5.000 seconds = 642.200 FPS 3211 frames in 5.000 seconds = 642.200 FPS 3211 frames in 5.000 seconds = 642.200 FPS suillus:/aux/home/pwa # uillus:/aux/home/pwa # Could the cause be that the Riva TNT isn't as capable as the GEForce (though I thought I had a GEForce - don't have the box any more)? Paul
Paul. Try: Option "NvAgp" "1" To use the nvidia's agp drivers, and run in 16 bit, 24/32 is a framebuffer and degrades performance. Curts On Saturday 07 July 2001 19:00, Paul Abrahams wrote:
Now that my problem with console-switching has been solved, I decided to push my luck and get acceleration to work with my Nvidia GEForce card. As instructed in NVidia's README, I installed the v1251 NVIDIA_GLX.rpm package. I also called switch2nvidia_glx and ensured that my XFree86Config file contained:
"Load glx" in the Module section "Driver nvidia" in the Device section
I've also installed the v1251 nvidia kernel module NVdriver in /lib/modules (a few levels down).
Nonetheless, when I run "gears" I get only 642FPS rather than the expected 1100.
Are my incantations insufficiently pleasing to the gods? If so, what need I do to appease them?
Paul
Curtis Rey wrote:
Paul. Try:
Option "NvAgp" "1"
To use the nvidia's agp drivers, and run in 16 bit, 24/32 is a framebuffer and degrades performance.
I'm confused. Are you saying that installing this option will degrade performance? Or are you saying that "NvAgp 1" uses 16 bit buffers while other NvAGP values use 24 or 32 bit buffers and degrade performance? Is NvAgp documented anywhere that I can read about it? Paul
Sorry, 2 different issues. A) set the agp option as noted. B) run X in 16 bit colors because 24/32 bit colors requires a framebuffer (this is independent of the agp setting). I wanted you to try both these varaible to help improve the performance. The essential on is not run in anything higher than 16 bit. The agp setting is to help with further optimization. Have a look at my settings: Section "Screen" DefaultDepth 16 SubSection "Display" Section "Device" BoardName "GeForce 2 MX" BusID "1:0:0" Driver "nvidia" Identifier "Device[0]" Screen 0 VendorName "Nvidia" Videoram 32768 Option "IgnoreEDID" "1" Option "NvAGP" "1" (also 0=off, 2=agpgart, 3=try gart then nvagp) (1=nvagp builtin agp driver) Option "fifo_aggresive" "1" (might also try fifo_moderare or fifo_conservative) EndSection On Sunday 08 July 2001 10:09, you wrote:
Curtis Rey wrote:
Paul. Try:
Option "NvAgp" "1"
To use the nvidia's agp drivers, and run in 16 bit, 24/32 is a framebuffer and degrades performance.
I'm confused. Are you saying that installing this option will degrade performance? Or are you saying that "NvAgp 1" uses 16 bit buffers while other NvAGP values use 24 or 32 bit buffers and degrade performance?
Is NvAgp documented anywhere that I can read about it?
Paul
A) Note that NvAGP is the default. You only have to set this if "1" (the nvidia AGP handler) isn't working properly. B) I believe 24 bits are accelerated, and that only 32 bits use the frame buffer The IgnoreEDID is only for when your screen reports wrong data. Most newer monitors don't need this. Anders On Sunday 08 July 2001 17:35, Curtis Rey wrote:
Sorry, 2 different issues. A) set the agp option as noted. B) run X in 16 bit colors because 24/32 bit colors requires a framebuffer (this is independent of the agp setting). I wanted you to try both these varaible to help improve the performance. The essential on is not run in anything higher than 16 bit. The agp setting is to help with further optimization. Have a look at my settings:
Section "Screen" DefaultDepth 16 SubSection "Display"
Section "Device" BoardName "GeForce 2 MX" BusID "1:0:0" Driver "nvidia" Identifier "Device[0]" Screen 0 VendorName "Nvidia" Videoram 32768 Option "IgnoreEDID" "1" Option "NvAGP" "1" (also 0=off, 2=agpgart, 3=try gart then nvagp) (1=nvagp builtin agp driver) Option "fifo_aggresive" "1" (might also try fifo_moderare or fifo_conservative) EndSection
On Sunday 08 July 2001 10:09, you wrote:
Curtis Rey wrote:
Paul. Try:
Option "NvAgp" "1"
To use the nvidia's agp drivers, and run in 16 bit, 24/32 is a framebuffer and degrades performance.
I'm confused. Are you saying that installing this option will degrade performance? Or are you saying that "NvAgp 1" uses 16 bit buffers while other NvAGP values use 24 or 32 bit buffers and degrade performance?
Is NvAgp documented anywhere that I can read about it?
Paul
Anders Johansson wrote:
A) Note that NvAGP is the default. You only have to set this if "1" (the nvidia AGP handler) isn't working properly.
B) I believe 24 bits are accelerated, and that only 32 bits use the frame buffer
The IgnoreEDID is only for when your screen reports wrong data. Most newer monitors don't need this.
Is it possible that my board is only capable of 640 frames per second? How might I check that out? My default depth is 16; I've experimented with various nvagp settings and they make no difference. Paul
On Sunday 08 July 2001 18:12, Paul Abrahams wrote:
Anders Johansson wrote:
A) Note that NvAGP is the default. You only have to set this if "1" (the nvidia AGP handler) isn't working properly.
B) I believe 24 bits are accelerated, and that only 32 bits use the frame buffer
The IgnoreEDID is only for when your screen reports wrong data. Most newer monitors don't need this.
Is it possible that my board is only capable of 640 frames per second? How might I check that out?
My default depth is 16; I've experimented with various nvagp settings and they make no difference.
Paul
The only way that I know of is by checking the specs from nvidia. What does cat /proc/nv/card0 tell you? Anders
Right, that's always good. I always forget about that one. DOH, Curtis On Sunday 08 July 2001 11:18, Anders Johansson wrote:
On Sunday 08 July 2001 18:12, Paul Abrahams wrote:
Anders Johansson wrote:
A) Note that NvAGP is the default. You only have to set this if "1" (the nvidia AGP handler) isn't working properly.
B) I believe 24 bits are accelerated, and that only 32 bits use the frame buffer
The IgnoreEDID is only for when your screen reports wrong data. Most newer monitors don't need this.
Is it possible that my board is only capable of 640 frames per second? How might I check that out?
My default depth is 16; I've experimented with various nvagp settings and they make no difference.
Paul
The only way that I know of is by checking the specs from nvidia.
What does cat /proc/nv/card0 tell you?
Anders
Post your XF86Config file and lets have a look. Curtis On Sunday 08 July 2001 11:12, Paul Abrahams wrote:
Anders Johansson wrote:
A) Note that NvAGP is the default. You only have to set this if "1" (the nvidia AGP handler) isn't working properly.
B) I believe 24 bits are accelerated, and that only 32 bits use the frame buffer
The IgnoreEDID is only for when your screen reports wrong data. Most newer monitors don't need this.
Is it possible that my board is only capable of 640 frames per second? How might I check that out?
My default depth is 16; I've experimented with various nvagp settings and they make no difference.
Paul
participants (4)
-
Anders Johansson
-
Christian Klippel
-
Curtis Rey
-
Paul Abrahams