LinuxForum.Fans
Тема

Проблема с настроикой xorg

Автор: nill 5 сообщений 5253 просмотров
#205189

Есть нетбук acer A110ab (графика intel gma950)
Установливал систему по хенбуку, неполучаеться настроить x11.
Настраивал x11 по вики http://ru.gentoo-wiki.com/wiki/Acer_Aspire_One_A110AB (и ядро 2.6.39 тоже по тем параметрам)
Соответственно конфиг:

text

# Xorg configuration created by system-config-display
Section "ServerFlags"
    Option "DontZap" "yes"
    Option "DontVTSwitch" "yes"
EndSection

Section "DRI" Group "video" Mode 0666 EndSection

Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "AlwaysCore" InputDevice "Keyboard0" "CoreKeyboard" EndSection

Section "Files" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/cyrillic/" EndSection

Section "Module" Load "glx" Load "dri" Load "drm" Load "freetype" Load "extmod" Load "dbe" Load "record" ## Load "xtrap" ## Load "type1" EndSection

Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbModel" "pc105" Option "XkbLayout" "us,ru(winkeys)" Option "XkbVariant" "euro" Option "XkbOptions" "grp:ctrl_shift_toggle" EndSection

Section "InputDevice" Identifier "Mouse0" Driver "synaptics" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5 6 7" Option "Protocol" "auto" Option "CorePointer" EndSection

Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "no" EndSection

Section "Monitor" Identifier "Monitor0" Modeline "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +VSync # Option "Above" "Monitor1" EndSection

Section "Device" Identifier "Videocard0" Driver "intel" # Option "monitor-LVDS" "Monitor0" # Option "monitor-VGA" "Monitor1" Option "Clone" "true" Option "MonitorLayout" "LVDS,VGA" Option "AccelMethod" "exa" Option "DRI" "True" Option "MigrationHeuristic" "greedy" BusID "PCI:0:2:0" # Screen 0 EndSection

Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x600" Virtual 1024 768 EndSubSection EndSection

Выдает ошибку:

text

[   977.539] 
X.Org X Server 1.10.4
Release Date: 2011-08-19
[   977.539] X Protocol Version 11, Revision 0
[   977.540] Build Operating System: Linux 2.6.39-gentoo-r3 i686 Gentoo
[   977.540] Current Operating System: Linux one-laptop 2.6.39-gentoo-r3 #3 SMP Sun Nov 13 20:21:20 EET 2011 i686
[   977.540] Kernel command line: root=/dev/sda3
[   977.541] Build Date: 13 November 2011  06:05:24PM
[   977.541]  
[   977.541] Current version of pixman: 0.22.2
[   977.541]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   977.542] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   977.543] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 13 20:43:37 2011
[   977.544] (++) Using config file: "/root/xorg.conf.or"
[   977.544] (==) ServerLayout "Default Layout"
[   977.544] (**) |-->Screen "Screen0" (0)
[   977.544] (**) |   |-->Monitor "Monitor0"
[   977.545] (**) |   |-->Device "Videocard0"
[   977.545] (**) |-->Input Device "Mouse0"
[   977.545] (**) |-->Input Device "Mouse1"
[   977.545] (**) |-->Input Device "Keyboard0"
[   977.545] (**) Option "DontVTSwitch" "yes"
[   977.545] (**) Option "DontZap" "yes"
[   977.545] (==) Automatically adding devices
[   977.545] (==) Automatically enabling devices
[   977.546] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/,
    /usr/share/fonts/cyrillic/,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[   977.546] (==) ModulePath set to "/usr/lib/xorg/modules"
