You can subscribe to this list here.
| 2000 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           (11)  | 
        
        
        
        
          Apr
           (46)  | 
        
        
        
        
          May
           (65)  | 
        
        
        
        
          Jun
           (85)  | 
        
        
        
        
          Jul
           (94)  | 
        
        
        
        
          Aug
           (99)  | 
        
        
        
        
          Sep
           (62)  | 
        
        
        
        
          Oct
           (58)  | 
        
        
        
        
          Nov
           (85)  | 
        
        
        
        
          Dec
           (39)  | 
        
      
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 | 
          Jan
           (90)  | 
        
        
        
        
          Feb
           (29)  | 
        
        
        
        
          Mar
           (90)  | 
        
        
        
        
          Apr
           (96)  | 
        
        
        
        
          May
           (78)  | 
        
        
        
        
          Jun
           (58)  | 
        
        
        
        
          Jul
           (44)  | 
        
        
        
        
          Aug
           (65)  | 
        
        
        
        
          Sep
           (40)  | 
        
        
        
        
          Oct
           (38)  | 
        
        
        
        
          Nov
           (79)  | 
        
        
        
        
          Dec
           (63)  | 
        
      
| 2002 | 
          Jan
           (53)  | 
        
        
        
        
          Feb
           (61)  | 
        
        
        
        
          Mar
           (43)  | 
        
        
        
        
          Apr
           (53)  | 
        
        
        
        
          May
           (35)  | 
        
        
        
        
          Jun
           (59)  | 
        
        
        
        
          Jul
           (18)  | 
        
        
        
        
          Aug
           (12)  | 
        
        
        
        
          Sep
           (28)  | 
        
        
        
        
          Oct
           (61)  | 
        
        
        
        
          Nov
           (54)  | 
        
        
        
        
          Dec
           (23)  | 
        
      
| 2003 | 
          Jan
           (16)  | 
        
        
        
        
          Feb
           (42)  | 
        
        
        
        
          Mar
           (38)  | 
        
        
        
        
          Apr
           (35)  | 
        
        
        
        
          May
           (20)  | 
        
        
        
        
          Jun
           (9)  | 
        
        
        
        
          Jul
           (10)  | 
        
        
        
        
          Aug
           (30)  | 
        
        
        
        
          Sep
           (22)  | 
        
        
        
        
          Oct
           (32)  | 
        
        
        
        
          Nov
           (25)  | 
        
        
        
        
          Dec
           (21)  | 
        
      
| 2004 | 
          Jan
           (39)  | 
        
        
        
        
          Feb
           (36)  | 
        
        
        
        
          Mar
           (59)  | 
        
        
        
        
          Apr
           (32)  | 
        
        
        
        
          May
           (21)  | 
        
        
        
        
          Jun
           (4)  | 
        
        
        
        
          Jul
           (8)  | 
        
        
        
        
          Aug
           (21)  | 
        
        
        
        
          Sep
           (11)  | 
        
        
        
        
          Oct
           (21)  | 
        
        
        
        
          Nov
           (22)  | 
        
        
        
        
          Dec
           (19)  | 
        
      
| 2005 | 
          Jan
           (62)  | 
        
        
        
        
          Feb
           (24)  | 
        
        
        
        
          Mar
           (17)  | 
        
        
        
        
          Apr
           (16)  | 
        
        
        
        
          May
           (16)  | 
        
        
        
        
          Jun
           (17)  | 
        
        
        
        
          Jul
           (26)  | 
        
        
        
        
          Aug
           (14)  | 
        
        
        
        
          Sep
           (13)  | 
        
        
        
        
          Oct
           (8)  | 
        
        
        
        
          Nov
           (23)  | 
        
        
        
        
          Dec
           (20)  | 
        
      
| 2006 | 
          Jan
           (41)  | 
        
        
        
        
          Feb
           (18)  | 
        
        
        
        
          Mar
           (21)  | 
        
        
        
        
          Apr
           (47)  | 
        
        
        
        
          May
           (13)  | 
        
        
        
        
          Jun
           (33)  | 
        
        
        
        
          Jul
           (32)  | 
        
        
        
        
          Aug
           (21)  | 
        
        
        
        
          Sep
           (27)  | 
        
        
        
        
          Oct
           (34)  | 
        
        
        
        
          Nov
           (19)  | 
        
        
        
        
          Dec
           (46)  | 
        
      
| 2007 | 
          Jan
           (21)  | 
        
        
        
        
          Feb
           (26)  | 
        
        
        
        
          Mar
           (13)  | 
        
        
        
        
          Apr
           (22)  | 
        
        
        
        
          May
           (5)  | 
        
        
        
        
          Jun
           (19)  | 
        
        
        
        
          Jul
           (56)  | 
        
        
        
        
          Aug
           (43)  | 
        
        
        
        
          Sep
           (37)  | 
        
        
        
        
          Oct
           (31)  | 
        
        
        
        
          Nov
           (53)  | 
        
        
        
        
          Dec
           (22)  | 
        
      
| 2008 | 
          Jan
           (74)  | 
        
        
        
        
          Feb
           (31)  | 
        
        
        
        
          Mar
           (15)  | 
        
        
        
        
          Apr
           (35)  | 
        
        
        
        
          May
           (23)  | 
        
        
        
        
          Jun
           (26)  | 
        
        
        
        
          Jul
           (17)  | 
        
        
        
        
          Aug
           (27)  | 
        
        
        
        
          Sep
           (35)  | 
        
        
        
        
          Oct
           (30)  | 
        
        
        
        
          Nov
           (29)  | 
        
        
        
        
          Dec
           (17)  | 
        
      
| 2009 | 
          Jan
           (35)  | 
        
        
        
        
          Feb
           (39)  | 
        
        
        
        
          Mar
           (44)  | 
        
        
        
        
          Apr
           (28)  | 
        
        
        
        
          May
           (20)  | 
        
        
        
        
          Jun
           (28)  | 
        
        
        
        
          Jul
           (49)  | 
        
        
        
        
          Aug
           (53)  | 
        
        
        
        
          Sep
           (23)  | 
        
        
        
        
          Oct
           (13)  | 
        
        
        
        
          Nov
           (12)  | 
        
        
        
        
          Dec
           (11)  | 
        
      
| 2010 | 
          Jan
           (45)  | 
        
        
        
        
          Feb
           (28)  | 
        
        
        
        
          Mar
           (41)  | 
        
        
        
        
          Apr
           (11)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           | 
        
      
| 
     
      
      
      From: Chris J. <cjn...@gm...> - 2009-03-22 15:44:58
      
     
   | 
I downloaded the latest tarballs from dri.freedesktop.org: common-20060403-linux.i386.tar.bz2 mach64-20060403-linux.i386.tar.bz2 I ran the install.sh script in common and that went smoothly after I changed the directories to what they appear to be on this debian etch system. I proceeded to do the same in the mach64 tree. I was asked whether I wanted to create a directory for dri and agreed. The compile of the module failed immediately and the dri.log file told me that it could not find the kernel .config file for my kernel, which makes perfect sense since the etchnhalf kernel was installed as a binary from the etch repos. The next step would be to apt-get the source & headers for the above kernel, but before I do this, I would like to know if the tarballs I downloaded are really the latest and whether anyone has gotten this to work with recent kernels - such as 2.6.24. I have run an "install.sh restore" in the common tree and as per the messages echoed to the terminal, I should be back to where I started. Thanks, CJ  | 
| 
     
      
      
      From: Brian P. <br...@vm...> - 2009-03-20 23:43:02
      
     
   | 
The first release candidate of Mesa 7.4 can be grabbed from http://www.mesa3d.org/beta/ 7.4 will be a stable release just fixing bugs since Mesa 7.3. See the release notes for details. I'm hoping to wrap up 7.4 around the middle of next week. -Brian  | 
| 
     
      
      
      From: STEVE555 <ste...@ho...> - 2009-03-20 22:21:20
      
     
   | 
 Hi to all,
           I have been compling Mesa from git using autoconf for sometime,I
have been pulling the lastest updates from the repository regulary.I have
been running into problems recently from a recent change in the
repository.Here is the link to the cahnge I'm talking about:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00ae524e236afba1305150cacd634eaa1f5460b
Here are the ./configure options I'm using with ./configure:
 ./configure --prefix=/usr --sbindir=/usr/sbin
----oldincludedir=/usr/include --x-includes=/usr/include
--x-libraries=/usr/lib --enable-32-bit --enable-xcb --enable-glx-tls
--enable-gallium-nouveau --with-x --with-dri-driverdir=/usr/lib/dri
--with-xorg-driver-dir=/usr/lib/xorg/modules/drivers
I keep running into this error at the end with make after ./configure
finishes:
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_context.c -o nouveau_context.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_screen.c -o nouveau_screen.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_swapbuffers.c -o nouveau_swapbuffers.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_lock.c -o nouveau_lock.o
/bin/sh ../../../../../../bin/mklib -noprefix -o nouveau_dri.so \
                ../../../../../../src/mesa/drivers/dri/common/utils.o
../../../../../../src/mesa/drivers/dri/common/vblank.o
../../../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../../../src/mesa/drivers/dri/common/xmlconfig.o nouveau_context.o
nouveau_screen.o nouveau_swapbuffers.o nouveau_lock.o  
../../../../../../src/gallium/winsys/drm/nouveau/drm/libnouveaudrm.a
../../../../../../src/gallium/drivers/nv04/libnv04.a
../../../../../../src/gallium/drivers/nv10/libnv10.a
../../../../../../src/gallium/drivers/nv20/libnv20.a
../../../../../../src/gallium/drivers/nv30/libnv30.a
../../../../../../src/gallium/drivers/nv40/libnv40.a
../../../../../../src/gallium/drivers/nv50/libnv50.a
../../../../../../src/mesa/libmesagallium.a
../../../../../../src/gallium/auxiliary/draw/libdraw.a
../../../../../../src/gallium/auxiliary/translate/libtranslate.a
../../../../../../src/gallium/auxiliary/cso_cache/libcso_cache.a
../../../../../../src/gallium/auxiliary/pipebuffer/libpipebuffer.a
../../../../../../src/gallium/auxiliary/tgsi/libtgsi.a
../../../../../../src/gallium/auxiliary/sct/libsct.a
../../../../../../src/gallium/auxiliary/rtasm/librtasm.a
../../../../../../src/gallium/auxiliary/util/libutil.a     -ldrm   -lexpat
-lm -lpthread -ldl -ldrm_nouveau
mklib: Making Linux shared library:  nouveau_dri.so
/bin/sh ../../../../../../bin/minstall nouveau_dri.so
../../../../../../lib/gallium
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
../../Makefile.template:124: depend: No such file or directory
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/i586-redhat-linux/4.4.0/include 
-I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm
../../../../../../src/mesa/drivers/dri/common/utils.c
../../../../../../src/mesa/drivers/dri/common/vblank.c
../../../../../../src/mesa/drivers/dri/common/dri_util.c
../../../../../../src/mesa/drivers/dri/common/xmlconfig.c  \
                 2> /dev/null
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: *** No rule to make target
`../../../../../../src/gallium/state_trackers/dri2/libdri2drm.a', needed by
`nouveau_dri2.so'.  Stop.
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[4]: *** [default] Error 1
gmake[4]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/tmp/mesa/src/gallium/winsys'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/mesa/src'
make: *** [default] Error 
>From the message header in the cahnge I'm talking about,I quote:
drm_api is a set of hooks used by the dri2 state tracker, this wraps our
dri1 code around the same set of hooks.
"Currently the dri2 build will produce nouveau_dri2.so which you'll need
to install as nouveau_dri.so if you wish to try it.  The dri2 state
tracker doesn't make it easy for a driver to support both paths in the
same binary."
Can somebody tell me how to change the revelant file form which directory so
I can compile Mesa with Nouveau support agian? or should I wait patiently
wait for the next round of updates to the repository so it can build
successfully again?
Regards,
            STEVE555
