[Mesa-dev] [Bug 34049] r600g: assertion failure (regression)

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34049 Rafael Monica changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [PATCH 3/3] egl_dri2: make swrast always double buffered

2011-02-08 Thread Feng, Haitao
>From 1ef02e603f0296e5d11df4e9a1b783fae2da3af8 Mon Sep 17 00:00:00 2001 From: Haitao Feng Date: Wed, 9 Feb 2011 14:52:59 -0500 Subject: [PATCH 3/3] egl_dri2: make swrast always double buffered Signed-off-by: Haitao Feng --- src/egl/drivers/dri2/egl_dri2.c |7 --- src/egl/drivers/d

[Mesa-dev] [PATCH 2/3] egl_dri2: add swrast

2011-02-08 Thread Feng, Haitao
>From 4d2994362d53b0a7e00e6ec29433c648a3695208 Mon Sep 17 00:00:00 2001 From: Haitao Feng Date: Wed, 9 Feb 2011 14:43:23 -0500 Subject: [PATCH 2/3] egl_dri2: add swrast This enables the egl_dri2 driver to load swrast driver for software rendering. It could be used when hardware dri2 drivers are

[Mesa-dev] [PATCH 1/3] egl_dri2: rename loader_extension to dri2_loader_extension

2011-02-08 Thread Feng, Haitao
>From 7db4f1f8a5c85666b3ea7e60ee58bd5e68457c20 Mon Sep 17 00:00:00 2001 From: Haitao Feng Date: Wed, 9 Feb 2011 14:18:48 -0500 Subject: [PATCH 1/3] egl_dri2: rename loader_extension to dri2_loader_extension Signed-off-by: Haitao Feng --- src/egl/drivers/dri2/egl_dri2.h |2 +- src/

[Mesa-dev] [Bug 34049] r600g: assertion failure (regression)

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34049 --- Comment #1 from Brian Paul 2011-02-08 17:25:01 PST --- This should be fixed with commit 7230e1a22822ce91f2d2555da53404f195fa9aaf. Can you retest and close if fixed? I tested w/ softpipe and llvmpipe here but not r600g. -- Configure bugmail

[Mesa-dev] [Bug 34042] Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 --- Comment #5 from Alexandros Frantzis 2011-02-08 15:42:29 PST --- (In reply to comment #4) > (In reply to comment #3) > > Note that I have this problem with all of r600g, r600c, i915c and gallium > > softpipe. > > I can't reproduce this using

[Mesa-dev] [Bug 34047] Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34047 Chad Versace changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop. |c...@chad-versace.us |o

Re: [Mesa-dev] Gallium proposal: add a user pointer in pipe_resource

2011-02-08 Thread Keith Whitwell
On Tue, 2011-02-08 at 22:51 +0100, Marek Olšák wrote: > > void redefine_user_buffer( > struct pipe_context*, > struct pipe_resource*, > unsigned offset, > unsigned size); > > and new width0 would implicitly be offset+size; > I think this is a great place to start

Re: [Mesa-dev] Gallium proposal: add a user pointer in pipe_resource

2011-02-08 Thread Marek Olšák
On Tue, Feb 8, 2011 at 10:39 PM, Keith Whitwell wrote: > On Tue, 2011-02-08 at 22:29 +0100, Marek Olšák wrote: > > > > > > Keith, > > > > redefine_user_buffer() would be a good compromise and I believe the > > performance hit wouldn't be so noticable. It would also allow partial > > uploads of co

Re: [Mesa-dev] Gallium proposal: add a user pointer in pipe_resource

2011-02-08 Thread Keith Whitwell
On Tue, 2011-02-08 at 22:29 +0100, Marek Olšák wrote: > > > Keith, > > redefine_user_buffer() would be a good compromise and I believe the > performance hit wouldn't be so noticable. It would also allow partial > uploads of constants in a user buffer, which is something we'd like to > have > too

Re: [Mesa-dev] Gallium proposal: add a user pointer in pipe_resource

2011-02-08 Thread Marek Olšák
Keith, redefine_user_buffer() would be a good compromise and I believe the performance hit wouldn't be so noticable. It would also allow partial uploads of constants in a user buffer, which is something we'd like to have too. Currently, st/mesa in st_draw_vbo is doing: - N calls to resource_destr

[Mesa-dev] [Bug 34042] Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 --- Comment #4 from Benjamin Franzke 2011-02-08 13:16:27 PST --- (In reply to comment #3) > Note that I have this problem with all of r600g, r600c, i915c and gallium > softpipe. I can't reproduce this using your test client (or cairo-egl). Test

[Mesa-dev] [Bug 34042] Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 Siarhei Siamashka changed: What|Removed |Added CC||siarhei.siamas...@gmail.com -- Conf

[Mesa-dev] [Bug 34042] Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 --- Comment #3 from Alexandros Frantzis 2011-02-08 12:27:23 PST --- Note that I have this problem with all of r600g, r600c, i915c and gallium softpipe. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Mesa-dev] [Bug 34049] New: r600g: assertion failure (regression)

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34049 Summary: r600g: assertion failure (regression) Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Com

[Mesa-dev] [Bug 34042] Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 --- Comment #2 from Alexandros Frantzis 2011-02-08 11:50:46 PST --- (In reply to comment #1) > Should be fixed by: > http://lists.freedesktop.org/archives/mesa-dev/2011-February/005371.html I tried the patch, but the problem remains. -- Confi

