Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Chris Wilson
On Thu, 31 Mar 2011 17:54:48 -0500, Ian Pilcher wrote: > On 03/31/2011 05:20 PM, Chris Wilson wrote: > > However, if you are reasonably confident that a change in mesa provokes > > the issue, you can bisect the commit in question. That may give another > > clue as to where to look next. > > I'm w

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Shuang He
On 2011/4/1 9:24, Kristian Høgsberg wrote: On Thu, Mar 31, 2011 at 8:03 PM, Dan Nicholson wrote: On Thu, Mar 31, 2011 at 3:41 PM, Eric Anholt wrote: On Thu, 31 Mar 2011 13:56:56 -0700, Corbin Simpson wrote: On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: From: Ian Romanick --- Ma

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Kristian Høgsberg
On Thu, Mar 31, 2011 at 8:03 PM, Dan Nicholson wrote: > On Thu, Mar 31, 2011 at 3:41 PM, Eric Anholt wrote: >> On Thu, 31 Mar 2011 13:56:56 -0700, Corbin Simpson >> wrote: >>> On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: >>> > From: Ian Romanick >>> > >>> > --- >>> >  Makefile        

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Dan Nicholson
On Thu, Mar 31, 2011 at 3:41 PM, Eric Anholt wrote: > On Thu, 31 Mar 2011 13:56:56 -0700, Corbin Simpson > wrote: >> On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: >> > From: Ian Romanick >> > >> > --- >> >  Makefile                |    8 >> >  src/mesa/main/version.c |    7 +++

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Corbin Simpson
Ah, yeah, I can see how that might be a problem. Sending from a mobile, pardon the brevity. ~ C. On Mar 31, 2011 3:41 PM, "Eric Anholt" wrote: > On Thu, 31 Mar 2011 13:56:56 -0700, Corbin Simpson < mostawesomed...@gmail.com> wrote: >> On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: >> > Fro

Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Ian Pilcher
On 03/31/2011 05:20 PM, Chris Wilson wrote: > However, if you are reasonably confident that a change in mesa provokes > the issue, you can bisect the commit in question. That may give another > clue as to where to look next. I'm willing to take a shot. Got a link to a good HOWTO? (My experience

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Eric Anholt
On Thu, 31 Mar 2011 13:56:56 -0700, Corbin Simpson wrote: > On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: > > From: Ian Romanick > > > > --- > >  Makefile                |    8 > >  src/mesa/main/version.c |    7 ++- > >  2 files changed, 14 insertions(+), 1 deletions(-) > >

Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Chris Wilson
On Thu, 31 Mar 2011 17:08:05 -0500, Ian Pilcher wrote: > Unfortunately, that patch appears to already be in the latest Fedora > kernel, kernel-2.6.38.2-9.fc15.x86_64, and I still get the hangs with > the latest Mesa packages. (No hangs with 7.10, though.) Bah, foiled again. You can try 'echo 1

Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Ian Pilcher
On 03/31/2011 04:05 PM, Chris Wilson wrote: > On Thu, 31 Mar 2011 15:01:53 -0500, Ian Pilcher wrote: >> >> Mar 30 20:47:16 ian kernel: [ 233.620717] [drm:i915_hangcheck_elapsed] >> *ERROR* >> Hangcheck timer elapsed... GPU hung > > Ah. You will want > > kernel commit 91355834646328e7edc6bd25176

Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Chris Wilson
On Thu, 31 Mar 2011 15:01:53 -0500, Ian Pilcher wrote: > On 03/31/2011 02:53 PM, Chris Wilson wrote: > > https://bugs.freedesktop.org/show_bug.cgi?id=35820 perhaps? > > I don't think so. My system doesn't hang, and I don't get any X crash, > just messages in the syslog (see below). > > I'm not

Re: [Mesa-dev] [PATCH 1/2] dri: Remove driver date from renderer string

2011-03-31 Thread Corbin Simpson
On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: > From: Ian Romanick > > --- >  src/mesa/drivers/dri/common/utils.c                |    5 ++--- >  src/mesa/drivers/dri/common/utils.h                |    2 +- >  src/mesa/drivers/dri/i810/i810context.c            |    4 +--- >  src/mesa/driver

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Corbin Simpson
On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: > From: Ian Romanick > > --- >  Makefile                |    8 >  src/mesa/main/version.c |    7 ++- >  2 files changed, 14 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index a1ab65e..c85b903 100644 > --- a/

Re: [Mesa-dev] [PATCH] draw-robustness: Test robustness for out-of-bounds vertex fetches.

