Comment 24 for bug 76501

Revision history for this message
Tharakan (tharakan) wrote :

The wrapper script for xawtv has most of what is here in the discussion, but for people who don't have an NVIDIA card, xawtv still does not start with the default /usr/bin/xawtv script. I have an ubuntu 8.04 and the default error message (without adding a manual -nodga) still gives the same XF86DGANoDirectVideoMode error message.

For me, (contrary to what peter funk added on 29th Feb 2008), the if condition without the double quotes works fine for me.

That is rather than this script (which comes with ubuntu 8.04)...

if [ ! "$XAWTV_USE_DGA" ] &&
   [ -n "`xdpyinfo -queryExtensions | grep NV-GLX`" ] ; then
        ARGS="-nodga"
fi

the following script atleast gets xawtv working for me :

if [ ! "$XAWTV_USE_DGA" ] &&
   [ -n `xdpyinfo -queryExtensions | grep NV-GLX` ] ; then
        ARGS="-nodga"
fi

I am not a shell script expert, and so please pardon my ignorance, if I be talking something out of the blue here.