[   977.547] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   977.547] (WW) Disabling Mouse1
[   977.547] (WW) Disabling Keyboard0
[   977.547] (II) Loader magic: 0x8201d80
[   977.547] (II) Module ABI versions:
[   977.547]     X.Org ANSI C Emulation: 0.4
[   977.547]     X.Org Video Driver: 10.0
[   977.547]     X.Org XInput driver : 12.2
[   977.547]     X.Org Server Extension : 5.0
[   977.549] (--) PCI:*(0:0:2:0) 8086:27ae:1025:015b rev 3, Mem @ 0x38480000/524288, 0x20000000/268435456, 0x38500000/262144, I/O @ 0x000060c0/8
[   977.549] (--) PCI: (0:0:2:1) 8086:27a6:1025:015b rev 3, Mem @ 0x38400000/524288
[   977.549] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   977.549] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[   977.549] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[   977.550] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   977.550] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[   977.550] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[   977.550] (II) "dri2" will be loaded by default.
[   977.550] (II) LoadModule: "glx"
[   977.550] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   977.551] (II) Module glx: vendor="X.Org Foundation"
[   977.551]     compiled for 1.10.4, module version = 1.0.0
[   977.551]     ABI class: X.Org Server Extension, version 5.0
[   977.551] (==) AIGLX enabled
[   977.551] (II) Loading extension GLX
[   977.551] (II) LoadModule: "dri"
[   977.551] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   977.552] (II) Module dri: vendor="X.Org Foundation"
[   977.552]     compiled for 1.10.4, module version = 1.0.0
[   977.552]     ABI class: X.Org Server Extension, version 5.0
[   977.552] (II) Loading extension XFree86-DRI
[   977.552] (II) LoadModule: "extmod"
[   977.552] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   977.553] (II) Module extmod: vendor="X.Org Foundation"
[   977.553]     compiled for 1.10.4, module version = 1.0.0
[   977.553]     Module class: X.Org Server Extension
[   977.553]     ABI class: X.Org Server Extension, version 5.0
[   977.553] (II) Loading extension MIT-SCREEN-SAVER
[   977.553] (II) Loading extension XFree86-VidModeExtension
[   977.553] (II) Loading extension XFree86-DGA
[   977.553] (II) Loading extension DPMS
[   977.553] (II) Loading extension XVideo
[   977.553] (II) Loading extension XVideo-MotionCompensation
[   977.553] (II) Loading extension X-Resource
[   977.553] (II) LoadModule: "dbe"
[   977.553] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   977.554] (II) Module dbe: vendor="X.Org Foundation"
[   977.554]     compiled for 1.10.4, module version = 1.0.0
[   977.554]     Module class: X.Org Server Extension
[   977.554]     ABI class: X.Org Server Extension, version 5.0
[   977.554] (II) Loading extension DOUBLE-BUFFER
[   977.554] (II) LoadModule: "record"
[   977.554] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   977.554] (II) Module record: vendor="X.Org Foundation"
[   977.554]     compiled for 1.10.4, module version = 1.13.0
[   977.554]     Module class: X.Org Server Extension
[   977.554]     ABI class: X.Org Server Extension, version 5.0
[   977.555] (II) Loading extension RECORD
[   977.555] (II) LoadModule: "dri2"
[   977.555] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   977.555] (II) Module dri2: vendor="X.Org Foundation"
[   977.555]     compiled for 1.10.4, module version = 1.2.0
[   977.555]     ABI class: X.Org Server Extension, version 5.0
[   977.555] (II) Loading extension DRI2
[   977.555] (II) LoadModule: "intel"
[   977.556] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   977.556] (II) Module intel: vendor="X.Org Foundation"
[   977.556]     compiled for 1.10.4, module version = 2.15.0
[   977.556]     Module class: X.Org Video Driver
[   977.556]     ABI class: X.Org Video Driver, version 10.0
[   977.556] (II) LoadModule: "synaptics"
[   977.557] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   977.557] (II) Module synaptics: vendor="X.Org Foundation"
[   977.557]     compiled for 1.10.4, module version = 1.4.0
[   977.557]     Module class: X.Org XInput Driver
[   977.557]     ABI class: X.Org XInput driver, version 12.2
[   977.557] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
    Sandybridge, Sandybridge
[   977.559] (--) using VT number 7

[ 977.568] (EE) No devices detected. [ 977.568] Fatal server error: [ 977.569] no screens found [ 977.569] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 977.569] Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 977.569]

В чем может быть проблема??

text

#lspci | grep grap
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
#205215

[ 977.568] (EE) No devices detected.

Не определяет устройство. Возможно, стоит поменять

text
Section "Device"
    Identifier  "Videocard0"
    Driver      "intel"
#  Option      "monitor-LVDS" "Monitor0"
#  Option        "monitor-VGA" "Monitor1"
    Option        "Clone" "true"
    Option    "MonitorLayout"    "LVDS,VGA"
    Option "AccelMethod" "exa"
    Option "DRI" "True"
    Option "MigrationHeuristic" "greedy"
    BusID    "PCI:0:2:1"                            <<<===
#  Screen    0
EndSection

или убрать (закомментировать) эту опцию совсем.

#205331