2011-03-31 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/31/2011 06:46 AM, jfons...@vmware.com wrote: > From: José Fonseca > > Not added to the standard test lists given that ARB_vertex_buffer_object > allows program termination out-of-bounds vertex buffer object fetches > occur. In anticipation of

Re: [Mesa-dev] [PATCH] draw-robustness: Test robustness for out-of-bounds vertex fetches.

2011-03-31 Thread Eric Anholt
On Thu, 31 Mar 2011 14:46:32 +0100, jfons...@vmware.com wrote: > From: José Fonseca > > Not added to the standard test lists given that ARB_vertex_buffer_object > allows program termination out-of-bounds vertex buffer object fetches > occur. > --- > tests/general/CMakeLists.gl.txt |1 + > te

[Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Ian Romanick
From: Ian Romanick --- Makefile|8 src/mesa/main/version.c |7 ++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index a1ab65e..c85b903 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,15 @@ TOP = . SUBDIRS = src +# T

[Mesa-dev] [PATCH 1/2] dri: Remove driver date from renderer string

2011-03-31 Thread Ian Romanick
From: Ian Romanick --- src/mesa/drivers/dri/common/utils.c|5 ++--- src/mesa/drivers/dri/common/utils.h|2 +- src/mesa/drivers/dri/i810/i810context.c|4 +--- src/mesa/drivers/dri/intel/intel_context.c |6 +- src/mesa/drivers

[Mesa-dev] That silly DRIVER_DATE field

2011-03-31 Thread Ian Romanick
Once up on a time, we used to get bug reports from people running random versions of DRI drivers. We would often find that the user had an old driver, and their problem had already been fixed in a newer version. This was also a time when Mesa releases occurred once every 12 to 18 months. To fix

Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Ian Pilcher
On 03/31/2011 02:53 PM, Chris Wilson wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=35820 perhaps? I don't think so. My system doesn't hang, and I don't get any X crash, just messages in the syslog (see below). I'm not expecting a quick fix. Just hoping for some ideas on gathering the ne

Re: [Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Chris Wilson
On Thu, 31 Mar 2011 14:51:19 -0500, Ian Pilcher wrote: > With latest batch of Fedora 15 test updates, I get GPU hangs very > shortly after logging in (with KDE desktop effects enabled). > Unfortunately, the hangs do not occur if I boot with drm.debug=14. https://bugs.freedesktop.org/show_bug.cgi?

[Mesa-dev] Sandy Bridge heisenbug

2011-03-31 Thread Ian Pilcher
With latest batch of Fedora 15 test updates, I get GPU hangs very shortly after logging in (with KDE desktop effects enabled). Unfortunately, the hangs do not occur if I boot with drm.debug=14. Any ideas on how I can gather more information? Thanks! -- ==

Re: [Mesa-dev] [RFC] Gallium proper glFinish

2011-03-31 Thread Jerome Glisse
On Thu, Mar 31, 2011 at 2:40 PM, Jerome Glisse wrote: > Hi, > > There is a need for a by the spec glFinish in gallium, right now as > far as i gather it calls the flush callback and swap/copy region if > necessary but it doesn't wait until the full completion (as the gl > spec imply if i am not mi

[Mesa-dev] [RFC] Gallium proper glFinish

2011-03-31 Thread Jerome Glisse
Hi, There is a need for a by the spec glFinish in gallium, right now as far as i gather it calls the flush callback and swap/copy region if necessary but it doesn't wait until the full completion (as the gl spec imply if i am not miss reading). So i would like to add a new callback to struct pipe_

Re: [Mesa-dev] [PATCH] r600g: fix blend setting with multiple render targets all with the same blend

2011-03-31 Thread Jerome Glisse
On Thu, Mar 31, 2011 at 12:37 PM, Julian Adams wrote: > inline... > > On 31 March 2011 12:07, Henri Verbeet wrote: >> On 30 March 2011 23:43, Julian Adams wrote: >>> --- >>>  src/gallium/drivers/r600/r600_state.c |   22 +- >>>  1 files changed, 13 insertions(+), 9 deletions(-

Re: [Mesa-dev] [PATCH] draw-robustness: Test robustness for out-of-bounds vertex fetches.

2011-03-31 Thread Keith Whitwell
Looks good. Keith On Thu, 2011-03-31 at 14:46 +0100, jfons...@vmware.com wrote: > From: José Fonseca > > Not added to the standard test lists given that ARB_vertex_buffer_object > allows program termination out-of-bounds vertex buffer object fetches > occur. > --- > tests/general/CMakeLists.gl

Re: [Mesa-dev] [PATCH] draw: Prevent out-of-bounds vertex buffer access.

2011-03-31 Thread Keith Whitwell
Looks good to me, Jose. Keith On Thu, 2011-03-31 at 14:45 +0100, jfons...@vmware.com wrote: > From: José Fonseca > > Based on some code and ideas from Keith Whitwell. > --- > src/gallium/auxiliary/Makefile |1 + > src/gallium/auxiliary/SConscript |

Re: [Mesa-dev] Gallium softpipe driver build instructions

2011-03-31 Thread kumar vemuri
Sure. I will try with Mesa 7.10. But are these hints that you are giving for a) DRI driver with swrast? OR b) gallium based softpipe driver? Although i would like to build both :-). Thx K On Thu, Mar 31, 2011 at 7:38 AM, Marek Olšák wrote: > I guess Mesa 7.8.2 is too old, try 7.10

