[prev in list] [next in list] [prev in thread] [next in thread]
List: suse-linux-e
Subject: Re: [SLE] Re: Recover X [Solved Almost]
From: Ben Rosenberg <ben () whack ! org>
Date: 2001-11-30 18:50:58
[Download RAW message or body]
->
->Everything going great, but what is gears? I get the following error:
->
->linux:/home/dave # switch2nvidia_glx
->linux:/home/dave # gears
->Xlib: connection to ":0.0" refused by server
->Xlib: Invalid MIT-MAGIC-COOKIE-1 key
->GLUT: Fatal Error in gears: could not open display: :0.0
->
->Does this mean that my nvidia drivers are still not fully working?
I got this same error after running the switch2 script..which by the way
you have to edit because the name of the GLX drivers changed. I have
attached mine for everyone to look at. It works for me now, but I was
getting the same error.
And Sax2 just hates this new driver. I had to edit my XF86config file
myself..to get the resolution I wanted. :/
-----=====-----=====-----=====-----=====-----
Ben Rosenberg mailto:ben@whack.org
-----=====-----=====-----=====-----=====-----
"Technological progress is like an axe in the
hands of a pathological criminal" -AE
#!/bin/sh
DIR=`dirname $0`
OPTION=$1
if test "$OPTION" != "-test" -a "`echo $UID`" != "0"; then
echo "You must be root to use this program!"
exit 0
fi
function readlink()
{
ls -l $1|awk '{print $NF}'
}
pushd $DIR > /dev/null; BINDIR=`pwd`; popd > /dev/null
# only remove the symbolic links if they do not point to other OpenGL
# libraries, which do exist; switch to mesasoft if the package is
# installed
if test "$OPTION" == "-removelinks"; then
( cd $DIR/../../lib
if test `readlink libGL.so.1`; then
if test `readlink libGL.so.1` == "GL/libGL.so.1.0.2313"; then
rm -f libGL.so.1 libMesaGL.so.3
test -x $BINDIR/switch2mesasoft
if [ $? -eq 0 ]; then
$BINDIR/switch2mesasoft
test -x $DIR/../../bin/chrc.config && \
$DIR/../../bin/chrc.config SCRIPT_3D switch2mesasoft
else
test -x $DIR/../../bin/chrc.config && \
$DIR/../../bin/chrc.config SCRIPT_3D no
fi
elif ! test -f `readlink libGL.so.1`; then
rm -f libGL.so.1 libMesaGL.so.3
test -x $BINDIR/switch2mesasoft
if [ $? -eq 0 ]; then
$BINDIR/switch2mesasoft
test -x $DIR/../../bin/chrc.config && \
$DIR/../../bin/chrc.config SCRIPT_3D switch2mesasoft
else
test -x $DIR/../../bin/chrc.config && \
$DIR/../../bin/chrc.config SCRIPT_3D no
fi
fi
fi
if test `readlink libGLcore.so.1`; then
if test `readlink libGLcore.so.1` == "libGLcore.so.1.0.2313"; then
rm -f libGLcore.so.1
else
test -f `readlink libGLcore.so.1` || rm -f libGLcore.so.1
fi
fi
)
( cd $DIR/../lib/modules/extensions
if test `readlink libglx.so`; then
if test `readlink libglx.so` == "libglx.so.1.0.2313"; then
rm -f libglx.so
else
test -f `readlink libglx.so` || rm -f libglx.so
fi
fi
)
elif test "$OPTION" == "-test"; then
pushd $DIR/../../lib > /dev/null
test -L libGL.so.1 || exit 1
test `readlink libGL.so.1` || exit 1
test `readlink libGL.so.1` == "GL/libGL.so.1.0.2313" || exit 1
test -L libGLcore.so.1 || exit 1
test `readlink libGLcore.so.1` || exit 1
test `readlink libGLcore.so.1` == "libGLcore.so.1.0.2313" || exit 1
popd > /dev/null
pushd $DIR/../lib/modules/extensions > /dev/null
test -L libglx.so || exit 1
test `readlink libglx.so` || exit 1
test `readlink libglx.so` == "libglx.so.1.0.2313" || exit 1
test -e libglx.a && exit 1
test -e libGLcore.a && exit 1
popd > /dev/null
exit 0
else
( cd $DIR/../../lib
ln -sf GL/libGL.so.1.0.2313 libGL.so.1
ln -sf libGL.so.1 libMesaGL.so.3
ln -sf libGLcore.so.1.0.2313 libGLcore.so.1
)
( cd $DIR/../lib/modules/extensions
ln -sf libglx.so.1.0.2313 libglx.so
rm -f libglx.a libGLcore.a
)
test -x $DIR/../../bin/chrc.config && \
$DIR/../../bin/chrc.config SCRIPT_3D switch2nvidia_glx
fi
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic