QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1412|回复: 5

Fedora 1.0 core 安装Nvidia驱动

[复制链接]
发表于 2003-11-10 23:03:46 | 显示全部楼层 |阅读模式
由于nvidia4496pkg2的驱动不认fedora的内核,所以不能用
sh
NVIDIA-Linux-x86-1.0-4496-pkg2.run的方法来安装







1]下载 NVIDIA-Linux-x86-1.0-4496-pkg2.run



http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=geninfo&did=1569




2]运行下面的命令来获得它的源码



#sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only



3]设置环境变量



#export IGNORE_CC_MISMATCH=yes



4]进入源码文件夹,运行安装命令



#cd ../NVIDIA-Linux-x86-1.0-4496-pkg2

#make install



5]修改/etc/X11/XF86Config



然后改/etc/X11/XF86Config文件中的这段。



Section "Device"

Identifier "Videocard0"

Driver "nv"把这里的nv 改成nvidia

VendorName "Videocard vendor"

BoardName "NVIDIA GeForce 2 MX (generic)"

EndSection
发表于 2003-11-11 11:39:45 | 显示全部楼层
其实设置环境变量后直接
./NVIDIA-Linux-x86-1.0-4496-pkg2.run
就行了。
回复

使用道具 举报

发表于 2004-3-18 22:10:54 | 显示全部楼层
[root@localhost NVIDIA-Linux-x86-1.0-4496-pkg2]# make install
cd usr/src/nv; make install
make[1]: Entering directory `/root/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
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 -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
make[1]: cc: Command not found
make[1]: *** [nv.o] Error 127
make[1]: Leaving directory `/root/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make: *** [kernel_module_install] Error 2
能帮我看看这是什么原因吗?
回复

使用道具 举报

发表于 2004-3-25 12:17:30 | 显示全部楼层
顶呀!
回复

使用道具 举报

发表于 2004-4-2 11:42:56 | 显示全部楼层
为什么我不能#cd ../NVIDIA-Linux-x86-1.0-4496-pkg2
回复

使用道具 举报

发表于 2004-4-2 13:37:32 | 显示全部楼层
[quote:adc63703d1="winnike"]
make[1]: cc: Command not found
make[1]: *** [nv.o] Error 127
make[1]: Leaving directory `/root/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make: *** [kernel_module_install] Error 2
能帮我看看这是什么原因吗?[/quote]
没装gcc,把开发包装上。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-29 15:22 , Processed in 0.094760 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表