-- 
View this message in context: http://www.nabble.com/Compiling-Mesa-with-Nouveau-Support-tp22629649p22629649.html
Sent from the mesa3d-users mailing list archive at Nabble.com.
 | 
| 
     
      
      
      From: STEVE555 <ste...@ho...> - 2009-03-20 22:19:04
      
     
   | 
 Hi to all,
           I have been compling Mesa from git using autoconf for sometime,I
have been pulling the lastest updates from the repository regulary.I have
been running into problems recently from a recent change in the
repository.Here is the link to the cahnge I'm talking about:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00ae524e236afba1305150cacd634eaa1f5460b
Here are the ./configure options I'm using with ./configure:
 ./configure --prefix=/usr --sbindir=/usr/sbin
----oldincludedir=/usr/include --x-includes=/usr/include
--x-libraries=/usr/lib --enable-32-bit --enable-xcb --enable-glx-tls
--enable-gallium-nouveau --with-x --with-dri-driverdir=/usr/lib/dri
--with-xorg-driver-dir=/usr/lib/xorg/modules/drivers
I keep running into this error at the end with make after ./configure
finishes:
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_context.c -o nouveau_context.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_screen.c -o nouveau_screen.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_swapbuffers.c -o nouveau_swapbuffers.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_lock.c -o nouveau_lock.o
/bin/sh ../../../../../../bin/mklib -noprefix -o nouveau_dri.so \
                ../../../../../../src/mesa/drivers/dri/common/utils.o
../../../../../../src/mesa/drivers/dri/common/vblank.o
../../../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../../../src/mesa/drivers/dri/common/xmlconfig.o nouveau_context.o
nouveau_screen.o nouveau_swapbuffers.o nouveau_lock.o  
../../../../../../src/gallium/winsys/drm/nouveau/drm/libnouveaudrm.a
../../../../../../src/gallium/drivers/nv04/libnv04.a
../../../../../../src/gallium/drivers/nv10/libnv10.a
../../../../../../src/gallium/drivers/nv20/libnv20.a
../../../../../../src/gallium/drivers/nv30/libnv30.a
../../../../../../src/gallium/drivers/nv40/libnv40.a
../../../../../../src/gallium/drivers/nv50/libnv50.a
../../../../../../src/mesa/libmesagallium.a
../../../../../../src/gallium/auxiliary/draw/libdraw.a
../../../../../../src/gallium/auxiliary/translate/libtranslate.a
../../../../../../src/gallium/auxiliary/cso_cache/libcso_cache.a
../../../../../../src/gallium/auxiliary/pipebuffer/libpipebuffer.a
../../../../../../src/gallium/auxiliary/tgsi/libtgsi.a
../../../../../../src/gallium/auxiliary/sct/libsct.a
../../../../../../src/gallium/auxiliary/rtasm/librtasm.a
../../../../../../src/gallium/auxiliary/util/libutil.a     -ldrm   -lexpat
-lm -lpthread -ldl -ldrm_nouveau
mklib: Making Linux shared library:  nouveau_dri.so
/bin/sh ../../../../../../bin/minstall nouveau_dri.so
../../../../../../lib/gallium
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
../../Makefile.template:124: depend: No such file or directory
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/i586-redhat-linux/4.4.0/include 
-I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm
../../../../../../src/mesa/drivers/dri/common/utils.c
../../../../../../src/mesa/drivers/dri/common/vblank.c
../../../../../../src/mesa/drivers/dri/common/dri_util.c
../../../../../../src/mesa/drivers/dri/common/xmlconfig.c  \
                 2> /dev/null
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: *** No rule to make target
`../../../../../../src/gallium/state_trackers/dri2/libdri2drm.a', needed by
`nouveau_dri2.so'.  Stop.
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[4]: *** [default] Error 1
gmake[4]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/tmp/mesa/src/gallium/winsys'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/mesa/src'
make: *** [default] Error 
>From the message header in the cahnge I'm talking about,I quote:
drm_api is a set of hooks used by the dri2 state tracker, this wraps our
dri1 code around the same set of hooks.
"Currently the dri2 build will produce nouveau_dri2.so which you'll need
to install as nouveau_dri.so if you wish to try it.  The dri2 state
tracker doesn't make it easy for a driver to support both paths in the
same binary."
Can somebody tell me how to change the revelant file form which directory so
I can compile Mesa with Nouveau support agian? or should I wait patiently
wait for the next round of updates to the repository so it can build
successfully again?
Regards,
            STEVE555
-- 
View this message in context: http://www.nabble.com/Compiling-Mesa-with-Nouveau-Support-tp22629647p22629647.html
Sent from the mesa3d-users mailing list archive at Nabble.com.
 | 
| 
     
      
      
      From: STEVE555 <ste...@ho...> - 2009-03-20 22:16:19
      
     
   | 
Hi to all,
           I have been compling Mesa from git using autoconf for sometime,I
have been pulling the lastest updates from the repository regulary.I have
been running into problems recently from a recent change in the
repository.Here is the link to the cahnge I'm talking about:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00ae524e236afba1305150cacd634eaa1f5460b
Here are the ./configure options I'm using with ./configure:
 ./configure --prefix=/usr --sbindir=/usr/sbin
----oldincludedir=/usr/include --x-includes=/usr/include
--x-libraries=/usr/lib --enable-32-bit --enable-xcb --enable-glx-tls
--enable-gallium-nouveau --with-x --with-dri-driverdir=/usr/lib/dri
--with-xorg-driver-dir=/usr/lib/xorg/modules/drivers
I keep running into this error at the end with make after ./configure
finishes:
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_context.c -o nouveau_context.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_screen.c -o nouveau_screen.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_swapbuffers.c -o nouveau_swapbuffers.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_lock.c -o nouveau_lock.o
/bin/sh ../../../../../../bin/mklib -noprefix -o nouveau_dri.so \
                ../../../../../../src/mesa/drivers/dri/common/utils.o
../../../../../../src/mesa/drivers/dri/common/vblank.o
../../../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../../../src/mesa/drivers/dri/common/xmlconfig.o nouveau_context.o
nouveau_screen.o nouveau_swapbuffers.o nouveau_lock.o  
../../../../../../src/gallium/winsys/drm/nouveau/drm/libnouveaudrm.a
../../../../../../src/gallium/drivers/nv04/libnv04.a
../../../../../../src/gallium/drivers/nv10/libnv10.a
../../../../../../src/gallium/drivers/nv20/libnv20.a
../../../../../../src/gallium/drivers/nv30/libnv30.a
../../../../../../src/gallium/drivers/nv40/libnv40.a
../../../../../../src/gallium/drivers/nv50/libnv50.a
../../../../../../src/mesa/libmesagallium.a
../../../../../../src/gallium/auxiliary/draw/libdraw.a
../../../../../../src/gallium/auxiliary/translate/libtranslate.a
../../../../../../src/gallium/auxiliary/cso_cache/libcso_cache.a
../../../../../../src/gallium/auxiliary/pipebuffer/libpipebuffer.a
../../../../../../src/gallium/auxiliary/tgsi/libtgsi.a
../../../../../../src/gallium/auxiliary/sct/libsct.a
../../../../../../src/gallium/auxiliary/rtasm/librtasm.a
../../../../../../src/gallium/auxiliary/util/libutil.a     -ldrm   -lexpat
-lm -lpthread -ldl -ldrm_nouveau
mklib: Making Linux shared library:  nouveau_dri.so
/bin/sh ../../../../../../bin/minstall nouveau_dri.so
../../../../../../lib/gallium
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
../../Makefile.template:124: depend: No such file or directory
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/i586-redhat-linux/4.4.0/include 
-I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm
../../../../../../src/mesa/drivers/dri/common/utils.c
../../../../../../src/mesa/drivers/dri/common/vblank.c
../../../../../../src/mesa/drivers/dri/common/dri_util.c
../../../../../../src/mesa/drivers/dri/common/xmlconfig.c  \
                 2> /dev/null
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: *** No rule to make target
`../../../../../../src/gallium/state_trackers/dri2/libdri2drm.a', needed by
`nouveau_dri2.so'.  Stop.
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[4]: *** [default] Error 1
gmake[4]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/tmp/mesa/src/gallium/winsys'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/mesa/src'
make: *** [default] Error 
>From the message header in the cahnge I'm talking about,I quote:
drm_api is a set of hooks used by the dri2 state tracker, this wraps our
dri1 code around the same set of hooks.
"Currently the dri2 build will produce nouveau_dri2.so which you'll need
to install as nouveau_dri.so if you wish to try it.  The dri2 state
tracker doesn't make it easy for a driver to support both paths in the
same binary."
Can somebody tell me how to change the revelant file form which directory so
I can compile Mesa with Nouveau support agian? or should I wait patiently
wait for the next round of updates to the repository so it can build
successfully again?
Regards,
            STEVE555
-- 
View this message in context: http://www.nabble.com/Compliling-Mesa-tp22629643p22629643.html
Sent from the mesa3d-users mailing list archive at Nabble.com.
 | 
| 
     
      
      
      From: STEVE555 <ste...@ho...> - 2009-03-20 22:14:27
      
     
   | 
Hi to all,
           I have been compling Mesa from git using autoconf for sometime,I
have been pulling the lastest updates from the repository regulary.I have
been running into problems recently from a recent change in the
repository.Here is the link to the cahnge I'm talking about:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00ae524e236afba1305150cacd634eaa1f5460b
Here are the ./configure options I'm using with ./configure:
 ./configure --prefix=/usr --sbindir=/usr/sbin
