<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU hang when running heavy compute workload"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108947">108947</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>GPU hang when running heavy compute workload
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>18.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Vulkan/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zhiwen.wu@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>jason@jlekstrand.net
</td>
</tr></table>
<p>
<div>
<pre>I wrote an compute shader to do the convolution algorithm and run it on Intel
Apollo Lake GPU by using Vulkan API. When the convolution is a heavy workload,
GPU hang occurred.
==== Test environments:
Ubuntu 16.04
Mesa 18.3
Vulkan SDK: 1.1.85.0
CPU: Intel Celeron J3455
GPU: HD Graphics 500 (Apollo Lake, 12 EU)
==== Steps to reproduce:
git clone <a href="https://github.com/wzw-intel/vulkan_minimal_compute.git">https://github.com/wzw-intel/vulkan_minimal_compute.git</a>
cd vulkan_minimal_compute
mkdir build
cd build
cmake ..
make
cd ../
./build/vulkan_minimal_compute
==== What does the test program do
This program will run a convolution shader 10 times serially. Each run will
be synced by a dedicated VkFence object. GPU hang may occur at any iteration
and print log "INTEL-MESA: error: vulkan/anv_device.c:2091: GPU hang on one of
our command buffers (VK_ERROR_DEVICE_LOST)"
Not every run for program triger the GPU hang. If not hang, try more.
==== Other foundings:
- Setting "LIGHT_WORKLOAD=1" environement variable (it makes the total
GFLOPS reduced by 50%) make GPU hang disappear. It seems that GPU hang only
occur for heavy workload
- No GPU hang for high end Intel GPU.
I tested this program on i7-6770HQ (GPU: Iris Pro Graphics 580, GT4e, 72
EU), no GPU hang. But on Intel Celeron J3455 (GPU: HD Graphics 500).
and Intel Soc with HD Graphics 530 GPU, GPU hang occurs.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>