Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2011 14:21:51 -0600
From:      Zhihao Yuan <lichray@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Building problem with dri 7.6
Message-ID:  <AANLkTi=S9jvUJO-P5FhXcs%2BZDOufA%2BGTpSupMKTi1cJ3@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have observed this issue for a long time.

~> uname -a
FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Feb 24
18:11:55 CST 2011     root@compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO
 amd64
My card is Ati Mobile Radeon X1600.

I built and installed libdrm 2.4.17, libGL, libGLU, libglut 7.6.1, so
far so good. When I want to
sudo make WITHOUT_NOUVEAU=1
for a dri 7.6.1,
I got some error message says "can't find radeon_cs_int.h", which
means Mesa need the definition of struct radeon_cs_int (and
radeon_bo_int, actually). So I extract these definitions (included in
the attachment) and put them in the correct places, so that the
package is successfully built.
But, when I test it, I got the following error:

~> env LIBGL_DEBUG=verbose glxinfo | grep rendering
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/local/lib/dri/r300_dri.so
libGL error: dlopen /usr/local/lib/dri/r300_dri.so failed
(/usr/local/lib/dri/r300_dri.so: Undefined symbol
"radeon_cs_write_table")
libGL error: unable to load driver: r300_dri.so
libGL: OpenDriver: trying /usr/local/lib/dri/swrast_dri.so
direct rendering: Yes

I tried to disable the 'inline' for the related functions, but I can't
got it work. DRI 7.4.4.2 works fine with other 7.6.1 libs, but 7.4 is
relatively old.

-- 
Zhihao Yuan
The best way to predict the future is to invent it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=S9jvUJO-P5FhXcs%2BZDOufA%2BGTpSupMKTi1cJ3>