Hi guys,

I m desesperatly trying to get rid of my no DRI in my radeonRV370 PCI express card.
i use this:
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 29 Nov 2006 16:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildsyspkg ccache cvs distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS=" http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es fr en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/sci /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread elibc_glibc emacs firefox fortran gdbm gnome gpm gs gtk gtk2 hal hald howl iconv imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java kernel_linux ldap libg++ linguas_en linguas_en_GB linguas_es linguas_fr matroska mmx mp3 nautilus ncurses nls nptl nptlonly nsplugin openmotif pam pcre perl ppds pppd python quicktime readline reflection session spl sse sse2 ssl tcpd tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_radeon video_cards_vesa win32codecs xemacs xine xinerama xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, POR

My card:

04:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)] (prog-if 00 [VGA])
        Subsystem: PC Partner Limited Unknown device 0500
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 04
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at e000 [size=256]
        Region 2: Memory at d7fe0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at d7fc0000 [disabled] [size=128K]

built in modules in the kernel:
 <*> /dev/agpgart (AGP Support)                                                                                                          x x 
  x x                                                                 < >   ALI chipset support                                                                                                               x x 
  x x                                                                 <*>   ATI chipset support                                                                                                               x x 
  x x                                                                 < >   AMD Irongate, 761, and 762 chipset support                                                                                        x x 
  x x                                                                 < >   AMD Opteron/Athlon64 on-CPU GART support                                                                                          x x 
  x x                                                                 <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support                                                                                 x x 
  x x                                                                 < >   NVIDIA nForce/nForce2 chipset support                                                                                             x x 
  x x                                                                 < >   SiS chipset support                                                                                                               x x 
  x x                                                                 < >   Serverworks LE/HE chipset support                                                                                                 x x 
  x x                                                                 < >   VIA chipset support                                                                                                               x x 
  x x                                                                 < >   Transmeta Efficeon support                                                                                                        x x 
  x x                                                                 <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                                                                     x x 
  x x                                                                 < >   3dfx Banshee/Voodoo3+                                                                                                             x x 
  x x                                                                 < >   ATI Rage 128                                                                                                                      x x 
  x x                                                                 <*>   ATI Radeon                                                                                                                        x x 
  x x                                                                 <M>   Intel I810                                                                                                                        x x 
  x x                                                                 <M>   Intel 830M, 845G, 852GM, 855GM, 865G                                                                                              x x 
  x x                                                                 <M>     i830 driver                                                                                                                     x x 
  x x                                                                 <M>     i915 driver                                                                                                                     x x 


ATI,  radeon, DRM.

but dri doesn t work.


here s the dmesg output:

:



ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00: 1b.0 to 64
ALSA device list:
  #0: HDA Intel at 0xd7df8000 irq 16
