QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2892|回复: 14

求助安装了Mandrake 9.0但是显卡驱动还是装不上

[复制链接]
发表于 2002-7-30 00:10:29 | 显示全部楼层 |阅读模式
Mandrake 9.0Beta 下的GeForce 2 MX显卡就是装不上我按照论坛的精华区的高手的帖子做的,但是没有For Mandrake 9.0版的驱动,只有For 8.2的我就用了。
我在分别rpm了那两个rpm驱动包后,在/usr/share/doc/NVIDIA_GLX-1.0/目录下根本找不到XF86Config-4.sample这个文件!只有一个XF86Config.sample类似。这是怎么回事?  
而且在KDE终端输入setup后说找不到该命令。
另外,我的CPU是Athlon XP 1700+的是不是显卡驱动一定要选择例如:NVIDIA_kernel-1.0-2960.rh73up.athlon.rpm的?这种带有athlon的字样的版本?
发表于 2002-7-30 00:45:08 | 显示全部楼层
实在不行的话试试编译版本,“自由软件”-“驱动”那里有下,只要你编译成功,肯定能装上,我在红旗3.0上就是安装这个版本的。
回复

使用道具 举报

发表于 2002-7-30 08:45:17 | 显示全部楼层
各个版本不能通用的,只能自己编译。
回复

使用道具 举报

发表于 2002-8-1 12:58:51 | 显示全部楼层

在没有与内核相对应的二进制代码包的情况下,如何安装显卡驱动:

有次我在redhat 7.3下用了在线升级的功能,升级了内核和一些软件,重启后却是很糟糕,nv的x
服务器驱动和内核对不上了,导致x窗口系统用不了,只能在字符模式下了.当时也没细想这个难,后
来安装mandrake 9后,在nv网站上找不到相应版本的驱动,没有openGL功能可一点也不好玩了.
但在nv网页上看见了一个NVIDIA_kernel-1.0-2960.src.rpm源代码包,下载回来后,几经周折
终于被我安装上了,下面说说我在mandrake和redhat两种环境下的安装过程:
1、mandrake环境:在字符模式下打rpm -rebuild NVIDIA_kernel-1.0-2960.src.rpm这时
就会重建软件的二进制代码包,完成后的二进制代码装会在/usr/src/RPM/RPMS的子目录下,RPMS
下的子目录有与cpu相对应的686,586,386等子目录,我安装后是在i586,文件名将会变为
NVIDIA_kernel-1.0-2960.rpm.
然后再打rpm -ivh NVIDIA_kernel-1.0-2960.rpm安装nvidia专用的x服务器.成功后再运行
rpm -ivh NVIDIA_GLX-1.0-2960.i386.rpm安装openGL驱动.完成后再用vi编辑器编辑
/etc/X11/XF86Config-4文件,在Section "Module"这个字段下边添加Load glx和修改Section "Device"
字段下边的Driver      "nv"改成Driver      "nvidia".重启后就可以在启动x窗口时看到nvidia
的标志,算是成功安装了显卡驱动.
2、redhat 7.3.92:运行rpm -rebuild NVIDIA_kernel-1.0-2960.src.rpm不成功,就试着
rpm -i NVIDIA_kernel-1.0-2960.src.rpm后在/usr/src/redhat/SOUSRCES下有个
rpm -rebuild NVIDIA_kernel-1.0-2960.tar.gz的压缩包,用tar解开后得到NVIDIA_kernel-1.0-2960
目录和下边的源文件,在NVIDIA_kernel-1.0-2960目录下运行make,和make install两个命令.完成后
再用vi编辑/etc/modules.conf,在这个文件中加上一句alias char-major-195 NVdriver.
再用vi编辑/etc/X11/XF86Config这个文件,过程和在mandrake下编辑的内容大致相同.不过要去掉
Load  "dri"和Load  "GLcore"这两项就可以了.安装完成.
回复

使用道具 举报

发表于 2002-8-1 13:34:45 | 显示全部楼层
前天晚上我也从NV网站下了驱动的源代码包,也装上了(提示安装成功),但当我把/etc/X11/XF86Config-4里的Driver "nv"改成Driver "nvidia"后却无法重启X服务器(我的环境是GF2 TI/32M,mandrake9.0beta1),当时把我吓一跳,后来用VI把driver改回"nv"就能正常启动了.不知这是为什么.
回复

