[Mesa-dev] [Bug 86788] (bisected) 32bit UrbanTerror 4.1 timedemo sse4.1 segfault...

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86788 --- Comment #3 from Timothy Arceri --- It seems to be an alignment issue and I'm not sure I fully understand why its happening but does changing: unsigned vec_count; to unsigned vec_count __attribute__ ((aligned (16))); on line 60 fix it? -

Re: [Mesa-dev] [RFC] tegra: Initial support

2014-11-28 Thread Thierry Reding
On Thu, Nov 27, 2014 at 11:51:08AM -0500, Rob Clark wrote: > On Thu, Nov 27, 2014 at 11:39 AM, Thierry Reding > wrote: > > Tegra K1 and later use a GPU that can be driven by the Nouveau driver. > > But the GPU is a pure render node and has no display engine, hence the > > scanout needs to happen o

Re: [Mesa-dev] [Nouveau] [RFC] tegra: Initial support

2014-11-28 Thread Thierry Reding
On Fri, Nov 28, 2014 at 02:14:24PM +0900, Alexandre Courbot wrote: > On 11/28/2014 01:39 AM, Thierry Reding wrote: > >Tegra K1 and later use a GPU that can be driven by the Nouveau driver. > >But the GPU is a pure render node and has no display engine, hence the > >scanout needs to happen on the Te

Re: [Mesa-dev] [RFC] tegra: Initial support

2014-11-28 Thread Thierry Reding
On Fri, Nov 28, 2014 at 12:32:43AM -0500, Ilia Mirkin wrote: > On Thu, Nov 27, 2014 at 11:39 AM, Thierry Reding > wrote: > > Tegra K1 and later use a GPU that can be driven by the Nouveau driver. > > But the GPU is a pure render node and has no display engine, hence the > > scanout needs to happen

Re: [Mesa-dev] [Nouveau] [RFC] tegra: Initial support

2014-11-28 Thread Thierry Reding
On Fri, Nov 28, 2014 at 05:52:26PM +0900, Alexandre Courbot wrote: > On Fri, Nov 28, 2014 at 5:48 PM, Thierry Reding > wrote: > > On Fri, Nov 28, 2014 at 02:14:24PM +0900, Alexandre Courbot wrote: > >> On 11/28/2014 01:39 AM, Thierry Reding wrote: > >> >Tegra K1 and later use a GPU that can be dri

[Mesa-dev] [Bug 86690] glmark2-es2-wayland shortly freezes on some frames with egl_dri2 backend (Nouveau/GK20A)

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86690 --- Comment #3 from Alexandre Courbot --- Created attachment 110159 --> https://bugs.freedesktop.org/attachment.cgi?id=110159&action=edit Output of "strace -tt weston-simple-egl" -- You are receiving this mail because: You are the QA Contact

[Mesa-dev] [Bug 86690] glmark2-es2-wayland shortly freezes on some frames with egl_dri2 backend (Nouveau/GK20A)

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86690 --- Comment #4 from Alexandre Courbot --- As discussed on IRC, it appears that running "perf top" at the same time as any Weston EGL client delivers the same behavior of frozen frames in said client, without affecting Weston itself or other non-E

Re: [Mesa-dev] [PATCH 2/2] st/nine: Fix vertex declarations for non-standard (usage/index)

2014-11-28 Thread Marek Olšák
Does this have any effect on what data drivers get or is it just internal to Nine? Marek On Thu, Nov 27, 2014 at 11:13 AM, Axel Davy wrote: > Nine code to match vertex declaration to vs inputs was limiting > the number of possible combinations. > > Some sm3 games have issues with that, because a

Re: [Mesa-dev] [PATCH 1/2] st/nine: sm1_declusage_to_tgsi, do not restrict indices with TGSI_SEMANTIC_GENERIC

2014-11-28 Thread Marek Olšák
This looks good to me. FYI, it will break r300g, which can be fixed in r300g. Marek On Thu, Nov 27, 2014 at 11:13 AM, Axel Davy wrote: > With sm3, you can declare an input/output with an usage and an usage index. > > Nine code hardcodes the translation usage/index to a corresponding TGSI code.