oprofile: using NMI interrupt.
ip_conntrack version 2.4 (7168 buckets, 57344 max) - 172 bytes per conntrack
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Starting balanced_irq
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
ReiserFS: sda2: found reiserfs format "3.6" with standard journal
ReiserFS: sda2: using ordered data mode
ReiserFS: sda2: journal params: device sda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda2: checking transaction log (sda2)
ReiserFS: sda2: journal-1153: found in header: first_unflushed_offset 4359, last_flushed_trans_id 231470
ReiserFS: sda2: journal-1206: Starting replay from offset 994160374976775, trans_id 1
ReiserFS: sda2: journal-1299: Setting newest_mount_id to 98
ReiserFS: sda2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 236k freed
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19
drm: exports duplicate symbol drm_get_resource_start (owned by kernel)
drm: exports duplicate symbol drm_get_resource_start (owned by kernel)
radeon: Unknown symbol drm_get_dev
radeon: Unknown symbol drm_cleanup_pci
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 1959920k swap on /dev/sda3.  Priority:-1 extents:1 across:1959920k
sky2 eth0: enabling interface
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x1000000
mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x1000000
[drm] Setting GART location based on new memory map
[drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
[drm] Setting GART location based on new memory map
[drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory
[drm] Setting GART location based on new memory map
[drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory

I don t understand those "errors"...

i m using gentoo:
here s the make.conf:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="X gtk gtk2 gnome dvd -kde -qt -arts alsa unicode nsplugin aac matroska quicktime acpi cups dri win32codecs java imagemagick cups hald howl xvid dvdread cairo tiff gs bzip2 xinerama emacs xemacs xine dbus a52 pam ppds mmx sse sse2 cdr mp3 xine hal nautilus firefox dvdr ldap -apmi openmotif"
FEATURES="autoaddcvs buildsyspkg ccache cvs userpriv usersandbox sandbox" #distcc enleve je crois qu il faut le remettre...
AUTOCLEAN="yes"
CCACHE_SIZE="2G"
VIDEO_CARDS="vesa fbdev radeon" #fglrx"
INPUT_DEVICES="evdev keyboard mouse"
PORTDIR_OVERLAY="/usr/local/sci /usr/local/portage"
#/usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental"
# /usr/local/portage"  #pour portage, c est l ebuild concernant smpeg avec des valeurs differentes de AUTOMAKE qui ont buggue, des que c est rectifie, il faut le virer, et reemerger le vrai ebuild... a ne pas oublier # /usr/local/overlays/xgl-coffee"
LINGUAS="es fr en_GB en"

and i ve compiled xorg-server with AIGLX flag (in package.use file) (and no dbus flag anywhere)

here are my xorg-server and xorg-x11 versions:

* x11-base/xorg-server
     Available versions:  1.0.2-r7 ~1.1.0-r1 ~1.1.1 1.1.1-r1 ~1.1.1-r2 [M]1.1.99.902 [M]1.2.99.0
     Installed:           1.1.1-r1
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

* x11-base/xorg-x11
     Available versions:  [M]6.8.2-r8 [M]6.9.0-r3 7.0-r1 7.1
     Installed:           7.1
     Homepage:            http://xorg.freedesktop.org
     Description:         An X11 implementation maintained by the X.Org Foundation (meta package)




Let s finish all this paraphrase with the xorg.conf device section:

        Identifier "ATI Radeon X300 RV370"
        VendorName  "ATI Technologies Inc"
        Driver      "radeon"
#       Driver      "fglrx"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "DRI"     "true"

# this may solve some issues
        Option      "BusType" "PCI"
# acceleration
        Option          "AGPMode" "4"
        Option          "AGPFastWrite" "false"
        Option          "EnablePageFlip" "on"
#                       # 1/0 Increases 3D performance substantially
#                       # seemingly in XAA mode only
        Option          "RenderAccel" "on"
        Option          "GARTSize" "64"
        Option          "AccelMethod"   "XAA"   # or XXA
        Option         "AllowGLXWithComposite" "true"
#          # from emerge xorgserver:
#          #  * AIGLX patches will be applied.
#    #   * These patches are known to cause problems with EXA enabled.
        Option          "BackingStore" "true"
        Option          "ExaNoOffscreenPixmaps"

#        # enable (partial) PowerPlay features
        Option          "DynamicClocks" "on"
#
#        # use bios hot keys on thinkpad (aka fn+f7)
##        Option          "BIOSHotkeys" "on"
##
#        # enable radeon specific xinerama
        Option          "MergedFB" "false"
##        Option          "CRT2Position" "RightOf"
##        Option          "CRT2Hsync" "50-75"
##        Option          "CRT2VRefresh" "30-82"
##        Option          "MetaModes" "1024x768-1280x1024"
##        Option          "MergedNonRectangular" "true"
#
        # Color Tiling
#        Option          "ColorTiling"   "on"
#
##        # Video overlay
##        #Option          "OverlayOnCRTC2"        "on"



and with the log message from /var/log/XOrg.0.log


 # cat /var/log/Xorg.0.log | grep -i EE
Current Operating System: Linux atlantis 2.6.18-gentoo-r3 #2 SMP PREEMPT Wed Nov 29 18:10:16 CET 2006 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(**) |-->Screen "Screen 1" (0)
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
(II) Loading font FreeType
(II) Loading extension XFree86-DRI
(II) Setting vga for screen 0.
(==) RADEON(0): X server will not keep DPI constant for all screen sizes
(II) RADEON(0): Year: 1999  Week: 37
(II) RADEON(0): redX: 0.620 redY: 0.334   greenX: 0.289 greenY: 0.595
(WW) (1152x864,Mitsubishi Diamond Scan) mode clock 108MHz exceeds DDC maximum 100MHz
(WW) (1280x960,Mitsubishi Diamond Scan) mode clock 108MHz exceeds DDC maximum 100MHz
(WW) (1280x960,Mitsubishi Diamond Scan) mode clock 148.5MHz exceeds DDC maximum 100MHz
(WW) (1280x1024,Mitsubishi Diamond Scan) mode clock 108MHz exceeds DDC maximum 100MHz
(WW) (1280x1024,Mitsubishi Diamond Scan) mode clock 135MHz exceeds DDC maximum 100MHz
(WW) (1280x1024,Mitsubishi Diamond Scan) mode clock 157.5MHz exceeds DDC maximum 100MHz
(WW) (1600x1200,Mitsubishi Diamond Scan) mode clock 162MHz exceeds DDC maximum 100MHz
(WW) (1600x1200,Mitsubishi Diamond Scan) mode clock 175.5MHz exceeds DDC maximum 100MHz
(WW) (1600x1200,Mitsubishi Diamond Scan) mode clock 189MHz exceeds DDC maximum 100MHz
(WW) (1600x1200,Mitsubishi Diamond Scan) mode clock 202.5MHz exceeds DDC maximum 100MHz
(WW) (1600x1200,Mitsubishi Diamond Scan) mode clock 229.5MHz exceeds DDC maximum 100MHz
(WW) (1792x1344,Mitsubishi Diamond Scan) mode clock 204.8MHz exceeds DDC maximum 100MHz
(WW) (1792x1344,Mitsubishi Diamond Scan) mode clock 261MHz exceeds DDC maximum 100MHz
(WW) (1856x1392,Mitsubishi Diamond Scan) mode clock 218.3MHz exceeds DDC maximum 100MHz
(WW) (1856x1392,Mitsubishi Diamond Scan) mode clock 288MHz exceeds DDC maximum 100MHz
(WW) (1920x1440,Mitsubishi Diamond Scan) mode clock 234MHz exceeds DDC maximum 100MHz
(WW) (1920x1440,Mitsubishi Diamond Scan) mode clock 297MHz exceeds DDC maximum 100MHz
(WW) (1400x1050,Mitsubishi Diamond Scan) mode clock 122MHz exceeds DDC maximum 100MHz
(WW) (1400x1050,Mitsubishi Diamond Scan) mode clock 155.8MHz exceeds DDC maximum 100MHz
(WW) (1600x1024,Mitsubishi Diamond Scan) mode clock 106.91MHz exceeds DDC maximum 100MHz
(WW) (1920x1440,Mitsubishi Diamond Scan) mode clock 341.35MHz exceeds DDC maximum 100MHz
(WW) (2048x1536,Mitsubishi Diamond Scan) mode clock 266.95MHz exceeds DDC maximum 100MHz
(WW) (2048x1536,Mitsubishi Diamond Scan) mode clock 340.48MHz exceeds DDC maximum 100MHz
(WW) (2048x1536,Mitsubishi Diamond Scan) mode clock 388.04MHz exceeds DDC maximum 100MHz
        of this adapter, please see http://gatos.sf.net.
(II) do I need RAC?  No, I don't.
(**) RADEON(0): RADEONScreenInit d8000000 0
(**) RADEON(0): RADEONSaveScreen(0)
(II) RADEON(0): Largest offscreen area available: 1280 x 7165
(**) RADEON(0): RADEONDRICloseScreen
(**) RADEON(0): Option "XaaNoOffscreenPixmaps" "true"
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Indirect CPU to Screen color expansion
(II) RADEON(0): Largest offscreen area available: 1280 x 7161
(WW) RADEON(0): Option "ExaNoOffscreenPixmaps" is not used
(**) RADEON(0): RADEONScreenInit finished
(II) Initializing built-in extension XFree86-Bigfont
(EE) AIGLX: Screen 0 is not DRI capable
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
(II) Mouse1: ps2EnableDataReporting: succeeded
(**) RADEON(0): RADEONSaveScreen(2)



as for the warnings in the log:

(WW) RADEON(0): Direct rendering disabled
(WW) RADEON(0): Option "DRI" is not used
(WW) RADEON(0): Option "AllowGLXWithComposite" is not used
(WW) RADEON(0): Option "ExaNoOffscreenPixmaps" is not used




Should you need anything else, I would give all the details.

i also installed x11-drm as seen here:



# eix x11-drm
* x11-base/x11-drm
     Available versions:  4.3.0-r7:2.6.14-hardened-r8 20050502:2.6.14-hardened-r8 ~20050807 ~20051028 ~20051223 20060608
     Installed:           20060608
     Homepage:            http://dri.sf.net
     Description:         DRM Kernel Modules for X11


And i don t have DRI working in my box  :-(
Please, please, please, help meeeeeeeeeeeeeeeeeeee!