Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Lampersperger Andreas
Hello Stéphane, I've tried your patch (I adopted it to 7.10.3, see attached patch), but it results in a SEGFAULT: Thread [1] 12367 (Suspended : Signal : SIGSEGV:Segmentation fault) st_visual_to_context_mode() at st_manager.c:309 0xb6ea7be0 st_framebuffer_create()

Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Stéphane Marchesin
On Thu, Jun 16, 2011 at 00:10, Lampersperger Andreas < lampersperger.andr...@heidenhain.de> wrote: > Hello Stéphane, > > ** ** > > I’ve tried your patch (I adopted it to 7.10.3, see attached patch), but it > results in a SEGFAULT: > > ** > Hmm right I'm working against mesa git. That sai

Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Lampersperger Andreas
Hello Stéphane, your are right, I forgot to attach, here it is... Andreas Von: marc...@google.com [mailto:marc...@google.com] Im Auftrag von Stéphane Marchesin Gesendet: Donnerstag, 16. Juni 2011 10:52 An: Lampersperger Andreas Cc: mesa-dev@lists.freedesktop.org Betreff: Re: [Mesa-dev] leak of

Re: [Mesa-dev] [PATCH] st/mesa: improved is_interleaved_arrays() checking

2011-06-16 Thread Jose Fonseca
- Original Message - > On Tue, 2011-06-14 at 09:39 -0600, Brian Paul wrote: > > Good question. I was thinking that the interleaved vs. > > non-interleaved paths could probably be merged with a little work. > > I > > don't remember the original reason for doing things as they are. > > I t

[Mesa-dev] [Bug 37476] [wine] Devil May Cry 4: TXD tgsi opcode unsupported / translation from TGSI failed / missing vertex shader

2011-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37476 Sven Arvidsson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Bryan Cain
On Thu, Jun 16, 2011 at 12:46 AM, Dave Airlie wrote: > On Thu, Jun 16, 2011 at 3:22 PM, Dave Airlie wrote: > > On Thu, Jun 16, 2011 at 7:38 AM, Bryan Cain > wrote: > >> My work on the GLSL IR to TGSI translator I announced on the list this > >> April is now at the point where I think it is rea

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Brian Paul
On 06/15/2011 03:38 PM, Bryan Cain wrote: My work on the GLSL IR to TGSI translator I announced on the list this April is now at the point where I think it is ready to be merged into Mesa. It is stable and doesn't regress any piglit tests on softpipe or nv50. It adds native integer support as r

Re: [Mesa-dev] Status of VDPAU and XvMC state-trackers (was Re: Build error on current xvmc-r600 pipe-video)

2011-06-16 Thread Jose Fonseca
- Original Message - > On Mon, Jun 13, 2011 at 3:23 PM, Jose Fonseca > wrote: > > > > - Original Message - > >> Am 05.06.2011 06:31, schrieb Younes Manton: > >> > 2011/6/4 Jose Fonseca : > >> >> At very least there are ovious things that need to be fixed: > >> >> > >> >> - get_pa

Re: [Mesa-dev] [PATCH 1/7] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Brian Paul
On 06/15/2011 06:34 PM, Chad Versace wrote: If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to the them. For example, if hardware requires separate depth and stencil buffers (X8_Z24 and S8), then glRenderbufferStorage(GL_DEPTH24_STENCIL8) may create a fake S8_Z24 renderbuff

Re: [Mesa-dev] [PATCH 0/6] Overhaul of Gallium configure options

