All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 56474] New: 3D app segfaults on NV46
@ 2012-10-28  1:18 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-56474-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 5+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-10-28  1:18 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2076 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=56474

          Priority: medium
            Bug ID: 56474
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: 3D app segfaults on NV46
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: 1o5g4r8o-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
          Hardware: x86 (IA32)
            Status: NEW
           Version: 9.0
         Component: Drivers/DRI/nouveau
           Product: Mesa

Created attachment 69169
  --> https://bugs.freedesktop.org/attachment.cgi?id=69169&action=edit
dmesg

Debian Wheezy i386
Mesa 9.0-1
libdrm 2.4.39-1
xserver-xorg-video-nouveau 1.0.3
Attached dmesg.

supertuxkart segfaults on Debian. Attached backtrace.

21:16 < joi> try: "up; print res"
21:17 < gg0> (gdb) up
21:17 < gg0> #1  nv30_vbo_validate (nv30=0x94c2658) at nv30_vbo.c:239
21:17 < gg0> 239I      PUSH_RESRC(push, NV30_3D(VTXBUF(i)), user ? 
             BUFCTX_VTXTMP : BUFCTX_VTXBUF,
21:17 < gg0> (gdb) print res
21:17 < gg0> $4 = (struct nv04_resource *) 0x0

21:35 < joi> gg0: try this one: http://bpaste.net/show/54017/

diff --git a/src/gallium/drivers/nv30/nv30_vbo.c
b/src/gallium/drivers/nv30/nv30_vbo.c
index 128457f..94febc3 100644
--- a/src/gallium/drivers/nv30/nv30_vbo.c
+++ b/src/gallium/drivers/nv30/nv30_vbo.c
@@ -226,6 +226,8 @@ nv30_vbo_validate(struct nv30_context *nv30)
       user = (nv30->vbo_user & (1 << ve->vertex_buffer_index));

       res = nv04_resource(vb->buffer);
+      if (!res)
+         continue;

       if (nv30->vbo_fifo || unlikely(vb->stride == 0)) {
          if (!nv30->vbo_fifo)

With patch above, stk doesn't produce core anymore and Xorg freezes.

So far, mesa 8 is better. I could use it even if often it crashes during kart
races. With mesa 9, races can't even start.

Further backtraces and system info available at http://bugs.debian.org/691292
Bug describes how it behaves on current Debian wheezy, Mesa 8.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3583 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Bug 56474] 3D app segfaults on NV46
       [not found] ` <bug-56474-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2012-10-28  1:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-10-28  1:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-10-28  1:19 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=56474

--- Comment #1 from Gabriele Giacone <1o5g4r8o-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 69170
  --> https://bugs.freedesktop.org/attachment.cgi?id=69170&action=edit
supertuxkart backtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 56474] 3D app segfaults on NV46
       [not found] ` <bug-56474-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2012-10-28  1:19   ` [Bug 56474] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2012-10-28  1:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-08-21 16:13   ` [Bug 56474] [NV30 gallium] supertuxkart " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-09-02  5:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-10-28  1:22 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=56474

--- Comment #2 from Gabriele Giacone <1o5g4r8o-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
22:34 < joi> gg0: does it work if you set NV30_SWTNL env var?
22:39 < gg0> joi: it started but seems stuck and it's taking 100% cpu
22:47 < joi> if I understand this code correctly, only SWTNL path handles 
             user buffers, so... someone needs to implement user buffers in 
             hw path or fix sw path (which is disabled by default and 
             probably broken)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1319 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 56474] [NV30 gallium] supertuxkart segfaults on NV46
       [not found] ` <bug-56474-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2012-10-28  1:19   ` [Bug 56474] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-10-28  1:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-08-21 16:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-09-02  5:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-08-21 16:13 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=56474

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|3D app segfaults on NV46    |[NV30 gallium] supertuxkart
                   |                            |segfaults on NV46

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1091 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 56474] [NV30 gallium] supertuxkart segfaults on NV46
       [not found] ` <bug-56474-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2013-08-21 16:13   ` [Bug 56474] [NV30 gallium] supertuxkart " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-09-02  5:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-09-02  5:28 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 753 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=56474

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
The crash appears to be gone with mesa git, tested on NV42 and NV44. (There
_was_ a nasty little issue with the fragment shaders, but that's fixed in mesa
git now.) Feel free to reopen if this still doesn't work for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2148 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-02  5:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28  1:18 [Bug 56474] New: 3D app segfaults on NV46 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-56474-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2012-10-28  1:19   ` [Bug 56474] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-10-28  1:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-21 16:13   ` [Bug 56474] [NV30 gallium] supertuxkart " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-09-02  5:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.