<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 - RX Vega 56 hangs immediately after start gdm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105833">105833</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>RX Vega 56 hangs immediately after start gdm
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mikhail.v.gavrilov@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=138461" name="attach_138461" title="dmesg">attachment 138461</a> <a href="attachment.cgi?id=138461&action=edit" title="dmesg">[details]</a></span>
dmesg

RX Vega 56 hangs immediately after start gdm

kernel: 4.16.0-rc7-git7b225300c716
mesa: 18.1.0-0.11.git6179a87
llvm: 7.0.0-0.1.r326462

Demonstration: <a href="https://youtu.be/uvsg36d9tZk">https://youtu.be/uvsg36d9tZk</a>

[   23.005522] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout,
last signaled seq=1, last emitted seq=5
[   23.005645] [drm] GPU recovery disabled.
[   82.427656] sysrq: SysRq : Show Blocked State
[   82.427950]   task                        PC stack   pid father
[  121.856551] sysrq: SysRq : Show Blocked State
[  121.856576]   task                        PC stack   pid father
[  257.886375] sysrq: SysRq : Show Blocked State
[  257.886399]   task                        PC stack   pid father

This is very similar to previous bugs:
[1] <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - The GPU Vega 56 was hang while try to pass #GraphicsFuzz shader15 test"
   href="show_bug.cgi?id=105317">https://bugs.freedesktop.org/show_bug.cgi?id=105317</a>
[2] <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GPU driver hung when start steam client while playback video on Youtube (it occurs on latest staging kernel)"
   href="show_bug.cgi?id=104001">https://bugs.freedesktop.org/show_bug.cgi?id=104001</a>
but not needed make any action for hung occurs. It happens immediately after
start  graphic mode in Linux.


1. install Fedora 27.
<a href="https://download.fedoraproject.org/pub/fedora/linux/releases/27/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-27-1.6.iso">https://download.fedoraproject.org/pub/fedora/linux/releases/27/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-27-1.6.iso</a>
2. install latest MESA and LLVM
<a href="https://copr.fedorainfracloud.org/coprs/che/mesa/">https://copr.fedorainfracloud.org/coprs/che/mesa/</a>
3. build and install staging kernel with latest amdgpu driver
$ git clone git://people.freedesktop.org/~agd5f/linux --branch
drm-next-4.17-wip
$ cd linux
$ make clean && make bzImage && make modules
# make modules_install && make install

Reproducing issue:
1. Try to boot computer with the newly builded kernel.

Symptoms:
1. The system stop to respod.
2. All the LEDs on the video card showing the load start to glow.
3. The turbine on the video card starts to make a lot of noise.

In dmesg appears follow lines:
[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled
seq=1, last emitted seq=5
[drm] GPU recovery disabled.</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>