You are not logged in.

#1 2008-05-07 09:31:09

keratos
Member
Registered: 2008-04-27
Posts: 138

anybody using VIA K8M890 vga and the openchrome driver?

I'm using the openchrome driver from the arch extra repo.

NOTE THIS IS NOT THE xserver-xorg-video-openchrome driver, it is the newer one based on the svn source code tree.

Does anyone have a successful configuration using this combination....

Using pacman -S openchrome. Installed fine so I reconfigured my xorg.conf and I restarted X.

However, repainting windows and moving windows is extremely slow. For example if I open a Konsole window for which the schema is transparent, it takes about 2 seconds for the background to be painted inside the Konsole window.

Using the stock vesa driver is much more responsive. How can this be? Surely I have something configured incorrectly. Surely the vesa driver cannot outperform the openchrome dedicated VIA chipset driver.

xorg.conf

$ cat /etc/X11/xorg.conf
Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
#        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/PEX"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/share/fonts/defoma/CID"
        FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "gb"
    Option "XkbVariant" "gb"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto" # Auto detect
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection

Section "Monitor"
    Identifier  "AL1916"
    HorizSync   31.5 - 81.0
    VertRefresh 50-75
EndSection

Section "Device"
    Identifier  "VIA_K8M890"
    Driver      "openchrome"
    Option "AccelMethod" "XAA"
    Option "ActiveDevice" "LCD"
    Option "EnableAGPDMA" "True"
    Option "RenderAccel" "True"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VIA_K8M890"
    Monitor     "AL1916"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
   Mode 0666
EndSection

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

main warnings and errors from the X log file

$ grep -E 'WW|EE' /var/log/Xorg.0.log
Current Operating System: Linux office 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 11:40:06 CEST 2008 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/PEX" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/cyrillic".
(WW) The directory "/usr/share/fonts/ttf/western" does not exist.
(WW) The directory "/usr/share/fonts/ttf/decoratives" does not exist.
(WW) The directory "/usr/share/fonts/truetype" does not exist.
(WW) The directory "/usr/share/fonts/truetype/openoffice" does not exist.
(WW) The directory "/usr/share/fonts/truetype/ttf-bitstream-vera" does not exist.
(WW) The directory "/usr/share/fonts/latex-ttf-fonts" does not exist.
(WW) The directory "/usr/share/fonts/defoma/CID" does not exist.
(WW) The directory "/usr/share/fonts/defoma/TrueType" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) Loading extension MIT-SCREEN-SAVER
(WW) CHROME(0): Unable to activate panel: no panel is present.
(EE) CHROME(0): [drm] Failed to initialize DMA ring-buffer: 22
(WW) CHROME(0): Option "RenderAccel" is not used
(WW) AIGLX: 3D driver claims to not support visual 0x22
(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

I have to take the 5th amendment on the warnings/errors - no idea what they mean or if they are significant.

EDIT:
The font rendering and general quality of the display if far superior to the VESA driver, however the 2D "stuff" seems to be configured incorrectly/not at all. Can anyone help please.

Last edited by keratos (2008-05-07 09:50:05)

Offline

#2 2008-05-19 07:24:56

Aakko
Member
Registered: 2007-10-23
Posts: 65

Re: anybody using VIA K8M890 vga and the openchrome driver?

Looking at the log seems that you have drm-problem.

Do you have libdrm and unichrome-dri packages installed?

Offline

#3 2008-05-20 21:29:22

keratos
Member
Registered: 2008-04-27
Posts: 138

Re: anybody using VIA K8M890 vga and the openchrome driver?

pacman -Q|grep drm
libdrm 2.3.0-1

Offline

Board footer

Powered by FluxBB