summaryrefslogtreecommitdiff
path: root/glxinfo.sh
blob: a0364e2990fd40b7b5ea43a5da175f3ab310f801 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# start xserver and run glxinfo against it, capturing output to /tmp/glxinfo.log
echo >/tmp/glxinfo.log
xinit `pwd`/glxinfo-wrapper -- :99 -multiwindow -noclipboard +iglx >/tmp/xinit.log 2>&1
cat /tmp/glxinfo.log

# simple test that this worked as expected
#grep -q "direct rendering: Yes" /tmp/glxinfo.log && grep -q "direct rendering: No" /tmp/glxinfo.log