<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 --- - [bug] gst-vaapi playback no longer functional in v1.2.91"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69738">69738</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[bug] gst-vaapi playback no longer functional in v1.2.91
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joe.konno@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>gst-vaapi playback under Wayland/Weston 1.2.91 is no longer functional.
Playback can occur for seconds, but then hangs on a frame. At that point, dmesg
reports "*ERROR* stuck on render ring". From that point on, the display becomes
unresponsive and system becomes highly volatile, requiring a hard power-down of
the unit (soft reboot and soft shutdown inoperative).

#To Reproduce

  1. Launch Weston
    weston-launch -- -i0

  2. Play a hardware-accelerated video through VA-API
    gst-launch-1.0 filesrc \
      location=$HOME/Videos/big_buck_bunny_1080p_h264.mp4 ! \
      qtdemux ! \
      vaapidecode ! \
      vaapisink fullscreen=true

#Expected Result

Video plays from beginning to end smoothly without issue.

#Actual Result

Video hangs seconds after playback begins, and enters an unrecoverable error
state.

dmesg emits:
[drm:i915_hangcheck_elapsed] *ERROR* stuck on render ring

Display hangs on last displayed frame. VT-switching, input devices, and display
in general unresponsive and useless. `shutdown` commands issued over ssh appear
inoperative.

Only known recovery method is to power down the hardware.

#Workaround

Append kernel boot parameter: i915.i915_enable_rc6=0

This kernel boot parameter allows playback to continue, though it is not a
permanent solution.

#Configuration

  Hardware: "Sandybridge" era CPU with integrated graphics, Celeron SKU
  OS: Fedora 19 64-bit
  Kernel: 3.11.1-200.fc19

  wayland (HEAD) 1.2.91-0-g4125367
  mesa (HEAD) mesa-9.2-0-g46273ba
  cairo (HEAD) 1.12.16-0-g8e11a42
  weston (HEAD) 1.2.91-0-g7799385
  libva (HEAD) libva-1.2.1-0-g88ed1eb
  intel-driver (HEAD) 1.2.1-0-g8f306e3
  gstreamer (HEAD) 1.0.9-0-gf3c4f74
  gst-plugins-base (HEAD) 1.0.9-0-gffc5262
  gst-plugins-good (HEAD) 1.0.9-0-gff2598f
  gst-plugins-bad (HEAD) 1.0.9-0-g7ba6694
  gst-ffmpeg (HEAD) 1.0.9-0-gd1c488b
  gstreamer (HEAD) 1.0.9-0-gf3c4f74
  gst-plugins-base (HEAD) 1.0.9-0-gffc5262
  gst-plugins-good (HEAD) 1.0.9-0-gff2598f
  gst-plugins-bad (HEAD) 1.0.9-0-g7ba6694
  gst-ffmpeg (HEAD) 1.0.9-0-gd1c488b
  gstreamer-vaapi (HEAD) tags/0.5.6-0-g0687224

#Related Bugs

Perhaps <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [bug] LibVA record causes Weston to lock"
   href="show_bug.cgi?id=69330">bug #69330</a> ?</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>