[Mesa-dev] [Bug 86788] (bisected) 32bit UrbanTerror 4.1 timedemo sse4.1 segfault...

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86788 --- Comment #4 from smoki --- (In reply to Timothy Arceri from comment #3) > It seems to be an alignment issue and I'm not sure I fully understand why > its happening but does changing: > > unsigned vec_count; > > to > > unsigned vec_count

[Mesa-dev] [Bug 86788] (bisected) 32bit UrbanTerror 4.1 timedemo sse4.1 segfault...

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86788 --- Comment #5 from smoki --- (In reply to smoki from comment #4) > > No, that does fix it. Does *not* i mean of course. -- You are receiving this mail because: You are the assignee for the bug. _

[Mesa-dev] [Bug 86690] glmark2-es2-wayland shortly freezes on some frames with egl_dri2 backend (Nouveau/GK20A)

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86690 --- Comment #5 from Pekka Paalanen --- Maarten Lankhorst suspects this might have something to do with http://lists.freedesktop.org/archives/dri-devel/2014-November/072367.html -- You are receiving this mail because: You are the QA Contact for

[Mesa-dev] [Bug 86788] (bisected) 32bit UrbanTerror 4.1 timedemo sse4.1 segfault...

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86788 José Fonseca changed: What|Removed |Added CC||jfons...@vmware.com --- Comment #6 from J

[Mesa-dev] [PATCH 01/13] mesa/meta: Don't free meta if it was never initialized

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/common/meta.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 87532c1..fab360d 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -

[Mesa-dev] [PATCH 02/13] i965: If cache has no BO don't try to unmap BO

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_state_cache.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c index cf42ada..3e1642d 100644 --- a/src/mes

[Mesa-dev] [PATCH 00/13] Fix context creation error handling

2014-11-28 Thread Juha-Pekka Heikkila
This set fixes context creation error handling. Currently if there was any error during context creation it would automatically cause segfault. There are many very small patches because they touch very different areas but any if unhandled could cause segfaulting in problematic situation. Valgrind d

[Mesa-dev] [PATCH 10/13] mesa/main: Check context pointer in _mesa_error before using it

2014-11-28 Thread Juha-Pekka Heikkila
I guess this should not really be able to segfault but still it seems to be able to during context creation. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/errors.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/errors.c b/src

[Mesa-dev] [PATCH 11/13] i965: Add missing return on error path

2014-11-28 Thread Juha-Pekka Heikkila
If there was memory allocation failure have to return away from brw_new_buffer_object Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/intel_buffer_objects.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.c b/src/mesa/drivers/d

[Mesa-dev] [PATCH 05/13] mesa/program: Don't clear caches which are not allocated

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/program/prog_cache.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/mesa/program/prog_cache.c b/src/mesa/program/prog_cache.c index 34609f0..97f148b 100644 --- a/src/mesa/program/prog_cache.c +++ b/src/mesa

[Mesa-dev] [PATCH 08/13] mesa/main: Don't go deleting unallocated TransformFeedbackObjects

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/transformfeedback.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index a737463..72c5c18 100644 --- a/src/mesa/main/transformfeedback.c ++

[Mesa-dev] [PATCH 04/13] mesa/main: Don't go freeing pipeline data which is not reserved

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/pipelineobj.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index b713d95..c17ce1a 100644 --- a/src/mesa/main/pipelineobj.c +++ b/src/mesa/main/pipelineobj

[Mesa-dev] [PATCH 03/13] mesa/main: Don't go freeing texture data which was never allocated

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/texstate.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index e0f0852..7f29208 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -930

