<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 --- - KWin crashes when switching to OpenGL 3.1 + Raster"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69670">69670</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>KWin crashes when switching to OpenGL 3.1 + Raster
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>omegatype@gmail.com
          </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>9.2
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=86306" name="attach_86306" title="kwin stderr">attachment 86306</a> <a href="attachment.cgi?id=86306&action=edit" title="kwin stderr">[details]</a></span>
kwin stderr

KWin crashes with the following message after switching from OpenGL 2.0 +
Raster to OpenGL 3.1 + Raster:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been
called
[xcb] Aborting, sorry about that.
kwin: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost'
failed.

Some information about the system (Arch Linux x86_64):

$ uname -srvm
Linux 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64

$ sudo lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Pitcairn XT [Radeon HD 7870 GHz Edition]

$ yaourt -Qs mesa | egrep '^[^ ]'
extra/ati-dri 9.2.0-2
extra/glu 9.0.0-2
multilib/lib32-ati-dri 9.2.0-1
multilib/lib32-glu 9.0.0-2
multilib/lib32-libtxc_dxtn 1.0.1-5
multilib/lib32-mesa 9.2.0-1
multilib/lib32-mesa-libgl 9.2.0-1
extra/mesa 9.2.0-2
extra/mesa-demos 8.1.0-1
extra/mesa-libgl 9.2.0-2

$ yaourt -Qs xf86-video-ati
extra/xf86-video-ati 1:7.2.0-1 (xorg-drivers xorg)

# cat /etc/X11/xorg.conf.d/05-glamor.conf 
Section "Module"
        Load  "dri2"
        Load  "glamoregl"
EndSection

# cat /etc/X11/xorg.conf.d/50-device.conf 
Section "Device"
  Identifier "Default Device"
  Driver "radeon"
  Option "SwapbuffersWait" "off"
  Option "ColorTiling" "on"
  Option "ColorTiling2D" "on"
  Option "EnablePageFlip" "on"
  Option "AccelDFS" "on"                                                        
  Option "XV_VSYNC" "on"                                                        
  Option "AccelMethod" "glamor"                                                 
  #Option "AccelMethod" "EXA"                                                   
EndSection</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>