<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 - playing video while suspending results in screen corruption at resume"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93162">93162</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>playing video while suspending results in screen corruption at resume
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>serafean@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Smplayer was playing a movie, the PC suspended.
At resume, all screens looked like analog noise, and the playing movie was
stuck looping on a few frames. Closing smplayer and starting the movie again
worked fine though.
In dmesg, the only relevant lines during suspend are :

[27911.777744] sd 6:0:1:0: [sdc] Stopping disk
[27912.215648] radeon 0000:01:00.0: couldn't schedule ib
[27912.215672] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD
(-22)!                                                                          
[27912.387056] PM: suspend of devices complete after 651.111 msecs

And during resume : [27912.467612] [drm] PCIE GART of 1024M enabled (table at
0x0000000000274000).
[27912.467683] radeon 0000:01:00.0: WB enabled
[27912.467685] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000080000c00 and cpu addr 0xffff88012a3d8c00
[27912.468456] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffc90001032118
[27912.468457] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr
0x0000000080000c04 and cpu addr 0xffff88012a3d8c04
[27912.468459] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr
0x0000000080000c08 and cpu addr 0xffff88012a3d8c08
[27912.468461] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000080000c0c and cpu addr 0xffff88012a3d8c0c
[27912.468462] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr
0x0000000080000c10 and cpu addr 0xffff88012a3d8c10</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>