These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

[How-to] 32BIT drivers testing

Author
Ravow
Hell For French
Deep Space Alliance
#1 - 2011-11-15 19:00:49 UTC
Hi,

As lot of people know, we can use "glxinfo" to test if the drivers is the good one and if the OpenGL extensions are correct (nothing missing, like GL_EXT_texture_compression_s3tc.

On a 64Bits system, the "glxinfo" tools is compiled in 64BIT so issuing the "glxinfo" command give you the status of your 64Bits drivers stack. Sometime you have hardware acceleration on 64 bits and software or nothing in 32 bits...As EVE is a 32 Bits software, it need working 32 bits drivers. Proprietary drivers provide these but not all distribution provide good open source 32 bit drivers, or they can be 3 month behind the 64 bit stack. So It's good to be able to test the 32Bits drivers stack too.

So I will explain how to manually compile glxinfo in 32bit!

1 > Get the source
# wget http://distfiles.gentoo.org/distfiles/mesa-demos-8.0.1.tar.bz2

2 > unpack
# tar -xjvf mesa-demos-8.0.1.tar.bz2

3 > On gentoo, you can skip. For Ubuntu you need to issue the next 4 lines :
sudo apt-get install build-essential checkinstall
sudo apt-get install libc6-dev-i386
sudo apt-get install libx11-dev
sudo apt-get install mesa-common-dev


4 > Go in the good working directory :
# cd mesa-demos-8.0.1/src/xdemos/

5 > Compile (and name the binarie glxinfo32) :
# cc -O2 -pipe -m32 -march=native -Wl,-O1 -Wl,--sort-common -Wl,--as-needed glxinfo.c -lX11 -lGL -lm -o glxinfo32

Result : You have a 32Bits glxinfo called glxinfo32. You can run it directly in that folder with your normal user "./glxinfo32" or you can copy it in /usr/bin "cp glxinfo32 /usr/bin/glxinfo32" so you can use it every time you update your drivers to be sure ;)

Please submit any change for others distributions!