Cannot get DRI to work

Hendrik Friedel hen_mail at web.de
Fri Dec 12 11:11:47 PST 2008


Hello,

I'm having trouble to get DRI to work:

LIBGL_DEBUG=verbose glxinfo | grep direct
libGL error: XF86DRIQueryDirectRenderingCapable returned false
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)

I think the problem is here:
###############################################
 grep -e EE -e WW  /var/log/Xorg.0.log | tail -n 5
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(WW) RADEON(0): Direct rendering disabled
(WW) RADEON(0): Option "UseInternalAGPGART" is not used
(EE) AIGLX: Screen 0 is not DRI capable
###############################################

I don't know, what the reason for this is. The agp modules are compiled fix
into the kernel (not as modules).

Can you see, what the problem could be? 
(below is some more information)

Greetings,
Hendrik



Some Information about my system:
Gentoo
Ati 9250
Radeon Driver
###############################################
 x11-base/xorg-x11
     Available versions:  7.2 ~7.3 ~7.4
     Installed versions:  7.2

 x11-base/xorg-server
     Available versions:  1.3.0.0-r6 ~1.4.2 ~1.5.2
     Installed versions:  1.3.0.0-r2

x11-apps/mesa-progs
     Available versions:  6.5.2 7.0.1 ~7.0.3 ~7.1
     Installed versions:  7.0.1

 media-libs/mesa
     Available versions:  6.5.2-r1 ~7.0.3 ~7.1_rc3 ~7.1 ~7.2_rc1 ~7.2
     Installed versions:  6.5.2-r1
###############################################

###############################################
grep /etc/X11/xorg.conf  -e \# -e '^$' -v
Section "Extensions"
   Option "Composite" "enable"
EndSection
Section "Module"
    SubSection  "extmod"
    EndSubSection
    Load        "freetype"
    Load       "glx"
    Load       "dri"
EndSection
Section "Files"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
EndSection
Section "ServerFlags"
Option "AIGLX" "true"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "de"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection
Section "Monitor"
    Identifier  "meinMonitor"
    HorizSync   31.5 - 200

    VertRefresh 45-60
          modeline "1920x1080" 148.500 1920 2448 2492 2640 1080 1084 1089
1125 +hsync +vsync
EndSection
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection
Section "Device"
    Identifier  "ATI Radeon"
    VendorName "ATI Technologies Inc"
    Driver      "radeon"
    BusID      "PCI:1:0:0"
    Option "UseInternalAGPGART" "yes"
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "ATI Radeon"
    Monitor     "meinMonitor"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Virtual 1920 1080
        Modes       "1920x1080"
        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
###############################################


###############################################
 grep -e EE -e WW  /var/log/Xorg.0.log | tail -n 5
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(WW) RADEON(0): Direct rendering disabled
(WW) RADEON(0): Option "UseInternalAGPGART" is not used
(EE) AIGLX: Screen 0 is not DRI capable
###############################################

###############################################
vdr linux # dmesg | grep -e drm -e agp
Linux agpgart interface v0.102
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.28.0 20060524 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 6419 using kernel context 0
###############################################




More information about the xorg mailing list