You are not logged in.

#1 2006-09-20 12:07:59

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

[SOLVED] Custom kernel 2.6.17 + ATI drivers

Hi,
I'm trying to get DRI, but can't load fglrx. I've read
http://wiki.archlinux.org/index.php/ATI … om_Kernels and
http://gentoo-wiki.com/HOWTO_ATI_Drivers
and done everything like in those howtos. If I set Driver "fglrx" X won't work. So I've made new kernel with some additional modules:

Device Drivers -->
Graphics support -->
<M> Support for frame buffer devices
<*> Enable firmware EDID
<M> ATI Radeon display support
[*] ODC/I2C for ATI Radeon support
[*] Blacklight & LCD device support --> ...

but the problem is still the same.

Here's some of my configs.
xorg_error.log:

hostname: Unknown host
xauth: creating new authority file /home/piotrek/.serverauth.10922

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/arch:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux arch 2.6.17 #4 Tue Sep 19 19:12:05 PDT 2006 i686
Build Date: 19 September 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 19 23:22:42 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "fglrx" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

PKGBUILD from abs :

...
pkgname=ati-fglrx
pkgver=8.28.8
pkgrel=1
pkgdesc="ATI precompiled drivers for r350, r300, r250 and r200 chipsets. Drivers for the Linux kernel."
arch=(i686 x86_64)
url="http://www.ati.com"
license=""
depends=('ati-fglrx-utils')
makedepends=()
conflicts=('ati-drivers-module' 'ati-drivers-arch' 'nvidia')
install=ati-fglrx.install
_kernver=2.6.17
...

my xorg.conf:

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "aticonfig Screen 0" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
    FontPath     "/usr/share/X11/fonts/misc"
    FontPath     "/usr/share/X11/fonts/cyrillic"
    FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/Type1"
    FontPath     "/usr/share/X11/fonts/CID"
    FontPath     "/usr/share/X11/fonts/100dpi"
    FontPath     "/usr/share/X11/fonts/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
    Load  "bitmap"
    Load  "ddc"
    Load  "dri"
    Load  "extmod"
    Load  "freetype"
    Load  "glx"
    Load  "int10"
    Load  "type1"
    Load  "vbe"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "pl"
    Option        "XkbOptions" "ctrl:nocaps"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "ImPS/2"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier   "S/T 77/76BDF"
    HorizSync    30.0 - 90.0
    VertRefresh  50.0 - 80.0
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier   "aticonfig Monitor 0"
EndSection

Section "Device"
    Identifier  "ATI Technologies, Inc. Radeon 9100 (R200 QM)"
    Driver      "ati"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "ATI Graphics Adapter 0"
    Driver      "fglrx"
    Option        "(null)"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device     "ATI Technologies, Inc. Radeon 9100 (R200 QM)"
    Monitor    "S/T 77/76BDF"
    DefaultDepth     24

    SubSection "Display"
        Depth     24
        Modes    "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier "aticonfig Screen 0"
    Device     "ATI Graphics Adapter 0"
    Monitor    "aticonfig Monitor 0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection

I'm using xorg 11R7.0-1, ati-fglrx-utils 8.27.10-3, and my own package  ati-fglrx-kickass 8.28.8-1

Offline

#2 2006-09-20 19:02:53

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

Well, if you're using ati-fglrx-utils 8.27.10 and the kernel module (ati-fglrx-kickass) 8.28.8 they won't work together.  You need utils 8.28.8 as well.

Offline

#3 2006-09-20 21:12:23

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

true - now my utils and drivers are the same, now I can run X with fglrx driver, but still - no direct rendering neutral

Offline

#4 2006-09-21 00:40:03

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

Husio wrote:

true - now my utils and drivers are the same, now I can run X with fglrx driver, but still - no direct rendering neutral

Okay, well, I'd need to see your new /var/log/Xorg.0.log (probably best to pastebin that one) and the result of

$ LIBGL_DEBUG=verbose glxinfo

to give you an idea why that might be happening.

Offline

#5 2006-09-21 02:33:50

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

<M> ATI Radeon display support

do not use this. the radeon fb module has been known to be problematic with fglrx

James

Offline

#6 2006-09-22 09:20:32

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

Cerebral wrote:

Okay, well, I'd need to see your new /var/log/Xorg.0.log (probably best to pastebin that one) and the result of

Here you are http://wklej.org/id/6a63e1f729

Offline

#7 2006-09-22 14:59:53

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

you seem to have aiglx enabled, it doesn't work with the fglrx driver, you'd better disable it.
Also I think you might need to load an agp driver first

Offline

#8 2006-09-22 15:36:40

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [SOLVED] Custom kernel 2.6.17 + ATI drivers

As mouse may have noticed, from the log:

# (EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
# (EE) fglrx(0): cannot init AGP
# (II) fglrx(0): [drm] removed 1 reserved context for kernel
# (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x2000 at 0xb7710000
# (WW) fglrx(0): ***********************************************
# (WW) fglrx(0): * DRI initialization failed!                  *
# (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
# (WW) fglrx(0): * 2D acceleraton available (MMIO)            *
# (WW) fglrx(0): * no 3D acceleration available                *
# (WW) fglrx(0): ********************************************* * 

That's your problem.  Ensure you have both agp drivers loaded - there's agpgart and your board-specific drivers too.  They both need to be loaded _before_ the fglrx kernel module.

To figure out which modules they are, run lsmod | grep agp and put both of them into the /etc/rc.conf MODULES array, before fglrx.  If fglrx isn't in that array, put it there too, after the agp modules.

-=edit=- as for the aiglx thing, don't worry about it.  It's harmless - I get the same message in my logs and everything works fine. -=/edit=-

Offline

Board footer

Powered by FluxBB