----oldincludedir=/usr/include --x-includes=/usr/include
--x-libraries=/usr/lib --enable-32-bit --enable-xcb --enable-glx-tls
--enable-gallium-nouveau --with-x --with-dri-driverdir=/usr/lib/dri
--with-xorg-driver-dir=/usr/lib/xorg/modules/drivers
I keep running into this error at the end with make after ./configure
finishes:
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_context.c -o nouveau_context.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_screen.c -o nouveau_screen.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_swapbuffers.c -o nouveau_swapbuffers.o
gcc -c -I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32  -fPIC 
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/drm
-I/usr/include/nouveau   nouveau_lock.c -o nouveau_lock.o
/bin/sh ../../../../../../bin/mklib -noprefix -o nouveau_dri.so \
                ../../../../../../src/mesa/drivers/dri/common/utils.o
../../../../../../src/mesa/drivers/dri/common/vblank.o
../../../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../../../src/mesa/drivers/dri/common/xmlconfig.o nouveau_context.o
nouveau_screen.o nouveau_swapbuffers.o nouveau_lock.o  
../../../../../../src/gallium/winsys/drm/nouveau/drm/libnouveaudrm.a
../../../../../../src/gallium/drivers/nv04/libnv04.a
../../../../../../src/gallium/drivers/nv10/libnv10.a
../../../../../../src/gallium/drivers/nv20/libnv20.a
../../../../../../src/gallium/drivers/nv30/libnv30.a
../../../../../../src/gallium/drivers/nv40/libnv40.a
../../../../../../src/gallium/drivers/nv50/libnv50.a
../../../../../../src/mesa/libmesagallium.a
../../../../../../src/gallium/auxiliary/draw/libdraw.a
../../../../../../src/gallium/auxiliary/translate/libtranslate.a
../../../../../../src/gallium/auxiliary/cso_cache/libcso_cache.a
../../../../../../src/gallium/auxiliary/pipebuffer/libpipebuffer.a
../../../../../../src/gallium/auxiliary/tgsi/libtgsi.a
../../../../../../src/gallium/auxiliary/sct/libsct.a
../../../../../../src/gallium/auxiliary/rtasm/librtasm.a
../../../../../../src/gallium/auxiliary/util/libutil.a     -ldrm   -lexpat
-lm -lpthread -ldl -ldrm_nouveau
mklib: Making Linux shared library:  nouveau_dri.so
/bin/sh ../../../../../../bin/minstall nouveau_dri.so
../../../../../../lib/gallium
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
../../Makefile.template:124: depend: No such file or directory
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/i586-redhat-linux/4.4.0/include 
-I. -I../../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../include -I../../../../../../include/GL/internal
-I../../../../../../src/gallium/include
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/winsys/common -I../../../../../../src/mesa
-I../../../../../../src/mesa/main -I../../../../../../src/mesa/glapi
-I../../../../../../src/mesa/math -I../../../../../../src/mesa/transform
-I../../../../../../src/mesa/shader -I../../../../../../src/mesa/swrast
-I../../../../../../src/mesa/swrast_setup -I../../../../../../src/egl/main
-I../../../../../../src/egl/drivers/dri -I/usr/include/drm
../../../../../../src/mesa/drivers/dri/common/utils.c
../../../../../../src/mesa/drivers/dri/common/vblank.c
../../../../../../src/mesa/drivers/dri/common/dri_util.c
../../../../../../src/mesa/drivers/dri/common/xmlconfig.c  \
                 2> /dev/null
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: Entering directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[5]: *** No rule to make target
`../../../../../../src/gallium/state_trackers/dri2/libdri2drm.a', needed by
`nouveau_dri2.so'.  Stop.
gmake[5]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau/dri2'
gmake[4]: *** [default] Error 1
gmake[4]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm/nouveau'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/tmp/mesa/src/gallium/winsys/drm'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/tmp/mesa/src/gallium/winsys'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/mesa/src'
make: *** [default] Error 
>From the message header in the cahnge I'm talking about,I quote:
drm_api is a set of hooks used by the dri2 state tracker, this wraps our
dri1 code around the same set of hooks.
"Currently the dri2 build will produce nouveau_dri2.so which you'll need
to install as nouveau_dri.so if you wish to try it.  The dri2 state
tracker doesn't make it easy for a driver to support both paths in the
same binary."
Can somebody tell me how to change the revelant file form which directory so
I can compile Mesa with Nouveau support agian? or should I wait patiently
wait for the next round of updates to the repository so it can build
successfully again?
Regards,
            STEVE555
-- 
View this message in context: http://www.nabble.com/Compliling-Mesa-tp22629641p22629641.html
Sent from the mesa3d-users mailing list archive at Nabble.com.
 | 
| 
     
      
      
      From: tom f. <tf...@al...> - 2009-03-19 06:42:18
      
     
   | 
Owen Kaluza <Owe...@sc...> writes: > On Tue, 2009-03-17 at 23:15 -0700, tom fogal wrote: [snip] > > See my recent work with respect to GLEW. In a sentence, you want to > > 1) mangle all of Mesa's symbols, and 2) load all your OpenGL functions > > at runtime. Details can be found in my posts to their mailing lists, > > which should be findable with a bit of googling. > > I looked up your posts, it looks like I would require a custom compiled > osmesa library then? Yes and no. You need a custom compiled Mesa and potentially Mesa's GLU lib (if you use GLU); the OSMesa library might change with mangling, but I doubt it. To do this, you just add "-DUSE_MGL_NAMESPACE" to the CFLAGS when compiling Mesa. I've been thinking of an `--enable-mangling' autoconf switch for a while now, but haven't had the time... > If so it's probably not worth bothering from my point of view as it's > easier for us to provide two versions or instructions for users to > compile our stuff differently depending on their requirements. Sure, if you know that beforehand. The real trouble only comes in if you run on a cluster && don't know which GL library to use until runtime. -tom  | 
| 
     
      
      
      From: Owen K. <Owe...@sc...> - 2009-03-19 05:18:20
      
     
   | 
Hi Tom, On Tue, 2009-03-17 at 23:15 -0700, tom fogal wrote: > Can you run ldd on the resulting binary? Seems like you're linking in > both Mesa's lib and your system OpenGL lib. This would be consistent > with the order of -l options mattering; the linker would stop searching > on the first find, and both provide it. ldd output with glx working but not osmesa: ( -lGL -lGLU -lOSMesa ) linux-vdso.so.1 => (0x00007fff0e3fe000) 1 libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fc805f88000) 2 libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007fc805d16000) 3 libOSMesa.so.6 => /usr/lib/libOSMesa.so.6 (0x00007fc8058b0000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fc805689000) libc.so.6 => /lib/libc.so.6 (0x00007fc805317000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fc80500f000) 4 libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007fc803d27000) 5 libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007fc806279000) 6 libm.so.6 => /lib/libm.so.6 (0x00007fc803aa2000) 7 libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fc803890000) 8 libdl.so.2 => /lib/libdl.so.2 (0x00007fc80368c000) 9 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc80337f000) 0 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fc803167000) * libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc802f4b000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fc802d33000) /lib64/ld-linux-x86-64.so.2 (0x00007fc80617a000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007fc802b31000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fc802915000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fc802713000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fc80250e000) ldd output when osmesa works but glx crashes ( -lOSMesa -lGL -lGLU ) linux-vdso.so.1 => (0x00007fff731f9000) 3 libOSMesa.so.6 => /usr/lib/libOSMesa.so.6 (0x00007fe46a98b000) 1 libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fe46a799000) 2 libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007fe46a527000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fe46a300000) libc.so.6 => /lib/libc.so.6 (0x00007fe469f8e000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fe469c86000) 6 libm.so.6 => /lib/libm.so.6 (0x00007fe469a01000) * libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe4697e5000) 4 libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007fe4684fd000) 5 libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007fe46aeef000) 7 libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fe4682eb000) 8 libdl.so.2 => /lib/libdl.so.2 (0x00007fe4680e7000) 9 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fe467dda000) 0 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fe467bc2000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fe4679aa000) /lib64/ld-linux-x86-64.so.2 (0x00007fe46adf1000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007fe4677a8000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fe46758c000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fe46738a000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fe467185000) On Tue, 2009-03-17 at 23:15 -0700, tom fogal wrote: > See my recent work with respect to GLEW. In a sentence, you want to > 1) mangle all of Mesa's symbols, and 2) load all your OpenGL functions > at runtime. Details can be found in my posts to their mailing lists, > which should be findable with a bit of googling. I looked up your posts, it looks like I would require a custom compiled osmesa library then? If so it's probably not worth bothering from my point of view as it's easier for us to provide two versions or instructions for users to compile our stuff differently depending on their requirements. Thanks for your help. Regards, Owen.  | 
| 
     
      
      
      From: Brian P. <br...@vm...> - 2009-03-18 23:29:31
      
     
   | 
Liccese Joe-RMNP30 wrote:
> While I can successfully build and run the osmesa_demo.c example and
> generate an actual output I've been unsuccessful in doing so when I take
> a modified version of NeHe's lesson24 example using OSMesa. I've ensured
> that glFinsih() is called but if I actually step into the glFinish
> routine that is dispatched (copied below) I see that there is no actual
> address associated with ctx->Driver.Finish or for .Flush either (both
> contain 0x0) so the call to ctx->Driver.Finish(ctx) is never actually
> performed.
>  
> void GLAPIENTRY
> _mesa_Finish(void)
> {
>    GET_CURRENT_CONTEXT(ctx);
>    ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
>    if (ctx->Driver.Finish) {
>       ctx->Driver.Finish(ctx);
>    }
> }
> This is my first intro to opengl so I'm certain I'm missing something
> obvious but have been unable to determine the cause myself. We're
> using OSMesa since we've actually ported openGL to a Freescale DSP in
> which there is no windowing system available. Our goal is to benchmark a
> few simple text and 2d renderings on this particular architecture.
>  
> Any help anyone has on resolving the missing output will be greatly
> appreciated. Currently the output when using OSMesa is just a black
> background. If we modify this same code using GLUT instead of OSMesa all
> works as expected.
I don't see where your Resize() function is getting called to setup the viewport and modelview and projection matrices.
-Brian
 | 
| 
     
      
      
      From: Liccese Joe-R. <Joe...@fr...> - 2009-03-18 21:21:12
      
     
   | 
While I can successfully build and run the osmesa_demo.c example and
generate an actual output I've been unsuccessful in doing so when I take
a modified version of NeHe's lesson24 example using OSMesa. I've ensured
that glFinsih() is called but if I actually step into the glFinish
routine that is dispatched (copied below) I see that there is no actual
address associated with ctx->Driver.Finish or for .Flush either (both
contain 0x0) so the call to ctx->Driver.Finish(ctx) is never actually
performed.
 
void GLAPIENTRY
_mesa_Finish(void)
{
   GET_CURRENT_CONTEXT(ctx);
   ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
   if (ctx->Driver.Finish) {
      ctx->Driver.Finish(ctx);
   }
}
This is my first intro to opengl so I'm certain I'm missing something
obvious but have been unable to determine the cause myself. We're using
OSMesa since we've actually ported openGL to a Freescale DSP in which
there is no windowing system available. Our goal is to benchmark a few
simple text and 2d renderings on this particular architecture. 
 
