LINUX.ORG.RU

ArchLinux


0

0

Переехал на него с убунты.
Проблема с Xorg.
Вернее с производительностью Xorg при работе в gnome-terminal.
При прокрутке вывода консоли (хоть колёсиком мышыным, хоть полосой прокрутки) Xorg начинает отжирать ~40% проца.
При работе в VIM (а также в GVIM и в "родном" арчевом VI) при прокрутке текста стрелками вниз/вверх Xorg работает уже на 70-80%.
Пробовал разные xorg.config.
Пробовал драйвера как intel, так и i810.
Ничего не изменяется.
Может подскажет кто-нибудь, где копать.
Заранее спасибо.

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

Ответ на: комментарий от koolig

$ glxinfo | head
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group

LeniVetc
() автор топика
Ответ на: комментарий от koolig

Section "Device"
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "All"
	BoardName   "All"
EndSection

LeniVetc
() автор топика
Ответ на: комментарий от koolig

$ grep -i dri /var/log/Xorg.0.log
	X.Org Video Driver: 2.0
	X.Org XInput driver : 2.0
	ABI class: X.Org Video Driver, version 2.0
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 2.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	ABI class: X.Org Video Driver, version 2.0
	ABI class: X.Org Video Driver, version 2.0
	ABI class: X.Org Video Driver, version 2.0
(II) Loading /usr/lib/xorg/modules/drivers//sil164.so
	ABI class: X.Org Video Driver, version 2.0
(II) Loading /usr/lib/xorg/modules/drivers//ch7xxx.so
	ABI class: X.Org Video Driver, version 2.0
(II) Loading /usr/lib/xorg/modules/drivers//ivch.so
	ABI class: X.Org Video Driver, version 2.0
(II) Loading /usr/lib/xorg/modules/drivers//tfp410.so
	ABI class: X.Org Video Driver, version 2.0
(II) Loading /usr/lib/xorg/modules/drivers//ch7017.so
	ABI class: X.Org Video Driver, version 2.0
	ABI class: X.Org Video Driver, version 2.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) [drm] loaded kernel module for "i915" driver.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [dri] visual configs initialized
(II) EXA(0): Driver registered support for the following operations:
(II) intel(0): [DRI] installation complete
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(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

LeniVetc
() автор топика
Ответ на: комментарий от koolig

$ grep -i drm /var/log/Xorg.0.log
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): [drm] installed DRM signal handler
(II) intel(0): [drm] Registers = 0xfc400000
(II) intel(0): [drm] ring buffer = 0xf0000000
(II) intel(0): [drm] mapped front buffer at 0xf07e0000, handle = 0xf07e0000
(II) intel(0): [drm] mapped back buffer at 0xf4020000, handle = 0xf4020000
(II) intel(0): [drm] mapped depth buffer at 0xf4e30000, handle = 0xf4e30000
(II) intel(0): [drm] mapped classic textures at 0xf5c40000, handle = 0xf5c40000
(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
(II) intel(0): [drm] dma control initialized, using IRQ 17
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0

LeniVetc
() автор топика
Ответ на: комментарий от LeniVetc

Как-то настраивал один компьютер. Правда там gentoo.

uname

2.6.22-kamikaze7 #1 PREEMPT Thu Aug 30 17:43:40 KRAST 2007 i686 Intel(R) Celeron(R) CPU 2.60GHz GenuineIntel GNU/Linux

lspci

00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

Конфигурация ядра:

Processor type and features  --->
[*] MTRR (Memory Type Range Register) support

Device Drivers  ---> Character devices
<M> /dev/agpgart (AGP Support)
<M>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

cat /proc/mtrr 

reg00: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
reg01: base=0x10000000 ( 256MB), size= 128MB: write-back, count=1
reg02: base=0x18000000 ( 384MB), size=  64MB: write-back, count=1
reg03: base=0x1c000000 ( 448MB), size=  32MB: write-back, count=1
reg04: base=0xf0000000 (3840MB), size= 128MB: write-combining, count=1

lsmod

i915                   27648  2 
drm                   117424  3 i915
intel_agp              21396  1 
agpgart                26928  3 drm,intel_agp

DRM, который в ядре не используется. Ставил вот это:

emerge -s x11-drm

*  x11-base/x11-drm
      Latest version available: 20071019
      Latest version installed: 20071019
      Size of files: 476 kB
      Homepage:      http://dri.sf.net
      Description:   DRM Kernel Modules for X11
      License:       X11

X сервер:

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3

Частично xorg.conf:

Section "Extensions"
        Option "Composite"  "False"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82865G Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
        Option      "XVideo"  "True"
        Option      "Legacy3D"  "True"
        Option      "TripleBuffer"  "False"
        Option      "AccelMethod"  "EXA"
        Option      "ModeDebug"  "False"
EndSection

Section "DRI"
        Mode 0666
EndSection

koolig
()

Попробуй еще в xorg.conf в секцию Screen подобавлять/поубирать/подставить true/false в опции:

Option "RenderAccel" "true" Option "DRI" "true"

DiGital
()

Спасибо всем откликнувшимся. Ни один из советов не помог. Если за пару дней не найду решения, придётся возвращаться на убунту - там всё в порядке с производительностью :)

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