From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 81896] New: GPU reset when running some "John the Ripper" (+ jumbo patch, from Git) OpenCL tests Date: Wed, 30 Jul 2014 04:36:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1508013036==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F06AD89E4C for ; Tue, 29 Jul 2014 21:36:38 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1508013036== Content-Type: multipart/alternative; boundary="1406694998.Df2c7a7E0.13262"; charset="us-ascii" --1406694998.Df2c7a7E0.13262 Date: Wed, 30 Jul 2014 04:36:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81896 Priority: medium Bug ID: 81896 Assignee: dri-devel@lists.freedesktop.org Summary: GPU reset when running some "John the Ripper" (+ jumbo patch, from Git) OpenCL tests Severity: normal Classification: Unclassified OS: Linux (All) Reporter: lbdkmjdf@sharklasers.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa Created attachment 103669 --> https://bugs.freedesktop.org/attachment.cgi?id=103669&action=edit 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 ( https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/src/common-opencl.c#L754 , 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, https://launchpad.net/~oibaf/+archive/graphics-drivers ), compiled with LLVM 3.5-rc1. ________________ To reproduce, here's a mini "how to run" for "John The Ripper" + "jumbo" patches: $ git clone https://github.com/magnumripper/JohnTheRipper $ 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))". -- You are receiving this mail because: You are the assignee for the bug. --1406694998.Df2c7a7E0.13262 Date: Wed, 30 Jul 2014 04:36:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 81896
Assignee dri-devel@lists.freedesktop.org
Summary GPU reset when running some "John the Ripper" (+ jumbo patch, from Git) OpenCL tests
Severity normal
Classification Unclassified
OS Linux (All)
Reporter lbdkmjdf@sharklasers.com
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

Created attachment 103669 [details]
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 (
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/src/common-opencl.c#L754
, 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,
https://launchpad.net/~oibaf/+archive/graphics-drivers ), compiled with LLVM
3.5-rc1.

________________
To reproduce, here's a mini "how to run" for "John The Ripper" + "jumbo"
patches:
$ git clone https://github.com/magnumripper/JohnTheRipper
$ 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))".


You are receiving this mail because:
  • You are the assignee for the bug.
--1406694998.Df2c7a7E0.13262-- --===============1508013036== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1508013036==--