Не помогает :( , выдает тоже самое. Хелп!!

#205689

Такой вопрос.

Процесс настройки X11 является многошаговым. Первый шаг заключается в построении начального конфигурационного файла. Работая с правами суперпользователя, просто запустите:
[console]# Xorg -configure[/console]

При этом в каталоге /root будет создан скелет конфигурационного файла X11 под именем xorg.conf.new (там, куда после su или непосредственного входа будет указывать переменная $HOME). Программа X11 сделает попытку распознать графическое оборудование системы и запишет конфигурационный файл, загружающий правильные драйверы для обнаруженного оборудования в системе.

Следующим шагом является тестирование существующей конфигурации для проверки того, что Xorg может работать с графическим оборудованием в настраиваемой системе. Для этого выполните:
[console]# Xorg -config /root/xorg.conf.new[/console]

Начиная с Xorg 7.4 и выше, это тестирование покажет лишь черный экран, что делает диагностику не совсем полноценным. Старое поведение будет доступно при использовании опции retro
[console]# Xorg -config /root/xorg.conf.new -retro[/console]

Если появилась чёрно-белая сетка и курсор мыши в виде X, то настройка была выполнена успешно. Для завершения тестирования просто нажмите одновременно Ctrl+Alt+Backspace.

[...]

Если все в порядке, то конфигурационный файл нужно установить в общедоступное место, где его сможет найти Xorg. Обычно это /etc/X11/xorg.conf.
[console]# cp /root/xorg.conf.new /etc/X11/xorg.conf[/console]

http://www.freebsd.org/doc/ru/books/handbook/x-config.html

Вот это вы делали?

#205691

Да делал. По умолчанию (# Xorg -configure) выдает:

text
[    52.457] 
X.Org X Server 1.10.4
Release Date: 2011-08-19
[    52.458] X Protocol Version 11, Revision 0
[    52.458] Build Operating System: Linux 2.6.39-gentoo-r3 i686 Gentoo
[    52.459] Current Operating System: Linux one-laptop 2.6.39-gentoo-r3 #3 SMP Sun Nov 13 20:21:20 EET 2011 i686
[    52.459] Kernel command line: root=/dev/sda3
[    52.459] Build Date: 13 November 2011  06:05:24PM
[    52.460]  
[    52.460] Current version of pixman: 0.22.2
[    52.460]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    52.461] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    52.462] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 15 23:48:54 2011
[    52.462] (II) Loader magic: 0x8201d80
[    52.462] (II) Module ABI versions:
[    52.462]     X.Org ANSI C Emulation: 0.4
[    52.462]     X.Org Video Driver: 10.0
[    52.462]     X.Org XInput driver : 12.2
[    52.462]     X.Org Server Extension : 5.0
[    52.464] (--) PCI:*(0:0:2:0) 8086:27ae:1025:015b rev 3, Mem @ 0x38480000/524288, 0x20000000/268435456, 0x38500000/262144, I/O @ 0x000060c0/8
[    52.465] (--) PCI: (0:0:2:1) 8086:27a6:1025:015b rev 3, Mem @ 0x38400000/524288
[    52.465] List of video drivers:
[    52.466]     intel
[    52.466] (II) LoadModule: "intel"
[    52.466] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    52.467] (II) Module intel: vendor="X.Org Foundation"
[    52.467]     compiled for 1.10.4, module version = 2.15.0
[    52.467]     Module class: X.Org Video Driver
[    52.467]     ABI class: X.Org Video Driver, version 10.0
[    52.467] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
    Sandybridge, Sandybridge
[    52.528] (++) Using config file: "/root/xorg.conf.new"
[    52.528] (==) ServerLayout "X.org Configured"
[    52.528] (**) |-->Screen "Screen0" (0)
[    52.528] (**) |   |-->Monitor "Monitor0"
[    52.529] (**) |   |-->Device "Card0"
[    52.529] (**) |-->Input Device "Mouse0"
[    52.529] (**) |-->Input Device "Keyboard0"
[    52.529] (==) Automatically adding devices
[    52.529] (==) Automatically enabling devices
[    52.529] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[    52.529] (**) ModulePath set to "/usr/lib/xorg/modules"
[    52.530] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    52.530] (WW) Disabling Mouse0
[    52.530] (WW) Disabling Keyboard0
[    52.533] Number of created screens does not match number of detected devices.
  Configuration failed.

Вот еще мой конфиг ядра:
http://pastebin.com/Z5VPts8G

Оч. хочу поставить на нетбук генту (т.к. бубунты тянут много лишнего).

UPD. проблема решена перекомпиляцией ядра: http://en.gentoo-wiki.com/wiki/Intel_GMA

Войдите или зарегистрируйтесь, чтобы ответить.