Any help anyone has on resolving the missing output will be greatly
appreciated. Currently the output when using OSMesa is just a black
background. If we modify this same code using GLUT instead of OSMesa all
works as expected.
 
============================
The code I'm running is copied below:
============================
#include <stdlib.h>
#include <stdio.h>                // Header File For Standard Input /
Output
#include <stdarg.h>               // Header File For Variable Argument
Routines
#include <string.h>               // Header File For String Management
#include <GL/glut.h>
#include "GL/osmesa.h"
 
#define SAVE_TARGA
 
int         scroll;               // Used For Scrolling The Screen
int         maxtokens;            // Keeps Track Of The Number Of
Extensions Supported
int         swidth;               // Scissor Width
int         sheight;              // Scissor Height
int         scrollFlag = 1;       // Flag to control text scrolling;
1=resume, 0=suspend
 
GLuint      base;                 // Base Display List For The Font
 
typedef struct                    // Create A Structure
{
    GLubyte *imageData;           // Image Data (Up To 32 Bits)
    GLuint  bpp;                  // Image Color Depth In Bits Per
Pixel.
    GLuint  width;                // Image Width
    GLuint  height;               // Image Height
    GLuint  texID;                // Texture ID Used To Select A Texture
} TextureImage;                   // Structure Name
 
TextureImage textures[1];         // Storage For One Texture
 
#define WIDTH  640
#define HEIGHT 480
 
bool LoadTGA(TextureImage *texture, char *filename)         // Loads A
TGA File Into Memory
{    
    GLubyte     TGAheader[12]={0,0,2,0,0,0,0,0,0,0,0,0};    //
Uncompressed TGA Header
    GLubyte     TGAcompare[12];             // Used To Compare TGA
Header
    GLubyte     header[6];                  // First 6 Useful Bytes From
The Header
    GLuint      bytesPerPixel;              // Holds Number Of Bytes Per
Pixel Used In The TGA File
    GLuint      imageSize;                  // Used To Store The Image
Size When Setting Aside Ram
    GLuint      temp;                       // Temporary Variable
    GLuint      type=GL_RGBA;               // Set The Default GL Mode
To RBGA (32 BPP)
    GLuint      i;
    
    FILE *file = fopen(filename, "rb");     // Open The TGA File
 
    // Does File Even Exist?
    if( file==NULL || 
        // Are There 12 Bytes To Read? Does The Header Match What We
Want?
        fread(TGAcompare,1,sizeof(TGAcompare),file)!=sizeof(TGAcompare)
||  
        memcmp(TGAheader,TGAcompare,sizeof(TGAheader))!=0
||
        // If So Read Next 6 Header Bytes 
        fread(header,1,sizeof(header),file)!=sizeof(header))
    {
        if (file == NULL)         // Did The File Even Exist? *Added Jim
Strong*
            return false;         // Return False
        else
        {
            fclose(file);         // If Anything Failed, Close The File
            return false;         // Return False
        }
    }
    // Determine The TGA Width  (highbyte*256+lowbyte)
    texture->width  = header[1] * 256 + header[0];          
    // Determine The TGA Height (highbyte*256+lowbyte) 
    texture->height = header[3] * 256 + header[2];
    
    if( texture->width  <=0 ||               // Is The Width Less Than
Or Equal To Zero
        texture->height <=0 ||               // Is The Height Less Than
Or Equal To Zero
        (header[4]!=24 && header[4]!=32))    // Is The TGA 24 or 32 Bit?
    {
        fclose(file);                        // If Anything Failed,
Close The File
        return false;                        // Return False
    }
 
    texture->bpp    = header[4];             // Grab The TGA's Bits Per
Pixel (24 or 32)
    bytesPerPixel   = texture->bpp/8;        // Divide By 8 To Get The
Bytes Per Pixel
    // Calculate The Memory Required For The TGA Data
    imageSize       = texture->width*texture->height*bytesPerPixel; 
 
    texture->imageData=(GLubyte *)malloc(imageSize);  // Reserve Memory
To Hold The TGA Data
 
    if( texture->imageData==NULL ||                   // Does The
Storage Memory Exist?
    // Does The Image Size Match The Memory Reserved? 
    fread(texture->imageData, 1, imageSize, file)!=imageSize)   
    {
        if(texture->imageData!=NULL)                  // Was Image Data
Loaded
            free(texture->imageData);                 // If So, Release
The Image Data
 
        fclose(file);                                 // Close The File
        return false;                                 // Return False
    }
 
    for(i=0; i<imageSize; i+=bytesPerPixel)     // Loop Through The
Image Data
    {                                                       
        // Swaps The 1st And 3rd Bytes ('R'ed and 'B'lue)
        // Temporarily Store The Value At Image Data 'i'
        temp=texture->imageData[i];                         
        // Set The 1st Byte To The Value Of The 3rd Byte
        texture->imageData[i] = texture->imageData[i + 2];  
        // Set The 3rd Byte To The Value In 'temp' (1st Byte Value)
        texture->imageData[i + 2] = temp;                   
    }
 
    fclose (file);                                          // Close The
File
 
    // Build A Texture From The Data
    glGenTextures(1, &texture[0].texID);                    // Generate
OpenGL texture IDs
 
    glBindTexture(GL_TEXTURE_2D, texture[0].texID);         // Bind Our
Texture
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
// Linear Filtered
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
// Linear Filtered
    
    if (texture[0].bpp==24)                                 // Was The
TGA 24 Bits
    {
        type=GL_RGB;                                        // If So Set
The 'type' To GL_RGB
    }
 
    glTexImage2D(GL_TEXTURE_2D, 0, type, texture[0].width,
texture[0].height, 
                 0, type, GL_UNSIGNED_BYTE, texture[0].imageData);
 
    return true;                                            // Texture
Building Went Ok, Return True
}
 
GLvoid BuildFont(GLvoid)                                    // Build Our
Font Display List
{
    int loop1;
    float cx, cy;
    
    base=glGenLists(256);                                   // Creating
256 Display Lists
    glBindTexture(GL_TEXTURE_2D, textures[0].texID);        // Select
Our Font Texture
    for (loop1=0; loop1<256; loop1++)                   // Loop Through
All 256 Lists
    {
        cx=(float)(loop1%16)/16.0f;                     // X Position Of
Current Character
        cy=(float)(loop1/16)/16.0f;                     // Y Position Of
Current Character
 
        glNewList(base+loop1,GL_COMPILE);                   // Start
Building A List
            glBegin(GL_QUADS);                              // Use A
Quad For Each Character
                glTexCoord2f(cx,1.0f-cy-0.0625f);           // Texture
Coord (Bottom Left)
                glVertex2d(0,16);                           // Vertex
Coord (Bottom Left)
                glTexCoord2f(cx+0.0625f,1.0f-cy-0.0625f);   // Texture
Coord (Bottom Right)
                glVertex2i(16,16);                          // Vertex
Coord (Bottom Right)
                glTexCoord2f(cx+0.0625f,1.0f-cy-0.001f);    // Texture
Coord (Top Right)
                glVertex2i(16,0);                           // Vertex
Coord (Top Right)
                glTexCoord2f(cx,1.0f-cy-0.001f);            // Texture
Coord (Top Left)
                glVertex2i(0,0);                            // Vertex
Coord (Top Left)
            glEnd();                                        // Done
Building Our Quad (Character)
            glTranslated(14,0,0);                           // Move To
The Right Of The Character
        glEndList();                                        // Done
Building The Display List
    }                                                       // Loop
Until All 256 Are Built
}
 
GLvoid KillFont(GLvoid)                     // Delete The Font From
Memory
{
    glDeleteLists(base,256);                // Delete All 256 Display
Lists
}
 
GLvoid glPrint(GLint x, GLint y, int set, const char *fmt, ...) // Where
The Printing Happens
{
    char        text[1024];                 // Holds Our String
    va_list     ap;                         // Pointer To List Of
Arguments
 
    if (fmt == NULL)                        // If There's No Text
        return;                             // Do Nothing
 
    va_start(ap, fmt);                      // Parses The String For
Variables
    vsprintf(text, fmt, ap);                // And Converts Symbols To
Actual Numbers
    va_end(ap);                             // Results Are Stored In
Text
 
    if (set>1)                              // Did User Choose An
Invalid Character Set?
    {
        set=1;                              // If So, Select Set 1
(Italic)
    }
 
    glEnable(GL_TEXTURE_2D);                // Enable Texture Mapping
    glLoadIdentity();                       // Reset The Modelview
Matrix
    glTranslated(x,y,0);                    // Position The Text (0,0 -
Top Left)
    glListBase(base-32+(128*set));          // Choose The Font Set (0 or
1)
 
    glScalef(1.0f,2.0f,1.0f);               // Make The Text 2X Taller
 
    glCallLists(strlen(text),GL_UNSIGNED_BYTE, text);       // Write The
Text To The Screen
    glDisable(GL_TEXTURE_2D);                               // Disable
Texture Mapping
}
 
void Resize(int width, int height)          // Resize And Initialize The
GL Window
{
    swidth=width;                           // Set Scissor Width To
Window Width
    sheight=height;                         // Set Scissor Height To
Window Height
    if (height==0)                          // Prevent A Divide By Zero
By
    {
        height=1;                           // Making Height Equal One
    }
    glViewport(0,0,width,height);           // Reset The Current
Viewport
    glMatrixMode(GL_PROJECTION);            // Select The Projection
Matrix
    glLoadIdentity();                       // Reset The Projection
Matrix
    glOrtho(0.0f,WIDTH,HEIGHT,0.0f,-1.0f,1.0f);  // Create Ortho 640x480
View (0,0 At Top Left)
    glMatrixMode(GL_MODELVIEW);             // Select The Modelview
Matrix
    glLoadIdentity();                       // Reset The Modelview
Matrix
}
 
int InitGL()                                     // All Setup For OpenGL
Goes Here
{
    if (!LoadTGA(&textures[0],"Font.tga"))       // Load The Font
Texture
    {
        return false;                            // If Loading Failed,
Return False
    }
 
    BuildFont();                                 // Build The Font
 
    glShadeModel(GL_SMOOTH);                     // Enable Smooth
Shading
    glClearColor(0.0f, 0.0f, 0.0f, 0.5f);        // Black Background
    glClearDepth(1.0f);                                     // Depth
Buffer Setup
    glBindTexture(GL_TEXTURE_2D, textures[0].texID);        // Select
Our Font Texture
 
    return true;                                 // Initialization Went
OK
}
 
void DrawGLScene()                               // Here's Where We Do
All The Drawing
{
    char *text;
    
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);     // Clear
Screen And Depth Buffer
 
    glColor3f(1.0f,0.5f,0.5f);                   // Set Color To Bright
Red
    glPrint(50,16,1,"Renderer");                 // Display Renderer
    glPrint(80,48,1,"Vendor");                   // Display Vendor Name
    glPrint(66,80,1,"Version");                  // Display Version
 
    glColor3f(1.0f,0.7f,0.4f);                   // Set Color To Orange
    glPrint(200,16,1,(char *)glGetString(GL_RENDERER));     // Display
