[Mesa-dev] [Bug 76224] New: client with DISPLAY set to REMOTEHOST:0 tries to load local, unconfigured DRI drivers and fails

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76224 Priority: medium Bug ID: 76224 Assignee: mesa-dev@lists.freedesktop.org Summary: client with DISPLAY set to REMOTEHOST:0 tries to load local, unconfigured DRI drivers and fails

Re: [Mesa-dev] [PATCH] targets/dri-ilo: make the driver installable

2014-03-15 Thread Emil Velikov
On 15/03/14 15:46, Chia-I Wu wrote: install-gallium-links.mk fails to create the compat link for ilo_dri.so because it looks for dri_LTLIBRARIES instead of noinst_LTLIBRARIES. Fix this by switching to dri_LTLIBRARIES (and make the driver installable). Since pci_id_driver_map.h and the DDX both

Re: [Mesa-dev] [PATCH 12/12] mesa/sso: Implement ValidateProgramPipeline

2014-03-15 Thread Eric Anholt
Ian Romanick writes: > On 03/13/2014 10:52 AM, Eric Anholt wrote: >> Ian Romanick writes: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> On 03/05/2014 01:00 PM, Eric Anholt wrote: Ian Romanick writes: > From: Gregory Hainaut > > Implementation note: I d

Re: [Mesa-dev] [PATCH] gen6-gen7: disable dithering for GL_RGB10_A2 render buffers

2014-03-15 Thread Eric Anholt
Jordan Justen writes: > With only 2 bits available, dithering causes undesirable results > for RGB10_A2 render targets. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74700 > Signed-off-by: Jordan Justen > --- > Tested on Haswell. > > We likely need a change for gen8 too. I'll work w

[Mesa-dev] [Bug 76212] latest dota2 builds do crash with the radeon open source driver

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76212 --- Comment #3 from Vladimir Ysikov --- ArchLinux x32, kernel 3.13.5, mesa-git, llvm-svn, Radeon HD 7950 (gdb) bt #0 0xb5d03d00 in ?? () from /home/behem0th/Steam/SteamApps/common/dota 2 beta/bin/libtier0.so #1 0xb5d03e33 in ?? () from /home/

[Mesa-dev] [Bug 76212] latest dota2 builds do crash with the radeon open source driver

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76212 --- Comment #2 from Sylvain BERTRAND --- the b52000 offset is the same of both GPUs. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.

Re: [Mesa-dev] [PATCH] targets/dri-ilo: make the driver installable

2014-03-15 Thread Kenneth Graunke
On 03/15/2014 08:46 AM, Chia-I Wu wrote: > install-gallium-links.mk fails to create the compat link for ilo_dri.so > because it looks for dri_LTLIBRARIES instead of noinst_LTLIBRARIES. Fix this > by switching to dri_LTLIBRARIES (and make the driver installable). > > Since pci_id_driver_map.h and

[Mesa-dev] [Bug 76212] latest dota2 builds do crash with the radeon open source driver

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76212 Vladimir Ysikov changed: What|Removed |Added CC||granti...@gmail.com -- You are receiv

[Mesa-dev] [Bug 76212] latest dota2 builds do crash with the radeon open source driver

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76212 --- Comment #1 from Sylvain BERTRAND --- And it does not crash with the close source driver on steamos. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing l

[Mesa-dev] [Bug 76212] New: latest dota2 builds do crash with the radeon open source driver

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76212 Priority: medium Bug ID: 76212 Assignee: mesa-dev@lists.freedesktop.org Summary: latest dota2 builds do crash with the radeon open source driver Severity: critical Classi

[Mesa-dev] [PATCH 2/9] mesa: allow generating mipmaps for cube arrays

2014-03-15 Thread Marek Olšák
From: Marek Olšák Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/genmipmap.c | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/main/genmipmap.c b/src/mesa/main/genmipmap.c index dcd482d..9d111ca 100644 --- a/src/mesa/main/genmipmap.c +++ b/src/mesa/main/genmipmap.c @@ -74

[Mesa-dev] [PATCH 6/9] st/mesa: properly implement MapTextureImage with multiple mapped slices

2014-03-15 Thread Marek Olšák
From: Marek Olšák This is needed by _mesa_generate_mipmap. This adds an array of pipe_transfers to st_texture_image. Each transfer is for mapping a single layer. It's ugly, but at least _mesa_generate_mipmap works for array textures. --- src/mesa/state_tracker/st_cb_texture.c | 24 +

