红联Linux门户
Linux帮助

MX440显卡在Linux下驱程的安装

发布时间:2008-06-07 10:59:53来源:红联作者:Yutie
我的MX440显卡在Linux下驱程的安装:

#sudo apt-get install linux-source
//删除自带的驱动和安装xorg-dev linux-headers
sudo apt-get remove nvidia-glx
sudo apt-get remove nvidia-settings nvidia-kernel-common
sudo rm /etc/init.d/nvidia-*
sudo apt-get install xorg-dev linux-headers-$(uname -r) build-essential

//在最后的""中加入nv或者nv_NEW还是什么的,看#上边的说明
sudo gedit /etc/default/linux-restricted-modules-common

//安装编译环境
sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`

//备份xorgconf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_XP

//修改xorgcomf
sudo gedit /etc/X11/xorg.conf
在Section "Device"加入
Option "TripleBuffer" "true"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
添加段
Section "Extensions"
Option "Composite" "Enable"
EndSection

sudo /etc/init.d/gdm stop
sudo sh NVIDIA-Linux-x86-1.0-9631-pkg1.run

这是我的xorg.conf,修正窗口没边框的情况(老卡真痛苦阿~):
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "1280x800_60 +0+0; 800x600 +0+0; 640x480 +0+0"
//加入如下几行
Option "RenderAccel" "true"
Option "TripleBuffer" "True"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
//加完
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
文章评论

共有 2 条评论

  1. princeofdream 于 2008-06-08 00:18:21发表:

    我还是习惯手工安装,就像用Radhat时代一样~
    呵呵,那么支持我的博文啊,还要感谢一下你呢~Yutie 我这只是备忘的,没多大技术含量和解析~多多指教~

  2. rzzs 于 2008-06-07 12:06:43发表:

    pclinuxos-cn-2008-0中文版有N卡、A卡的驱动安装工具,不需人工干预,非常好用,简单的很。