2011-06-16 Thread Jose Fonseca
* --enable-debug => build=debug (there's also, "profile", "checked", and "release") * --with-xxx --disable-xxx => just say list target you want, and scons will build that target, and all depencies, and nothing more. For example scons dri-r600g It would be nice to have a list of all targe

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Jerome Glisse
On Thu, Jun 16, 2011 at 10:08 AM, Brian Paul wrote: > On 06/15/2011 03:38 PM, Bryan Cain wrote: >> >> My work on the GLSL IR to TGSI translator I announced on the list this >> April is now at the point where I think it is ready to be merged into >> Mesa.  It is stable and doesn't regress any pigli

Re: [Mesa-dev] [PATCH 1/6] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Alex Deucher
On Wed, Jun 15, 2011 at 9:09 PM, Chad Versace wrote: > If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to > the them. > > For example, if hardware requires separate depth and stencil buffers > (X8_Z24 and S8), then glRenderbufferStorage(GL_DEPTH24_STENCIL8) may > create a fak

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Brian Paul
On 06/16/2011 08:41 AM, Jerome Glisse wrote: On Thu, Jun 16, 2011 at 10:08 AM, Brian Paul wrote: On 06/15/2011 03:38 PM, Bryan Cain wrote: My work on the GLSL IR to TGSI translator I announced on the list this April is now at the point where I think it is ready to be merged into Mesa. It is

Re: [Mesa-dev] [PATCH 1/7] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/15/2011 05:34 PM, Chad Versace wrote: > If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to > the them. > > For example, if hardware requires separate depth and stencil buffers > (X8_Z24 and S8), then glRenderbufferStorage(G

Re: [Mesa-dev] [PATCH 1/7] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/16/2011 07:14 AM, Brian Paul wrote: > On 06/15/2011 06:34 PM, Chad Versace wrote: >> If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to >> the them. >> >> For example, if hardware requires separate depth and stencil buffers

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Bryan Cain
On Thu, Jun 16, 2011 at 9:08 AM, Brian Paul wrote: > > > Looks like nice work, Bryan. > > Just a few minor questions/comments for now: > > 1. The st_fragment/vertex/geometry_program structs now have a glsl_to_tgsi > field. I did a grep, but I couldn't find where that field is assigned. Can > you

[Mesa-dev] [Bug 37476] [wine] Devil May Cry 4: TXD tgsi opcode unsupported / translation from TGSI failed / missing vertex shader

2011-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37476 --- Comment #7 from Sven Arvidsson 2011-06-16 10:24:11 PDT --- FWIW the shader issues was resolved with an upgrade to the latest version of Wine. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receivi

Re: [Mesa-dev] [PATCH 1/6] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Chad Versace
On 06/16/2011 08:01 AM, Alex Deucher wrote: > On Wed, Jun 15, 2011 at 9:09 PM, Chad Versace wrote: >> If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to >> the them. >> >> For example, if hardware requires separate depth and stencil buffers >> (X8_Z24 and S8), then glRenderbu

Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Stéphane Marchesin
On Thu, Jun 16, 2011 at 02:05, Lampersperger Andreas < lampersperger.andr...@heidenhain.de> wrote: > Hello Stéphane, > > ** ** > > your are right, I forgot to attach, here it is... > > ** > Erm, you miss half the patch in there... Can you try with my patch on git mesa instead? Stéphane

Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Kenneth Graunke
On 06/16/2011 12:10 AM, Lampersperger Andreas wrote: Hello Stéphane, I’ve tried your patch (I adopted it to 7.10.3, see attached patch), but it results in a SEGFAULT: Thread [1] 12367 (Suspended : Signal : SIGSEGV:Segmentation fault) st_visual_to_context_mode() at st_manager.c

Re: [Mesa-dev] [PATCH 1/6] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Alex Deucher
On Thu, Jun 16, 2011 at 1:26 PM, Chad Versace wrote: > On 06/16/2011 08:01 AM, Alex Deucher wrote: >> On Wed, Jun 15, 2011 at 9:09 PM, Chad Versace wrote: >>> If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to >>> the them. >>> >>> For example, if hardware requires separate

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Brian Paul
On 06/16/2011 10:34 AM, Bryan Cain wrote: On Thu, Jun 16, 2011 at 9:08 AM, Brian Paul mailto:bri...@vmware.com>> wrote: Looks like nice work, Bryan. Just a few minor questions/comments for now: 1. The st_fragment/vertex/geometry_program structs now have a glsl_to_tgsi field.

Re: [Mesa-dev] [PATCH 1/7] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Chad Versace
On 06/16/2011 07:14 AM, Brian Paul wrote: > On 06/15/2011 06:34 PM, Chad Versace wrote: >> If a renderbuffer wraps multiple renderbuffers, then Unwrapped points to >> the them. >> >> For example, if hardware requires separate depth and stencil buffers >> (X8_Z24 and S8), then glRenderbufferStorage(

Re: [Mesa-dev] [PATCH 0/7] mesa, intel: Support s8z24 pure renderbuffers when using separate stencil

2011-06-16 Thread Chad Versace
On Wed, 15 Jun 2011 17:34:37 -0700, Chad Versace wrote: > Only patch 1 affects core mesa; the remaining patches are in the intel shared > driver. > > Patch 6 is just a clean-up leading to patch 7. > > Chad Versace (7): > mesa: Add field gl_renderbuffer.Unwrapped > intel: Unconditionally ena

Re: [Mesa-dev] [PATCH] intel: Fix region refcounting in intel_alloc_renderbuffer_storage

2011-06-16 Thread Chad Versace
On Thu, 16 Jun 2011 00:06:11 +0100, Chris Wilson wrote: > I'm curious, what's the advantage? i.e. what am I not understanding that > needs to be explained in the changelog? > -Chris Oops, I was wrong. NAK this patch. I thought these regions were never referenced, anywhere. But now I see that

Re: [Mesa-dev] [PATCH] i965/gen5, 6: Fix hang when emitting hiz buffer without stencil buffer

2011-06-16 Thread Chad Versace
On Wed, 15 Jun 2011 00:13:51 -0700, Kenneth Graunke wrote: > On 06/14/2011 03:28 PM, Chad Versace wrote: > [snip] > > @@ -355,26 +355,48 @@ static void emit_depthbuffer(struct brw_context *brw) > > ADVANCE_BATCH(); > > } > > > > - /* Emit hiz buffer. */ > > if (hiz_region || s

Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Chad Versace
On Tue, 14 Jun 2011 15:30:53 +0100, Chris Wilson wrote: > If the leak still occurs with 2.6.39, it is definitely in userspace. ;-) > -Chris I wouldn't be surprised if Mesa is neglecting to decrement some region's refcount. i965 makes a lot of refcounting blunders. We're slowly tidying it up, ho

Re: [Mesa-dev] Mesa 7.10.3 release

2011-06-16 Thread Chad Versace
On Tue, 14 Jun 2011 13:09:50 +0200, Andreas Radke wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Can you please confirm the tarballs. gzip and bzip2 tarballs won't > extract here throwing errors until you give tar -f parameter. I can't > build packages because our packaging system u

Re: [Mesa-dev] [PATCH 1/6] mesa: Add field gl_renderbuffer.Unwrapped

2011-06-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/16/2011 10:26 AM, Chad Versace wrote: > I've observed mysterious behaviour when writing to intel's stencil > buffer through a memory mapped pointer. It's seems that the hardware > fails to recognize that the writes ever occurred. (Writes via > re

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/15/2011 06:45 PM, Tom Stellard wrote: > On Wed, Jun 15, 2011 at 04:38:07PM -0500, Bryan Cain wrote: >> My work on the GLSL IR to TGSI translator I announced on the list this >> April is now at the point where I think it is ready to be merged into

Re: [Mesa-dev] Mesa 7.10.3 release

2011-06-16 Thread Kenneth Graunke
On 06/14/2011 12:22 PM, Chad Versace wrote: On Tue, 14 Jun 2011 13:09:50 +0200, Andreas Radke wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you please confirm the tarballs. gzip and bzip2 tarballs won't extract here throwing errors until you give tar -f parameter. I can't build pack

[Mesa-dev] [Bug 31294] libGlw.so is missing glw(M)DrawingAreaWidgetClass and simlilar although configured with --enable-motif --enable-glw

2011-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31294 --- Comment #1 from DJ Cozatt 2011-06-16 15:41:07 PDT --- Created an attachment (id=48065) View: https://bugs.freedesktop.org/attachment.cgi?id=48065 Review: https://bugs.freedesktop.org/review?bug=31294&attachment=48065 patch from linked bug

[Mesa-dev] [Bug 31294] libGlw.so is missing glw(M)DrawingAreaWidgetClass and simlilar although configured with --enable-motif --enable-glw

2011-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31294 DJ Cozatt changed: What|Removed |Added URL||http://bugs.gentoo.org/show

[Mesa-dev] [Bug 31294] libGlw.so is missing glw(M)DrawingAreaWidgetClass and simlilar although configured with --enable-motif --enable-glw

2011-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31294 Dan Nicholson changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|mesa-dev@lis

Re: [Mesa-dev] leak of gem_objects on intel i965

2011-06-16 Thread Lampersperger Andreas
Hello Kenneth, > On 06/16/2011 12:10 AM, Lampersperger Andreas wrote: > > Hello Stéphane, > > > > I've tried your patch (I adopted it to 7.10.3, see attached patch), > but > > it results in a SEGFAULT: > > > > Thread [1] 12367 (Suspended : Signal : SIGSEGV:Segmentation fault) > > > >