All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 74868] New: r600g: Diablo III Crashes After a few minutes
@ 2014-02-12  2:20 bugzilla-daemon
  2014-02-12  2:20 ` [Bug 74868] " bugzilla-daemon
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-12  2:20 UTC (permalink / raw)
  To: dri-devel


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

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

          Priority: medium
            Bug ID: 74868
          Assignee: dri-devel@lists.freedesktop.org
           Summary: r600g: Diablo III Crashes After a few minutes
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: nick.tenney@gmail.com
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 93894
  --> https://bugs.freedesktop.org/attachment.cgi?id=93894&action=edit
Xorg Log

Disclaimer: This is my first bug report, so I apologize if I do not attach
enough information.

I tried booting up Diablo III a few days back to see the new geometry shaders
in action on my 4890, and alas, I had a few minutes of happy gameplay followed
by a startling black screen. I ran it in a terminal window, though wine was not
kind enough to allow me to properly pipe the output (only grabbed the launcher
window and gave up) it contained ooodles of r600_shader_select issues. There
were thousands of the (type=1) -1 lines prior to the the -12 lines right before
the crash:

EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -1
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -1
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -1
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -1
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -1
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -1
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !
EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_texture.c:1003 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy
Mesa: User error: GL_OUT_OF_MEMORY in glCompressedTexSubImage2D
err:d3d:wined3d_debug_callback 0x1c8178: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D".
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505)
from glCompressedTexSubImage2DARB @ ../../../wine-1.7.12/dlls/wined3d/surface.c
/ 1688
EE r600_texture.c:1003 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy
Mesa: User error: GL_OUT_OF_MEMORY in glCompressedTexSubImage2D
err:d3d:wined3d_debug_callback 0x1c8178: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D".
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505)
from glCompressedTexSubImage2DARB @ ../../../wine-1.7.12/dlls/wined3d/surface.c
/ 1688
EE r600_texture.c:1003 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy
Mesa: User error: GL_OUT_OF_MEMORY in glCompressedTexSubImage2D
err:d3d:wined3d_debug_callback 0x1c8178: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D".
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505)
from glCompressedTexSubImage2DARB @ ../../../wine-1.7.12/dlls/wined3d/surface.c
/ 1688
EE r600_texture.c:1003 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy
Mesa: User error: GL_OUT_OF_MEMORY in glCompressedTexSubImage2D
err:d3d:wined3d_debug_callback 0x1c8178: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D".
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505)
from glCompressedTexSubImage2DARB @ ../../../wine-1.7.12/dlls/wined3d/surface.c
/ 1688
EE r600_texture.c:1003 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy
Mesa: User error: GL_OUT_OF_MEMORY in glCompressedTexSubImage2D
err:d3d:wined3d_debug_callback 0x1c8178: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D".
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505)
from glCompressedTexSubImage2DARB @ ../../../wine-1.7.12/dlls/wined3d/surface.c
/ 1688
EE r600_texture.c:1003 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy
Mesa: User error: GL_OUT_OF_MEMORY in glCompressedTexSubImage2D
err:d3d:wined3d_debug_callback 0x1c8178: "GL_OUT_OF_MEMORY in
glCompressedTexSubImage2D".
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505)
from glCompressedTexSubImage2DARB @ ../../../wine-1.7.12/dlls/wined3d/surface.c
/ 1688

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
@ 2014-02-12  2:20 ` bugzilla-daemon
  2014-02-12  2:21 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-12  2:20 UTC (permalink / raw)
  To: dri-devel


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

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

Nick Tenney <nick.tenney@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |x86-64 (AMD64)
                 OS|All                         |Linux (All)
                 CC|                            |nick.tenney@gmail.com

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
  2014-02-12  2:20 ` [Bug 74868] " bugzilla-daemon
@ 2014-02-12  2:21 ` bugzilla-daemon
  2014-02-12  2:26 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-12  2:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Nick Tenney <nick.tenney@gmail.com> ---
Created attachment 93895
  --> https://bugs.freedesktop.org/attachment.cgi?id=93895&action=edit
dmesg log

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
  2014-02-12  2:20 ` [Bug 74868] " bugzilla-daemon
  2014-02-12  2:21 ` bugzilla-daemon
