Re: [Mesa3d-dev] Current tinderbox regression (swrastg_dri, sparc64)

2010-03-25 Thread Luca Barbieri
Are you sure that swrastg and/or any Gallium driver actually load correctly and work on sparc64? This seems to indicate that they use __sync_add_and_fetch_4 assuming it is a GCC builtin, but GCC does not implement it as a builtin on sparc64 and neither libgcc nor libc have an implementation of the

[Mesa3d-dev] New buuild error with Mesa git

2010-03-25 Thread STEVE555
Hi guys, I've pulled in the latest commits from Mesa git at about 1am this morning. I ran gmake -B realclean,and then used autoreconf -iv and ./autogen.sh with my configure options,i.e: ./autogen.sh --prefix=/usr --enable-32-bit --enable-xcb --enable-gallium-nouveau --with-state-track

Re: [Mesa3d-dev] Current tinderbox regression (swrastg_dri, sparc64)

2010-03-25 Thread George Sapountzis
On Fri, Mar 26, 2010 at 2:23 AM, Chris Ball wrote: > Hi, > > http://tinderbox.x.org/builds/2010-03-25-0018/logs/libGL/#build > > mklib: Making Linux shared library:  swrastg_dri.so.tmp > gcc -o swrastg_dri.so.test ../../../../src/mesa/drivers/dri/common/dri_test.o > swrastg_dri.so.tmp > -L/home/c

Re: [Mesa3d-dev] [RFC] Draw module patch and BGRA fix for i915g

2010-03-25 Thread Jakob Bornecrantz
On Thu, Mar 25, 2010 at 11:52 PM, Brian Paul wrote: > Jakob Bornecrantz wrote: >> >> Hi Brian, Keith, Zack et al. >> >> So I tried to get i915g running again and it looks like there is a >> RGBA vs BGRA bug in the draw module. I have attached two patches that >> I would like to have some comments

[Mesa3d-dev] Current tinderbox regression (swrastg_dri, sparc64)

2010-03-25 Thread Chris Ball
Hi, http://tinderbox.x.org/builds/2010-03-25-0018/logs/libGL/#build mklib: Making Linux shared library: swrastg_dri.so.tmp gcc -o swrastg_dri.so.test ../../../../src/mesa/drivers/dri/common/dri_test.o swrastg_dri.so.tmp -L/home/cjb/xorg-build/lib -ldrm -lexpat -lm -lpthread -ldl swrastg_dri.s

[Mesa3d-dev] [Bug 27286] Mod function returns wrong value

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27286 --- Comment #5 from Brian Paul 2010-03-25 17:23:47 PST --- Off-hand, I _think_ this is an issue with the SSE rcp (reciprocol) instruction. Per the comment in the code, I think we need to produce a more accurate result: static void emit_rcp

[Mesa3d-dev] [Bug 27312] glCopyTexImage2D Doesnt seem to work correctly (returns incorrect alpha component )when internal format is GL_RGB

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27312 --- Comment #2 from Brian Paul 2010-03-25 17:17:14 PST --- Which driver are you using? swrast or softpipe or other? I could probably look into this as soon as you provide a (glut) test program. -- Configure bugmail: http://bugs.freedesk

Re: [Mesa3d-dev] plumbing for gallium swrast_dri.so

2010-03-25 Thread Jakob Bornecrantz
On Thu, Mar 25, 2010 at 11:22 PM, George Sapountzis wrote: > On Thu, Mar 25, 2010 at 9:49 PM, Jakob Bornecrantz > wrote: >> On Thu, Mar 25, 2010 at 7:00 PM, George Sapountzis >> wrote: >>> On Thu, Mar 25, 2010 at 7:58 PM, Jakob Bornecrantz >>> wrote: 0003 moves drisw into dri/sw and the

Re: [Mesa3d-dev] Separate demos repository

2010-03-25 Thread Brian Paul
Eric Anholt wrote: > People that hang out on IRC have probably heard about my build system > work. One of the first steps I've been working on finishing is > splitting out the demos repository. We're currently distributing the > Mesa progs/ separately from the main Mesa distribution, and most peo

Re: [Mesa3d-dev] [RFC] Draw module patch and BGRA fix for i915g

2010-03-25 Thread Brian Paul
Jakob Bornecrantz wrote: > Hi Brian, Keith, Zack et al. > > So I tried to get i915g running again and it looks like there is a > RGBA vs BGRA bug in the draw module. I have attached two patches that > I would like to have some comments on before commit. > > Patch 1 removes a bunch of switch cases

Re: [Mesa3d-dev] plumbing for gallium swrast_dri.so

2010-03-25 Thread George Sapountzis
On Thu, Mar 25, 2010 at 9:49 PM, Jakob Bornecrantz wrote: > On Thu, Mar 25, 2010 at 7:00 PM, George Sapountzis > wrote: >> On Thu, Mar 25, 2010 at 7:58 PM, Jakob Bornecrantz >> wrote: >>> 0003 moves drisw into dri/sw and the drm dri files into dri/drm, yet >>> again for clarity. >>> >>> 0004 mo

Re: [Mesa3d-dev] [PATCH] Re: master: undef/unmangled EGL functions are part of libOSMesa

2010-03-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tom fogal wrote: > Brian Paul writes: >> Tom wrote: tom fogal wrote: > $ lib nm libOSMesa.so | grep "EGL" >U glEGLImageTargetRenderbufferStorageOES >U glEGLImageTargetTexture2DOES > >

Re: [Mesa3d-dev] [PATCH] Re: master: undef/unmangled EGL functions are part of libOSMesa

