Skip to contentSkip to conversation

New: luxrays/slg4 hangs GPU (CEDAR)

Bug 80876 [email protected] 1 participant 8 messages Jul 3, 2014 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 80876
Assignee: [email protected]
Summary: luxrays/slg4 hangs GPU (CEDAR)
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 102222
--> https://bugs.freedesktop.org/attachment.cgi?id=102222&action=edit
luxrays diff/patch to disable image support while reproducing bug.

While working on getting the Luxrays slg4 program running (which is invoked as part of the luxmark CL-based raytracing benchmark), I encountered some GPU hangs on the evergreen card I'm using (CEDAR, Radeon 5400-series).

Hardware:
Core i7-2600k
16GB DDR3
Radeon 5400-series PCI express w/ dual 1080p monitors

Software:
Mesa: Git master
LLVM: 3.5svn
drm: fairly recent git
libclc: git master + a few extra patches to implement missing built-ins
luxrays: From http://src.luxrender.net/luxrays, with the attached patch.

Steps:
1) Checkout luxrays source from the mercurial repository
2) Apply patch to disable image support in the renderer
3) Build luxrays from source (cmake).
4) run bin/slg4
5) Watch the UI start to pop-up and the GPU reset.

dmesg, kernel source, llvm bitcode to be attached. rlockup_*.c cs trace available as a 35MB gzipped C file (>300MB uncompressed).

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

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

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

--- Comment #1 from Aaron Watry <[email protected]> --- Created attachment 102223
--> https://bugs.freedesktop.org/attachment.cgi?id=102223&action=edit
Kernel source for luxrays

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

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

In reply to [email protected]

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

--- Comment #2 from Aaron Watry <[email protected]> --- Created attachment 102224
--> https://bugs.freedesktop.org/attachment.cgi?id=102224&action=edit
dmesg from luxrays GPU hang/reset

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

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

In reply to [email protected]

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

--- Comment #3 from Aaron Watry <[email protected]> ---
Grumble.. I was just attempting to get the bitcode since I had lost my previous dump of that... and now for some reason the GPU's not locking and I'm instead getting an LLVM diagnostic handler and a segfault due to invalid reads (according to valgrind).

I'm pretty sure I'll be able to reproduce this, but part of my software stack needs to be rebuild first.

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

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

In reply to [email protected]

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

--- Comment #4 from Aaron Watry <[email protected]> --- Created attachment 102226
--> https://bugs.freedesktop.org/attachment.cgi?id=102226&action=edit
bitcode, assembly, and rest of stderr from slg4 run

This contains the llvm bitcode, R600 assembly, and the rest of the stdout as generated from:
R600_DUMP_SHADERS=1 RADEON_DUMP_SHADERS=1 R600_DEBUG=cs,compute,trace_cs bin/slg4 2> bitcode.ll

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

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

In reply to [email protected]

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

--- Comment #5 from Aaron Watry <[email protected]> ---
The bitcode and hangs were all reproduced with luxrays commit 2099 (hg up -r 2099) and the image support disabling patch applied. Commit 2099 is the same as was used for the luxrender_v1.3.1 tag.

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

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

In reply to [email protected]

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

Jan Vesely <[email protected]> changed:

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

             Blocks|                            |99553

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

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

#7 lore raw

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

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

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

--- Comment #6 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/515.

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