@ 2014-02-12  2:26 ` bugzilla-daemon
  2014-02-12  8:10 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-12  2:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Nick Tenney <nick.tenney@gmail.com> ---
Created attachment 93896
  --> https://bugs.freedesktop.org/attachment.cgi?id=93896&action=edit
Mesa PKGBUILD

Distribution: Archlinux 64-bit
Kernel: 3.14rc2
Mesa: git (PKGBUILD attached with ops)
libdrm: 2.4.52

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-02-12  2:26 ` bugzilla-daemon
@ 2014-02-12  8:10 ` bugzilla-daemon
  2014-02-13  3:26 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-12  8:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
Looks like there's a memory leak somewhere. Does valgrind --leak-check=full
give any hints? (Not sure if or how that can be used for Wine though)

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-02-12  8:10 ` bugzilla-daemon
@ 2014-02-13  3:26 ` bugzilla-daemon
  2014-02-15 17:37 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-13  3:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Nick Tenney <nick.tenney@gmail.com> ---
I took a quick peak at Valgrind, but Diablo III has some workarounds that seem
to be messing with it. I'll toy around with it a bit more on the weekend.
Thanks!

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-02-13  3:26 ` bugzilla-daemon
@ 2014-02-15 17:37 ` bugzilla-daemon
  2014-02-15 20:33 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-15 17:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Nick Tenney <nick.tenney@gmail.com> ---
I have tried various configurations with valgrind as recommended here:
http://wiki.winehq.org/Wine_and_Valgrind

I have gotten it to begin loading, but before it completes, Diablo crashes with
an internal error. Are there any other tools available or more limited valgrind
traces I could run to track this down? I know wine stuff is tricky to work
with.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-02-15 17:37 ` bugzilla-daemon
@ 2014-02-15 20:33 ` bugzilla-daemon
  2014-02-16  2:05 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-15 20:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Ilia Mirkin <imirkin@alum.mit.edu> ---
(In reply to comment #5)
> Are there any other tools available or more limited
> valgrind traces I could run to track this down? I know wine stuff is tricky
> to work with.

apitrace -- records all OpenGL calls. If replaying a trace causes the same
leak, then you're all set. (You could also run valgrind on the trace replay.)

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (6 preceding siblings ...)
  2014-02-15 20:33 ` bugzilla-daemon
@ 2014-02-16  2:05 ` bugzilla-daemon
  2014-02-16  4:15 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-16  2:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Nick Tenney <nick.tenney@gmail.com> ---
Created attachment 94142
  --> https://bugs.freedesktop.org/attachment.cgi?id=94142&action=edit
Diablo III Valgrind output

Thanks Ilia, that did the trick! I just grabbed the first few minutes of game
play in Valgrind up until it started encountering the error that was popping
previously.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (7 preceding siblings ...)
  2014-02-16  2:05 ` bugzilla-daemon
@ 2014-02-16  4:15 ` bugzilla-daemon
  2014-02-16 17:21 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-16  4:15 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Ilia Mirkin <imirkin@alum.mit.edu> ---
(In reply to comment #7)
> Created attachment 94142 [details]
> Diablo III Valgrind output
> 
> Thanks Ilia, that did the trick! I just grabbed the first few minutes of
> game play in Valgrind up until it started encountering the error that was
> popping previously.

I'm not a radeon guy, just a drive-by commenter, but I'm going to go ahead and
guess that this output is going to be of little use to anyone debugging :(

A trace with symbols in r600_dri would be much more useful. With what you
provided, we just know that the memory is allocated with malloc and calloc...
which is of little surprise.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (8 preceding siblings ...)
  2014-02-16  4:15 ` bugzilla-daemon
@ 2014-02-16 17:21 ` bugzilla-daemon
  2014-02-17  3:29 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-16 17:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Nick Tenney <nick.tenney@gmail.com> ---
Thanks for the help so far! I am happy to keep on debugging with more
specificity, but will need some help as I'm still pretty new with this stuff.
Let me know if there is anything I can provide to help shine light on this.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (9 preceding siblings ...)
  2014-02-16 17:21 ` bugzilla-daemon
@ 2014-02-17  3:29 ` bugzilla-daemon
  2014-02-21  3:24 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-17  3:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---
Make sure your /usr/lib/xorg/modules/dri/r600_dri.so has debugging symbols.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (10 preceding siblings ...)
  2014-02-17  3:29 ` bugzilla-daemon
