#!/bin/bash # demonstration of X server / OpenGL lockup on SLED SP3 Beta 2 # with Haswell graphics. X server needs to be using "intel" driver. prog1=hypertorus prog2=antmaze prog3=phosphor cd /usr/lib64/xscreensaver ./$prog1 -geometry 1280x1024+10+10 -delay 0 & sleep 5 ./$prog2 -geometry 1024x768+25+25 -delay 0 & pid1=$! mode=0 while true do if [ $mode -eq 0 ] then ./$prog3 -geometry 1024x768+425+25 -delay 0 & pid2=$! else ./$prog2 -geometry 1024x768+25+25 -delay 0 & pid2=$! fi mode=$(( ( $mode + 1 ) % 2 )) # echo $mode sleep 10 kill $pid1 pid1=$pid2 done