How to get glChess to display 3D


Ubuntu has a lot of great games.  One of those games is glChess found under Applications--->Games--->Chess.  The game is installed by default on Ubuntu and is a lot of fun to play if you are a chess fan.

One feature you will notice is that the chess game has a nice 3D mode.  If you try and enable 3D mode then you will get the following error:


Your system does not have the required software to enable 3D mode. Please contact your system administrator and ask them to install the OpenGL Python bindings and the GtkGLExt Python bindings.

You are still able to play chess in 2D without these packages.



To have 3D graphics on glChess you need to have the following installed.

1.  OpenGL drivers for your video card (consult the Ubuntu users guide to install drivers for your video card).
2.  The package python-opengl installed.
3.  The package python-gtkglext1 installed.

This is not too difficult you will say.  Well there is a hitch, python-opengl is avaliable in synaptic but python-gtkglext1 is not.  I have python-gtkglext1 on my webstite to download.  To enable 3D effects in glChess do the following in a terminal (assuming proper drivers for your video card are installed)

Change to your home directory
cd ~

Install python-opengl package and the libgtkglext1 library
sudo apt-get -y install python-opengl libgtkglext1

Get the python-gtkglext1 package from www.stchman.com
wget http://www.stchman.com/tools/python-gtkglext1_1.1.0-2feisty_i386.deb

Install the downloaded package installer
sudo dpkg -i ~/python-gtkglext1_1.1.0-2feisty_i386.deb

Remove the package installer as it is no longer needed
rm -f ~/python-gtkglext1_1.1.0-2feisty_i386.deb

You will now be able to enable 3D effects in glChess.  You can also install another great 3D chess game called Brutal Chess.  To install Brutal Chess do the following in a terminal:

sudo apt-get -y install brutalchess

I hope this helps.




Home