[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #11 from Henri Verbeet 2011-05-13 20:55:57 PDT --- (In reply to comment #9) > The fact David Mills observed the same issue on the NVIDIA blob suggests this > might not be a bug in Mesa. Wine having bugs isn't unheard of, but I'm not

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #10 from Bryan Cain 2011-05-13 19:30:58 PDT --- (In reply to comment #8) > Check piglit's fbo-srgb-blit, it makes the state tracker order a > resource_copy_region between UNORM and SRGB which causes unwanted conversion > if > you do

Re: [Mesa-dev] The current status of the gallium vmwgfx driver

2011-05-13 Thread Jakob Bornecrantz
On Tue, May 10, 2011 at 1:31 PM, HaiTao Feng wrote: > Dear Gallium Vmwgfx Developers, > > Could I know the current status of the gallium vmwgfx driver? Is it able to > run Linux guest with OpenGL accelertion? Yes, I have tested it very recently on Ubuntu 11.10, there are some bugs especially with

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #9 from Marek Olšák 2011-05-13 17:07:09 PDT --- (In reply to comment #8) > Check piglit's fbo-srgb-blit, it makes the state tracker order a > resource_copy_region between UNORM and SRGB which causes unwanted conversion > if > you do

Re: [Mesa-dev] [PATCH 08/11] i965/fs: Fix GPU hang on texture2d-bias on pre-Ironlake.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: In the 16-wide rework, I missed that we were setting some things to be SIMD16 mode (corresponding to their setup in emit_texture_gen4()). --- src/mesa/drivers/dri/i965/brw_fs.cpp | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) Er

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #8 from Christoph Bumiller 2011-05-13 16:40:53 PDT --- Check piglit's fbo-srgb-blit, it makes the state tracker order a resource_copy_region between UNORM and SRGB which causes unwanted conversion if you do a normal oblivious 3D engi

Re: [Mesa-dev] [PATCH 03/11] i965/gen6: Fix blending state when no color buffer is bound.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: This is part of fixing fbo-alphatest-nocolor -- a regression in 35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 after the initial regression, that had us using a garbage BLEND_STATE[0] (in particular, the alpha test enable) if no color buffer was bound. --- s

Re: [Mesa-dev] [PATCH 09/11] i965/fs: Don't emit a header on gen5+ sample messages unless required.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: Improves glbenchmark egypt performance 0.6% +/- 0.4% (n=6). ... + bool header_present = false; ... if (ir->shadow_comparitor) { - mlen = MAX2(mlen, 1 + 4 * reg_width); + mlen = MAX2(mlen, header_present + 4 * reg_width); Relying on

Re: [Mesa-dev] [PATCH 07/11] i965: Add support for correct GL_CLAMP behavior by clamping coordinates.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: This removes the stupid strict-conformance fallback code I broke when adding ARB_sampler_objects. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36572 Huh. So we were just doing it wrong? It sounds like this patch cleverly makes it work in

Re: [Mesa-dev] [PATCH 04/11] i965/fs: Fix discard and alpha test in 16-wide.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: As of gen6, alt-mode (which we use) MOVs of floats are not raw -- they'll modify infs/nans. This is good to know - I wasn't aware of that. I'd been assuming that any type was as good as any other. Apparently not...thanks. This broke discard and a

