Re: [Mesa-dev] [PATCH 2/2] i915: fallback for NPOT cubemap texture

2012-03-01 Thread Yuanhan Liu
On Thu, Mar 01, 2012 at 04:04:59PM +0800, Yuanhan Liu wrote: > On Wed, Feb 29, 2012 at 11:44:59AM -0800, Eric Anholt wrote: > > On Wed, 29 Feb 2012 15:11:06 +0800, Yuanhan Liu > > wrote: > > > According to 3DSTATE_MAP_STATE at page of 104 in Bspec > > > vol3d 3D Instructions: > > > [DevGDG and

Re: [Mesa-dev] [PATCH 2/2] i915: fix wrong rendering of gl_PointSize on Pineview

2012-03-01 Thread Yuanhan Liu
On Thu, Mar 01, 2012 at 09:54:46AM -0800, Eric Anholt wrote: > On Thu, 23 Feb 2012 14:19:19 +0800, Yuanhan Liu > wrote: > > The current code would ignore the point size specified by gl_PointSize > > builtin variable in vertex shader on Pineview. This patch servers as > > fixing that. > > > > Thi

[Mesa-dev] [Bug 44466] Assertion 'LLVMOffsetOfElement' when running Furmark with wine

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44466 --- Comment #7 from Johannes Obermayr 2012-03-01 15:20:14 PST --- Created attachment 57881 --> https://bugs.freedesktop.org/attachment.cgi?id=57881 valgrind log on current git/svn versions Here is a valgrind log using current git/svn version

[Mesa-dev] [PATCH] mesa: Fix an issue with texture border in strip_texture_border()

2012-03-01 Thread Anuj Phogat
Border only applies to the width for a 1D texture array and for 2D texture array it applies to the width and height but not to the depth. This was not handled correctly in strip_texture_border(). v2: height is also affected by border if target is GL_TEXTURE_3D v3: simplified the logic to strip te

Re: [Mesa-dev] [PATCH 3/4] configure: Fix egl compilation without x11 headers

2012-03-01 Thread Chad Versace
On 03/01/2012 11:39 AM, Benjamin Franzke wrote: > 2012/3/1 Chad Versace : >> On 02/29/2012 07:36 AM, Benjamin Franzke wrote: >>> We dont want eglplatform.h to typedef egl native types >>> to x11 types, when x11 headers are not available. >>> --- >>> configure.ac |4 >>> 1 files changed, 4

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Dave Airlie
On Thu, Mar 1, 2012 at 7:56 PM, Patrick Baggett wrote: > Now I'm curious. Is it the case that every DRI1 driver could be a DRI2 > driver with enough effort? Not talking about emulating hardware features. In theory yes. in some situations its sub-optimal like low VRAM cards, since DRI1 was based a

[Mesa-dev] [Bug 41152] [glsl] Shader backend in Regnum Online does not work

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41152 --- Comment #5 from Pablo 2012-03-01 12:16:55 PST --- I forgot to add that there are big problems with wine, and the game does not run on that mode, you only can confirm that shader model 3 is provided as an option -- Configure bugmail: https:/

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Jerome Glisse
On Thu, 2012-03-01 at 13:56 -0600, Patrick Baggett wrote: > Now I'm curious. Is it the case that every DRI1 driver could be a DRI2 > driver with enough effort? Not talking about emulating hardware > features. > > > Patrick DRI2 impose nothing on hw capabilities. So any hw can do DRI2 even hw wit

[Mesa-dev] [Bug 41152] [glsl] Shader backend in Regnum Online does not work

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41152 --- Comment #4 from Pablo 2012-03-01 12:15:02 PST --- let me clarify the situation. Regnum online provides 5 modes to play. SAFE MODE: if you check this, it replace any shader option. Perfectly playable fixed : after the resolution of bug 4470

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Jose Fonseca
- Original Message - > On Thu, Mar 1, 2012 at 7:23 PM, Jose Fonseca > wrote: > > > > > > - Original Message - > >> On Thu, Mar 1, 2012 at 5:28 PM, Eric Anholt > >> wrote: > >> > On Thu, 1 Mar 2012 16:50:40 +0100, Marek Olšák > >> > > >> > wrote: > >> >> Hi Eric, > >> >> > >> >>

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Marek Olšák
On Thu, Mar 1, 2012 at 7:48 PM, Henri Verbeet wrote: > On 1 March 2012 16:50, Marek Olšák wrote: >> Hi Eric, >> >> this commit breaks StarCraft II running on Wine traced by apitrace >> on r600g. Wine is most probably stuck in a deadlock. It prints these >> error messages: >> >> err:seh:setup_exce

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Connor Behan
On 01/03/12 11:46 AM, Dave Airlie wrote: On Thu, Mar 1, 2012 at 7:25 PM, Connor Behan wrote: On 01/03/12 01:36 AM, Dave Airlie wrote: You can still build r128_dri.so from Mesa 7.11 and it will work with later Mesa libGLs fine. You just can't build it from Mesa 8.0 source anymore. Really? Even

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Marek Olšák
On Thu, Mar 1, 2012 at 7:23 PM, Jose Fonseca wrote: > > > - Original Message - >> On Thu, Mar 1, 2012 at 5:28 PM, Eric Anholt wrote: >> > On Thu, 1 Mar 2012 16:50:40 +0100, Marek Olšák >> > wrote: >> >> Hi Eric, >> >> >> >> this commit breaks StarCraft II running on Wine traced by apitra

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Patrick Baggett
Now I'm curious. Is it the case that every DRI1 driver *could be* a DRI2 driver with enough effort? Not talking about emulating hardware features. Patrick On Thu, Mar 1, 2012 at 1:46 PM, Dave Airlie wrote: > On Thu, Mar 1, 2012 at 7:25 PM, Connor Behan > wrote: > > On 01/03/12 01:36 AM, Dave A

Re: [Mesa-dev] Completing the VDPAU state tracker

2012-03-01 Thread Andy Furniss
Christian König wrote: I made some tests and measured the time between each page flip, and I have to say: WOW! I'm deeply impressed that you recognized that there is something wrong with the naked eye! With 30/60 and streams with lots of motion it looked quite bad. So now I have the strong t

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Dave Airlie
On Thu, Mar 1, 2012 at 7:25 PM, Connor Behan wrote: > On 01/03/12 01:36 AM, Dave Airlie wrote: >> >> You can still build r128_dri.so from Mesa 7.11 and it will work with later >> Mesa libGLs fine. You just can't build it from Mesa 8.0 source anymore. > > Really? Even if no one updates r128 to stay

Re: [Mesa-dev] [PATCH 3/4] configure: Fix egl compilation without x11 headers

2012-03-01 Thread Benjamin Franzke
2012/3/1 Chad Versace : > On 02/29/2012 07:36 AM, Benjamin Franzke wrote: >> We dont want eglplatform.h to typedef egl native types >> to x11 types, when x11 headers are not available. >> --- >>  configure.ac |    4 >>  1 files changed, 4 insertions(+), 0 deletions(-) >> >> diff --git a/config

Re: [Mesa-dev] [PATCH] mesa: Strip texture border for proxy texture as well

2012-03-01 Thread Anuj Phogat
On Wed, Feb 29, 2012 at 7:48 PM, Brian Paul wrote: > On Wed, Feb 29, 2012 at 6:44 PM, Anuj Phogat > wrote: > > Intel and Gallium drivers don't support texture borders. Border is > stripped > > before texture is used inside the driver. So, glGetTexLevelParameteriv() > > returns the stripped value

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Connor Behan
On 01/03/12 01:36 AM, Dave Airlie wrote: You can still build r128_dri.so from Mesa 7.11 and it will work with later Mesa libGLs fine. You just can't build it from Mesa 8.0 source anymore. Really? Even if no one updates r128 to stay compatible with new libGLs and no one updating libGL gives a s

Re: [Mesa-dev] [PATCH 2/2] i915: fix wrong rendering of gl_PointSize on Pineview

2012-03-01 Thread Eric Anholt
On Thu, 23 Feb 2012 14:19:19 +0800, Yuanhan Liu wrote: > The current code would ignore the point size specified by gl_PointSize > builtin variable in vertex shader on Pineview. This patch servers as > fixing that. > > This patch fixes the following issues on Pineview: > webglc: > https://cvs.kh

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Henri Verbeet
On 1 March 2012 16:50, Marek Olšák wrote: > Hi Eric, > > this commit breaks StarCraft II running on Wine traced by apitrace > on r600g. Wine is most probably stuck in a deadlock. It prints these > error messages: > > err:seh:setup_exception_record stack overflow 2412 bytes in thread > 0024 eip 004

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Jose Fonseca
- Original Message - > On Thu, Mar 1, 2012 at 5:28 PM, Eric Anholt wrote: > > On Thu, 1 Mar 2012 16:50:40 +0100, Marek Olšák > > wrote: > >> Hi Eric, > >> > >> this commit breaks StarCraft II running on Wine traced by apitrace > >> on r600g. Wine is most probably stuck in a deadlock.

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Marek Olšák
On Thu, Mar 1, 2012 at 5:28 PM, Eric Anholt wrote: > On Thu, 1 Mar 2012 16:50:40 +0100, Marek Olšák wrote: >> Hi Eric, >> >> this commit breaks StarCraft II running on Wine traced by apitrace >> on r600g. Wine is most probably stuck in a deadlock. It prints these >> error messages: >> >> err:seh:

Re: [Mesa-dev] [PATCH 1/4] meta: Fix compilation without FEATURE_feedback

2012-03-01 Thread Chad Versace
On 02/29/2012 07:36 AM, Benjamin Franzke wrote: > That is when building with --disable-opengl. > Fix for commit c5f4024a793f1209b1693aed9a46be9374ba4741. > > CC: Chad Versace > --- > src/mesa/drivers/common/meta.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) For patches 1-2,