[Mesa-dev] [Bug 34047] Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34047 --- Comment #2 from David Leong 2011-02-08 10:59:04 PST --- Code also works ok on the Symbian GLESv2 and windows GLESv2 emulation implementations. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are recei

[Mesa-dev] [Bug 34047] Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34047 --- Comment #1 from David Leong 2011-02-08 10:30:24 PST --- Just to add a note. The same code using GL_FIXED works correctly when using the SGX driver. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Mesa-dev] [Bug 34047] Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34047 David Leong changed: What|Removed |Added CC||c...@chad-versace.us, |

[Mesa-dev] [Bug 34047] New: Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34047 Summary: Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2 Product: Mesa Version: 7.9 Platform: x86 (IA32) OS/Version: other Status: NEW

Re: [Mesa-dev] Black window on Mesa 7.10

2011-02-08 Thread Lionel Landwerlin
On Tue, 2011-02-08 at 16:16 +, Lionel Landwerlin wrote: Hi all, > Ever since I can't see anything on the screen, even if the rendering > seems to be done. For instance glxgears as well as any other opengl app > displays just a black window, but still manages to compute framerate : > > user@

[Mesa-dev] [Bug 34042] Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 --- Comment #1 from Benjamin Franzke 2011-02-08 10:05:18 PST --- Should be fixed by: http://lists.freedesktop.org/archives/mesa-dev/2011-February/005371.html -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Yo

[Mesa-dev] [PATCH] st/mesa: Fix surfaceless opengl with non-dummy contexts

2011-02-08 Thread Benjamin Franzke
main/context.c:check_complatible() detecs an incomplete framebuffer using its pointer, so do not copy it. This should fix https://bugs.freedesktop.org/show_bug.cgi?id=34042 --- src/mesa/state_tracker/st_manager.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) diff --gi

[Mesa-dev] [Bug 34042] New: Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34042 Summary: Surfaceless eglMakeCurrent() fails if the supplied EGLContext is not a dummy context Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

[Mesa-dev] Black window on Mesa 7.10

2011-02-08 Thread Lionel Landwerlin
Hi all, I just upgraded Mesa to the 7.10 version. Here is the glxinfo trace : user@worky:~$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_import_conte

[Mesa-dev] [Bug 33934] 3D blitting is orders of magnitude slower than equivalent 2D blitting.

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33934 Chris Wilson changed: What|Removed |Added Summary|glBlitFramebuffer could |3D blitting is orders of

[Mesa-dev] [Bug 33934] glBlitFramebuffer could have a fast path if there's no scaling

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33934 --- Comment #5 from Chris Wilson 2011-02-08 06:21:23 PST --- Another perspective. Running without the patch: =0 sandybridge:~$ DISPLAY=:0.0 ./copy-tex-subimage # gt1 time for glBlitFramebuffer = 119331 time for glCopyTexSubImage2D = 1518 =0 san

[Mesa-dev] [Bug 23525] Software rendering on QEMU guests badly broken

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23525 Matthias Hopf changed: What|Removed |Added CC||mh...@suse.de -- Configure bugmail: htt

[Mesa-dev] [Bug 33934] glBlitFramebuffer could have a fast path if there's no scaling

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33934 --- Comment #4 from Marek Olšák 2011-02-08 05:58:38 PST --- There is almost no performance difference on Radeons. I guess the patch should be made Intel-only. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Yo

[Mesa-dev] [Bug 33934] glBlitFramebuffer could have a fast path if there's no scaling

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33934 --- Comment #3 from Neil Roberts 2011-02-08 05:08:06 PST --- Created an attachment (id=43096) --> (https://bugs.freedesktop.org/attachment.cgi?id=43096) Test case showing the performance difference Well at least on the Intel driver there is a

Re: [Mesa-dev] [PATCH] r600g, silence a few valgrind warnings

2011-02-08 Thread Marek Olšák
Pushed, thanks. Marek On Tue, Feb 8, 2011 at 2:57 AM, Brian Paterni wrote: > Hi all, > > Here's a small patch which silences a few unitialized bytes warnings in > valgrind: > > diff --git a/src/gallium/winsys/r600/drm/r600_drm.c > b/src/gallium/winsys/r600/drm/r600_drm.c > index 096c178..f5cd48

[Mesa-dev] [Bug 23525] Software rendering on QEMU guests badly broken

2011-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23525 --- Comment #4 from Bernhard M. Wiedemann 2011-02-08 03:16:02 PST --- Mesa-7.10 swrast on Qemu/KVM's emulated 24bit cirrus graphics is still broken. Looks like this: http://openqa.opensuse.org/opensuse/permanent/bug/bfo23525.png but works on ve

Re: [Mesa-dev] [PATCH] mesa: Fix the Mesa IR copy propagation to not read past writes to the reg.

2011-02-08 Thread José Fonseca
Looks good to me FWIW. When dst_reg.reladdr is set we could still restrict the reset to dst_reg.writemask bits, but this was not done before either. Jose On Fri, 2011-02-04 at 12:50 -0800, Eric Anholt wrote: > Fixes glsl-vs-post-increment-01. > --- > src/mesa/program/ir_to_mesa.cpp | 47 +