[решено] Создается "кривой" файл xorg.conf

Здесь можно задавать любые вопросы по установке и настройке Lubuntu Linux

Модератор: Vadim

Ответить

Автор темы
den500
Сообщения: 15
Зарегистрирован: 28 июн 2015, 22:19

[решено] Создается "кривой" файл xorg.conf

#1

Сообщение den500 » 30 июн 2015, 22:54

Здравствуйте! Продолжаю борьбу со своим монитором(пытаюсь выдать на него 100Гц). Выплыла очередная проблема- создается "кривой" файл xorg.conf.
Старая машина с видушкой GeForce 6200 и проприетарный драйвер version 304.125 из nvidia-304-updates. Установлена lubuntu 14.04.2 LTS (Kernel: Linux 3.13.0-32-generic (i686).
Делаю по инструкции. В терминале sudo /etс/init.d/lightdm stop
затем sudo Xorg — configure -тут система ругаетца, но файл xorg.conf.new создает. Копирую его в /etc/X11/xorg.conf Стартую lightdm и получаю сообщение о системной ошибке. После удаления /etc/X11/xorg.conf сообщения об ошибке пропадают.

Вот кусок лога
Xorg.0.logПоказать
[ 153.078] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 153.078] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 153.078] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 153.078] (WW) Falling back to old probe method for siliconmotion
[ 153.078] (II) NVIDIA dlloader X Driver 304.125 Mon Dec 1 19:57:42 PST 2014
[ 153.078] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 153.078] (WW) Falling back to old probe method for s3
[ 153.078] (WW) Falling back to old probe method for sisusb
[ 153.078] (WW) Falling back to old probe method for sis
[ 153.078] (II) VESA: driver for VESA chipsets: vesa
[ 153.078] (II) FBDEV: driver for framebuffer: fbdev
[ 153.087] (++) Using config file: "/home/den/xorg.conf.new"
[ 153.095] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 153.096] (==) ServerLayout "X.org Configured"
[ 153.096] (**) |-->Screen "Screen0" (0)
[ 153.096] (**) | |-->Monitor "Monitor0"
[ 153.097] (**) | |-->Device "Card0"
[ 153.097] (**) |-->Screen "Screen1" (1)
[ 153.097] (**) | |-->Monitor "Monitor1"
[ 153.097] (**) | |-->Device "Card1"
[ 153.097] (**) |-->Input Device "Mouse0"
[ 153.097] (**) |-->Input Device "Keyboard0"
[ 153.097] (==) Automatically adding devices
[ 153.097] (==) Automatically enabling devices
[ 153.097] (==) Automatically adding GPU devices
[ 153.097] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 153.098] Entry deleted from font path.
[ 153.098] (**) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins,
/usr/share/fonts/X11/misc,
built-ins
[ 153.098] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 153.098] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 153.098] (WW) Disabling Mouse0
[ 153.098] (WW) Disabling Keyboard0
[ 153.099] (WW) Falling back to old probe method for modesetting
[ 153.099] (EE)
[ 153.107] (EE) Backtrace:
[ 153.115] (EE) 0: Xorg (xorg_backtrace+0x4f) [0xb77661bf]
[ 153.123] (EE) 1: Xorg (0xb75bd000+0x1acfa4) [0xb7769fa4]
[ 153.131] (EE) 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb759a40c]
[ 153.139] (EE)
[ 153.148] (EE) Segmentation fault at address 0x0
[ 153.156] (EE)
Fatal server error:
[ 153.171] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 153.179] (EE)
[ 153.187] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 153.213] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
xorg.confПоказать
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
Identifier "Card1"
Driver "modesetting"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Почему системе не нравиться xorg.conf?


Автор темы
den500
Сообщения: 15
Зарегистрирован: 28 июн 2015, 22:19

Re: Создается "кривой" файл xorg.conf

#2

Сообщение den500 » 01 июл 2015, 22:00