@ 2014-02-21  3:24 ` bugzilla-daemon
  2014-03-07  3:49 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-02-21  3:24 UTC (permalink / raw)
  To: dri-devel


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

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

Nick Tenney <nick.tenney@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94142|0                           |1
        is obsolete|                            |

--- Comment #11 from Nick Tenney <nick.tenney@gmail.com> ---
Created attachment 94468
  --> https://bugs.freedesktop.org/attachment.cgi?id=94468&action=edit
D3 Valgrind output with debugging symbols

Recompiled and ran Valgrind again. The resulting Valgrind looks more
informative than previous attempts. Let me know if anything else would be
helpful.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (11 preceding siblings ...)
  2014-02-21  3:24 ` bugzilla-daemon
@ 2014-03-07  3:49 ` bugzilla-daemon
  2014-03-15  1:22 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-07  3:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Nick Tenney <nick.tenney@gmail.com> ---
Commands used:

$ apitrace32 wine Diablo\ III.exe
$ valgrind --leak-check=full --trace-children=yes
--vex-iropt-register-updates=allregs-at-mem-access --workaround-gcc296-bugs=yes
--log-file=d3-valgrind-debug_v2 --suppressions=$HOME/valgrind-suppressions
apitrace replay d3debug_v2.trace

Realized I didn't have an apitrace on here, so I grabbed a new one for posting.
Dropbox link is as follows:

https://www.dropbox.com/s/1zlzceaho5ym5pa/d3-trace.tar.bz2
sha256sum: f60ded613d5a9dd71629ec75ad2cc3b1f7c93ed80b22f92aeadd0f94f97ade19

My valgrind output was a bit above the limit too:
https://www.dropbox.com/s/uyqzxsf1ma5sqds/d3-valgrind-debug_v2
sha256sum: ffb4a35cfd714c78b228bfa0219445648190430324020924c8d04d3ce217a5dc

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (12 preceding siblings ...)
  2014-03-07  3:49 ` bugzilla-daemon
@ 2014-03-15  1:22 ` bugzilla-daemon
  2014-03-17  7:02 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-15  1:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Nick Tenney <nick.tenney@gmail.com> ---
I decided to try running with R600_DEBUG=hyperz,nosb to see what happened and I
got another line in the shader failure output about the shader requiring 227
registers:

EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant
(type=1) -12
EE r600_shader.c:2183 r600_shader_from_tgsi - GPR limit exceeded - shader
requires 227 registers
EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed !

Any tips on further debugging to find which shader is failing?

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (13 preceding siblings ...)
  2014-03-15  1:22 ` bugzilla-daemon
@ 2014-03-17  7:02 ` bugzilla-daemon
  2014-03-22  0:08 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-17  7:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 95909
  --> https://bugs.freedesktop.org/attachment.cgi?id=95909&action=edit
r600g: Don't leak bytecode on shader compile failure

Does this patch help?

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (14 preceding siblings ...)
  2014-03-17  7:02 ` bugzilla-daemon
@ 2014-03-22  0:08 ` bugzilla-daemon
  2014-03-29 14:28 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-22  0:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Reiner Herrmann <reiner@reiner-h.de> ---
(In reply to comment #14)
> Created attachment 95909 [details] [review]
> r600g: Don't leak bytecode on shader compile failure
> 
> Does this patch help?

Yes, this patch is helping, thank you! :)
I applied it to current Mesa 10.1 and was able to play Diablo 3 for several
hours without crashing due to being out of memory.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (15 preceding siblings ...)
  2014-03-22  0:08 ` bugzilla-daemon
@ 2014-03-29 14:28 ` bugzilla-daemon
  2014-03-29 20:44 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-29 14:28 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from 640bugs@gmail.com ---
(In reply to comment #14)
> Created attachment 95909 [details] [review]
> r600g: Don't leak bytecode on shader compile failure
> 
> Does this patch help?

I can also confirm, that the game doesnt crash anymore.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (16 preceding siblings ...)
  2014-03-29 14:28 ` bugzilla-daemon
@ 2014-03-29 20:44 ` bugzilla-daemon
  2014-03-31  3:45 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-29 20:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from Nick Tenney <nick.tenney@gmail.com> ---
(In reply to comment #14)
> Created attachment 95909 [details] [review]
> r600g: Don't leak bytecode on shader compile failure
> 
> Does this patch help?

Finally had a chance to test the patch. I compiled this morning with and
without the patch and GALLIUM_HUD=fps,requested-VRAM,requested-GTT. It clearly
leaked away without and the flow was stemmed with the proper error handling
patch. Awesome!

I see that the patch properly destroys the shader on error now, which is
definitely an improvement. The error spamming to stdout is still occurring, so
I'm not sure whether that should be another bug report/left open in this one
with a new name or anything.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (17 preceding siblings ...)
  2014-03-29 20:44 ` bugzilla-daemon