Renderer
    glPrint(200,48,1,(char *)glGetString(GL_VENDOR));       // Display
Vendor Name
    glPrint(200,80,1,(char *)glGetString(GL_VERSION));      // Display
Version
 
    glLoadIdentity();                            // Reset The ModelView
Matrix
    glColor3f(1.0f,1.0f,1.0f);                   // Set The Color To
White
 
    glBegin(GL_LINE_STRIP);                      // Start Drawing Line
Strips (Something New)
        glVertex2d(639,417);                     // Top Right Of Bottom
Box
        glVertex2d(  0,417);                     // Top Left Of Bottom
Box
        glVertex2d(  0,480);                     // Lower Left Of Bottom
Box
        glVertex2d(639,480);                     // Lower Right Of
Bottom Box
        glVertex2d(639,128);                     // Up To Bottom Right
Of Top Box
    glEnd();                                     // Done First Line
Strip
    glBegin(GL_LINE_STRIP);                      // Start Drawing
Another Line Strip
        glVertex2d(  0,128);                     // Bottom Left Of Top
Box
        glVertex2d(639,128);                     // Bottom Right Of Top
Box                              
        glVertex2d(639,  1);                     // Top Right Of Top Box
        glVertex2d(  0,  1);                     // Top Left Of Top Box
        glVertex2d(  0,417);                     // Down To Top Left Of
Bottom Box
    glEnd();                                     // Done Second Line
Strip
 
    // draw 2D square
    glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
    glColor3f(0,1,0);//Change the object colors to green
    glBegin(GL_QUADS);//Start drawing quads
       glVertex2f(100,100);//first coordinate
       glVertex2f(100,170);//second coordinate
       glColor3f(0,0,1);//Change the color to blue halfway through to
create a neat color effect
       glVertex2f(208,170);//third coordinate (now blue)
       glVertex2f(208,100);//last coordinate
    glEnd();//Stop drawing quads
 
    // Define Scissor Region
    glScissor(2,3,635,75);
    glEnable(GL_SCISSOR_TEST);                   // Enable Scissor
Testing
 
    // Allocate Memory For Our Extension String
    text=(char *)malloc(120);
    strcpy(text,"Scrolling Text Demo");
    maxtokens = strlen(text);
    glColor3f(0.5f,1.0f,0.5f);               // Set Color To Bright
Green
    glColor3f(1.0f,1.0f,0.5f);               // Set Color To Yellow
    glPrint(1-scroll,400+32,0,text);  
 
    glDisable(GL_SCISSOR_TEST);                  // Disable Scissor
Testing
 
    free(text);                                  // Free Allocated
Memory
 
    glFinish();
 
    return;                                      // Everything Went OK
}
 
static void
write_targa(const char *filename, const GLubyte *buffer, int width, int
height)
{
   FILE *f = fopen( filename, "w" );
   if (f) {
      int i, x, y;
      const GLubyte *ptr = buffer;
      printf ("osmesa test, writing tga file \n");
      fputc (0x00, f); /* ID Length, 0 => No ID */
      fputc (0x00, f); /* Color Map Type, 0 => No color map included */
      fputc (0x02, f); /* Image Type, 2 => Uncompressed, True-color
Image */
      fputc (0x00, f); /* Next five bytes are about the color map
entries */
      fputc (0x00, f); /* 2 bytes Index, 2 bytes length, 1 byte size */
      fputc (0x00, f);
      fputc (0x00, f);
      fputc (0x00, f);
      fputc (0x00, f); /* X-origin of Image */
      fputc (0x00, f);
      fputc (0x00, f); /* Y-origin of Image */
      fputc (0x00, f);
      fputc (WIDTH & 0xff, f);      /* Image Width */
      fputc ((WIDTH>>8) & 0xff, f);
      fputc (HEIGHT & 0xff, f);     /* Image Height */
      fputc ((HEIGHT>>8) & 0xff, f);
      fputc (0x18, f);  /* Pixel Depth, 0x18 => 24 Bits */
      fputc (0x20, f);  /* Image Descriptor */
      fclose(f);
      f = fopen( filename, "ab" );  /* reopen in binary append mode */
      for (y=height-1; y>=0; y--) {
         for (x=0; x<width; x++) {
            i = (y*width + x) * 4;
            fputc(ptr[i+2], f); /* write blue */
            fputc(ptr[i+1], f); /* write green */
            fputc(ptr[i], f);   /* write red */
         }
      }
      fclose(f);
   }
}
 
int main(int argc, char **argv)
{
   OSMesaContext ctx;
   void *buffer;
 
   /* Create an RGBA-mode context */
#if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
   /* specify Z, stencil, accum sizes */
   ctx = OSMesaCreateContextExt( OSMESA_RGBA, 16, 0, 0, NULL );
#else
   ctx = OSMesaCreateContext( OSMESA_RGBA, NULL );
#endif
   if (!ctx) {
      printf("OSMesaCreateContext failed!\n");
      return 0;
   }
 
   /* Allocate the image buffer */
   buffer = malloc( WIDTH * HEIGHT * 4 * sizeof(GLubyte) );
   if (!buffer) {
      printf("Alloc image buffer failed!\n");
      return 0;
   }
 
   /* Bind the buffer to the context and make it current */
   if (!OSMesaMakeCurrent( ctx, buffer, GL_UNSIGNED_BYTE, WIDTH, HEIGHT
)) {
      printf("OSMesaMakeCurrent failed!\n");
      return 0;
   }
 
   if(!InitGL()) {
        printf("InitGL Failed\n");
        exit(0);
   }
 
    DrawGLScene();
 
#ifdef SAVE_TARGA
    write_targa("scrolltext.tga", buffer, WIDTH, HEIGHT);
#endif
 
   free( buffer );
   OSMesaDestroyContext( ctx );
}
 | 
| 
     
      
      
      From: tom f. <tf...@al...> - 2009-03-18 17:28:32
      
     
   | 
Hugo Gagnon <hug...@ma...> writes: > No, I haven't. In fact I have a fresh installation. Thanks for your concerns > anyway. Would you know by any chance another proper mailing list where I coul > d expose my problem to? I thought Intel had their own mailing list for their X11 drivers; I could be off but it's worth a look. There's also the general xorg list, at lists.freedesktop.org. -tom > ________________________________________ > From: Brian Paul [br...@vm...] > Sent: Tuesday, March 17, 2009 4:06 PM > To: Hugo Gagnon > Cc: mes...@li... > Subject: Re: [Mesa3d-users] Image rendeing problem > > glxinfo looks good. I don't know why glxgears isn't running. With Fedora 10 > , it should just work "out of the box". Did you change anything after instal > ling Fedora 10? > > -Brian > > Hugo Gagnon wrote: > > [hugochief@flash ~]$ export LIBGL_DEBUG=verbose > > [hugochief@flash ~]$ glxinfo > > name of display: :0.0 > > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 4, (OK) > > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 4, (OK) > > drmOpenByBusid: drmOpenMinor returns 4 > > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > > libGL error: > > Can't open configuration file /etc/drirc: No such file or directory. > > libGL error: > > Can't open configuration file /home/hugochief/.drirc: No such file or direc > tory. > > display: :0 screen: 0 > > direct rendering: Yes > > server glx vendor string: SGI > > server glx version string: 1.2 > > server glx extensions: > > GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixma > p, > > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, > > GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, > > GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group > > client glx vendor string: SGI > > client glx version string: 1.4 > > client glx extensions: > > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, > > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, > > GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, > > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, > > GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, > > GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, > > GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap > > GLX version: 1.2 > > GLX extensions: > > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, > > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, > > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control, > > GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, > > GLX_SGIX_visual_select_group > > OpenGL vendor string: Tungsten Graphics, Inc > > OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20080716 x86/MMX/SSE2 > > OpenGL version string: 1.4 Mesa 7.3-devel > > OpenGL extensions: > > GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample, > > GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameter > s, > > GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, > > GL_ARB_texture_cube_map, GL_ARB_texture_env_add, > > GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, > > GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, > > GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, > > GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, > > GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, > > GL_EXT_blend_color, GL_EXT_blend_equation_separate, > > GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, > > GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, > > GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, > > GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_coord > , > > GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, > > GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_paramete > rs, > > GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, > > GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wra > p, > > GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, > > GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, > > GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, > > GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, > > GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, > > GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage, > > GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, > > GL_ATI_separate_stencil, GL_IBM_rasterpos_clip, > > GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, > > GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, > > GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite, > > GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program, > > GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGIS_generate_mipmap, > > GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, > > GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arrays > > > > 3 GLX Visuals > > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > > ---------------------------------------------------------------------- > > 0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x56 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > > > 36 GLXFBConfigs: > > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > > ---------------------------------------------------------------------- > > 0x57 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 0x58 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > 0x59 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 0x5a 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > 0x5b 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 0x5c 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > 0x5d 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x5e 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x5f 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x60 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x61 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x62 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x63 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x64 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x65 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x66 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x67 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x68 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x69 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 0x6a 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > 0x6b 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 0x6c 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > 0x6d 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 0x6e 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > > 0x6f 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x70 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x71 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x72 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x73 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x74 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x75 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x76 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x77 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x78 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > 0x79 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > > 0x7a 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > > > [hugochief@flash ~]$ glxgears > > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 4, (OK) > > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > > drmOpenDevice: node name is /dev/dri/card0 > > drmOpenDevice: open result is 4, (OK) > > drmOpenByBusid: drmOpenMinor returns 4 > > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > > libGL error: > > Can't open configuration file /etc/drirc: No such file or directory. > > libGL error: > > Can't open configuration file /home/hugochief/.drirc: No such file or direc > tory. > > XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" > > after 2347 requests (2187 known processed) with 0 events remaining. > > ________________________________________ > > From: Brian Paul [br...@vm...] > > Sent: Tuesday, March 17, 2009 10:43 AM > > To: Hugo Gagnon > > Cc: mes...@li... > > Subject: Re: [Mesa3d-users] Image rendeing problem > > > > Hugo Gagnon wrote: > >> Hello, > >> > >> I installed Paraview (a computational fluid dynamics software based on Ope > nGL) using the Fedora 10 repository on an Intel macbook with a built-in GMA 9 > 50 graphics card. Paraview opens normally but it does not render any images i > n the main visualization window. I posted an email to the relevant mailing li > st mentioning this issue and I got suggestions of installing Mesa. After a li > ttle search (again on the fc10 repository) I realized that Mesa was already r > unning on my computer. Someone also proposed me to check if I could see the " > glxgears" in a shell and the answer is no, I cannot. Then people suggested me > to expose my problem to more competent users on the matter. So here I am... > My first question may be: Why can't I see the "glxgears"? Please note that I > am really not an expert in X and image rendering, and I also have a limited k > nowledge of Linux, therefore I would appreciate if you could be as clear as p > ossible in your comments/suggestions/ideas. > >> > >> Any input is welcomed! > > > > What does 'glxinfo' say? > > > > You might try setting the LIBGL_DEBUG env var: 'export LIBGL_DEBUG=verbose' > then run glxinfo or glxgears to see what it says. > > > > -Brian > > > > . > > > > > ----------------------------------------------------------------------------- > - > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa3d-users  | 
| 
     
      
      
      From: Hugo G. <hug...@ma...> - 2009-03-18 14:31:42
      
     
   | 
