<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 - [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107045">107045</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI git
          </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>DRM/AMDgpu
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>taijian@posteo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=140343" name="attach_140343" title="full dmesg output via 'journalctl -kb -1'">attachment 140343</a> <a href="attachment.cgi?id=140343&action=edit" title="full dmesg output via 'journalctl -kb -1'">[details]</a></span>
full dmesg output via 'journalctl -kb -1'

With kernel 4.18rc dpm on my hybrid laptop is finally working (thanks again to
everyone who helped out getting it this far - see <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]"
   href="show_bug.cgi?id=104064">bug #104064</a>, <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [vga_switcheroo] commit 07f4f97d7b4bf325d9f558c5b58230387e4e57e0 breaks dpm on Alienware 15R3"
   href="show_bug.cgi?id=106597">bug #106597</a> and
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930"
   href="show_bug.cgi?id=105760">bug #105760</a>). However, it is still not actually usable, because any activation
of the dGPU leads to a system freeze shortly thereafter. It does not really
matter HOW the dGPU is triggered - be it running a graphical application via
DRI_PRIME=1 or just querying #lshw. The dGPU activates and then tries to power
down again, but that seems to be problematic as the (graphical) system will
invariable freeze and become unresponsive.

The best I have been able to reconstruct from the journal is that whenever the
dGPU is called, it will first do this:

  [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).

followed by a bunch of this: 

  amdgpu: [powerplay] 
           failed to send message 62 ret is 0 
  amdgpu: [powerplay] 
           last message was failed ret is 0
  amdgpu: [powerplay] 
           failed to send message 18f ret is 0 

and then finally: 

  [drm] UVD and UVD ENC initialized successfully.
  [drm] VCE initialized successfully.
  [drm] Cannot find any crtc or sizes
  amdgpu 0000:01:00.0: GPU pci config reset

Sometimes, this will work more than once, sometimes the first invocation after
boot will crash. This seems to be somewhat random. However, the crash will
always come in the "[powerplay] ...failed to send message 18f ret is 0" phase.

Any ideas how to tackle that or extract some more usable error message from my
system?</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>