@ 2014-03-31  3:45 ` bugzilla-daemon
  2014-04-06 13:45 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-03-31  3:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from John Lenz <lenz@math.uic.edu> ---
Just to confirm, I had this exact problem with mesa 10.1 and diablo 3, and the
attached patch fixes the problem.  I played for ~1.5 hours with no crash, when
before it would crash within 2-3 minutes.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (18 preceding siblings ...)
  2014-03-31  3:45 ` bugzilla-daemon
@ 2014-04-06 13:45 ` bugzilla-daemon
  2014-04-09  6:35 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-04-06 13:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Mike Mestnik <cheako+bugs_freedesktop_org@mikemestnik.net> ---
The patch worked for me, binary download based on Oibaf package.

https://launchpad.net/~cheako/+archive/buildingrounds/+build/5883102/+files/libgl1-mesa-dri_10.2~git1404021931.0f641b~mmestnik~gd~s_i386.deb

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (19 preceding siblings ...)
  2014-04-06 13:45 ` bugzilla-daemon
@ 2014-04-09  6:35 ` bugzilla-daemon
  2014-04-10  6:42 ` bugzilla-daemon
  2014-10-29 11:37 ` bugzilla-daemon
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-04-09  6:35 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Michel Dänzer <michel@daenzer.net> ---
(In reply to comment #17)
> The error spamming to stdout is still occurring, so I'm not sure whether that
> should be another bug report/left open in this one with a new name or anything.

Please file separate bugs for the shader compile failures.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (20 preceding siblings ...)
  2014-04-09  6:35 ` bugzilla-daemon
@ 2014-04-10  6:42 ` bugzilla-daemon
  2014-10-29 11:37 ` bugzilla-daemon
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-04-10  6:42 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

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

--- Comment #21 from Michel Dänzer <michel@daenzer.net> ---
Module: Mesa
Branch: master
Commit: ee2bcf38a4c8930d8f9cecfac580030a45c41dae
URL:   
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee2bcf38a4c8930d8f9cecfac580030a45c41dae

Author: Michel Dänzer <michel.daenzer@amd.com>
Date:   Wed Apr  9 15:38:21 2014 +0900

r600g: Don't leak bytecode on shader compile failure

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 74868] r600g: Diablo III Crashes After a few minutes
  2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
                   ` (21 preceding siblings ...)
  2014-04-10  6:42 ` bugzilla-daemon
@ 2014-10-29 11:37 ` bugzilla-daemon
  22 siblings, 0 replies; 24+ messages in thread
From: bugzilla-daemon @ 2014-10-29 11:37 UTC (permalink / raw)
  To: dri-devel


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

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

Lauri Kasanen <curaga@operamail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |85596

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2014-10-29 11:37 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12  2:20 [Bug 74868] New: r600g: Diablo III Crashes After a few minutes bugzilla-daemon
2014-02-12  2:20 ` [Bug 74868] " bugzilla-daemon
2014-02-12  2:21 ` bugzilla-daemon
2014-02-12  2:26 ` bugzilla-daemon
2014-02-12  8:10 ` bugzilla-daemon
2014-02-13  3:26 ` bugzilla-daemon
2014-02-15 17:37 ` bugzilla-daemon
2014-02-15 20:33 ` bugzilla-daemon
2014-02-16  2:05 ` bugzilla-daemon
2014-02-16  4:15 ` bugzilla-daemon
2014-02-16 17:21 ` bugzilla-daemon
2014-02-17  3:29 ` bugzilla-daemon
2014-02-21  3:24 ` bugzilla-daemon
2014-03-07  3:49 ` bugzilla-daemon
2014-03-15  1:22 ` bugzilla-daemon
2014-03-17  7:02 ` bugzilla-daemon
2014-03-22  0:08 ` bugzilla-daemon
2014-03-29 14:28 ` bugzilla-daemon
2014-03-29 20:44 ` bugzilla-daemon
2014-03-31  3:45 ` bugzilla-daemon
2014-04-06 13:45 ` bugzilla-daemon
2014-04-09  6:35 ` bugzilla-daemon
2014-04-10  6:42 ` bugzilla-daemon
2014-10-29 11:37 ` bugzilla-daemon

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.