[Mesa-dev] [PATCH 9/9] st/mesa: drop the lowering of quad strips to triangle strips

2014-03-15 Thread Marek Olšák
From: Marek Olšák This fallback to triangle strips is silly and should be done in drivers if they need it. This should fix the case when quad strips are used with flatshading that is enabled by the "flat" GLSL varying modifier. It also fixes primitive restart for quad strips. This fixes piglit:

[Mesa-dev] [PATCH 1/9] mesa: fix texture border handling for cube arrays

2014-03-15 Thread Marek Olšák
From: Marek Olšák Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/teximage.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index a6c3581..1baabf9 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/texima

[Mesa-dev] [PATCH 4/9] mesa: fix software fallback for generating mipmaps for 3D textures

2014-03-15 Thread Marek Olšák
From: Marek Olšák It didn't use the driver-provided src/dstRowStride at all. This was broken for the cases when stride != width*bpp. Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/mipmap.c | 37 - 1 file changed, 16 insertions(+), 21 deletions(-) di

[Mesa-dev] [PATCH 3/9] mesa: fix software fallback for generating mipmaps for cube arrays

2014-03-15 Thread Marek Olšák
From: Marek Olšák Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/mipmap.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index 521b2d8..98af0a3 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@

[Mesa-dev] [PATCH 7/9] st/mesa: fix generating mipmaps for cube arrays

2014-03-15 Thread Marek Olšák
From: Marek Olšák Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/auxiliary/util/u_gen_mipmap.c | 48 +-- src/mesa/state_tracker/st_gen_mipmap.c| 3 +- 2 files changed, 22 insertions(+), 29 deletions(-) diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.

[Mesa-dev] [PATCH 5/9] mesa: bump MAX_ARRAY_TEXTURE_LAYERS

2014-03-15 Thread Marek Olšák
From: Marek Olšák I will actually use this for something useful. --- src/mesa/main/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 30da5d4..f3de667 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/confi

[Mesa-dev] [PATCH 0/9] Fixing glGenerateMipmap and other bugs

2014-03-15 Thread Marek Olšák
This series mainly fixes generation of mipmaps, but there are some other fixes too. Some of the bugs were: 1) glGenerateMipmap(GL_TEXTURE_CUBE_MAP_ARRAY) was unimplemented. 2) The software fallback of glGenerateMipmap(GL_TEXTURE_3D) was broken if the stride != width*bpp; 3) The Mesa state trac

[Mesa-dev] [PATCH] targets/dri-ilo: make the driver installable

2014-03-15 Thread Chia-I Wu
install-gallium-links.mk fails to create the compat link for ilo_dri.so because it looks for dri_LTLIBRARIES instead of noinst_LTLIBRARIES. Fix this by switching to dri_LTLIBRARIES (and make the driver installable). Since pci_id_driver_map.h and the DDX both tell libGL.so to look for "i965", ilo_

Re: [Mesa-dev] [PATCH 07/20] targets/dri: use install-gallium-links.mk

2014-03-15 Thread Chia-I Wu
On Thu, Mar 13, 2014 at 3:35 PM, Emil Velikov wrote: > On 13/03/14 07:09, Steven Newbury wrote: >> >> On Tue, 2014-03-04 at 21:12 +, Emil Velikov wrote: >>> >>> Drop the duplication accross all dri targets. >> >> >> ... >> >>> diff --git a/src/gallium/targets/dri-ilo/Makefile.am >>> b/src/gall

Re: [Mesa-dev] [PATCH 3/8] i965: Expand comments in brw_upload_indices().

2014-03-15 Thread Kenneth Graunke
On 03/13/2014 08:59 AM, Ian Romanick wrote: > On 03/13/2014 01:57 AM, Kenneth Graunke wrote: >> This function has three cases: >> 1. Data is in user arrays >> 2. Data is in a buffer object, but misaligned. >> 3. Data is acceptable as is. >> >> Previously, there was a "Turn into a proper VBO" commen

Re: [Mesa-dev] [PATCH 2/7] i965/fs: Save push constant location information.

2014-03-15 Thread Kenneth Graunke
On 03/14/2014 11:40 AM, Pohjolainen, Topi wrote: > On Tue, Mar 11, 2014 at 11:48:51PM -0700, Kenneth Graunke wrote: >> Previously, both move_uniform_array_access_to_pull_constants() and >> setup_pull_constants() maintained stack-local arrays with this >> information. Storing this information will

