<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - GPU reset when running some "John the Ripper" (+ jumbo patch, from Git) OpenCL tests"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81896">81896</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>GPU reset when running some "John the Ripper" (+ jumbo patch, from Git) OpenCL tests
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lbdkmjdf@sharklasers.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/r600
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=103669" name="attach_103669" title="mixed outputs">attachment 103669</a> <a href="attachment.cgi?id=103669&action=edit" title="mixed outputs">[details]</a></span>
mixed outputs
I get GPU reset when running some opencl tests from this program from TTY. If
I'm running a DE when the lockup happens, the system stops responding.
Attached are:
- the mixed output from /var/log/syslog and this command:
$ R600_DEBUG=cs LWS=128 GWS=9216 ./john --test
--format=PBKDF2-HMAC-SHA256-opencl
- an attempt to clean it, only leaving the output from "R600_DEBUG=cs"
Also notice, there is random garbage after "Build log:", which comes from
clGetProgramBuildInfo (
<a href="https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/src/common-opencl.c#L754">https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/src/common-opencl.c#L754</a>
, prints "Build log:" in line 768)
My system:
Hardware: HP dv6, CPU: AMD A6-3400M, GPUs: Radeon HD 6520g (evergreen) + 6750M
(north islands)
OS: Kubuntu 14.04
Kernel: 3.15.7, and 3.13, both amd64
Mesa 10.3~git1407290730.9a53f9 (from oibaf's PPA,
<a href="https://launchpad.net/~oibaf/+archive/graphics-drivers">https://launchpad.net/~oibaf/+archive/graphics-drivers</a> ), compiled with LLVM
3.5-rc1.
________________
To reproduce, here's a mini "how to run" for "John The Ripper" + "jumbo"
patches:
$ git clone <a href="https://github.com/magnumripper/JohnTheRipper">https://github.com/magnumripper/JohnTheRipper</a>
$ cd JohnTheRipper/src
$ ./configure && make
$ cd ../run
$ ./john --help # prints usage help
$ # the following command prints a list of hash format tests that use opencl,
separated by spaces. remove the awk part to get one per line:
$ ./john --help | grep -Eo '[a-zA-Z0-9-]*-opencl' | awk '{printf "%s ", $0}';
echo
To run a test:
$ ./john --test --format=$format
where $format is one of the formats listed from the previous command
The program does verify the output. When it fails, it should print something
like "FAILED (get_hash[0](0))".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>