direct rending doesnt work in xorg

Danny Butroyd danny at
Sun Apr 16 14:10:06 UTC 2006

Hi All

I have been tearing my hair out trying to fix this problem.  Basically
Direct Rendering isnt working.  My setup:-



Xorg Installed from ports:-

[rvn] /home/danny# pkg_info | grep xorg
xorg-6.9.0          X.Org distribution metaport
xorg-clients-6.9.0_2 X client programs and related files from X.Org
xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.9.0_1 X.Org font encoding files
xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
xorg-fonts-type1-6.9.0 X.Org Type1 fonts
xorg-fontserver-6.9.0_1 X font server from X.Org
xorg-libraries-6.9.0 X11 libraries and headers from X.Org
xorg-manpages-6.9.0 X.Org library manual pages
xorg-nestserver-6.8.2 Nesting X server from X.Org
xorg-printserver-6.8.2_2 X Print server from X.Org
xorg-server-6.9.0_1 X.Org X server and related programs
xorg-vfbserver-6.9.0 X virtual framebuffer server from X.Org

dri-devel install from ports:-

[rvn] /home/danny# pkg_info | grep dri
dri-6.2.20050719,1  DRI OpenGL drivers snapshot

All drivers seem to be working ok:-

[rvn] /home/danny# dmesg | grep drm
drm0: <ATI Radeon Lf R250 Mobility 9000 M9> port 0xc000-0xc0ff mem
0xe8000000-0xefffffff,0xfcff0000-0xfcffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized radeon 1.19.0 20050911
info: [drm] Loading R200 Microcode

Xorg is setup correctly (as far as I know):-

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "freetype"

Section "DRI"
    Mode 0666

Section "Device"
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon R250 Lf [Radeon Mobility 9000 M9]"
        BusID       "PCI:1:0:0"
        Screen          0

>From this page ( I
have been through all the checks and my setup fails on the following:-

[rvn] /home/danny# setenv LIBGL_DEBUG verbose
[rvn] /home/danny# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/
libGL error: dlopen /usr/X11R6/lib/modules/dri/ failed
(/usr/X11R6/lib/modules/dri/ Undefined symbol
libGL error: unable to find driver:

The solution (according to the wiki) is to reinstall DRI and LIBGL from
source, however, I have reinstalled all the relevant ports but I still
get the same problem.  Can anyone help?

Thanks in advance.

More information about the freebsd-questions mailing list