Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with Nvidia module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lasseo
n00b
n00b


Joined: 25 Mar 2003
Posts: 33

PostPosted: Sun Apr 06, 2003 11:52 am    Post subject: Problem with Nvidia module Reply with quote

Hi...

I have merged the latest Nvidia driver 4349 and i have some questions about the loading of the module.

I have change the /etc/modules.d/nvidia file to:

Code:

# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!!
#
#   To enable Side Band Adressing:  NVreg_EnableAGPSBA=1
#
#   To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1


and then changed in the modules.autoload from NVdriver to nvidia.

I don't know exactly what update-modules does but I have done that.

My question is why aren't NVreg_EnableAGPFW=1 and NVreg_EnableAGPSBA=1 set? Se below:

Code:

cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART
AGP Rate:        4x
Fast Writes:     Disabled
SBA:             Disabled


BTW.. Where do I find the glxbear program to measure glx performance?
Is there any other program to measure the graphic performance.

Please help

Regards Lars
Back to top
View user's profile Send private message
joeyrutledge
n00b
n00b


Joined: 17 Jun 2002
Posts: 15
Location: here

PostPosted: Sun Apr 06, 2003 1:34 pm    Post subject: glxbear??? you mean glxgear Reply with quote

it should be installed with XFree86. Located at /usr/X11R6/bin/glxgears
Back to top
View user's profile Send private message
lasseo
n00b
n00b


Joined: 25 Mar 2003
Posts: 33

PostPosted: Sun Apr 06, 2003 2:05 pm    Post subject: Reply with quote

Thanks

received this value:
29419 frames in 5.0 seconds = 5883.800 FPS

Is is good or bad for a Duron 750@900 with Geforce4 Ti4200 64MB?

Anyone that have any idea how I am supposed to do if I want to set

# To enable Side Band Adressing: NVreg_EnableAGPSBA=1
#
# To enable Fast Writes: NVreg_EnableAGPFW=1

I am running kernel 2.5.66 and playing divx movies perform really bad using the mplayer. May the settings above helps it out.. How do I do.

Regards
Back to top
View user's profile Send private message
azlan
Guru
Guru


Joined: 11 Nov 2002
Posts: 381
Location: Seattle WA USA

PostPosted: Sun Apr 06, 2003 7:05 pm    Post subject: Reply with quote

I haven't tried that kernel so I don't know if there are any problems that are specific to it.... guess you could expect it though.

the one problem I had with getting agp set up properly was not having my MTRR set in my kernel (processor type and feature > MTRR )

and you can try using the kernels own agpart support or the one in the nvidia driver (see the nvidia doc for details)
_________________
there is no crazy, only violet and non violet..
Back to top
View user's profile Send private message
papabean
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 130
Location: Sacramento, California

PostPosted: Mon Apr 07, 2003 6:23 am    Post subject: Reply with quote

For the record, I didn't emerge the Nvidia kernel. I chose to compile that by hand.

The way I enabled those features with the newest Nvidia drivers was as follows:

1. Download the installer from Nvidia's website. http://download.nvidia.com/XFree86/Linux-x86/1.0-4349/NVIDIA-Linux-x86-1.0-4349.run

2. Run:
Code:
sh NVIDIA-Linux-x86-1.0-4349.run --extract-only


3. Edit (use vim or YOUR personal choice of editors) the following file (found under NVIDIA-Linux-x86-1.0-4349/usr/src/nv: os-registry.c

4. Change the following:
Code:

static int NVreg_EnableAGPSBA = 0;
#endif

to:
Code:

static int NVreg_EnableAGPSBA = 1;
#endif


and:
Code:

static int NVreg_EnableAGPFW = 0;
MODULE_PARM(NVreg_EnableAGPFW, "i");


to:
Code:

static int NVreg_EnableAGPFW = 1;
MODULE_PARM(NVreg_EnableAGPFW, "i");


5. As root, run:
Code:
make install


That should do it. I performed those exact steps from a console, logged completely out of X. I also did rmmod nvidia before I started. Don't know if those steps were necessary, but you can never be too safe.

After the make install, FastWrites and SideBandAddressing were enabled.

Hope this helps.
_________________
-- The world is full of tough guys. It doesn't need me to be one too.
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Tue Apr 08, 2003 10:29 am    Post subject: Re: Problem with Nvidia module Reply with quote

lasseo wrote:

My question is why aren't NVreg_EnableAGPFW=1 and NVreg_EnableAGPSBA=1 set? Se below:

Code:

cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART
AGP Rate:        4x
Fast Writes:     Disabled
SBA:             Disabled



One thing to check is that both your chipset and your card support these. Here is an example from my system:
Code:

# cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     VIA Technologies, In VT8363/8365 [KT133/K
Fast Writes:     Not Supported
SBA:             Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000207:0x00000104


Code:

# cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Not Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000017:0x1f000104


So as you can see, my chipset can do SBA but not FW while my card can do FW but not SBA. Net result is I'm screwed for both :(
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
LJ
Apprentice
Apprentice


Joined: 27 Dec 2002
Posts: 156

PostPosted: Wed Apr 09, 2003 1:46 am    Post subject: Reply with quote

SBA is disabled by default in the windows drivers also because SBA turned out to be pretty much useless but seemed to sometimes cause stability problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum