[已解决]2台相同的电脑,一台装NV驱动成功,另一台装完后无法识别显卡(xorg.conf中的细节)

CPU/显卡/打印机/USB设备等硬件问题
回复
geeses
帖子: 2
注册时间: 2008-05-10 20:05

[已解决]2台相同的电脑,一台装NV驱动成功,另一台装完后无法识别显卡(xorg.conf中的细节)

#1

帖子 geeses » 2008-05-15 13:22

公司里有两台相同配置的电脑,P4 3.0GHz,512M,GeForce 6600GT,都使用ubuntu 7.10,需要登录公司的域。
一台使用“ rw init=/bin/bash”的方法取得本地root权限之后,安装NV官方驱动 NVIDIA-Linux-x86-169.12-pkg1.run 之后重新起动,各项功能均可正常使用。(显示器为 PHILIPS 107 S6白)
但是另一台使用相同方法安装之后,在启动X之后出现无法识别显卡的提示,只能运行在低分辨率模式下。卸载驱动,备份回 xorg.conf 之后恢复到初始状态。(显示器为 PHILIPS 107 S7黑)
把正常的那台机器的硬盘拔下,装到失败的那台上启动后,各项功能也可正常使用。

据此,个人判断应该是软件设置的问题。
请问各位大大有什么思路?
谢谢!


---------------
成功的 xorg.conf 片段,安装之前

代码: 全选

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce 6600]"
	Driver		"nv"
	BusID		"PCI:4:0:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation NV43 [GeForce 6600]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
EndSection
成功的 xorg.conf 片段,安装之后

代码: 全选

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce 6600]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce 6600]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection
失败的 xorg.conf 片段,安装之前

代码: 全选

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce 6600]"
	Driver		"nv"
	BusID		"PCI:4:0:0"
EndSection

Section "Monitor"
	Identifier	"PH107E/S/T7"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation NV43 [GeForce 6600]"
	Monitor		"PH107E/S/T7"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection
失败的 xorg.conf 片段,安装之后

代码: 全选

Section "Monitor"
    Identifier     "PH107E/S/T7"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce 6600]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce 6600]"
    Monitor        "PH107E/S/T7"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection


-----------------------------------------------------

问题解决了,安装完NV驱动之后,不要马上重新启动,先修改 xorg.conf
修改的重点在于:
1、不管显示器识别成什么型号,把 Monitor 这一段修改成如下,而且 HorizSync 和 VertRefresh 一定要放在 Option 之前!不然就是显卡无法识别、low-resolution

代码: 全选

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection
2、Screen 这一段中的 Monitor 也要换成 "Generic Monitor",如果没有 SubSection 就要自己加上去,Modes 写成 "1024x768" 个人感觉更放心一些。

代码: 全选

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce 6600]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection
使用以上方法,在其他配置的机器上也获得成功(MX440, 5200, 7300GT, 8500)
回复