Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-kernel
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
burzmali
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 238
Location: ca

PostPosted: Fri Apr 26, 2002 10:54 pm    Post subject: nvidia-kernel Reply with quote

hello,
i just tried to install nvidia-kernel and this is what i get:

#emerge nvidia-kernel
Calculating dependencies \ ...done!
>>> emerge media-video/nvidia-kernel-1.0.2880 to /
>>> md5 ;-) NVIDIA_kernel-1.0-2880.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-2880.tar.gz
>>> Source unpacked.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdriver
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
nv.c: In function `nv_kern_mmap':
nv.c:1438: `PAGE_SHARED' undeclared (first use in this function)
nv.c:1438: (Each undeclared identifier is reported only once
nv.c:1438: for each function it appears in.)
make: *** [nv.o] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.2880.ebuild .

any ideas on what is up whith that? i tried installing from the nvidia site and got the same error. any help would be appreciated. thanks.
_________________
burzmali
www.burzmali.net
Back to top
View user's profile Send private message
DarrenM
l33t
l33t


Joined: 25 Apr 2002
Posts: 653
Location: Sydney, Australia

PostPosted: Sat Apr 27, 2002 12:25 am    Post subject: Reply with quote

Looks like it may be missing a header file or somesuch. Do you have the kernel source extracted to /usr/src/linux and have you enabled DRM(DRI) support in the kernel? It's under Character Devices->Direct Rendering Manager

Here is the readme for the nvidia drivers:
http://download.nvidia.com/XFree86_40/1.0-2880/README.txt
Back to top
View user's profile Send private message
burzmali
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 238
Location: ca

PostPosted: Sat Apr 27, 2002 1:50 am    Post subject: Reply with quote

yes DRI is enabled in the kernel and the kerne sourcel is in /usr/src/linux-2.4.9-gentoo. /usr/src/linux is a simlink to it. i have compiled everything else successfully; X, kde, mozilla, etc... maybe i should try an older version?
_________________
burzmali
www.burzmali.net
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Apr 27, 2002 3:38 am    Post subject: Reply with quote

there is no support for nvidia for dri so thats not the problem. i get this error too, i wouldnt mind a fix for it :)
Back to top
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Sat Apr 27, 2002 1:31 pm    Post subject: 2.4.19 = no nvidia compile Reply with quote

It's the 2.4.19-gentoo kernel... I just compiled the 2.4.18 (vanilla-sources) kernel and the nvidia drivers work fine.
Back to top
View user's profile Send private message
synnix
n00b
n00b


Joined: 16 Apr 2002
Posts: 4

PostPosted: Sun Apr 28, 2002 4:19 am    Post subject: Reply with quote

The problem might be DRI but it might not be.

Just to set it strait, DRI only works on the cards listed in the kernel configuration. The nvidia drivers DO NOT use DRI. nvidia uses it's own kernel module to provide the kernel interface for acceleration. I would recommend recompiling your kernel without DRI support, but with AGP support. If it still does not work, try downloading the official 2.4.18 kernel sources from kernel.org and try that kernel.

And again NVIDIA DOES NOT USE DRI!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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