2010-03-25 Thread tom fogal
Brian Paul writes: > Tom wrote: > > > tom fogal wrote: > > > > $ lib nm libOSMesa.so | grep "EGL" > > > >U glEGLImageTargetRenderbufferStorageOES > > > >U glEGLImageTargetTexture2DOES > > > > > > > > this prevents using libOSMesa, since one gets link error

[Mesa3d-dev] [RFC] Draw module patch and BGRA fix for i915g

2010-03-25 Thread Jakob Bornecrantz
Hi Brian, Keith, Zack et al. So I tried to get i915g running again and it looks like there is a RGBA vs BGRA bug in the draw module. I have attached two patches that I would like to have some comments on before commit. Patch 1 removes a bunch of switch cases that was strew all over the draw modul

Re: [Mesa3d-dev] plumbing for gallium swrast_dri.so

2010-03-25 Thread Jakob Bornecrantz
On Thu, Mar 25, 2010 at 7:00 PM, George Sapountzis wrote: > On Thu, Mar 25, 2010 at 7:58 PM, Jakob Bornecrantz > wrote: >> On Thu, Mar 25, 2010 at 3:12 PM, George Sapountzis >> wrote: >>> I pushed this to master, swrastg_dri was added to the autoconf build >>> system only. >>> >>> I also did a

Re: [Mesa3d-dev] [RFC] gallium-targets merge

2010-03-25 Thread Jakob Bornecrantz
On Thu, Mar 25, 2010 at 7:06 PM, Xavier Chantry wrote: > On Thu, Mar 25, 2010 at 6:35 PM, Jakob Bornecrantz > wrote: >> >> Thanks for testing... >> >> Hmm I currently only checking for if the --enable-egl switch has been >> thrown when selecting so if you throw in --disable-egl in there it >> sh

Re: [Mesa3d-dev] [RFC] gallium-targets merge

2010-03-25 Thread Xavier Chantry
On Thu, Mar 25, 2010 at 6:35 PM, Jakob Bornecrantz wrote: > > Thanks for testing... > > Hmm I currently only checking for if the --enable-egl switch has been > thrown when selecting so if you throw in --disable-egl in there it > should work again. I'll look into it. > Interestingly enough, the dr

Re: [Mesa3d-dev] plumbing for gallium swrast_dri.so

2010-03-25 Thread George Sapountzis
On Thu, Mar 25, 2010 at 7:58 PM, Jakob Bornecrantz wrote: > On Thu, Mar 25, 2010 at 3:12 PM, George Sapountzis > wrote: >> I pushed this to master, swrastg_dri was added to the autoconf build >> system only. >> >> I also did a merge with gallium-resources for st/dri at >> ~gsap7/gallium-resources

Re: [Mesa3d-dev] [RFC] gallium-targets merge

2010-03-25 Thread Jakob Bornecrantz
On Thu, Mar 25, 2010 at 5:30 PM, Xavier Chantry wrote: > I've been using the configure line from nouveau wiki for a while now : > http://nouveau.freedesktop.org/wiki/GalliumHowto > > ./configure --enable-debug --enable-glx-tls --disable-asm > --with-dri-drivers= --enable-gallium-nouveau --disable-

Re: [Mesa3d-dev] [RFC] gallium-targets merge

2010-03-25 Thread Xavier Chantry
I've been using the configure line from nouveau wiki for a while now : http://nouveau.freedesktop.org/wiki/GalliumHowto ./configure --enable-debug --enable-glx-tls --disable-asm --with-dri-drivers= --enable-gallium-nouveau --disable-gallium-intel --disable-gallium-radeon --disable-gallium-svga --w

[Mesa3d-dev] [Bug 27312] glCopyTexImage2D Doesnt seem to work correctly (returns incorrect alpha component )when internal format is GL_RGB

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27312 --- Comment #1 from Karthik Hariharakrishnan 2010-03-25 10:18:05 PST --- Created an attachment (id=34439) --> (http://bugs.freedesktop.org/attachment.cgi?id=34439) fragment shader used to reproduce bug -- Configure bugmail: http://bugs.f

[Mesa3d-dev] [Bug 27312] New: glCopyTexImage2D Doesnt seem to work correctly (returns incorrect alpha component )when internal format is GL_RGB

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27312 Summary: glCopyTexImage2D Doesnt seem to work correctly (returns incorrect alpha component )when internal format is GL_RGB Product: Mesa Version: unspecified Platfor

[Mesa3d-dev] [Bug 24942] r300g: R300 Gallium SW TCL

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24942 Joakim Sindholt changed: What|Removed |Added CC||tstel...@gmail.com --- Comment #2 f

[Mesa3d-dev] [Bug 27301] r300g: segfault while running glxgears

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27301 Joakim Sindholt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa3d-dev] plumbing for gallium swrast_dri.so

2010-03-25 Thread George Sapountzis
I pushed this to master, swrastg_dri was added to the autoconf build system only. I also did a merge with gallium-resources for st/dri at ~gsap7/gallium-resources-merge-drisw, it basically reverts the old conversion, merges and redoes the conversion because there were a lot of conflicts, hope this

[Mesa3d-dev] [Bug 27301] r300g: segfault while running glxgears

2010-03-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27301 --- Comment #1 from Alex Deucher 2010-03-25 07:11:22 PST --- IGP cards don't currently work properly with r300g. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

Re: [Mesa3d-dev] [RFC] gallium-targets merge

2010-03-25 Thread Jakob Bornecrantz
Hi I since this was not a interface change and I think I got a large enough test sample from various people I have merged the branch to master. I confirmed that the following builds are working; configure with all drivers, configure default, make linux-debug, scons with dri=yes, scons with dri=no.