Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia ebuild and smp question
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
AnonNomis
n00b
n00b


Joined: 18 Apr 2002
Posts: 28

PostPosted: Tue Oct 08, 2002 8:07 am    Post subject: nvidia ebuild and smp question Reply with quote

I recently upgraded to my nvidia drivers to 1.0-3123 and i noticed my computer started freezing up. I normally force it to go to agp 1x to keep it from crashing by passing in the NVReg_ReqAGP=1 option into /etc/modules.d/nvidia. After looking at the code for 1.0-3123 i noticed that this option is now turned off in the os-registry.c file along with a couple other options. I turned it back on and everything is ok now. I also noticed that in the README file stated this:

Since the Linux kernel does not support a binary driver interface, we
provide for rebuilding these files on the target machine (or distribution)
and then linking with the binary version of the NV kernel driver.

$ make

This will produce one of the following files depending on the system
include directory used to do the build:

NVdriver: which is the installable kernel driver module for
single processor Linux systems

If you want to build NVdriver for a system other than the compiling
system, then you'll need to run the make as:

$ make SYSINCLUDE=/src/kern/my-smp-kernel/include

to generate an NVdriver that will work on the kernel whose include
files are in /src/kern/my-smp-kernel/include. This kernel must
have been completely configured (make menuconfig dep).


I was wondering if this is saying that something special needs to be done for smp machines?
"NVdriver: which is the installable kernel driver module for
single processor Linux systems"
I dont' really know whats going on here and was wondering if the ebuild takes care of this?
Back to top
View user's profile Send private message
keef
n00b
n00b


Joined: 02 Jul 2002
Posts: 45
Location: Third Stone from the Sun

PostPosted: Tue Oct 08, 2002 1:42 pm    Post subject: Reply with quote

You don't give any information regarding your system but it doesn't matter in this case.

The nvidia driver will work on smp machines with no intervention during the emerge.

btw:
smp = symmetric multiprocessing ( multiple processors )

It wasn't clear from your post if you have a multiple processor setup...rather, it seems you may have been confused by the NOTE mentioning the driver is for single processor machines and the latter reference to the special build for the smp kernel.

The special build note describes how to build it using a different kernel srctree than the one your currently using.

In any case, as I mentioned at the start no special handling required to emerge the NVidia driver.

BTW: I'm using the NVidia driver with no problems on a dual Athlon-MP 1800 system.
Back to top
View user's profile Send private message
AnonNomis
n00b
n00b


Joined: 18 Apr 2002
Posts: 28

PostPosted: Tue Oct 08, 2002 10:20 pm    Post subject: Reply with quote

Sorry about that, I kinda assumed it was apparent that I was using a smp system, but after reading my post again I can see how i should have made myself clear. Yeah its a old dual celeron machine on a Abit bp6 and I've had the nvidia drivers in it for around a year and never noticed any problems which is why i was confused when I saw the line that said NVdriver is built for uniprocessor systems only. I just wanted some reasurrance that i wasn't using a wrong driver. Thanks for the quick reply.
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