DRI and ATI Radeon 7000

herbert at bugat.at herbert at bugat.at
Mon May 5 02:25:09 PDT 2003

On Mon, May 05, 2003 at 12:19:52AM -0400, E. J. Cerejo wrote:
> I'm trying to get DRI working, I'm running FBSD-stable, one of the 
> latest versions, and I can't get DRI to work.  I have an AGP ATI Radeon 
> 7000 card, and I have a gigabyte motherboard GA-8IRXP ( 
> http://www.giga-byte.com/MotherBoard/Products/Products_GA-8IRXP.htm ) 
> with an AGP slot specification 2.0 and I followed the instructions on 
> http://people.freebsd.org/~anholt/dri/troubleshooting.html but I test it 
> by running glxinfo it reports "direct rendering: no".  So I tried the 
> troubleshooting on that page and here's what I did:
> If I do dmesg | grep drm it doesn't find anything.
> If I do kldload radeon it gives me this: kldload: can't load radeon: 
> Exec format error
> If I do dmesg | grep agp I get this: link_elf: symbol agp_get_info undefined
> kldstat shows this:
> Id Refs Address    Size     Name
>  1    4 0xc0100000 27ed0c   kernel
>  2    1 0xc165f000 2000     fade_saver.ko
>  3    1 0xc1664000 15000    linux.ko
>  5    1 0xc1820000 d000     msdos.ko
> Nothing about drm!  I think it has to do with the agp_get_info thing 
> because I shutdown X that is the message I see in console.
> Does anyone know on how to fix this?
> Thanks


Not sure what you have been doing so far. I did the following to get DRI
working on my FreeBSD 4.8-STABLE system:

1) Get the latest RELENG_4 sources
2) Adding the following lines to my kernel config:
   device          agp
   device          radeondrm
   (You can find all kernel options or at least most of them in LINT).

3) make buildworld, make buildkernel, etc. as described in UPDATING
4) Adding the following lines to /etc/X11/XF86Config:
   Load "glx"
   Load "dri"
   Section "DRI"
   Mode 0666

5) dmesg reports:
   agp0: <Intel Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at
device 0.0 on pci0
   drm0: <ATI Radeon QW RV200 7500> port 0xc000-0xc0ff mem
0xe1000000-0xe100ffff,0xd8000000-0xdfffffff irq 10 at device 0.0 on pci1
   info: [drm] AGP at 0xd0000000 128MB
   info: [drm] Initialized radeon 1.8.0 20020828 on minor 0

Hope this helps.


More information about the freebsd-questions mailing list