В чем разница между этими 3 файлами. xorg.conf, xorg.conf.failsafe и xorg.conf.nvidia-xconfig-original

Чем они отличаются. Каковы их функциональные возможности. Я новичок в 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

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
  • почему xorg .conf.nvidia-xconfig-original пуст?
4
задан 28 August 2013 в 17:51

2 ответа

xorg.conf - это тот, который используется, если он доступен. Больше не требуется, поэтому оригинал был пустым; обычно его даже нет, но некоторые скрипты установки, такие как nvidia, будут создавать резервные копии при внесении изменений.

Таким образом, отказоустойчивая копия будет работать, но с уменьшенным разрешением и функциональностью. Возможно, он был создан старым установщиком, так как я не думаю, что nvidia это создает. Но у меня больше нет драйверов nvidia, поэтому я могу ошибаться. Если вы запустите скрипт nvidia более одного раза, у вас будет больше резервных копий.

Если когда-либо возникают проблемы с видео, такие как отсутствие графического интерфейса, вы часто можете использовать терминал, чтобы зайти в каталог и переименовать файлы, чтобы изменить поведение. Теоретически вы можете переименовать xorg.conf в xorg.conf.1 или что-то еще, что вам нужно, а затем скопировать отказоустойчивую версию в xorg.conf.

Есть некоторая хорошая информация о Askubuntu, такая как это:

0
ответ дан 28 August 2013 в 17:51

man xorg.conf даст вам много информации в этом смысле: файл

NAME
   xorg.conf, xorg.conf.d - configuration files for Xorg X server

INTRODUCTION
   Xorg  supports  several  mechanisms for supplying/obtaining configuration
   and run-time parameters: command line options, environment variables, the
   xorg.conf  and xorg.conf.d configuration files, auto-detection, and fall‐
   back defaults. When the same information is supplied  in  more  than  one
   way,  the highest precedence mechanism is used. The list of mechanisms is
   ordered from highest precedence to lowest. Note that not  all  parameters
   can  be  supplied via all methods. The available command line options and
   environment variables (and some defaults) are described in the Xserver(1)
   and  Xorg(1) manual pages. Most configuration file parameters, with their
   defaults, are described below. Driver and module  specific  configuration
   parameters are described in the relevant driver or module manual page.

xorg.conf.failsafe предназначен для случая, когда вы что-то напутали на своей машине и вам нужно загрузиться в отказоустойчивом режиме. По этой причине использование универсального видео драйвера VESA. Опять же, для получения дополнительной информации вы можете позвонить man vesa:

DESCRIPTION
       vesa  is  an Xorg driver for generic VESA video cards.  It can drive most
       VESA-compatible video cards, but only makes use  of  the  basic  standard
       VESA  core  that is common to these cards.  The driver supports depths 8,
       15 16 and 24.

И, наконец, для файла xorg.conf.nvidia-xconfig-original снова вы найдете достаточно информации на страницах руководства. man nvidia-xconfig:

   --restore-original-backup
          Restore  a  backup of the X configuration that was made before any
          changes were made by nvidia-xconfig, if such a  backup  is  avail‐
          able. This type of backup is made by nvidia-xconfig before it mod‐
          ifies an X configuration file that it has not previously  touched;
          this  is  assumed  to be an X configuration file that predates the
          involvement of the NVIDIA X driver. As an example,  nvidia-xconfig
          will  copy  an  X  configuration  file  at  /etc/X11/xorg.conf  to
          /etc/X11/xorg.conf.nvidia-xconfig-original the first time it makes
          changes to that file.
0
ответ дан 28 August 2013 в 17:51

Другие вопросы по тегам:

Похожие вопросы: