Hi,
I’m testing 13.1 on a spare partition. I have an Nvidia card (“G96 [GeForce 9500 GT]”), and although
nouveau runs fine (I have been using it solely for two years, I think), I wanted to load the
proprietary driver and try some games. I have so far tried “supertuxcart”, “extreme-tuxracer”,
“Freedoom”… all namely 3D games.
I also downloaded “Vega Strike”. Considering my ADSL connection is 1 MB/s, it took hours to download
all those things! Thus I was dying to try them out.
But “Vega Strike” does not run:
+++̣̣̣̣̣·······················
Your system currently is not capable of hardware accelerated 3D. Therefore vegastrike cannot run.
Usually the cause of this error is that there are no Free Software drivers for your graphics card,
please contact your graphics card manufacturer and kindly ask them to provide Free Software support
for your card.
̣̣̣̣̣·······················+±
What? But if I have the proprietary driver installed? What else do I need?
nvidia-settings says I have it.
…]
Wait. I thought of finding out if running “vegastrike” from a terminal would post some error, but…
the game does run.
I don’t understand.
Mmmm… it appears the menu entry runs “/usr/bin/vegastrike-wrapper.sh” instead. This contains:
#!/bin/sh
.. /usr/share/opengl-games-utils/opengl-game-functions.sh
checkDriOK vegastrike
VSDATADIR=/usr/share/vegastrike
VERSION=`head -1 $VSDATADIR/Version.txt`
mkdir -p $HOME/$VERSION
cd $HOME/$VERSION
if \! -e ~/$VERSION/setup.config ]; then
cp $VSDATADIR/setup.config .
fi
if \! -e ~/$VERSION/vegastrike.config ]; then
cp $VSDATADIR/vegastrike.config .
vssetup
fi
vegastrike "$@" || vssetup > /tmp/vslog 2>&1
The included “opengl-game-functions.sh” contains:
# check if DRI is available, show an error and exit if it isn't
function checkDriOK ()
{
if `glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3` != Yes ]; then
zenity --error --text="Your system currently is not capable of hardware \
accelerated 3D. Therefore $1 cannot run.
Usually the cause of this error is that there are no Free Software drivers \
for your graphics card, please contact your graphics card manufacturer and \
kindly ask them to provide Free Software support for your card."
exit 1;
fi
}
Thus, it is ‘glxinfo’ which fails. Indeed:
cer@Elessar:~> glxinfo | grep "direct rendering: "
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
cer@Elessar:~>
Do I have a problem, or is glxinfo broken?
(I’ll comment out the test in order to run the game, but I’d also like to learn what is wrong)
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))