Re: [Mesa3d-dev] undefined symbols and silent fallback to swrast

2010-03-15 Thread Michel Dänzer
On Mon, 2010-03-15 at 00:09 +0100, Xavier Chantry wrote: 14:47 lb1 the fact is that if you remove a function from mesa .c file, everything will succeed, but the resulting driver will fail to load 14:47 lb1 because it cannot resolve that symbol 14:48 lb1 not sure why 14:48

Re: [Mesa3d-dev] gallium-sw-api-2, cell driver alert!

2010-03-15 Thread Dave Airlie
On Wed, Mar 10, 2010 at 6:47 AM, Keith Whitwell kei...@vmware.com wrote: On Tue, 2010-03-09 at 12:43 -0800, Dave Airlie wrote: On Wed, Mar 10, 2010 at 2:31 AM, Keith Whitwell kei...@vmware.com wrote: On Tue, 2010-03-09 at 08:19 -0800, Corbin Simpson wrote: On Tue, Mar 9, 2010 at 6:08 AM,

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

2010-03-15 Thread George Sapountzis
On Mon, Mar 15, 2010 at 3:11 AM, Ian Romanick i...@freedesktop.org wrote: If you're going to do this, please make a separate driver.  Call it swrastg or something.  I use swrast for testing new core Mesa features that I implement, and I don't want to be forced to muck about with Gallium to do

[Mesa3d-dev] Merging gallium-st-api

2010-03-15 Thread Chia-I Wu
Hi list, gallium-st-api has come to the point that st/glx passes as many piglit quick tests as st/glx in master does. I'd like to merge it to master some time this week. gallium-st-api implements a new interface, st_api.h, that aims to be a replacement for st_public.h. The new interface paves

[Mesa3d-dev] [Bug 27065] build failure: No rule to make target `../../../../src/gallium/drivers/softpipe/sp_winsys.h', needed by `x11/native_ximage.o'.

2010-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27065 Chia-I Wu olva...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: [Mesa3d-dev] undefined symbols and silent fallback to swrast

2010-03-15 Thread Xavier Chantry
2010/3/15 Michel Dänzer mic...@daenzer.net: One problem is that drivers can be loaded from several paths; if the HW driver fails to load from the first path but succeeds from the next one, any error messages from the first attempt would be confusing. If it fails to load because it does not

Re: [Mesa3d-dev] xdemos build breakage...

2010-03-15 Thread Julien Cristau
On Sat, Mar 13, 2010 at 20:20:36 -0800, Jeff Smith wrote: Except that AC_PATH_XTRA returns X_LIBS without '-lX11', while PKG_CHECK_MODULES returns X_LIBS with it. In the attached patch I add '-lX11' to the former. Of course, with '-lX11' as part of X_LIBS, the explicit '-lX11' can be removed

Re: [Mesa3d-dev] xdemos build breakage...

2010-03-15 Thread Dan Nicholson
On Mon, Mar 15, 2010 at 5:24 AM, Julien Cristau jcris...@debian.org wrote: On Sat, Mar 13, 2010 at 20:20:36 -0800, Jeff Smith wrote: Except that AC_PATH_XTRA returns X_LIBS without '-lX11', while PKG_CHECK_MODULES returns X_LIBS with it.  In the attached patch I add '-lX11' to the former.  Of

[Mesa3d-dev] [PATCH] nv40: remove leftover nv40_transfer.c from unification into nvfx

2010-03-15 Thread Luca Barbieri
--- src/gallium/drivers/nv40/nv40_transfer.c | 181 -- 1 files changed, 0 insertions(+), 181 deletions(-) delete mode 100644 src/gallium/drivers/nv40/nv40_transfer.c diff --git a/src/gallium/drivers/nv40/nv40_transfer.c b/src/gallium/drivers/nv40/nv40_transfer.c

Re: [Mesa3d-dev] undefined symbols and silent fallback to swrast

