用nforec2的巨虾们,有成功安装GeForce驱动吗?
主板: epox 8rda+显卡:耕宇 GF3Ti200 已跳成Quadro DCC
AMD xp 1700+
内存:256x2 infineon ,双通道
里仁发行的 redhat9 简体中文版
试过:
NVIDIA-Linux-x86-1.0-4363.run 结果执行 init 5 后满荧屏都是字符乱码 ( XF86Config 改好了 )
NVIDIA-Linux-x86-1.0-4349.run 同意协议后就没有了响应
下面两个是 Quadro 驱动,都是 make 时出错
NVIDIA_kernel-1.0-4191.tar.gz
NVIDIA_kernel-1.0-2960.tar.gz
会不会是 nforce2 太新,redhat9 还不能完全支持? ( 可能有好多人还不知道 nvidia 也做主板芯片组 :)
另外 nforce2 的驱动也遇到了问题:
NVIDIA_nforce-1.0-0248.tar.gz 安装没问题,就是有时进 KDE 会弹出一个错误对话框:
提示 - art 信息
Sound server informational message:
Error while initalizing the sound driver:
device /dev/dsp can't ve opened (No such device)
The sound server will continue, using the null output device.
我用的就是板载的 alc650 + APU ,依然可以正常使用。
我看到 nvidia 主页上说 0248 是最新的驱动,有一次我通过 elsa.com 里的链接发现了 0256 版的驱动:
NVIDIA_nforce-1.0-0256.tar.gz 不过 make 时出错
NVIDIA_nforce-1.0-0256.rh80up_2.4.18_27.athlon.rpm 可以正常安装,那个错误对话框依旧,又试了一遍显卡驱动还是不灵 NVIDIA_nforce-1.0-0256.tar.gz :
# make
make -Cnvnet
make: Entering directory `/root/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM-fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h nvnet.c
ld -r -o temp.o nvnet.o nvnetlib.o
objcopy --strip-symbol="gcc2_compiled." temp.o
cp temp.o nvnet.o
rm temp.o
make: Leaving directory `/root/nforce/nvnet'
make -Cnvaudio
make: Entering directory `/root/nforce/nvaudio'
make nvaudio.o
make: Entering directory `/root/nforce/nvaudio'
cc -D__KERNEL__-I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE-DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvhw.o nvhw.c
cc -D__KERNEL__-I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE-DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvrec.o nvrec.c
cc -D__KERNEL__-I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE-DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvwavout.o nvwavout.c
cc -D__KERNEL__-I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE-DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvspdif.o nvspdif.c
cc -D__KERNEL__-I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE-DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvcrush.o nvcrush.c
nvcrush.c: In function `Nvaudio_mmapwrite':
nvcrush.c:426: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:426: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:426: too few arguments to function `remap_page_range_R2baf18f2'
nvcrush.c: In function `Nvaudio_mmap':
nvcrush.c:465: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:465: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:465: too few arguments to function `remap_page_range_R2baf18f2'
make: *** Error 1
make: Leaving directory `/root/nforce/nvaudio'
make: *** Error 2
make: Leaving directory `/root/nforce/nvaudio'
make: *** Error 2
# NVIDIA_kernel-1.0-2960.tar.gz :
# make
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -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 -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=2960 -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from nv-linux.h:29,
from nv.c:27:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1392: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1392: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1392: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1409: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1409: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1409: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1440: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1440: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1440: too few arguments to function `remap_page_range_R2baf18f2'
nv.c: In function `nv_get_phys_address':
nv.c:2276: warning: implicit declaration of function `pte_offset'
nv.c:2276: invalid type argument of `unary *'
make: *** Error 1
# NVIDIA_kernel-1.0-4191.tar.gz :
# make
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -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=4191-DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1282: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1301: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1387: too few arguments to function `remap_page_range_R2baf18f2'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** Error 1
# NVIDIA-Linux-x86-1.0-4363.run 安装后 init5 出现乱码时的 /etc/X11/XF86Config 文件内容(汉化过):
汉化方法:http://www.linuxsir.com/bbs/showthread.php?s=&threadid=30742
# XFree86 4 configuration created by redhat-config-xfree86
Section "ServerLayout"
Identifier "Default Layout"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database.Note, this is the name of the
# file minus the extension (like ".txt" or ".db").There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/system/fonts"
FontPath "/usr/system/ROfonts"
FontPath "unix/:7100"
EndSection
Section "Module"
# Load"dbe"
Load"extmod"
Load"fbdevhw"
Load"glx"
Load"record"
Load"freetype"
Load"xtt"
Load"type1"
# Load"dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier"Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier"Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier"DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "PHILIPS 107P"
DisplaySize320 240
HorizSync 30.0 - 92.0
VertRefresh50.0 - 160.0
Option "dpms"
EndSection
Section "Device"
Identifier"Videocard0"
Driver "nvidia"
VendorName"Videocard vendor"
BoardName "NVIDIA GeForce 3 (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection 没人知道吗?
需要重新编译内核也可以,应该下那个版本的?选上哪些选项以完全支持 nForce2 AGP ?
多谢 老兄
我的情况和你一样
也在想办法
希望有哪位高人指教一下 去www.nvnews.net去搜寻吧,或者forums.gentoo.org也有可能找到答案 你用的内核是rh9的内核吧?这版本内核rh修改很大,造成很多函数和标准的有问题,其中一个有改动的函数就是remap_page_range,比2.4.18加入了一个参数,导致驱动编译出错,nvidia驱动没有开放源码,否则可以修改驱动里的代码加上参数,因此如果你真想编译驱动;那只好将内核降级(2.4.18-27)回去试试,或下载标准原装的内核自己编译装上,或,等待nvidia上的驱动更新,期待下个版本加入rh9内核的支持 茅塞顿开 多谢老大指点
重新安装 redhat9 ,下载原版内核 2.4.20 编译,试了两次,装上显卡驱动还是满屏字符乱码
第一次,加上了 patch-2.4.21-rc1
配置文件用的是 redhat9 自带的 kernel-2.4.20-athlon.config
make xconfig 时出错,幸好 make menuconfig 正常,rc1 是测试版的意思吗?
内核里好像只有在声卡支持里出现过 nforce 字样
使用新内核后,原来编译驱动程序时的错误不再出现
先装的主板驱动: NVIDIA_nforce-1.0-0256.tar.gz (主板驱动好像只包括 声卡 和 网卡)
#make
#make install
reboot
再装显卡驱动: NVIDIA-Linux-x86-1.0-4363.run
#sh NVIDIA-Linux-x86-1.0-4363.run
修改 /etc/X11/XF86Config
reboot
init 5
还是字符乱码
第二次,没有加 patch-2.4.21-rc1
操作方法与第一次一样
#make xconfig 这回正确
结果还是字符乱码
另外有个问题,使用新内核后我的 USB 口的鼠标罢工了,灯还能亮,配置内核时我没有动 USB 里的选项,是哪里出了岔子?(鼠标是罗技的极光旋貂)
编译内核的方法:
#cd /usr/src
#mkdir linux
#mv linux linux-2.4.20
#ln -s /usr/src/linux-2.4.20 /usr/src/linux
#patch -p0 < patch-2.4.21-rc1
(第二次没有加 patch)
#cd linux (这时的路径 /usr/src/linux)
#cp /usr/src/linux-2.4.20-8/configs/kernel-2.4.20-athlon.config .config
#make xconfig (去掉了一些不必要的支持,如 SCSI ISDN 等,)
#make dep
#make clean
#make bzImage
#make modules
#make modules_install
#depmod -a
#cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.21-rc1
(第二次 #cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.20)
#cp /usr/src/linux/System.map /boot/System.map-2.4.21-rc1
(第二次 #cp /usr/src/linux/System.map /boot/System.map-2.4.20)
#new-kernel-pkg --mkinitrd --rmmoddep --install 2.4.21-rc1
(第二次 #new-kernel-pkg --mkinitrd --rmmoddep --install 2.4.20)
我准备重新安装 redhat8 试试 我试过 redhat8 了,和 redhat9 新内核一样
编译驱动时一样没有错误,一样画屏
我是不是可以宣布 Linux 尚不完全支持 nForce2 ,至少包括 nForce2 AGP ? nvidia目前没有公布单独的nforce2的agp驱动,在nvnews上面说下一个nforce驱动将包括。目前有个hacker已经弄出来一个nforce2的agp驱动,可以很好的支持非nvidia的显卡。 期待ing 我用的是GF2 MX200的显卡,装好系统后直接调整分辨率就OK了 ,只是屏幕偏移没有解决
页:
[1]
2