使用道具 举报

发表于 2002-8-1 13:38:29 | 显示全部楼层
可能的原因有
1、安装不完全成功,注意看输出信息,有一点错误都不行,注意两个包的安装顺序,先安装kernel,然后是GLX
2、编辑XF86Config-4不对,可能是没有将load "dri 和load "Glcore"去掉
回复

使用道具 举报

发表于 2002-8-1 22:19:16 | 显示全部楼层
刚刚又试了一次,还是不行,驱动编译完全正常,但改成"nvidia"还是不行,load "dri 和load "Glcore"这两行没有找到.
回复

使用道具 举报

发表于 2002-8-1 22:36:37 | 显示全部楼层

你在看看/etc/modules.conf

文件里有没有alias /dev/nvidia*   NVdriver这句,没有的话,加上。装完kernel后还要安装glx,并在/etc/X11/XF86Config-4里加上Load "glx"。看看这样后行不行吧。
回复

使用道具 举报

发表于 2002-8-2 14:30:28 | 显示全部楼层
看看你的/etc/modules.conf里有没有这一句:alias char-major-195 NVdriver
还有编译完后重起,lsmod一下,看有没有NVdriver模块加载了
再不行将你的/var/log/XFree86.0.log里最后的出错信息帖出来看看
回复

使用道具 举报

发表于 2002-10-27 08:58:05 | 显示全部楼层

安装mandrake我也有问题

安装mandrake我也有问题,安装过程中到是没出现什么问题。最后进入系统是提示no screen,很奇怪,我的显卡是找到了,可是我的显示器老是配置不好,没有我的美格770pf型号,我就选了缺省配制。不行啊!
回复

使用道具 举报

发表于 2002-11-8 00:26:54 | 显示全部楼层
你可以试试用差不多的显示器设置,我的是杂牌的,设为菲力蒲,也行呀,其实里面里面没有合适的,可选一款相近 的应该是可以的。
回复

使用道具 举报

发表于 2002-11-16 00:54:48 | 显示全部楼层
到这里看看,可能会对你有帮助。
http://www.linuxsir.com/bbs/showthread.php?s=&threadid=9789
回复

使用道具 举报

发表于 2003-2-24 12:47:40 | 显示全部楼层
我也有一个问题,我的在redhat原版安装的内核上升级了NVIDIA的4191的驱程可以启动x-windows,但是重新编译了内核后却启动不了x-windows,请问各位高手要编译哪一个模块?
回复

使用道具 举报

发表于 2004-5-15 23:20:49 | 显示全部楼层
要的可把下面的文件保存为XF86CONFIG, 在etc/X11/目录下替换原文件\

# File generated by anaconda.

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice        "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# 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.

    RgbPath        "/usr/X11R6/lib/X11/rgb"

# 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.

    FontPath   "unix/:7100"

EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "dri"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"

#        Option        "AutoRepeat"        "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
#        Option        "Protocol"        "Xqueue"

# 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"
        Option        "XkbRules"        "xfree86"
        Option        "XkbModel"        "pc105"
        Option        "XkbLayout"        "us"
        #Option        "XkbVariant"        ""
        #Option        "XkbOptions"        ""
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection


Section "InputDevice"
        Identifier        "Mouse1"
        Driver                "mouse"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "IMPS/2"
        Option                "Emulate3Buttons"        "no"
        Option                "ZAxisMapping"                "4 5"
EndSection


Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync   31.5-48.5
        VertRefresh 50-70
        Option "dpms"

       
EndSection

Section "Device"
        # no known options
        Identifier   "VESA driver (generic)"
        Driver       "vesa"
        VendorName   "VESA driver (generic)"
        BoardName     "VESA driver (generic)"
        
        #BusID
EndSection

Section "Screen"
        Identifier   "Screen0"
        Device       "VESA driver (generic)"
        Monitor      "Monitor0"
        DefaultDepth        16

        Subsection "Display"
                Depth       16
                Modes       "1024x768" "800x600" "640x480"
        EndSubsection

EndSection

Section "DRI"
        Mode 0666
EndSection
回复

使用道具 举报

发表于 2004-5-17 10:32:13 | 显示全部楼层
不同的系统配置能通用吗?
我在REDHAT7.2上装NV的显卡就是装不上,根本就没有XF86Config-4这个文件!?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-13 13:14 , Processed in 0.128362 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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