No, I haven't. In fact I have a fresh installation. Thanks for your concerns anyway. Would you know by any chance another proper mailing list where I could expose my problem to? Hugo. ________________________________________ From: Brian Paul [br...@vm...] Sent: Tuesday, March 17, 2009 4:06 PM To: Hugo Gagnon Cc: mes...@li... Subject: Re: [Mesa3d-users] Image rendeing problem glxinfo looks good. I don't know why glxgears isn't running. With Fedora 10, it should just work "out of the box". Did you change anything after installing Fedora 10? -Brian Hugo Gagnon wrote: > [hugochief@flash ~]$ export LIBGL_DEBUG=verbose > [hugochief@flash ~]$ glxinfo > name of display: :0.0 > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > libGL error: > Can't open configuration file /etc/drirc: No such file or directory. > libGL error: > Can't open configuration file /home/hugochief/.drirc: No such file or directory. > display: :0 screen: 0 > direct rendering: Yes > server glx vendor string: SGI > server glx version string: 1.2 > server glx extensions: > GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, > GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, > GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group > client glx vendor string: SGI > client glx version string: 1.4 > client glx extensions: > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, > GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, > GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, > GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, > GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap > GLX version: 1.2 > GLX extensions: > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control, > GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, > GLX_SGIX_visual_select_group > OpenGL vendor string: Tungsten Graphics, Inc > OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20080716 x86/MMX/SSE2 > OpenGL version string: 1.4 Mesa 7.3-devel > OpenGL extensions: > GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample, > GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, > GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, > GL_ARB_texture_cube_map, GL_ARB_texture_env_add, > GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, > GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, > GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, > GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, > GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, > GL_EXT_blend_color, GL_EXT_blend_equation_separate, > GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, > GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, > GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, > GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_coord, > GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, > GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, > GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, > GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, > GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, > GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, > GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, > GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, > GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, > GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage, > GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, > GL_ATI_separate_stencil, GL_IBM_rasterpos_clip, > GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, > GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, > GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite, > GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program, > GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGIS_generate_mipmap, > GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, > GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arrays > > 3 GLX Visuals > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > ---------------------------------------------------------------------- > 0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x56 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 36 GLXFBConfigs: > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > ---------------------------------------------------------------------- > 0x57 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x58 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x59 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x5a 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x5b 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x5c 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x5d 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x5e 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x5f 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x60 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x61 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x62 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x63 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x64 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x65 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x66 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x67 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x68 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x69 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x6a 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x6b 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x6c 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x6d 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x6e 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x6f 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x70 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x71 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x72 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x73 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x74 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x75 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x76 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x77 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x78 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x79 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x7a 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > [hugochief@flash ~]$ glxgears > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > libGL error: > Can't open configuration file /etc/drirc: No such file or directory. > libGL error: > Can't open configuration file /home/hugochief/.drirc: No such file or directory. > XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" > after 2347 requests (2187 known processed) with 0 events remaining. > ________________________________________ > From: Brian Paul [br...@vm...] > Sent: Tuesday, March 17, 2009 10:43 AM > To: Hugo Gagnon > Cc: mes...@li... > Subject: Re: [Mesa3d-users] Image rendeing problem > > Hugo Gagnon wrote: >> Hello, >> >> I installed Paraview (a computational fluid dynamics software based on OpenGL) using the Fedora 10 repository on an Intel macbook with a built-in GMA 950 graphics card. Paraview opens normally but it does not render any images in the main visualization window. I posted an email to the relevant mailing list mentioning this issue and I got suggestions of installing Mesa. After a little search (again on the fc10 repository) I realized that Mesa was already running on my computer. Someone also proposed me to check if I could see the "glxgears" in a shell and the answer is no, I cannot. Then people suggested me to expose my problem to more competent users on the matter. So here I am... My first question may be: Why can't I see the "glxgears"? Please note that I am really not an expert in X and image rendering, and I also have a limited knowledge of Linux, therefore I would appreciate if you could be as clear as possible in your comments/suggestions/ideas. >> >> Any input is welcomed! > > What does 'glxinfo' say? > > You might try setting the LIBGL_DEBUG env var: 'export LIBGL_DEBUG=verbose' then run glxinfo or glxgears to see what it says. > > -Brian > > . >  | 
| 
     
      
      
      From: tom f. <tf...@al...> - 2009-03-18 06:19:20
      
     
   | 
Owen Kaluza <Owe...@sc...> writes: > This all works fine as as separate solutions but [. . .] if the > OSMesa library is linked but glx used instead it causes the program > to segfault on a call to a non-specific GL function. > > I also discovered that the order of linking effects this behaviour, if > -lOSMesa is specified before -lGL on the compile command line then > OSMesa output works but using GL functions through glx will segfault. > If the order is reversed then it works fine through glx and OSMesa > appears to run ok (no error codes are returned) but none of the graphics > commands produce output to the OSMesa buffer and a blank image results. Can you run ldd on the resulting binary? Seems like you're linking in both Mesa's lib and your system OpenGL lib. This would be consistent with the order of -l options mattering; the linker would stop searching on the first find, and both provide it. See my recent work with respect to GLEW. In a sentence, you want to 1) mangle all of Mesa's symbols, and 2) load all your OpenGL functions at runtime. Details can be found in my posts to their mailing lists, which should be findable with a bit of googling. Cheers, -tom  | 
| 
     
      
      
      From: Owen K. <Owe...@sc...> - 2009-03-18 05:25:32
      
     
   | 
Hi, I'm having a problem using OSMesa for off-screen rendering. Our software is designed to run using glx for output and optionally on cluster nodes with visual output going to files using OSMesa. This all works fine as as separate solutions but we want the output type controlled by a user setting and it seems that if the OSMesa library is linked but glx used instead it causes the program to segfault on a call to a non-specific GL function. I also discovered that the order of linking effects this behaviour, if -lOSMesa is specified before -lGL on the compile command line then OSMesa output works but using GL functions through glx will segfault. If the order is reversed then it works fine through glx and OSMesa appears to run ok (no error codes are returned) but none of the graphics commands produce output to the OSMesa buffer and a blank image results. I've attached a sample program to demonstrate this, it produces opengl output in a window when run without any command line args, writes to osmesa and a png file if anything is passed on the command line If compiled with: gcc -o glx glx11.c -lGL -lGLU -lOSMesa -lpng Runs fine in window but osmesa produces blank output When compiled with: gcc -o glx glx11.c -lOSMesa -lGL -lGLU -lpng Segfault in window, osmesa produces output correctly Is there any way to get both working together without recompiling? Regards, Owen Kaluza  | 
| 
     
      
      
      From: Brian P. <br...@vm...> - 2009-03-17 20:06:20
      
     
   | 
glxinfo looks good. I don't know why glxgears isn't running. With Fedora 10, it should just work "out of the box". Did you change anything after installing Fedora 10? -Brian Hugo Gagnon wrote: > [hugochief@flash ~]$ export LIBGL_DEBUG=verbose > [hugochief@flash ~]$ glxinfo > name of display: :0.0 > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > libGL error: > Can't open configuration file /etc/drirc: No such file or directory. > libGL error: > Can't open configuration file /home/hugochief/.drirc: No such file or directory. > display: :0 screen: 0 > direct rendering: Yes > server glx vendor string: SGI > server glx version string: 1.2 > server glx extensions: > GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, > GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, > GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group > client glx vendor string: SGI > client glx version string: 1.4 > client glx extensions: > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, > GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, > GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, > GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, > GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap > GLX version: 1.2 > GLX extensions: > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, > GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control, > GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, > GLX_SGIX_visual_select_group > OpenGL vendor string: Tungsten Graphics, Inc > OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20080716 x86/MMX/SSE2 > OpenGL version string: 1.4 Mesa 7.3-devel > OpenGL extensions: > GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample, > GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, > GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, > GL_ARB_texture_cube_map, GL_ARB_texture_env_add, > GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, > GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, > GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, > GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, > GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, > GL_EXT_blend_color, GL_EXT_blend_equation_separate, > GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, > GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, > GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, > GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_coord, > GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, > GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, > GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, > GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, > GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, > GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, > GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, > GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, > GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, > GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage, > GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, > GL_ATI_separate_stencil, GL_IBM_rasterpos_clip, > GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, > GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, > GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite, > GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program, > GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGIS_generate_mipmap, > GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, > GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arrays > > 3 GLX Visuals > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > ---------------------------------------------------------------------- > 0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x56 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > > 36 GLXFBConfigs: > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat > ---------------------------------------------------------------------- > 0x57 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x58 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x59 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x5a 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x5b 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x5c 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x5d 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x5e 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x5f 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x60 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x61 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x62 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x63 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x64 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x65 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x66 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x67 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x68 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x69 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x6a 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x6b 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x6c 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x6d 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None > 0x6e 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow > 0x6f 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x70 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x71 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x72 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x73 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x74 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x75 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x76 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x77 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x78 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > 0x79 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None > 0x7a 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow > > [hugochief@flash ~]$ glxgears > libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0) > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > libGL error: > Can't open configuration file /etc/drirc: No such file or directory. > libGL error: > Can't open configuration file /home/hugochief/.drirc: No such file or directory. > XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" > after 2347 requests (2187 known processed) with 0 events remaining. > ________________________________________ > From: Brian Paul [br...@vm...] > Sent: Tuesday, March 17, 2009 10:43 AM > To: Hugo Gagnon > Cc: mes...@li... > Subject: Re: [Mesa3d-users] Image rendeing problem > > Hugo Gagnon wrote: >> Hello, >> >> I installed Paraview (a computational fluid dynamics software based on OpenGL) using the Fedora 10 repository on an Intel macbook with a built-in GMA 950 graphics card. Paraview opens normally but it does not render any images in the main visualization window. I posted an email to the relevant mailing list mentioning this issue and I got suggestions of installing Mesa. After a little search (again on the fc10 repository) I realized that Mesa was already running on my computer. Someone also proposed me to check if I could see the "glxgears" in a shell and the answer is no, I cannot. Then people suggested me to expose my problem to more competent users on the matter. So here I am... My first question may be: Why can't I see the "glxgears"? Please note that I am really not an expert in X and image rendering, and I also have a limited knowledge of Linux, therefore I would appreciate if you could be as clear as possible in your comments/suggestions/ideas. >> >> Any input is welcomed! > > What does 'glxinfo' say? > > You might try setting the LIBGL_DEBUG env var: 'export LIBGL_DEBUG=verbose' then run glxinfo or glxgears to see what it says. > > -Brian > > . >  | 
| 
     
      
      
      From: Hugo G. <hug...@ma...> - 2009-03-17 17:40:32
      
     
   | 
