<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - mpeg4 through vdpau randomly either correct or garbled (on same file!)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73457">73457</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>mpeg4 through vdpau randomly either correct or garbled (on same file!)
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>adam@aphirst.karoo.co.uk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=91790" name="attach_91790" title="mpv verbose log, when video decodes successfully">attachment 91790</a> <a href="attachment.cgi?id=91790&action=edit" title="mpv verbose log, when video decodes successfully">[details]</a></span>
mpv verbose log, when video decodes successfully

This is somewhat difficult to explain.

* AMD PALM E2-1800 APU
* Arch Linux x86_64
* Kernel 3.12.6-ck (also with vanilla 3.12.6)
* mesa 10.0.1, xf86-video-ati 7.2.0

One of the following three situations occurs, seemingly at random, when opening
an mpeg4 video file using any player which supports vdpau hardware-decoding
(e.g. mplayer r36498, VLC 2.1.2, mpv 0.3.2)

1. The video decodes and plays just fine
2. The video decodes incorrectly, with bright-green garbling, and general
smearing
3. The video decodes and plays fine, BUT with a couple of small artefacts
either in the player window, or anywhere on the screen (the artefacts are
little black squares, inside which are a few fluorescent-coloured pixels
flickering)

The interesting point is that, on the same file, you can close and re-open the
video player and receive a different random outcome each time. I'm in the habit
of trying a few times to open my .avi videos until it "just works".

This is not the same as the mpeg4 ASP garbling issue which I reported a month
or so ago, which was 100% consistent on the affected files. For this bug, the
files which display *this* problem are 'normal' mpeg4 videos, and whether or
not decoding succeeds appears to be completely random.

Frustratingly, neither the video player's verbose logs, nor the DPM messages in
dmesg, indicate anything *at all* different between successful and unsuccessful
attempts.

I'll upload to this report a couple of log files, including the outputs of
ffmpeg -i on a selection of affected files.

I'll also upload some video samples, bear with me.</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>