В общем победил. Выкинул из xorg.conf все лишнее и непонятное. Потом в секции Monitor прописал там мою строчку ModeLine "1024x768_100.00" 112.25 1024 1096 1200 1376 768 771 775 816 -hsync +vsync (получил ее из cvt 1024 768 100).
После перезагрузки разрешение 100Гц появилось и в xrandr и в "Параметры"- "Настройки дисплея", а также в Nvidia X Server Settings. Но переключить в этот режим никак не получалось. Монитор упрямо показывал 1024х768@75. При помощи Nvidia X Server Settings выставил разрешение и нужную мне частоту 100 и нажал "Save to X Configuration File". После перезагрузки монитор стал показывать 1024х768 и частоту 81.7kHz/100Hz. Прикладываю итоговый xorg.conf может кому поможет.
xorg.conf до модификации Nvidia X Server SettingsПоказать
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Modeline "1024x768_100.00" 112.25 1024 1096 1200 1376 768 771 775 816 -hsync +vsync
# HorizSync 30.0 - 86.0
# VertRefresh 50.0 - 150.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Modeline "1024x768_100.00" 112.25 1024 1096 1200 1376 768 771 775 816 -hsync +vsync
# HorizSync 30.0 - 86.0
# VertRefresh 50.0 - 150.0
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
итоговый xorg.confПоказать
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@komainu) Mon Feb 3 15:11:14 UTC 2014

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL P780"
HorizSync 30.0 - 85.0
VertRefresh 48.0 - 120.0
ModeLine "1024x768_100.00" 112.250 1024 1096 1200 1376 768 771 775 816 -hsync +vsync
ModeLine "1920x1200" 154.000 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync
ModeLine "1920x1080" 138.500 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
ModeLine "1792x1344" 204.800 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
ModeLine "1680x1050" 187.000 1680 1800 1976 2272 1050 1053 1059 1099 -hsync +vsync
ModeLine "1600x1200" 175.500 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
ModeLine "1600x1024" 103.125 1600 1600 1656 1664 1024 1024 1029 1030 +hsync +vsync
ModeLine "1440x900" 106.500 1440 1520 1672 1904 900 903 909 934 -hsync +vsync
ModeLine "1400x1050" 155.800 1400 1464 1784 1912 1050 1052 1064 1090 +hsync +vsync
ModeLine "1360x768" 72.000 1360 1408 1440 1520 768 771 781 790 +hsync -vsync
ModeLine "1280x1024" 135.000 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
ModeLine "1280x960" 108.000 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
ModeLine "1152x864" 121.500 1152 1216 1344 1568 864 865 868 911 +hsync -vsync
ModeLine "1024x768i" 44.900 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
ModeLine "1024x768" 94.500 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
ModeLine "960x600" 77.000 960 984 1000 1040 600 601 604 617 +hsync -vsync doublescan
ModeLine "960x540" 69.250 960 984 1000 1040 540 541 544 555 +hsync -vsync doublescan
ModeLine "896x672" 102.400 896 960 1060 1224 672 672 674 697 -hsync +vsync doublescan
ModeLine "840x525" 93.500 840 900 988 1136 525 526 529 549 -hsync +vsync doublescan
ModeLine "832x624" 57.284 832 864 928 1152 624 625 628 667 -hsync -vsync
ModeLine "800x600" 87.750 800 832 928 1080 600 600 602 625 +hsync +vsync doublescan
ModeLine "800x512" 51.562 800 800 828 832 512 512 514 515 +hsync +vsync doublescan
ModeLine "720x450" 53.250 720 760 836 952 450 451 454 467 -hsync +vsync doublescan
ModeLine "720x400" 35.500 720 756 828 936 400 401 404 446 -hsync +vsync
ModeLine "680x384" 36.000 680 704 720 760 384 385 390 395 +hsync -vsync doublescan
ModeLine "640x512" 67.500 640 648 720 844 512 512 514 533 +hsync +vsync doublescan
ModeLine "640x480" 54.000 640 688 744 900 480 480 482 500 +hsync +vsync doublescan
ModeLine "640x400" 31.500 640 672 736 832 400 401 404 445 -hsync +vsync
ModeLine "640x350" 31.500 640 672 736 832 350 382 385 445 +hsync -vsync
ModeLine "576x432" 60.750 576 608 672 784 432 432 434 455 +hsync -vsync doublescan
ModeLine "512x384" 47.250 512 536 584 688 384 384 386 404 +hsync +vsync doublescan
ModeLine "512x384i" 22.450 512 516 604 632 384 384 388 408 +hsync +vsync interlace doublescan
ModeLine "416x312" 28.642 416 432 464 576 312 312 314 333 -hsync -vsync doublescan
ModeLine "400x300" 28.150 400 416 448 524 300 300 302 315 +hsync +vsync doublescan
ModeLine "360x200" 17.750 360 378 414 468 200 200 202 223 -hsync +vsync doublescan
ModeLine "320x240" 18.000 320 348 376 416 240 240 242 254 -hsync -vsync doublescan
ModeLine "320x200" 15.750 320 336 368 416 200 200 202 222 -hsync +vsync doublescan
ModeLine "320x175" 15.750 320 336 368 416 175 191 192 222 +hsync -vsync doublescan
ModeLine "nvidia-auto-select" 78.750 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6200"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-0"
Option "metamodes" "1024x768_100.00 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
ЗЫ Как добавить в заголовок темы [Решено]?

Аватара пользователя

zhart
Администратор
Сообщения: 1718
Зарегистрирован: 16 дек 2010, 13:09
Контактная информация:

Re: Создается "кривой" файл xorg.conf

#3

Сообщение zhart » 02 июл 2015, 01:17

den500 писал(а):ЗЫ Как добавить в заголовок темы [Решено]?
Редактированием первого сообщения темы. Добавлено.

Ответить