[hugochief@flash ~]$ export LIBGL_DEBUG=verbose
[hugochief@flash ~]$ glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error: 
Can't open configuration file /etc/drirc: No such file or directory.
libGL error: 
Can't open configuration file /home/hugochief/.drirc: No such file or directory.
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20080716 x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 7.3-devel
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample, 
    GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, 
    GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, 
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
    GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, 
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, 
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, 
    GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_coord, 
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, 
    GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, 
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, 
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, 
    GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage, 
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, 
    GL_ATI_separate_stencil, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, 
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite, 
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program, 
    GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arrays
3 GLX Visuals
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x56 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
36 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x57  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x58  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x59  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x5a  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x5b  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x5c  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x5d  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x5e  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x5f  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x60  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x61  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x62  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x63  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x64  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x65  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x66  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x67  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x68  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x69  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x6a  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x6b  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x6c  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x6d  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x6e  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x6f  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x70  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x71  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x72  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x73  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x74  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x75  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x76  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x77  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x78  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x79  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x7a  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
[hugochief@flash ~]$ glxgears
libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error: 
Can't open configuration file /etc/drirc: No such file or directory.
libGL error: 
Can't open configuration file /home/hugochief/.drirc: No such file or directory.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 2347 requests (2187 known processed) with 0 events remaining.
________________________________________
From: Brian Paul [br...@vm...]
Sent: Tuesday, March 17, 2009 10:43 AM
To: Hugo Gagnon
Cc: mes...@li...
Subject: Re: [Mesa3d-users] Image rendeing problem
Hugo Gagnon wrote:
> Hello,
>
> I installed Paraview (a computational fluid dynamics software based on OpenGL) using the Fedora 10 repository on an Intel macbook with a built-in GMA 950 graphics card. Paraview opens normally but it does not render any images in the main visualization window. I posted an email to the relevant mailing list mentioning this issue and I got suggestions of installing Mesa. After a little search (again on the fc10 repository) I realized that Mesa was already running on my computer. Someone also proposed me to check if I could see the "glxgears" in a shell and the answer is no, I cannot. Then people suggested me to expose my problem to more competent users on the matter. So here I am... My first question may be: Why can't I see the "glxgears"? Please note that I am really not an expert in X and image rendering, and I also have a limited knowledge of Linux, therefore I would appreciate if you could be as clear as possible in your comments/suggestions/ideas.
>
> Any input is welcomed!
What does 'glxinfo' say?
You might try setting the LIBGL_DEBUG env var: 'export LIBGL_DEBUG=verbose' then run glxinfo or glxgears to see what it says.
-Brian
 | 
| 
     
      
      
      From: Brian P. <br...@vm...> - 2009-03-17 14:43:53
      
     
   | 
Hugo Gagnon wrote: > Hello, > > I installed Paraview (a computational fluid dynamics software based on OpenGL) using the Fedora 10 repository on an Intel macbook with a built-in GMA 950 graphics card. Paraview opens normally but it does not render any images in the main visualization window. I posted an email to the relevant mailing list mentioning this issue and I got suggestions of installing Mesa. After a little search (again on the fc10 repository) I realized that Mesa was already running on my computer. Someone also proposed me to check if I could see the "glxgears" in a shell and the answer is no, I cannot. Then people suggested me to expose my problem to more competent users on the matter. So here I am... My first question may be: Why can't I see the "glxgears"? Please note that I am really not an expert in X and image rendering, and I also have a limited knowledge of Linux, therefore I would appreciate if you could be as clear as possible in your comments/suggestions/ideas. > > Any input is welcomed! What does 'glxinfo' say? You might try setting the LIBGL_DEBUG env var: 'export LIBGL_DEBUG=verbose' then run glxinfo or glxgears to see what it says. -Brian  | 
| 
     
      
      
      From: Hugo G. <hug...@ma...> - 2009-03-14 19:28:55
      
     
   | 
Hello, I installed Paraview (a computational fluid dynamics software based on OpenGL) using the Fedora 10 repository on an Intel macbook with a built-in GMA 950 graphics card. Paraview opens normally but it does not render any images in the main visualization window. I posted an email to the relevant mailing list mentioning this issue and I got suggestions of installing Mesa. After a little search (again on the fc10 repository) I realized that Mesa was already running on my computer. Someone also proposed me to check if I could see the "glxgears" in a shell and the answer is no, I cannot. Then people suggested me to expose my problem to more competent users on the matter. So here I am... My first question may be: Why can't I see the "glxgears"? Please note that I am really not an expert in X and image rendering, and I also have a limited knowledge of Linux, therefore I would appreciate if you could be as clear as possible in your comments/suggestions/ideas. Any input is welcomed! Hugo.  | 
| 
     
      
      
      From: STEVE555 <ste...@ho...> - 2009-03-07 10:02:54
      
     
   | 
Hi everyone,
                    I managed to solve my problem.All I had to do was to
delete my original mesa folder from git and then downloaded a fresh copy
using git.Mesa compiles nicely now.
Regards,
              STEVE555
-- 
View this message in context: http://www.nabble.com/EGL-error-SOLVED--tp22267122p22386061.html
Sent from the mesa3d-users mailing list archive at Nabble.com.
 | 
| 
     
      
      
      From:  4.  <447...@qq...> - 2009-03-07 09:34:53
      
     
   | 
i successfully install the Mesa-7.3 ,but i cannot find the libOSMesa.
 
  
 ------------------ 原始邮件 ------------------ 
  发件人: "Brian Paul"<br...@vm...>;
 发送时间: 2009年3月5日(星期四) 晚上11:32
 收件人: "447884674"<447...@qq...>; 
 抄送: "Mesa3d-users"<Mes...@li...>; 
 主题: Re: 回复: [Mesa3d-users] HELP
  
Does your /usr/include/X11/Xfuncproto.h file have something like this:
# define _X_HIDDEN      __attribute__((visibility("hidden")))
-Brian
447884674 wrote:
> thank you.i install glproto-1.4.7.it solve some problem,but there are some error:
>  glxcmds.c:118: error:syntax error before ‘__GLXDRIdrawable’
> glxcmds.c:491: error:syntax error before ‘void’
> glxcmds.c:2199: error:syntax error before ‘GLboolean’
> glxcmds.c:2277: error:syntax error before ‘GLboolean’
> glxcmds.c:2711: error:syntax error before ‘char’
> glxcmds.c:2952:error:syntax error before ‘int’
>  
>  
> ------------------ 原始邮件 ------------------
> *发件人:* "Brian Paul"<br...@vm...>;
> *发送时间:* 2009年3月4日(星期三) 晚上11:05
> *收件人:* "447884674"<447...@qq...>;
> *抄送:* "Mesa3d-users"<Mes...@li...>;
> *主题:* Re: [Mesa3d-users] HELP
>  
> 447884674 wrote:
>> gmake[1]: Entering directory `/root/Mesa-7.2/src'
>> Making sources for autoconf
>> gmake[2]: Entering directory `/root/Mesa-7.2/src/glx/x11'
>> gcc -c -I. -I../../../include -I../../../include/GL/internal
>> -I../../../src/mesa/main -I../../../src/mesa/glapi -I/usr/include/drm
>>  -I/usr/X11R6/include -g -error: `X_GLXvop_ReleaseTexImageEXT'
>> undeclared (first
>> use in this function)
>> glxcmds.c: At top level:
>> glxcmds.c:2672: error: syntax error before "char"
>> glxcmds.c:2913: error: syntax error before "int"
>> gmake[2]: *** [glxcmds.o] Error 1
>> gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11'
>> gmake[1]: *** [subdirs] Error 1
>> gmake[1]: Leaving directory `/root/Mesa-7.2/src'
>> gmake: *** [default] Error 1
>> O2 -Wall -Wmissing-prototypes -std=c99
>> -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM
>> -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE
>> -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>> -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1
>> -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
>> -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER
>> -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o
>> glxcmds.c:113: error: syntax error before "__GLXDRIdrawable"
>> glxcmds.c:486: error: syntax error before "void"
>> glxcmds.c:2160: error: syntax error before "GLboolean"
>> glxcmds.c:2238: error: syntax error before "GLboolean"
>> glxcmds.c: In function `__glXBindTexImageEXT':
>> glxcmds.c:2600: error: `X_GLXvop_BindTexImageEXT' undeclared (first
>> use in this function)
>> glxcmds.c:2600: error: (Each undeclared identifier is reported only once
>> glxcmds.c:2600: error: for each function it appears in.)
>> glxcmds.c: In function `__glXReleaseTexImageEXT':
>> glxcmds.c:2652: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first
>> use in this function)
>> glxcmds.c: At top level:
>> glxcmds.c:2672: error: syntax error before "char"
>> glxcmds.c:2913: error: syntax error before "int"
>> gmake[2]: *** [glxcmds.o] Error 1
>> gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11'
>> gmake[1]: *** [subdirs] Error 1
>> gmake[1]: Leaving directory `/root/Mesa-7.2/src'
>> gmake: *** [default] Error 1
>>
>> What is the problem? Please help me.
> 
> You probably need newer glproto files.  You can get them from git on
> freedesktop.org at git://anongit.freedesktop.org/git/xorg/proto/glproto
> 
> -Brian | 
| 
     
      
      
      From: Brian P. <br...@vm...> - 2009-03-05 15:32:30
      
     
   | 
