updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / xbmc-git / FEH.sh
blob4dc776469daa1e9d26920d34d728cb9437196115
1 #!/bin/bash
3 RETVAL=0
5 if [[ -z $(glxinfo | grep "direct rendering.*Yes" | uniq) ]]; then
6 echo "XBMC needs hardware accelerated OpenGL rendering."
7 echo "Install an appropriate graphics driver."
8 echo
9 echo "Please consult XBMC Wiki for supported hardware"
10 echo "http://wiki.xbmc.org/?title=Supported_hardware"
11 echo
12 RETVAL=1
15 if [[ -z $(xdpyinfo | grep "depth of root.*24" | uniq) ]]; then
16 echo "XBMC cannot run unless the"
17 echo "screen color depth is atleast 24 bit."
18 echo
19 echo "Please reconfigure your screen."
20 RETVAL=1
23 exit ${RETVAL}