# This script forces the ShadowFB for the 3D rage ATI cards.
# It cannot be autodetected by upstream X.org currently.
# This is an Ubuntu specific workaround

if [ -n "$(PATH=/sbin:/usr/sbin:/bin:/usr/bin lspci -n |grep 1002:4757)" ]; then
    export X_DEVICE_OPTION_01='"ShadowFB" "True"'
fi