Re: [Mesa-dev] [PATCH] gen6-gen7: disable dithering for GL_RGB10_A2 render buffers

2014-03-15 Thread Kenneth Graunke
On 03/14/2014 11:15 AM, Jordan Justen wrote: > With only 2 bits available, dithering causes undesirable results > for RGB10_A2 render targets. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74700 > Signed-off-by: Jordan Justen > --- > Tested on Haswell. > > We likely need a change fo

Re: [Mesa-dev] [PATCH] drm: add FOURCC formats for compute dma_buf interop.

2014-03-15 Thread Daniel Vetter
On Sat, Mar 15, 2014 at 05:41:05AM +0100, Gwenole Beauchesne wrote: > Hi, > > 2014-03-14 22:52 GMT+01:00 Daniel Vetter : > > On Fri, Mar 14, 2014 at 06:59:21PM +0100, Gwenole Beauchesne wrote: > >> This is a follow-up to: > >> http://lists.freedesktop.org/archives/mesa-dev/2014-March/055742.html >

Re: [Mesa-dev] i965 GL_ARB_buffer_storage

2014-03-15 Thread Marek Olšák
On Fri, Mar 14, 2014 at 7:35 PM, Eric Anholt wrote: > Kenneth Graunke writes: > >> On 02/27/2014 02:52 PM, Eric Anholt wrote: >>> One thing I noticed while working on this was that we only reallocate buffer >>> storage for INVALIDATE_BUFFER_BIT when UNSYNCHRONIZED_BIT is unset. The >>> ARB_mbr s

Re: [Mesa-dev] [PATCH] gen6-gen7: disable dithering for GL_RGB10_A2 render buffers

2014-03-15 Thread Anuj Phogat
On Fri, Mar 14, 2014 at 11:15 AM, Jordan Justen wrote: > With only 2 bits available, dithering causes undesirable results > for RGB10_A2 render targets. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74700 > Signed-off-by: Jordan Justen Cc to mesa-stable ? > --- > Tested on Haswell. >

Re: [Mesa-dev] [PATCH] drm: add FOURCC formats for compute dma_buf interop.

2014-03-15 Thread Gwenole Beauchesne
Hi, 2014-03-14 22:52 GMT+01:00 Daniel Vetter : > On Fri, Mar 14, 2014 at 06:59:21PM +0100, Gwenole Beauchesne wrote: >> This is a follow-up to: >> http://lists.freedesktop.org/archives/mesa-dev/2014-March/055742.html >> >> Add formats meant to convey a "compute" dimension when a DRM fourcc >> form

Re: [Mesa-dev] [PATCH] glapi: restore _glthread_GetID() function

2014-03-15 Thread Anuj Phogat
On Fri, Mar 14, 2014 at 9:15 AM, Brian Paul wrote: > This partially reverts patch 02cb04c68f. This fixes an unresolved > symbol error when using older builds of libGL. > --- > src/mapi/glapi/glapi.h |5 + > src/mapi/mapi_glapi.c | 10 ++ > 2 files changed, 15 insertions(+) > >

[Mesa-dev] [Bug 76188] EGL_EXT_image_dma_buf_import fd ownership is incorrect

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76188 Chad Versace changed: What|Removed |Added CC||chad.vers...@linux.intel.co

[Mesa-dev] [Bug 76188] New: EGL_EXT_image_dma_buf_import fd ownership is incorrect

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76188 Priority: medium Bug ID: 76188 Assignee: mesa-dev@lists.freedesktop.org Summary: EGL_EXT_image_dma_buf_import fd ownership is incorrect Severity: normal Classification: Unclassified

Re: [Mesa-dev] [PATCH 6/8] glsl: Remove ir_dereference::constant_referenced