Re: [Mesa-dev] [PATCH] r600g: fix blend setting with multiple render targets all with the same blend

2011-03-31 Thread Julian Adams
inline... On 31 March 2011 12:07, Henri Verbeet wrote: > On 30 March 2011 23:43, Julian Adams wrote: >> --- >> src/gallium/drivers/r600/r600_state.c | 22 +- >> 1 files changed, 13 insertions(+), 9 deletions(-) >> > Evergreen probably needs the same fix. Yes, the matching

Re: [Mesa-dev] Gallium softpipe driver build instructions

2011-03-31 Thread Marek Olšák
I guess Mesa 7.8.2 is too old, try 7.10 instead. Marek On Thu, Mar 31, 2011 at 4:29 PM, kumar vemuri wrote: > Hi Marek, > > Ran "./configure --enable-gallium-swrast --with-dri-drivers=swrast" and > did make. I couldnt see swrastg_dri.so file created under > Mesa-7.8.2/lib. Infact there is no g

Re: [Mesa-dev] Gallium softpipe driver build instructions

2011-03-31 Thread kumar vemuri
Hi Marek, Ran "./configure --enable-gallium-swrast --with-dri-drivers=swrast" and did make. I couldnt see swrastg_dri.so file created under Mesa-7.8.2/lib. Infact there is no gallium directory under the lib. These are the files i see generated in the lib directory. egl_glx.so libGLEW.a

[Mesa-dev] [Bug 33886] fix gallium sampler view first_level usage

2011-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33886 --- Comment #7 from Fabian Bieler 2011-03-31 07:08:17 PDT --- Created an attachment (id=45093) View: https://bugs.freedesktop.org/attachment.cgi?id=45093 Review: https://bugs.freedesktop.org/review?bug=33886&attachment=45093 patch for llvmpipe

[Mesa-dev] [PATCH] draw-robustness: Test robustness for out-of-bounds vertex fetches.

2011-03-31 Thread jfonseca
From: José Fonseca Not added to the standard test lists given that ARB_vertex_buffer_object allows program termination out-of-bounds vertex buffer object fetches occur. --- tests/general/CMakeLists.gl.txt |1 + tests/general/draw-robustness.c | 201 +++ 2

[Mesa-dev] [PATCH] draw: Prevent out-of-bounds vertex buffer access.

2011-03-31 Thread jfonseca
From: José Fonseca Based on some code and ideas from Keith Whitwell. --- src/gallium/auxiliary/Makefile |1 + src/gallium/auxiliary/SConscript |1 + src/gallium/auxiliary/draw/draw_private.h |8 ++ src/gallium/auxiliary/draw/draw_pt.c

Re: [Mesa-dev] Gallium softpipe driver build instructions

2011-03-31 Thread Marek Olšák
Either use: --with-dri-drivers= Or build libdrm from git: http://cgit.freedesktop.org/mesa/drm/ Marek On Thu, Mar 31, 2011 at 6:51 AM, kumar vemuri wrote: > OK. I tried doing ./configure with --enable-gallium-swrast and i get this > error: > > *checking for INTEL... configure: error: Packag

Re: [Mesa-dev] [PATCH] r600g: fix blend setting with multiple render targets all with the same blend

2011-03-31 Thread Henri Verbeet
On 30 March 2011 23:43, Julian Adams wrote: > --- >  src/gallium/drivers/r600/r600_state.c |   22 +- >  1 files changed, 13 insertions(+), 9 deletions(-) > Evergreen probably needs the same fix. > +       for (int i = 0, j = 0; i < 8; i++) { > +               /* state->rt entr