cha*_*HXC 5 nvidia xorg 12.04 drivers
它们有何不同。它们的功能是什么。我是 ubuntu 新手,我正在使用 ubuntu 12.04LTS。
这是他们的内容。
xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.88 (buildmeister@swio-display-x86-rhel47-14) Wed Mar 27 15:36:45 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
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
Run Code Online (Sandbox Code Playgroud)
xorg.conf.failsafe
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Run Code Online (Sandbox Code Playgroud)
xorg.conf 是正在使用的文件(如果可用)。不再需要它,这就是为什么原来的内容是空的;通常,它甚至不存在,但某些安装脚本(例如 nvidia)会在进行更改时创建备份副本。
因此,故障安全副本是一种可行的副本,但分辨率和功能会有所降低。它可能是由旧的安装程序创建的,因为我不认为 nvidia 创建了它。但我不再有 nvidia 驱动程序,所以我可能会弄错。如果您多次运行 nvidia 脚本,您最终会得到更多备份。
如果视频出现问题,例如根本没有 GUI,您通常可以使用终端进入目录并重命名文件以更改行为。理论上,您可以将 xorg.conf 重命名为 xorg.conf.1 或您想要的任何其他名称,然后将故障安全版本复制到 xorg.conf。
关于askubuntu 有一些很好的信息,例如:
man xorg.conf从这个意义上讲,会给你很多信息:
\n\n\nRun Code Online (Sandbox Code Playgroud)\nNAME\n xorg.conf, xorg.conf.d - configuration files for Xorg X server\n\nINTRODUCTION\n Xorg supports several mechanisms for supplying/obtaining configuration\n and run-time parameters: command line options, environment variables, the\n xorg.conf and xorg.conf.d configuration files, auto-detection, and fall\xe2\x80\x90\n back defaults. When the same information is supplied in more than one\n way, the highest precedence mechanism is used. The list of mechanisms is\n ordered from highest precedence to lowest. Note that not all parameters\n can be supplied via all methods. The available command line options and\n environment variables (and some defaults) are described in the Xserver(1)\n and Xorg(1) manual pages. Most configuration file parameters, with their\n defaults, are described below. Driver and module specific configuration\n parameters are described in the relevant driver or module manual page.\n
xorg.conf.failsafe文件适用于您的计算机上出现某些问题并且需要以故障安全模式启动的情况。为此,使用通用 VESA 视频驱动程序。同样,如需了解更多信息,您可以致电man vesa:
\n\n\nRun Code Online (Sandbox Code Playgroud)\nDESCRIPTION\n vesa is an Xorg driver for generic VESA video cards. It can drive most\n VESA-compatible video cards, but only makes use of the basic standard\n VESA core that is common to these cards. The driver supports depths 8,\n 15 16 and 24.\n
最后,对于xorg.conf.nvidia-xconfig-original文件,您将再次在手册页中找到足够的信息。man nvidia-xconfig:
\n\nRun Code Online (Sandbox Code Playgroud)\n--restore-original-backup\n Restore a backup of the X configuration that was made before any\n changes were made by nvidia-xconfig, if such a backup is avail\xe2\x80\x90\n able. This type of backup is made by nvidia-xconfig before it mod\xe2\x80\x90\n ifies an X configuration file that it has not previously touched;\n this is assumed to be an X configuration file that predates the\n involvement of the NVIDIA X driver. As an example, nvidia-xconfig\n will copy an X configuration file at /etc/X11/xorg.conf to\n /etc/X11/xorg.conf.nvidia-xconfig-original the first time it makes\n changes to that file.\n