Does your /usr/include/X11/Xfuncproto.h file have something like this:
# define _X_HIDDEN      __attribute__((visibility("hidden")))
-Brian
447884674 wrote:
> thank you.i install glproto-1.4.7.it solve some problem,but there are some error:
>  glxcmds.c:118: error:syntax error before ‘__GLXDRIdrawable’
> glxcmds.c:491: error:syntax error before ‘void’
> glxcmds.c:2199: error:syntax error before ‘GLboolean’
> glxcmds.c:2277: error:syntax error before ‘GLboolean’
> glxcmds.c:2711: error:syntax error before ‘char’
> glxcmds.c:2952:error:syntax error before ‘int’
>  
>  
> ------------------ 原始邮件 ------------------
> *发件人:* "Brian Paul"<br...@vm...>;
> *发送时间:* 2009年3月4日(星期三) 晚上11:05
> *收件人:* "447884674"<447...@qq...>;
> *抄送:* "Mesa3d-users"<Mes...@li...>;
> *主题:* Re: [Mesa3d-users] HELP
>  
> 447884674 wrote:
>> gmake[1]: Entering directory `/root/Mesa-7.2/src'
>> Making sources for autoconf
>> gmake[2]: Entering directory `/root/Mesa-7.2/src/glx/x11'
>> gcc -c -I. -I../../../include -I../../../include/GL/internal
>> -I../../../src/mesa/main -I../../../src/mesa/glapi -I/usr/include/drm
>>  -I/usr/X11R6/include -g -error: `X_GLXvop_ReleaseTexImageEXT'
>> undeclared (first
>> use in this function)
>> glxcmds.c: At top level:
>> glxcmds.c:2672: error: syntax error before "char"
>> glxcmds.c:2913: error: syntax error before "int"
>> gmake[2]: *** [glxcmds.o] Error 1
>> gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11'
>> gmake[1]: *** [subdirs] Error 1
>> gmake[1]: Leaving directory `/root/Mesa-7.2/src'
>> gmake: *** [default] Error 1
>> O2 -Wall -Wmissing-prototypes -std=c99
>> -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM
>> -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE
>> -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>> -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1
>> -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
>> -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER
>> -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o
>> glxcmds.c:113: error: syntax error before "__GLXDRIdrawable"
>> glxcmds.c:486: error: syntax error before "void"
>> glxcmds.c:2160: error: syntax error before "GLboolean"
>> glxcmds.c:2238: error: syntax error before "GLboolean"
>> glxcmds.c: In function `__glXBindTexImageEXT':
>> glxcmds.c:2600: error: `X_GLXvop_BindTexImageEXT' undeclared (first
>> use in this function)
>> glxcmds.c:2600: error: (Each undeclared identifier is reported only once
>> glxcmds.c:2600: error: for each function it appears in.)
>> glxcmds.c: In function `__glXReleaseTexImageEXT':
>> glxcmds.c:2652: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first
>> use in this function)
>> glxcmds.c: At top level:
>> glxcmds.c:2672: error: syntax error before "char"
>> glxcmds.c:2913: error: syntax error before "int"
>> gmake[2]: *** [glxcmds.o] Error 1
>> gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11'
>> gmake[1]: *** [subdirs] Error 1
>> gmake[1]: Leaving directory `/root/Mesa-7.2/src'
>> gmake: *** [default] Error 1
>>
>> What is the problem? Please help me.
> 
> You probably need newer glproto files.  You can get them from git on
> freedesktop.org at git://anongit.freedesktop.org/git/xorg/proto/glproto
> 
> -Brian
 | 
| 
     
      
      
      From:  4.  <447...@qq...> - 2009-03-05 01:16:27
      
     
   | 
thank you.i install glproto-1.4.7.it solve some problem,but there are some error: glxcmds.c:118: error:syntax error before ‘__GLXDRIdrawable’ glxcmds.c:491: error:syntax error before ‘void’ glxcmds.c:2199: error:syntax error before ‘GLboolean’ glxcmds.c:2277: error:syntax error before ‘GLboolean’ glxcmds.c:2711: error:syntax error before ‘char’ glxcmds.c:2952:error:syntax error before ‘int’ ------------------ 原始邮件 ------------------ 发件人: "Brian Paul"<br...@vm...>; 发送时间: 2009年3月4日(星期三) 晚上11:05 收件人: "447884674"<447...@qq...>; 抄送: "Mesa3d-users"<Mes...@li...>; 主题: Re: [Mesa3d-users] HELP 447884674 wrote: > gmake[1]: Entering directory `/root/Mesa-7.2/src' > Making sources for autoconf > gmake[2]: Entering directory `/root/Mesa-7.2/src/glx/x11' > gcc -c -I. -I../../../include -I../../../include/GL/internal > -I../../../src/mesa/main -I../../../src/mesa/glapi -I/usr/include/drm > -I/usr/X11R6/include -g -error: `X_GLXvop_ReleaseTexImageEXT' > undeclared (first > use in this function) > glxcmds.c: At top level: > glxcmds.c:2672: error: syntax error before "char" > glxcmds.c:2913: error: syntax error before "int" > gmake[2]: *** [glxcmds.o] Error 1 > gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' > gmake[1]: *** [subdirs] Error 1 > gmake[1]: Leaving directory `/root/Mesa-7.2/src' > gmake: *** [default] Error 1 > O2 -Wall -Wmissing-prototypes -std=c99 > -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM > -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE > -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE > -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 > -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS > -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER > -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o > glxcmds.c:113: error: syntax error before "__GLXDRIdrawable" > glxcmds.c:486: error: syntax error before "void" > glxcmds.c:2160: error: syntax error before "GLboolean" > glxcmds.c:2238: error: syntax error before "GLboolean" > glxcmds.c: In function `__glXBindTexImageEXT': > glxcmds.c:2600: error: `X_GLXvop_BindTexImageEXT' undeclared (first > use in this function) > glxcmds.c:2600: error: (Each undeclared identifier is reported only once > glxcmds.c:2600: error: for each function it appears in.) > glxcmds.c: In function `__glXReleaseTexImageEXT': > glxcmds.c:2652: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first > use in this function) > glxcmds.c: At top level: > glxcmds.c:2672: error: syntax error before "char" > glxcmds.c:2913: error: syntax error before "int" > gmake[2]: *** [glxcmds.o] Error 1 > gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' > gmake[1]: *** [subdirs] Error 1 > gmake[1]: Leaving directory `/root/Mesa-7.2/src' > gmake: *** [default] Error 1 > > What is the problem? Please help me. You probably need newer glproto files. You can get them from git on freedesktop.org at git://anongit.freedesktop.org/git/xorg/proto/glproto -Brian  | 
| 
     
      
      
      From: Brian P. <br...@vm...> - 2009-03-04 15:05:55
      
     
   | 
447884674 wrote: > gmake[1]: Entering directory `/root/Mesa-7.2/src' > Making sources for autoconf > gmake[2]: Entering directory `/root/Mesa-7.2/src/glx/x11' > gcc -c -I. -I../../../include -I../../../include/GL/internal > -I../../../src/mesa/main -I../../../src/mesa/glapi -I/usr/include/drm > -I/usr/X11R6/include -g -error: `X_GLXvop_ReleaseTexImageEXT' > undeclared (first > use in this function) > glxcmds.c: At top level: > glxcmds.c:2672: error: syntax error before "char" > glxcmds.c:2913: error: syntax error before "int" > gmake[2]: *** [glxcmds.o] Error 1 > gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' > gmake[1]: *** [subdirs] Error 1 > gmake[1]: Leaving directory `/root/Mesa-7.2/src' > gmake: *** [default] Error 1 > O2 -Wall -Wmissing-prototypes -std=c99 > -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM > -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE > -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE > -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 > -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS > -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER > -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o > glxcmds.c:113: error: syntax error before "__GLXDRIdrawable" > glxcmds.c:486: error: syntax error before "void" > glxcmds.c:2160: error: syntax error before "GLboolean" > glxcmds.c:2238: error: syntax error before "GLboolean" > glxcmds.c: In function `__glXBindTexImageEXT': > glxcmds.c:2600: error: `X_GLXvop_BindTexImageEXT' undeclared (first > use in this function) > glxcmds.c:2600: error: (Each undeclared identifier is reported only once > glxcmds.c:2600: error: for each function it appears in.) > glxcmds.c: In function `__glXReleaseTexImageEXT': > glxcmds.c:2652: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first > use in this function) > glxcmds.c: At top level: > glxcmds.c:2672: error: syntax error before "char" > glxcmds.c:2913: error: syntax error before "int" > gmake[2]: *** [glxcmds.o] Error 1 > gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' > gmake[1]: *** [subdirs] Error 1 > gmake[1]: Leaving directory `/root/Mesa-7.2/src' > gmake: *** [default] Error 1 > > What is the problem? Please help me. You probably need newer glproto files. You can get them from git on freedesktop.org at git://anongit.freedesktop.org/git/xorg/proto/glproto -Brian  | 
| 
     
      
      
      From:  4.  <447...@qq...> - 2009-03-04 11:19:24
      
     
   | 
gmake[1]: Entering directory `/root/Mesa-7.2/src' Making sources for autoconf gmake[2]: Entering directory `/root/Mesa-7.2/src/glx/x11' gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I/usr/include/drm -I/usr/X11R6/include -g -error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) glxcmds.c: At top level: glxcmds.c:2672: error: syntax error before "char" glxcmds.c:2913: error: syntax error before "int" gmake[2]: *** [glxcmds.o] Error 1 gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/root/Mesa-7.2/src' gmake: *** [default] Error 1 O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o glxcmds.c:113: error: syntax error before "__GLXDRIdrawable" glxcmds.c:486: error: syntax error before "void" glxcmds.c:2160: error: syntax error before "GLboolean" glxcmds.c:2238: error: syntax error before "GLboolean" glxcmds.c: In function `__glXBindTexImageEXT': glxcmds.c:2600: error: `X_GLXvop_BindTexImageEXT' undeclared (first use in this function) glxcmds.c:2600: error: (Each undeclared identifier is reported only once glxcmds.c:2600: error: for each function it appears in.) glxcmds.c: In function `__glXReleaseTexImageEXT': glxcmds.c:2652: error: `X_GLXvop_ReleaseTexImageEXT' undeclared (first use in this function) glxcmds.c: At top level: glxcmds.c:2672: error: syntax error before "char" glxcmds.c:2913: error: syntax error before "int" gmake[2]: *** [glxcmds.o] Error 1 gmake[2]: Leaving directory `/root/Mesa-7.2/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/root/Mesa-7.2/src' gmake: *** [default] Error 1 What is the problem? Please help me.  | 
| 
     
      
      
      From: Philipp K. K. <pk...@sp...> - 2009-03-03 21:00:12
      
     
   | 
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lucas Clemente Vella schrieb: > > I finally came to a solution, this line in .drirc configuration file > (I would not find it without the great DRIconf application): > > <option name="force_s3tc_enable" value="true" /> > > There is no need for libtxc_dxtn, since i945 (and all the chips I > know) have hardware accelerated DXTn compression; but it seems that if > Mesa can't find the lib, it disables the support for compression. In > my case, Ogre was decompressing it in software. The option forces Mesa > to support the compression even without software fallback (IMHO, what > should be default), No, it shouldn't be the default. Enabling this option breaks OpenGL. libtxc_dxtn is needed if you want S3TC texture (de)compression in your Mesa-provided OpenGL. Hardware support for S3TC is not enough. There will always be cases where Mesa has to fall back to software, at least partially, when you're using some feature that your hardware or the driver doesn't support (maybe it's glDrawPixles(), maybe it's some fog option, maybe it's the depth test, maybe it's the render mode, whatever). And at that moment things will break apart, since the software fallback won't support S3TC without libtxc_dxtn. Oh, and none of the chips I know has hardware support for S3TC _compression_ (though most have support for hardware _decompression_). The S3TC extension requires support for _compression_, too. Philipp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmtmlYACgkQbtUV+xsoLppQwQCfeSndZzla3+TMyukyHuS5m/pB vfkAnRuF0AupsqcQeg80/iAN4235l37B =z1BQ -----END PGP SIGNATURE-----  |