Re: [Mesa-dev] [PATCH 3/4] configure: Fix egl compilation without x11 headers

2012-03-01 Thread Chad Versace
On 02/29/2012 07:36 AM, Benjamin Franzke wrote: > We dont want eglplatform.h to typedef egl native types > to x11 types, when x11 headers are not available. > --- > configure.ac |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 0c

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Eric Anholt
On Thu, 1 Mar 2012 16:50:40 +0100, Marek Olšák wrote: > Hi Eric, > > this commit breaks StarCraft II running on Wine traced by apitrace > on r600g. Wine is most probably stuck in a deadlock. It prints these > error messages: > > err:seh:setup_exception_record stack overflow 2412 bytes in thread

Re: [Mesa-dev] [PATCH] Revert "gallivm: Change getExtent and readByte to non-const with llvm-3.1."

2012-03-01 Thread Brian Paul
On 03/01/2012 08:33 AM, Johannes Obermayr wrote: With commit 151687 llvm changed getExtent and readByte back to const. This reverts commit d5a6c172547d8964f4d4bb79637651decaf9deee. --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |8 1 files changed, 0 insertions(+), 8 deletion

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-01 Thread Marek Olšák
Hi Eric, this commit breaks StarCraft II running on Wine traced by apitrace on r600g. Wine is most probably stuck in a deadlock. It prints these error messages: err:seh:setup_exception_record stack overflow 2412 bytes in thread 0024 eip 00437fdb esp 00c409c4 stack 0xc4-0xc41000-0xd4 err:n

