Hi Pemasu,
i apologize if i'm looking insisting.
Here (soon ... quite deseperatly
) being at compiling Mesa with various possible combinations of building configure options, with the hope to get Mesa with TEXTURE working using the software rendering feature.
All this on a common PC without extra graphic card, only the onboard 82845G chip.
Till now, only wheezy-3.5.2.x has it nice working OOTB with ONLY /usr/lib/dri/swrast_dri.so (14MB sized) as mesa stuff (not any shared libllvm nor gallium-pipe stuff).
When trying to compile Mesa with --enable-static, the configure step ends up and reports something like:
«not possible to enable static on dri drivers».
I even tried to compile Mesa-8.0.5 using the Xlib options (no «configure» step; but straight «make linux-x86», wiyhout success).
I also browsed the Mesa mailng-lists without finding relevant stuffs.
Any advice would be welcome.
Thanks in advance for any answer.
Charlie
last edited:
last compile: mesa-9.1.3 (not 9.1.4 to keep closiest to existing mesas stuffs in raring-3.9.9 ...)
1. i used the following configuration file to manage to get only swrast_dri.so:
#./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i386-pc-linux-gnu --with-gallium-drivers="swrast" --with-dri-drivers="swrast" --disable-gallium-llvm --disable-selinux
2. aftrwds make and make install DESTDIR=/somepath/mesa_9.1.3-swrast-k399-i386
3. created mesa_9.1.3-swrast-k399-i386.pet
Here is that pets tree breakdown:
sh-4.1# tree mesa_9.1.3-swrast-k399-i386
mesa_9.1.3-swrast-k399-i386
|-- etc
| `-- drirc
|-- pet.specs
|-- root
`-- usr
|-- include
| |-- EGL
| | |-- egl.h
| | |-- eglext.h
| | |-- eglmesaext.h
| | `-- eglplatform.h
| |-- GL
| | |-- gl.h
| | |-- gl_mangle.h
| | |-- glext.h
| | |-- glx.h
| | |-- glx_mangle.h
| | |-- glxext.h
| | |-- internal
| | | `-- dri_interface.h
| | |-- osmesa.h
| | |-- wglext.h
| | `-- wmesa.h
| `-- KHR
| `-- khrplatform.h
`-- lib
|-- dri
| |-- swrast_dri.la
| `-- swrast_dri.so → size=23MB !!! (14MB in wheezy-3.5.2)
|-- libEGL.la
|-- libEGL.so -> libEGL.so.1.0.0
|-- libEGL.so.1 -> libEGL.so.1.0.0
|-- libEGL.so.1.0.0
|-- libGL.la
|-- libGL.so -> libGL.so.1.2.0
|-- libGL.so.1 -> libGL.so.1.2.0
|-- libGL.so.1.2.0
|-- libdricore9.1.3.la
|-- libdricore9.1.3.so -> libdricore9.1.3.so.1.0.0
|-- libdricore9.1.3.so.1 -> libdricore9.1.3.so.1.0.0
|-- libdricore9.1.3.so.1.0.0
|-- libglapi.la
|-- libglapi.so -> libglapi.so.0.0.0
|-- libglapi.so.0 -> libglapi.so.0.0.0
|-- libglapi.so.0.0.0
`-- pkgconfig
|-- dri.pc
|-- egl.pc
`-- gl.pc
11 directories, 38 files
sh-4.1#
i have also this:
sh-4.1# env LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i915_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i915
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
84 frames in 5.0 seconds = 16.785 FPS
83 frames in 5.1 seconds = 16.416 FPS
^C
sh-4.1#
I have TEXTURE working OK
but again with very slow viewing motions (test using gCAD3D).
Question: any idea to i improve that speed?
Any answer would be much appreciated
Charlie