Re: [Mesa-dev] [PATCH 02/11] i965/fs: Cut an instruction and a temporary from gen6 discard statements.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: I thought I was thwarted initially when I couldn't do conditional mod on a MOV, and couldn't use two immediate constants in one instruction. But g0 != g0 is also a way to produce a failing comparison. [snip] + some_register = retype(brw_vec8_grf(0

Re: [Mesa-dev] [PATCH 11/11] i965: Instead of fallback on missing region, just bind a null renderbuffer.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: The change for GPU hanging in 13bab58f04c1ec6d0d52760eab490a0997d9abe2 fell back even when rb == NULL, which is wrong for GLES2 and caused segfaulting in GLES2 conformance. For the GPU hang case (where the broken 2D driver failed to allocate a BO for th

[Mesa-dev] [Bug 36609] 45920d2ecb38b14fdda5253fecce996570c22863 breaks sauerbraten on r300g

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36609 Marek Olšák changed: What|Removed |Added Component|Mesa core |Drivers/Gallium/r300 AssignedTo|me

Re: [Mesa-dev] [PATCH 10/11] i965/gen6: Add support for point min/max size from ARB_point_parameters.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: Fixes glean pointAtten. --- src/mesa/drivers/dri/i965/gen6_sf_state.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index 50a5ad3

Re: [Mesa-dev] [PATCH 05/11] i965/fs: Add support for "if" statements in 16-wide mode.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: It turns out there's nothing in the hardware preventing this, it was just the lame backend we used to have. Improves glbenchmark Egypt framerate 4.4% +/- 0.3% (n=3), and Pro by 2.6% +/- 0.6% (n=3). Reviewed-by: Kenneth Graunke ___

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #7 from Jaime Rave 2011-05-13 12:34:39 PDT --- This is a dup of bug 35373 or at least is related to it. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

Re: [Mesa-dev] [PATCH] i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0.

2011-05-13 Thread Chad Versace
On Fri, 13 May 2011 09:05:52 -0700, Kenneth Graunke wrote: > Using the #define'd constant is better than 0 with a comment. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/brw_eu_emit.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Chad Ver

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #6 from David Mills 2011-05-13 11:50:10 PDT --- I don't know if this is the same bug, but in SC2 the gamma ramped up during the loading screen, each time getting brighter and brighter. The only thing is that I also observed this on a

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #5 from Tobias Jakobi 2011-05-13 11:30:00 PDT --- Adding FEAR to the list of affected games. Loading screen gets brighter while loading process advances. This carries over to the menu later. -- Configure bugmail: https://bugs.freed

[Mesa-dev] [Bug 36738] Openarena crash with r300g, swrastg + llvm > 2.8

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36738 --- Comment #23 from Iaroslav 2011-05-13 10:54:04 PDT --- > It could be an application bug.. Yes, but with llvm 2.8 all work and there are Urban Terror, the latest version of which segfault probably because use old version of ioquake3. -- Confi

[Mesa-dev] [Bug 36738] Openarena crash with r300g, swrastg + llvm > 2.8

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36738 --- Comment #22 from José Fonseca 2011-05-13 10:34:20 PDT --- (In reply to comment #20) > Now everything is clear, I've always used openarenа 0.8.1 from openarena.ws, > when i update > openarena to 0.8.5 it actually will work without the proble

Re: [Mesa-dev] [PATCH] i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0.

2011-05-13 Thread Eric Anholt
On Fri, 13 May 2011 09:05:52 -0700, Kenneth Graunke wrote: > Using the #define'd constant is better than 0 with a comment. > > Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt pgpH0fG0QqBTN.pgp Description: PGP signature ___ mesa-dev mailin

Re: [Mesa-dev] [PATCH 2/2] i965: Rename dp_render_target struct to gen6_dp.

2011-05-13 Thread Eric Anholt
On Fri, 13 May 2011 08:58:14 -0700, Kenneth Graunke wrote: > This is actually just the message descriptor for Gen6+ dataport access; > it has nothing to do with the render cache. Access to the sampler cache > and constant cache also would use this struct; rename for clarity. > > Signed-off-by:

Re: [Mesa-dev] OpenGL driver detection now implemented in Firefox/X11; some questions

2011-05-13 Thread Gonsolo
> We recently added the git commit ID to the version string (but only if > Mesa's built in a git repo). Would that help? Given that git commit IDs are not monotonically increasing, does one have to check _all_ commit IDs (between versions)? g ___ mesa-

Re: [Mesa-dev] OpenGL driver detection now implemented in Firefox/X11; some questions

2011-05-13 Thread Brian Paul
On Fri, May 6, 2011 at 6:29 AM, Benoit Jacob wrote: > Hi Mesa Developers, > > 2 parts in this email: news about Firefox, and then some questions. > > === News about Firefox === > > This is a follow-up to earlier threads [1, 2]. As of today, Firefox Nightly > [3], which will become Firefox 6, does

Re: [Mesa-dev] [PATCH] st/mesa: expose ARB_shader_texture_lod if SM3 is supported

2011-05-13 Thread Brian Paul
On Mon, May 9, 2011 at 12:36 PM, Marek Olšák wrote: > This is the only missing piece, everything else is already in place. > > --- >  src/mesa/state_tracker/st_extensions.c |    4 >  1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/state_tracker/st_extensions.c > b/

Re: [Mesa-dev] [PATCH 1/3] u_math.h: Remove redundant mingw32 ffs definition

2011-05-13 Thread Brian Paul
On Sun, May 8, 2011 at 10:17 PM, Matt Turner wrote: > Signed-off-by: Matt Turner > --- >  src/gallium/auxiliary/util/u_math.h |    4 >  1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/src/gallium/auxiliary/util/u_math.h > b/src/gallium/auxiliary/util/u_math.h > index dad6a

[Mesa-dev] [Bug 37177] New: Mathematica Plot3D: Crash in dri2InvalidateBuffers

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37177 Summary: Mathematica Plot3D: Crash in dri2InvalidateBuffers Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 Bryan Cain changed: What|Removed |Added CC||plombex...@gmail.com -- Configure bugmail:

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #4 from Bryan Cain 2011-05-13 05:22:32 PDT --- I'm having the same problem with Portal in Wine. In the middle of gameplay, the screen quickly gets much brighter, like the gamma has been ramped up. It eventually goes back to normal.

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #3 from Henri Verbeet 2011-05-13 04:46:58 PDT --- FWIW, my impression is that there's a copy / transfer somewhere that applies color space conversion while it shouldn't, similar to the issue fixed by commit ab21147c899ba1506df38438b6

[Mesa-dev] [PATCH 3/3] r600g: Add support for PIPE_BIND_CURSOR

2011-05-13 Thread Benjamin Franzke
--- If these checks are not sufficent see this as feature request. :) --- src/gallium/drivers/r600/r600_texture.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 7ffe

[Mesa-dev] [PATCH 2/3] st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESA

2011-05-13 Thread Benjamin Franzke
--- .../state_trackers/egl/common/egl_g3d_image.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_image.c b/src/gallium/state_trackers/egl/common/egl_g3d_image.c index e1c8316..34bb92c 100644 --- a/src/gallium/state_t

[Mesa-dev] [PATCH 1/3] st/dri: Support dri2 useflags in dri2_create_image

2011-05-13 Thread Benjamin Franzke
--- src/gallium/state_trackers/dri/drm/dri2.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 30326a2..e471e8e 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 Sven Arvidsson changed: What|Removed |Added CC||s...@whiz.se --- Comment #2 from Sven A

[Mesa-dev] [PATCH] i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0.

2011-05-13 Thread Kenneth Graunke
Using the #define'd constant is better than 0 with a comment. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_eu_emit.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.

[Mesa-dev] [PATCH 2/2] i965: Rename dp_render_target struct to gen6_dp.

2011-05-13 Thread Kenneth Graunke
This is actually just the message descriptor for Gen6+ dataport access; it has nothing to do with the render cache. Access to the sampler cache and constant cache also would use this struct; rename for clarity. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_disasm.c | 24 ++

[Mesa-dev] [PATCH 1/2] i965: Attempt to un-muddle Gen6 data port message target defines.

2011-05-13 Thread Kenneth Graunke
These are documented on page 245 of IHD_OS_Vol4_Part2.pdf (the public Sandybridge documentation/SEND instruction description). Somebody had the bright idea to reuse gen4/5 defines labelled READ/WRITE which just happened to be the same values as Render Cache/Sampler Cache. It turns out that this fi

[Mesa-dev] [Bug 37147] Compile error in nouveau if --enable-shared-dricore is set

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37147 Fabio Pedretti changed: What|Removed |Added Status|NEW |RESOLVED Resolution|