Re: [Mesa-dev] [PATCH 1/3] mesa: add _mesa_rebase_rgba_float/uint() functions

2012-03-01 Thread Jose Fonseca
- Original Message - > On 03/01/2012 12:42 AM, Jose Fonseca wrote: > > - Original Message - > >> These will be used by glReadPixels() and glGetTexImage() to fix > >> issues > >> with reading GL_LUMINANCE and other formats. > >> --- > >> src/mesa/main/pack.c | 91 > >> +

[Mesa-dev] [PATCH] Revert "gallivm: Change getExtent and readByte to non-const with llvm-3.1."

2012-03-01 Thread Johannes Obermayr
With commit 151687 llvm changed getExtent and readByte back to const. This reverts commit d5a6c172547d8964f4d4bb79637651decaf9deee. --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_b

Re: [Mesa-dev] [PATCH 1/3] mesa: add _mesa_rebase_rgba_float/uint() functions

2012-03-01 Thread Brian Paul
On 03/01/2012 12:42 AM, Jose Fonseca wrote: - Original Message - These will be used by glReadPixels() and glGetTexImage() to fix issues with reading GL_LUMINANCE and other formats. --- src/mesa/main/pack.c | 91 ++ src/mesa/main/pack

Re: [Mesa-dev] [PATCH] Revert "gallivm: Change getExtent and readByte to non-const with llvm-3.1."

