<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 --- - [G965 OpenGL Video Playback] crash during opengl video playback"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84372">84372</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[G965 OpenGL Video Playback] crash during opengl video playback
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </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>ondrej@sury.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=106921" name="attach_106921" title="Xorg old log">attachment 106921</a> <a href="attachment.cgi?id=106921&action=edit" title="Xorg old log">[details]</a></span>
Xorg old log

[Just a side note: I am filling this for second time since this bug can take
whole xserver down if reproduced for second time]

Original reference: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762809">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762809</a>

2) System environment:
-- chipset: G965
-- system architecture: x86_64
-- xf86-video-intel/xserver/mesa/libdrm version:
2:2.21.15-2+b2/2:1.16.1-1/10.2.6-1/2.4.56-1
-- kernel version: 3.16-2-amd64
-- Linux distribution: Debian unstable
-- Machine or mobo model: ASUS Zenbook UX301LA
-- Display connector: miniDVI and internal display
3) Reproduce steps.

mpv -vo=opengl <anyvideo>.mp4

seek there and back and wait a while

VO: [opengl] 1920x1080 => 1920x1080 yuv420p

Failed to open BO for returned DRI2 buffer (1920x1200, dri2 back buffer, named
3).
This is likely a bug in the X Server that will lead to a crash soon.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffdb3922c2 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so

This usually takes gnome-shell down as well just after the crash
(but running mpv under gdb saves the gnome-shell):

[ 1275.925420] mpv[4877]: segfault at 24 ip 00007fb7cd4362c2 sp
00007fff2d8e70a8 error 4 in i965_dri.so[7fb7cd16e000+509000]
[ 1276.221832] gnome-shell[3713]: segfault at 3c ip 00007f51c06a0dab sp
00007fff8159cd10 error 4 in i965_dri.so[7f51c0338000+509000]

[ 5304.840249] mpv[8556]: segfault at 24 ip 00007f4f602fa2c2 sp
00007fff892874c8 error 4 in i965_dri.so[7f4f60032000+509000]
[ 5307.309253] gnome-shell[4939]: segfault at 3c ip 00007f5d9bc33dab sp
00007ffffcef4490 error 4 in i965_dri.so[7f5d9b8cb000+509000]

[10733.668937] mpv[24002]: segfault at 24 ip 00007f523676c2c2 sp
00007fffeb1a1a58 error 4 in i965_dri.so[7f52364a4000+509000]
[10734.277346] gnome-shell[8634]: segfault at 3c ip 00007fb8e572cdab sp
00007fffe1e60780 error 4 in i965_dri.so[7fb8e53c4000+509000]

[10864.277396] mpv[24354]: segfault at 24 ip 00007fd0fda8d2c2 sp
00007fffbd414988 error 4 in i965_dri.so[7fd0fd7c5000+509000]

If this bug is triggered for a second time it takes whole gnome down (only the
Logout screen appears)

Full gdb trace with debugging symbols is attached to ref. debian bug:
<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762809">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762809</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>