安装驱动问题(显卡)
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
安装驱动问题(显卡)
头回装谢谢大家帮助
我安装显卡驱动时候总是装不上
glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
下面列举了我的步骤我错那里了
我运行了更新系统程序 一共更新了1004个程序 公用时1小时49分钟
首先我在NVIDIA下载了驱动
地址为:http://www.nvidia.com/page/home.html
版本为:nvidia-Linux-x86-173.14.12.pkg1.run
现在连接:http://www.nvidia.com/object/linux_disp ... 14.12.html
删除原驱动包
sudo apt-get --purge remove nvidia-glx nvidia-glx-new
安装编译
sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`
安装编译包。
备份
sudo cp /etc/default/linux-restricted-modules-common etc/default/linux-restricted-modules-common.backup
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
禁止系统使用默认的驱动
sudo gedit /etc/default/linux-restricted-modules-common
更改文件名为1w.rum
停止GDM进程
sudo /etc/init.d/gdm sto
安装
sudo sh 1w.rum
从起
reboot
另外我曾经更改过分辨率(未果)
1.在终端里输入以下命令对文件进行编辑:
sudo gedit /etc/X11/xorg.conf
2.输入超级管理员的密码。(如果之前是使用超级管理员账号登入的话,则自动跳过。)
3.找到“Section "Monitor" ”代码段,修改成下面的信息:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 40-83(修改屏幕分辨率的位置)
VertRefresh 50-76(修改屏幕分辨率的位置,可以调整成显卡支持的最大值,比如我的设置为50-76)
End Section
(备注:保存后退出重启,你可以发现你的分辨率已经修改成1024*768,如果你还想要 1028*1024或者更高的分辨率,请看第四点。)
4.找到“Section "Screen"”代码段,在其中添加下列代码:
SubSection "Display"
Depth 16
des "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
dSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
我安装显卡驱动时候总是装不上
glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
下面列举了我的步骤我错那里了
我运行了更新系统程序 一共更新了1004个程序 公用时1小时49分钟
首先我在NVIDIA下载了驱动
地址为:http://www.nvidia.com/page/home.html
版本为:nvidia-Linux-x86-173.14.12.pkg1.run
现在连接:http://www.nvidia.com/object/linux_disp ... 14.12.html
删除原驱动包
sudo apt-get --purge remove nvidia-glx nvidia-glx-new
安装编译
sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`
安装编译包。
备份
sudo cp /etc/default/linux-restricted-modules-common etc/default/linux-restricted-modules-common.backup
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
禁止系统使用默认的驱动
sudo gedit /etc/default/linux-restricted-modules-common
更改文件名为1w.rum
停止GDM进程
sudo /etc/init.d/gdm sto
安装
sudo sh 1w.rum
从起
reboot
另外我曾经更改过分辨率(未果)
1.在终端里输入以下命令对文件进行编辑:
sudo gedit /etc/X11/xorg.conf
2.输入超级管理员的密码。(如果之前是使用超级管理员账号登入的话,则自动跳过。)
3.找到“Section "Monitor" ”代码段,修改成下面的信息:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 40-83(修改屏幕分辨率的位置)
VertRefresh 50-76(修改屏幕分辨率的位置,可以调整成显卡支持的最大值,比如我的设置为50-76)
End Section
(备注:保存后退出重启,你可以发现你的分辨率已经修改成1024*768,如果你还想要 1028*1024或者更高的分辨率,请看第四点。)
4.找到“Section "Screen"”代码段,在其中添加下列代码:
SubSection "Display"
Depth 16
des "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
dSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
http://wiki.ubuntu.org.cn/Nvidia%E6%89%8B%E5%86%8Csyrano 写了:用重启安装完后
sudo /etc/init.d/gdm start
sudo gedit /etc/default/linux-restricted-modules-common 在最后的双引号里面添加nv nv_new两个字,添加后就是“nv nv_new”
你是什么显卡?
gf4以上(不包括gf4)才用nvidia-Linux-x86-173.14.12.pkg1.run
E=m c^2
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
改这一段phoebuswei 写了:我在现有驱动之上有更新了173.14.09-1ubuntu2
现在显示是Operating System:Linux-x86
NVIDIA Driver Version:169.12
而且从新自动生成了/etc/X11/xorg.conf
显示器型号已经成功识别了但是还是不能调节我的现在分辨率还是640*480
代码: 全选
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 90.0
VertRefresh 50.0 - 120.0
Option "DPMS"
EndSection
代码: 全选
HorizSync 30.0 - 90.0
VertRefresh 50.0 - 120.0
E=m c^2
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
我又嘀咕了一下
现在xorg为
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG FLATRON 775FT"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6100"
EndSection
但是只要是一从新启动就没了要从新设置
现在xorg为
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG FLATRON 775FT"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6100"
EndSection
但是只要是一从新启动就没了要从新设置
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41
-
- 帖子: 33
- 注册时间: 2008-08-12 0:41