2012-03-01 Thread Brian Paul
On 02/29/2012 10:36 PM, Vinson Lee wrote: This reverts commit d5a6c172547d8964f4d4bb79637651decaf9deee. llvm-3.1svn r151687 makes MemoryObject accessor members const again. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |8 1 files changed, 0 insert

Re: [Mesa-dev] Mesa llvmpipe for WebGL software rendering

2012-03-01 Thread Michel Dänzer
On Don, 2012-03-01 at 06:05 -0800, Benoit Jacob wrote: > > - Original Message - > > On Mit, 2012-02-29 at 16:06 -0800, Benoit Jacob wrote: > > > > > > - Original Message - > > > > On Die, 2012-02-28 at 09:08 -0800, Benoit Jacob wrote: > > > > > > > > > > At Mozilla we've been wo

Re: [Mesa-dev] Mesa llvmpipe for WebGL software rendering

2012-03-01 Thread Benoit Jacob
- Original Message - > On Mit, 2012-02-29 at 16:06 -0800, Benoit Jacob wrote: > > > > - Original Message - > > > On Die, 2012-02-28 at 09:08 -0800, Benoit Jacob wrote: > > > > > > > > At Mozilla we've been wondering if we could get a good software > > > > fallback for users who

[Mesa-dev] [Bug 41152] [glsl] Shader backend in Regnum Online does not work

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41152 Sven Arvidsson changed: What|Removed |Added CC||silpa...@hotmail.com --- Comment #3 fro

[Mesa-dev] [Bug 46815] New: Build fails with byacc and configuration script succeeds

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46815 Bug #: 46815 Summary: Build fails with byacc and configuration script succeeds Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Versi

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Dave Airlie
On Thu, Mar 1, 2012 at 7:36 AM, Connor Behan wrote: > I am a first time mailing list joiner, long time user of exclusively free > video drivers. I was very upset to see the DRI1 drivers removed from the > codebase in August and I waited until now to complain because I wanted to > see if the good c

Re: [Mesa-dev] Four questions about DRI1 drivers

2012-03-01 Thread Jose Fonseca
There is one thing you didn't cover in your questions/myths: old hardware is often very limited by today standards, and removing it allows the code to become simpler (less fallbacks, more shared code, uniform code paths), as we can raise the assumptions of what a driver can and cannot do. And t

[Mesa-dev] [Bug 41791] Civilization V + Wine = Bug

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41791 José Fonseca changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop. |jfons...@vmware.com |or

[Mesa-dev] [Bug 41791] Civilization V + Wine = Bug

2012-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41791 --- Comment #9 from José Fonseca 2012-03-01 00:07:13 PST --- (In reply to comment #7) > I'm also openSUSE 12.1 user and I experience the same problem, it's just > Diablo > II instead of Civilization in my case. When I let Mesa use LLVM, Diablo

Re: [Mesa-dev] [PATCH 2/2] i915: fallback for NPOT cubemap texture

2012-03-01 Thread Yuanhan Liu
On Wed, Feb 29, 2012 at 11:44:59AM -0800, Eric Anholt wrote: > On Wed, 29 Feb 2012 15:11:06 +0800, Yuanhan Liu > wrote: > > According to 3DSTATE_MAP_STATE at page of 104 in Bspec > > vol3d 3D Instructions: > > [DevGDG and DevAlv]: Must be a power of 2 for cube maps > > > > Well, it turned out