我用DVD安装openSUSE13.2 XFCE桌面。
#zypper addrepo -f
ftp://download![[怒]](/static/emoticons/u6012.png)
.nvidia.com/opensuse/13.2/ nvidia
#zypper ref
#zypper in x11-video-nvidiaG02-*
之后进桌面明显nouveau被禁了,因为分辨率很低。
nvidia-setting打开说需要root运行nvidia-xconfig
结果是
WARNING: Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'
打开xorg.conf内容如下
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.128 (buildmeister@swio-display-x64-rhel04-03) Wed Aug 26 11:44:02 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/mouse"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
重启:
进不了桌面。卡在命令登录界面。
恢复模式更惨,命令行登录都到不了。
删除xorg.conf。
可以进桌面了。是禁用nouveau模式的桌面。
NVIDIA怎么安装呢???
备注:
安装中有降级某某软件。
有同名,不同内容的文件。新的覆盖旧文件。
系统没更新就装的NVIDIA。
使用阿里云源。