[Mesa-dev] [PATCH 12/13] mesa/main: Don't proceed on deleting null hash table

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/hash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c index 52095f7..2052412 100644 --- a/src/mesa/main/hash.c +++ b/src/mesa/main/hash.c @@ -145,7 +145,8 @@ _mesa_NewHashTable(

[Mesa-dev] [PATCH 06/13] mesa/main: Don't free QueryObjects which were never allocated

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/queryobj.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c index 932359c..a0ab1b4 100644 --- a/src/mesa/main/queryobj.c +++ b/src/mesa/main/queryobj.c @@ -792,6 +792,

[Mesa-dev] [PATCH 13/13] mesa/main: Verify context creation on progress

2014-11-28 Thread Juha-Pekka Heikkila
Stop context creation if something failed. If something errored during context creation we'd segfault. Now will clean up and return error. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/shared.c | 66 +++--- 1 file changed, 62 insertions(+), 4 de

[Mesa-dev] [PATCH 07/13] mesa/main: Don't free unallocated vertex array state

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/varray.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 96c2b26..944dbce 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1974,6 +1974,8 @@ del

[Mesa-dev] [PATCH 09/13] mesa/main: Don't free unallocated performance monitor

2014-11-28 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/performance_monitor.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/performance_monitor.c b/src/mesa/main/performance_monitor.c index c02910e..b3e19e4 100644 --- a/src/mesa/main/performance_monitor.c

[Mesa-dev] [Bug 86788] (bisected) 32bit UrbanTerror 4.1 timedemo sse4.1 segfault...

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86788 --- Comment #7 from José Fonseca --- This patch might help: diff --git a/src/mesa/main/sse_minmax.c b/src/mesa/main/sse_minmax.c index 222ac14..c3ec420 100644 --- a/src/mesa/main/sse_minmax.c +++ b/src/mesa/main/sse_minmax.c @@ -31,6 +31,9 @@ #

[Mesa-dev] [Bug 86788] (bisected) 32bit UrbanTerror 4.1 timedemo sse4.1 segfault...

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86788 --- Comment #8 from smoki --- (In reply to José Fonseca from comment #7) > This patch might help: > > diff --git a/src/mesa/main/sse_minmax.c b/src/mesa/main/sse_minmax.c > index 222ac14..c3ec420 100644 > --- a/src/mesa/main/sse_minmax.c > +++ b

Re: [Mesa-dev] [RFC] tegra: Initial support

2014-11-28 Thread Daniel Stone
Hi, On 28 November 2014 at 09:17, Thierry Reding wrote: > On Fri, Nov 28, 2014 at 12:32:43AM -0500, Ilia Mirkin wrote:> Also, can > you explain why it's advantageous for the setup to appear as > > though it is a single device? i.e. what's wrong with just using > > nouveau as a render node or wha

Re: [Mesa-dev] [RFC] tegra: Initial support

2014-11-28 Thread Emil Velikov
Hi Thierry, Must admit that I really prefer this idea over modifying existing applications/users [1] because: - Most of these setups are tightly coupled (imx+vivante, tegra+nouveau) and pushing this down to the driver prevents duplication, and hardware specific details in the users. - Removes th

Re: [Mesa-dev] [PATCH] r600g: merge the TXQ and BUFFER constant buffers

2014-11-28 Thread Emil Velikov
Hi Dave, Picking this patch (and the two follow ups that fix it) against the 10.3 branch seems to produce a handful of non-intuitive conflicts. Can you confirm if it's truly meant to be picked for 10.3 and if so can you provide a backport. Thanks Emil On 24/11/14 03:36, Dave Airlie wrote: > From

[Mesa-dev] Mesa 10.4.0 release candidate 3

2014-11-28 Thread Emil Velikov
Mesa 10.4.0 release candidate 3 is now available for testing. This is the final release candidate planned before the 10.4.0 release coming next Friday, Dec 5th. The tag in the git repository for Mesa 10.4.0-rc3 is 'mesa-10.4.0-rc3'. Mesa 10.4.0 release candidate 3 is available for download from f

[Mesa-dev] [Patch v3] Mesa: Add support for GL_OES_texture_*float* extensions.

2014-11-28 Thread Kalyan Kondapally
This patch adds support for following GLES2 Texture Float extensions: 1)GL_OES_texture_float, 2)GL_OES_texture_half_float, 3)GL_OES_texture_float_linear, 4)GL_OES_texture_half_float_linear. If we are using GLES context and the driver has advertised support for ARB_texture_float, then support for a

Re: [Mesa-dev] DRI3/Present fixes for Mesa 10.3+

