diff --git a/source/x11-extra/xgl/fw-xgl-control b/source/x11-extra/xgl/fw-xgl-control index 71e80a0..ac2b202 100644 --- a/source/x11-extra/xgl/fw-xgl-control +++ b/source/x11-extra/xgl/fw-xgl-control @@ -118,16 +118,12 @@ detectcard() { msg2 -n "Checking for an ATI card... " fglrx=`grep -c Driver.*fglrx /etc/X11/xorg.conf` ati=`grep -c Driver.*ati /etc/X11/xorg.conf` - if [ $fglrx -gt 0 ]; then + if [ $fglrx -gt 0 -o $ati -gt 0 ]; then echo "found" CARD="ati" OPTS="-accel xv -accel glx:pbuffer -accel xv:pbuffer -ac -kb -audit 0 -br -dpms -dpi 72" return 0 fi - if [ $ati -gt 0 ]; then - echo "failed" - error "ATI card found but using open source drivers. Xgl requires that you use the fglrx driver for proper 3d accel" - fi echo # Should only get here if card isn't detected error "Sorry, I cannot find a supported card in your system. If you would like support for your card, please post details of it to http://bugs.frugalware.org"