I need your help ;-)
I've switched to modular X and gcc-4.1.1, and I've lost DRI :-(
My configuration:

HP dv5078EA (laptop)
Gentoo AMD64
Kernel 2.6.12-r10

in /usr/src/linux/.config:
  CONFIG_MTRR=y
  CONFIG_AGP=y
  CONFIG_AGP_AMD64=y
  CONFIG_AGP_INTEL=m
  # CONFIG_DRM is not set

output of lspci | grep VGA:
  01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon 
XPRESS 200M 5955 (PCIE)

output of lspci | grep AGP:
  <none>

sys-apps/portage 2.1.1
media-libs/mesa 6.4.2-r2
x11-base/xorg-x11 7.0-r1
x11-base/x11--drm 20060608

in /etc/make.conf:
VIDEO_CARDS="vga radeon"

in /etc/X11/xorg.conf:
  Section "Module"
        Load  "dri"
        Load  "dbe"
        SubSection "extmod"
                Option  "omit xfree86-dga"
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "synaptics"
        Load  "glx"
  EndSection
  Section "Device"
        Identifier  "ATI Graphics Adapter"
        Driver      "radeon"
        Option      "AGPFastWrite" "1"
  EndSection

output of eselect opengl show:
  xorg-x11

output of glxinfo | grep direct:
  direct rendering: No 
  OpenGL renderer string: Mesa GLX Indirect

in /var/log/Xorg.0.log:
  (II) LoadModule: "dri"
  (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
  ...
  (II) Loading sub module "drm"
  (II) LoadModule: "drm"
  (II) Loading /usr/lib64/xorg/modules/linux/libdrm.so
  ...
  (II) Loading sub module "radeon"
  (II) LoadModule: "radeon"
  (II) Reloading /usr/lib64/xorg/modules/drivers/radeon_drv.so
  ...
  (--) RADEON(0): Chipset: "ATI Radeon XPRESS 200M 5955 (PCIE)" ChipID 
= 0x5955)
  (--) RADEON(0): Linear framebuffer at 0xc0000000
  (II) RADEON(0): PCI card detected 
  drmOpenDevice: node name is /dev/dri/card0
  drmOpenDevice: open result is -1, (No such device or address)
  drmOpenDevice: open result is -1, (No such device or address)
  drmOpenDevice: Open failed
  drmOpenByBusid: Searching for BusID pci:0000:01:05.0
  drmOpenDevice: node name is /dev/dri/card0
  drmOpenDevice: open result is -1, (No such device)
  drmOpenDevice: open result is -1, (No such device)
  drmOpenDevice: Open failed
  drmOpenByBusid: drmOpenMinor returns -1023
  drmOpenDevice: node name is /dev/dri/card1
  drmOpenDevice: open result is -1, (No such device)
  drmOpenDevice: open result is -1, (No such device)
  drmOpenDevice: Open failed
  ...
  drmOpenDevice: node name is /dev/dri/card14
  drmOpenDevice: open result is -1, (No such device)
  drmOpenDevice: open result is -1, (No such device)
  drmOpenDevice: Open failed
  (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
  [dri] Disabling DRI.

output of lsmod, first three lines;
  Module                  Size  Used by
  radeon                123808  0
  drm                   101544  1 radeon

output of ls -al /dev/dri:
  total 0

Docs checked:
http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
http://www.gentoo.org/doc/en/gcc-upgrading.xml
http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers

Any hints?

Thanks
Sergio
-- 
gentoo-user@gentoo.org mailing list

Reply via email to