2014-11-28 Thread Emil Velikov
Hi Mario, On 25/11/14 03:00, Mario Kleiner wrote: > Hi > > Here three patches against mesa to fix use of the OML_sync_control > extension under DRI3/Present and restore behaviour compatible to > the DRI2 implementation, so applications like mine, which were written > and tested against DRI2, don't

[Mesa-dev] [PATCH] i965: Fix assertion in brw_reg_type_letters

2014-11-28 Thread Ben Widawsky
While using various debugging features (optimization debug, instruction dumping, etc) this function is called in order to get a readable letter for the type of unit. On GEN8, two new units were added, the Qword and the Unsigned Qword (Q, and UQ respectively). The existing assertion tries to determ

[Mesa-dev] [Bug 86837] kodi segfault since auxiliary/vl: rework the build of the VL code

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86837 Bug ID: 86837 Summary: kodi segfault since auxiliary/vl: rework the build of the VL code Product: Mesa Version: git Hardware: Other OS: All Stat

[Mesa-dev] [Bug 86837] kodi segfault since auxiliary/vl: rework the build of the VL code

2014-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86837 --- Comment #1 from Andy Furniss --- Created attachment 110209 --> https://bugs.freedesktop.org/attachment.cgi?id=110209&action=edit vdpau trace showing errors A trace shows that 'No backend implementation could be loaded.' mplayer is working

[Mesa-dev] sampler types in tgsi

2014-11-28 Thread Ilia Mirkin
Hello, It appears that the A3XX ISA (freedreno) requires the texture instruction to properly specify its output type (or at least f32 vs u32). Now I could stick this into a driver-local shader key, but it seems unfortunate since in glsl, it knows whether it's an int or float sampler. Would there

Re: [Mesa-dev] [PATCH] i965: Fix assertion in brw_reg_type_letters

2014-11-28 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] Added NULL check in eglCreateContext

2014-11-28 Thread Matt Turner
On Thu, Nov 27, 2014 at 1:59 AM, Valentin Corfu wrote: > With this check we can avoid segmentation fault when invalid value used > during eglCreateContext. > > Cc: mesa-sta...@lists.freedesktop.org > Cc: mesa-dev@lists.freedesktop.org > Signed-off-by: Valentin Corfu > --- > src/egl/drivers/dri2

Re: [Mesa-dev] sampler types in tgsi

2014-11-28 Thread Roland Scheidegger
Am 29.11.2014 um 06:12 schrieb Ilia Mirkin: > Hello, > > It appears that the A3XX ISA (freedreno) requires the texture > instruction to properly specify its output type (or at least f32 vs > u32). Now I could stick this into a driver-local shader key, but it > seems unfortunate since in glsl, it k

Re: [Mesa-dev] [Nouveau] [RFC] tegra: Initial support

2014-11-28 Thread Alexandre Courbot
On Fri, Nov 28, 2014 at 5:48 PM, Thierry Reding wrote: > On Fri, Nov 28, 2014 at 02:14:24PM +0900, Alexandre Courbot wrote: >> On 11/28/2014 01:39 AM, Thierry Reding wrote: >> >Tegra K1 and later use a GPU that can be driven by the Nouveau driver. >> >But the GPU is a pure render node and has no d

Re: [Mesa-dev] [PATCH 2/2] st/nine: Fix vertex declarations for non-standard (usage/index)

2014-11-28 Thread Axel Davy
On Fri, 28 Nov 2014, Marek Olšák wrote: Does this have any effect on what data drivers get or is it just internal to Nine? Marek No, this patch shouldn't change anything for the driver. It is only internal to Nine. Axel___ mesa-dev mailing list

Re: [Mesa-dev] sampler types in tgsi

2014-11-28 Thread Jose Fonseca
On 29/11/14 06:07, Roland Scheidegger wrote: Am 29.11.2014 um 06:12 schrieb Ilia Mirkin: Hello, It appears that the A3XX ISA (freedreno) requires the texture instruction to properly specify its output type (or at least f32 vs u32). Now I could stick this into a driver-local shader key, but it s