LINUX.ORG.RU

Проблемы с AIGLX на i915GM


0

0

Всем привет.
Вопрос такой, как прроверить каботает ли AIGLX?
Попытался настроить xorg, как в Gentoo Wiki, но при перетаскивании окон жрёт 99% CPU. Никаких компизов не ставил, просто хочу аппаратную отрисовку. Использую ArchLinux 0.7.2, XOrg 7.1.
Вот мой xorg.conf
[code]
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "screen" 0 0
Option "AIGLX" "true"
InputDevice "kbd" "CoreKeyboard"
InputDevice "mouse" "CorePointer"
InputDevice "synaptics" "SendCoreEvents"
InputDevice "extmouse" "SendCoreEvents"
EndSection
...
Section "Module"
Load "glx"
Load "GLcore"
Load "dbe"
Load "dri"
Load "xtrap"
Load "freetype"
Load "record"
Load "extmod"
SubSection "extmod"
Option "omit XFree86-DGA"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "true"
EndSection
...
Section "Screen"
Identifier "screen"
Device "card0"
Monitor "monitor"
DefaultDepth 16
Option "XaaNoOffscreenPixmaps"

SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection

SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
[\code]

В логе присутствует такой фрагмент
[code](WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
[\code]

А glxinfo говорит в том числе следующее
[code]
# glxinfo
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x5b
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
display: :0 screen: 0
direct rendering: Yes
...
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.5.2
[\code]

не страдай ерундой и поставь beryl поверх иксов. для интеля aiglx не нужен.

Section "ServerLayout"
Identifier "Xorg Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad" "CorePointer"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection

Section "Files"
<Skipped>
EndSection

Section "Module"
Load "ddc" # ddc probing of monitor
Load "dbe"
Load "dri"
Load "fbdevhw"
Load "extmod"
Load "glx"
Load "bitmap" # bitmap-fonts
Load "type1"
Load "freetype"
Load "record"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.10"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
VendorName "Dell"
ModelName "Dell E177FPm"
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 90.0
EndSection

Section "Device"
Identifier "945GM"
Driver "i810"
VendorName "Intel Corp."
BoardName "Intel 945GM"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
Screen 0
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "945GM"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

>EOF<

Видео: Intel 945GM

mutronix ★★★★
()
Ответ на: комментарий от mutronix

А чем берил лучше моего icewmа? Или без него аппаратного рендеринга не будет? Повторяю я просто хочу переложить отрисовку окошек с проца на видюху, 3D красикости мне не надо! Кроме того, зачем строка Load "fbdevhw", если драйвер i810 (или я чего-то не понимаю)? И ещё вопрос, где найти описание опций типа Option "AllowGLXWithComposite" "true"?

evdovin
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.