Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 15:09:57 +0100
From:      Danny Butroyd <danny@g-mapps.com>
To:        freebsd-questions@freebsd.org
Subject:   direct rending doesnt work in xorg
Message-ID:  <44425035.4010403@g-mapps.com>

next in thread | raw e-mail | index | archive | help
Hi All

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

OS:-

FreeBSD 6.1-PRERELEASE #3

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):-

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

Section "DRI"
    Mode 0666
EndSection

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
EndSection
---snip---

>From this page (http://dri.freedesktop.org/wiki/DriTroubleshooting) 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/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
"_glapi_add_entrypoint")
libGL error: unable to find driver: r200_dri.so

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.
Danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44425035.4010403>