2014-03-15 Thread Pohjolainen, Topi
On Wed, Mar 12, 2014 at 03:49:25PM -0700, Ian Romanick wrote: > From: Ian Romanick > > All of the functionality is implemented in a private function in the one > file where it is used. I reviewed some of the patches individually first but realized that all of them make sense (taking into account

Re: [Mesa-dev] [PATCH 2/7] i965/fs: Save push constant location information.

2014-03-15 Thread Pohjolainen, Topi
On Fri, Mar 14, 2014 at 01:39:05PM -0700, Kenneth Graunke wrote: > On 03/14/2014 11:40 AM, Pohjolainen, Topi wrote: > > On Tue, Mar 11, 2014 at 11:48:51PM -0700, Kenneth Graunke wrote: > >> Previously, both move_uniform_array_access_to_pull_constants() and > >> setup_pull_constants() maintained sta

Re: [Mesa-dev] [PATCH v2] glsl: Fold implementation of ir_dereference_array::constant_referenced into wrapper

2014-03-15 Thread Pohjolainen, Topi
On Wed, Mar 12, 2014 at 04:11:17PM -0700, Ian Romanick wrote: > From: Ian Romanick > > v2: Don't shadow the variable 'deref' from a higher scope. > > Signed-off-by: Ian Romanick > --- > src/glsl/ir_constant_expression.cpp | 90 > ++--- > 1 file changed, 44 inse

Re: [Mesa-dev] [PATCH 8/7] i965: Accurately bail on SIMD16 compiles.

2014-03-15 Thread Kenneth Graunke
On 03/12/2014 01:28 AM, Kenneth Graunke wrote: > Ideally, we'd like to never even attempt the SIMD16 compile if we could > know ahead of time that it won't succeed---it's purely a waste of time. > This is especially important for state-based recompiles, which happen at > draw time. > > The fragmen

Re: [Mesa-dev] [PATCH] drm: add FOURCC formats for compute dma_buf interop.

2014-03-15 Thread Daniel Vetter
On Fri, Mar 14, 2014 at 06:59:21PM +0100, Gwenole Beauchesne wrote: > This is a follow-up to: > http://lists.freedesktop.org/archives/mesa-dev/2014-March/055742.html > > Add formats meant to convey a "compute" dimension when a DRM fourcc > format is needed for dma_buf interop (EGL, OpenCL). > > I

[Mesa-dev] Wrong colors in 3D apps on big-endian systems

2014-03-15 Thread Christian Zigotzky
Hi Michel, Thanks for your answer. On 14.03.2014 02:36, Michel Dänzer wrote: This is probably because r600g claims not to support any of the colour formats chosen by the Mesa/DRI state tracker. Did you only apply these two patches, no other modifications to the Git tree? Yes I did apply only

[Mesa-dev] [Bug 76190] [r600g-evergreen] GPU hang in Stunt Rally (bisected)

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76190 Benjamin Bellec changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 76190] [r600g-evergreen] GPU hang in Stunt Rally (bisected)

2014-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76190 Benjamin Bellec changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

Re: [Mesa-dev] i965 GL_ARB_buffer_storage

2014-03-15 Thread Kenneth Graunke
On 03/14/2014 11:35 AM, Eric Anholt wrote: > Kenneth Graunke writes: > >> On 02/27/2014 02:52 PM, Eric Anholt wrote: >>> One thing I noticed while working on this was that we only reallocate buffer >>> storage for INVALIDATE_BUFFER_BIT when UNSYNCHRONIZED_BIT is unset. The >>> ARB_mbr spec says

Re: [Mesa-dev] [PATCH 12/12] mesa/sso: Implement ValidateProgramPipeline

2014-03-15 Thread Ian Romanick
On 03/13/2014 10:52 AM, Eric Anholt wrote: > Ian Romanick writes: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 03/05/2014 01:00 PM, Eric Anholt wrote: >>> Ian Romanick writes: >>> From: Gregory Hainaut Implementation note: I don't use context for ralloc (don't k

Re: [Mesa-dev] [PATCH 11/12] mesa/sso: Add _mesa_sampler_uniforms_pipeline_are_valid

2014-03-15 Thread Ian Romanick
On 03/05/2014 02:27 AM, Ian Romanick wrote: > From: Gregory Hainaut > > This is much like _mesa_sampler_uniforms_are_valid, but it operates > across an entire pipeline object. > > This function differs from _mesa_sampler_uniforms_are_valid in that it > directly creates the gl_pipeline_object::In

Re: [Mesa-dev] [PATCH 2/8] glsl: Add wrapper function that calls ir_dereference::constant_referenced

2014-03-15 Thread Pohjolainen, Topi
On Wed, Mar 12, 2014 at 03:49:21PM -0700, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/glsl/ir_constant_expression.cpp | 52 > + > 1 file changed, 36 insertions(+), 16 deletions(-) > > diff --git a/src/glsl/ir_constan