<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 - [CIK] Fullscreen video with Firefox only shows "tiled pixel garbage""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97610">97610</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[CIK] Fullscreen video with Firefox only shows "tiled pixel garbage"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

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

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

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

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kai@dev.carbon-project.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=126240" name="attach_126240" title="Example of the effect of playing a video in fullscreen mode with Firefox and amdgpu">attachment 126240</a> <a href="attachment.cgi?id=126240&action=edit" title="Example of the effect of playing a video in fullscreen mode with Firefox and amdgpu">[details]</a></span>
Example of the effect of playing a video in fullscreen mode with Firefox and
amdgpu

When playing any (HTML5) video in fullscreen mode with Firefox (tested
versions: 48.0.x and 49.0 Beta 1) on my CIK GPU with the amdgpu DDX I'm only
getting tiled pixel garbage close to what can be seen in the attached
screenshot (please note, that taking the screenshot changes the colours of the
pixels and some parts of the screen, but the effect remains). Sometimes it
takes a second or two to manifest and it usually starts with the "outer tile
border".

I can *not* reproduce this behaviour if I:
 - switch to the radeon stack (kernel and DDX), or
 - use modesetting instead of the amdgpu DDX on top of the amdgpu kernel driver
(side question: is there any advantage to using the amdgpu DDX over
modesetting?)

Also no other video playback program (mpv, VLC) or different browser (Chromium)
seem to exhibit this problem. And to ensure this is not some funny encoding
issue I downloaded a video Firefox was choking on and played it back with the
other programs (different/no hardware acceleration or the VO used has no
effect), but they still were fine.

To test this just open any video on YouTube, Twitch or any other page (actually
local files work as well) in fullscreen with Firefox.

The stack exhibiting this problem (with Debian testing as a base) is:
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/dc3bb5db8c
libdrm: 2.4.70-1
LLVM: SVN:trunk/r280672 (4.0 devel)
X.Org: 2:1.18.4-1
Linux: 4.7.2
Firmware: Git:master/c170c8d957 (placed in /lib/firmware/updates; fallback
would be firmware-amd-graphics/20160110-1)
libclc: Git:master/88b82a6f70
DDX (amdgpu): Git:master/6a1ba044c2

Let me know, if you need anything else.</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>