2010-03-15 Thread Luca Barbieri
Adding both -Wl,--no-undefined and -lGL (in src/gallium/winsys/drm/Makefile.template) seems to work for me. The driver loader is already loading libGL.so.1 with RTLD_NOW | RTLD_GLOBAL, so I think that the DRI driver depending on libGL.so.1 shouldn't introduce any issue.

[Mesa3d-dev] [PATCH] dri: link DRI drivers with -Wl, --no-undefined -lGL

2010-03-15 Thread Luca Barbieri
Right now undefined symbols in DRI drivers will still allow the build to succeed. As a result, people modifying drivers they cannot test risk creating unloadable drivers with no easy way of automatically avoiding it. For instance, the modifications to nv50 for context transfers caused such an

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-15 Thread michal
michal wrote on 2010-03-12 15:00: michal wrote on 2010-03-11 17:59: Keith Whitwell wrote on 2010-03-11 16:16: On Thu, 2010-03-11 at 06:05 -0800, michal wrote: Keith Whitwell wrote on 2010-03-11 14:21: On Thu, 2010-03-11 at 03:16 -0800,

Re: [Mesa3d-dev] [PATCH] nv40: remove leftover nv40_transfer.c from unification into nvfx

2010-03-15 Thread Younes Manton
On Mon, Mar 15, 2010 at 9:35 AM, Luca Barbieri l...@luca-barbieri.com wrote: ---  src/gallium/drivers/nv40/nv40_transfer.c |  181 --  1 files changed, 0 insertions(+), 181 deletions(-)  delete mode 100644 src/gallium/drivers/nv40/nv40_transfer.c diff --git

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-15 Thread Keith Whitwell
On Mon, 2010-03-15 at 07:08 -0700, michal wrote: michal wrote on 2010-03-12 15:00: michal wrote on 2010-03-11 17:59: Keith Whitwell wrote on 2010-03-11 16:16: On Thu, 2010-03-11 at 06:05 -0800, michal wrote: Keith Whitwell wrote on 2010-03-11 14:21:

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-15 Thread michal
Keith Whitwell wrote on 2010-03-15 15:19: On Mon, 2010-03-15 at 07:08 -0700, michal wrote: michal wrote on 2010-03-12 15:00: michal wrote on 2010-03-11 17:59: Keith Whitwell wrote on 2010-03-11 16:16: On Thu, 2010-03-11 at 06:05 -0800, michal wrote:

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-15 Thread Keith Whitwell
On Mon, 2010-03-15 at 07:24 -0700, michal wrote: Keith Whitwell wrote on 2010-03-15 15:19: On Mon, 2010-03-15 at 07:08 -0700, michal wrote: michal wrote on 2010-03-12 15:00: michal wrote on 2010-03-11 17:59: Keith Whitwell wrote on 2010-03-11 16:16:

Re: [Mesa3d-dev] undefined symbols and silent fallback to swrast

2010-03-15 Thread Michel Dänzer
On Mon, 2010-03-15 at 14:30 +0100, Luca Barbieri wrote: Adding both -Wl,--no-undefined and -lGL (in src/gallium/winsys/drm/Makefile.template) seems to work for me. The driver loader is already loading libGL.so.1 with RTLD_NOW | RTLD_GLOBAL, so I think that the DRI driver depending on

[Mesa3d-dev] [Bug 27097] Rquest new fdo account for chr...@vmware.com

2010-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27097 Brian Paul bri...@vmware.com changed: What|Removed |Added AssignedTo|mesa3d-

Re: [Mesa3d-dev] Merging gallium-st-api

2010-03-15 Thread Chia-I Wu
On Mon, Mar 15, 2010 at 8:04 PM, Keith Whitwell kei...@vmware.com wrote: On Mon, 2010-03-15 at 04:27 -0700, Chia-I Wu wrote: Hi list, gallium-st-api has come to the point that st/glx passes as many piglit quick tests as st/glx in master does.  I'd like to merge it to master some time this