Skip to contentSkip to conversation

Xorg freeze when running 3d app (Guild Wars 2) on RV620

Bug 93706 [email protected] 1 participant 23 messages Jan 14, 2016 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 93706
Summary: Xorg freeze when running 3d app (Guild Wars 2) on
RV620
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 121016
--> https://bugs.freedesktop.org/attachment.cgi?id=121016&action=edit
dmesg after the screen freezes

When i try to run Guild Wars 2, the X screen freezes (i can move the mouse and i can hear sounds, but X is otherwise frozen)
I'm adding dmesg logs. If you need anything more, please request.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #121016|0                           |1

is obsolete| |

--- Comment #1 from Lukáš Krejza <[email protected]> --- Created attachment 121017
--> https://bugs.freedesktop.org/attachment.cgi?id=121017&action=edit
dmesg after the screen freezes 2

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Lukáš Krejza <[email protected]> --- Created attachment 121018
--> https://bugs.freedesktop.org/attachment.cgi?id=121018&action=edit
Xorg.0.log after the screen freezes

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Lukáš Krejza <[email protected]> --- Created attachment 121019
--> https://bugs.freedesktop.org/attachment.cgi?id=121019&action=edit
Wine log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=92912
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=83319
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

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

--- Comment #4 from Lukáš Krejza <[email protected]> ---
Maybe duplicate of some other bug?
I get also freeze with gsraytrace, so it could be duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=83319 (or some other that i added to "See Also")

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=83285
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=88263
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|https://bugs.freedesktop.or |
                   |g/show_bug.cgi?id=88263     |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

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

--- Comment #5 from Lukáš Krejza <[email protected]> --- Created attachment 121020
--> https://bugs.freedesktop.org/attachment.cgi?id=121020&action=edit
dmesg with R600_DEBUG=nohyperz R600_DEBUG=nosb gsraytrace

With R600_DEBUG=nohyperz R600_DEBUG=nosb, gsraytrace also freezes the GPU

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

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

--- Comment #6 from Lukáš Krejza <[email protected]> --- Created attachment 121021
--> https://bugs.freedesktop.org/attachment.cgi?id=121021&action=edit
xorg log with R600_DEBUG=nohyperz R600_DEBUG=nosb gsraytrace

With R600_DEBUG=nohyperz R600_DEBUG=nosb, gsraytrace also freezes the GPU

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

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

--- Comment #7 from Lukáš Krejza <[email protected]> --- Created attachment 121022
--> https://bugs.freedesktop.org/attachment.cgi?id=121022&action=edit
apitrace

I'm able to reproduce the freeze/GPU lockup using this trace

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
In reply to [email protected]

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

--- Comment #9 from Scott Moreau <[email protected]> --- Created attachment 121024
--> https://bugs.freedesktop.org/attachment.cgi?id=121024&action=edit
Crash dump with apitrace on sandybridge

(In reply to Lukáš Krejza from comment #7)

Quoted 4 lines

Created attachment 121022 [details]
apitrace

I'm able to reproduce the freeze/GPU lockup using this trace

I am also able reproduce with this trace on intel sandybridge but it recovers successfully. The crash dump attachment is from /sys/class/drm/card0/error

Mesa git
Kernel 4.4.0
X server 1.17.2
Intel Sandybridge

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=86720
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=88263
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to [email protected]

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

Lukáš Krejza <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=91865
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw
In reply to [email protected]

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

--- Comment #10 from Dieter Nützel <[email protected]> --- (In reply to Lukáš Krejza from comment #4)

Quoted 4 lines

Maybe duplicate of some other bug?
I get also freeze with gsraytrace, so it could be duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=83319 (or some other that i added to "See Also")

Hello Lukáš,

as you own a
Radeon HD 3400
RV620

'semilar' to my RV730
the 'gsraytrace' GPU hang is NOT soveld with current GIT. I'll update my bug report (Bug 83319), soon.

For EG+ (Bug 91865) this is _fixed_ by 'accident' in Mesa git since:

commit 2239f3eaff5c72c4cb1d4a5be97feb4af3d08d25

Author: Dave Airlie <[email protected]>
Date:   Mon Nov 30 15:48:22 2015 +1000

r600/shader: emit tessellation factors to GDS at end of TCS.

When we are finished the shader, we read back all the tess factors from LDS and write them to special global memory storage using GDS instructions.

This also handles adding NOP when GDS or ENDLOOP end the TCS.

I'll have to talk with Dave and Marek what is different for R600/R700 and EG+ and what should I try next.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw
In reply to [email protected]

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

--- Comment #11 from Lukáš Krejza <[email protected]> --- Created attachment 121050
--> https://bugs.freedesktop.org/attachment.cgi?id=121050&action=edit
Output from apitrace when replaying the trace

I have tried to replay the trace with nouveau and it did not crash and produced attached output.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw
In reply to [email protected]

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

--- Comment #12 from Dieter Nützel <[email protected]> --- (In reply to Lukáš Krejza from comment #11)

Quoted 5 lines

Created attachment 121050 [details]
Output from apitrace when replaying the trace

I have tried to replay the trace with nouveau and it did not crash and produced attached output.

How do you did it?

If I run it on NI/Turks XT (HD 6670) for which 'gsraytrace' is fixed, it terminates in
fractions of a second and print nothing.

apitrace replay gsraytrace.trace
Rendered 0 frames in 0.101416 secs, average of 0 fps

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw
In reply to [email protected]

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

--- Comment #13 from Michel Dänzer <[email protected]> ---
It's better to assume for now that the Guild Wars 2 and gsraytrace hangs are caused by different problems. Please keep the gsraytrace related discussion on the existing report(s) about that, in order not to clutter up this report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#22 lore raw
In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #14 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/569.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel