<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [hsw] Cycling between GL/X rendering causes a hard hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63914#c43">Comment # 43</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [hsw] Cycling between GL/X rendering causes a hard hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63914">bug 63914</a>
              from <span class="vcard"><a class="email" href="mailto:ben@bwidawsk.net" title="Ben Widawsky <ben@bwidawsk.net>"> <span class="fn">Ben Widawsky</span></a>
</span></b>
        <pre>Running intel-gpu-top + kde, I can now hit it quite fast:

#!/bin/bash

# demonstration of X server / OpenGL lockup on SLED SP3 Beta 2
# with Haswell graphics.  X server needs to be using "intel" driver.

export LIBGL_DRIVERS_PATH=/home/test/mesa/lib/
prog1=hypertorus
prog2=antmaze
prog3=phosphor

konsole --noclose -e sudo ./intel-gpu-tools/tools/intel_gpu_top

cd /usr/lib64/xscreensaver

vblank_mode=0 ./$prog1 -geometry 1280x1024+10+10 -delay 0 &

sleep 5

vblank_mode=0 ./$prog2 -geometry 1024x768+25+25 -delay 0 &
pid1=$!

mode=0
while true
do
    if [ $mode -eq 0 ]
    then
        vblank_mode=0 ./$prog3 -geometry 1024x768+425+25 -delay 0 &
        pid2=$!
    else
        vblank_mode=0 ./$prog2 -geometry 1024x768+25+25 -delay 0 &
        pid2=$!
    fi
    mode=$(( ( $mode + 1 ) % 2  ))
    # echo $mode

    sleep 10
    kill $pid1
    pid1=$pid2
done</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>