Building problem with dri 7.6
lichray at gmail.com
Sun Feb 27 20:52:13 UTC 2011
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 at compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO
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
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 188.8.131.52 works fine with other 7.6.1 libs, but 7.4 is
The best way to predict the future is to invent it.
More information about the freebsd-multimedia