Croquet under linux problems

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Sun Nov 10 17:56:16 UTC 2002


On Sun, 10 Nov 2002, Serge Stinckwich wrote:

> On Sun, 10 Nov 2002 16:34:18 +0100 (CET)
> Bert Freudenberg <bert at isg.cs.uni-magdeburg.de> wrote:
> 
> > On Sun, 10 Nov 2002, Serge Stinckwich wrote:
> > 
> > > On Sun, 10 Nov 2002 01:20:51 +0100 (CET)
> > > Bert Freudenberg <bert at isg.cs.uni-magdeburg.de> wrote:
> > > 
> > > > On Sat, 9 Nov 2002, David A. Smith wrote:
> > > > 
> > > > > TGraphicsTest open
> > > 
> > > For me, the tests fails

> glxinfo:
>    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
>  id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
> ----------------------------------------------------------------------
> 0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
> 0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
> 0x25 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
> 0x26 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
> 0x27 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
> 0x28 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
> 0x29 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
> 0x2a 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow

Ah, this explains it. You're running in 16 bits, so you do not get an
alpha buffer, which is required in my setup logic.

You need to switch your XServer to 32 bits. You're running at 16 bpp which
is suboptimal for 3D stuff. This gives you better quality rendering and
maybe even better speed, because stencil is not accelerated in 16 bpp (see
the glxinfo table, "stcl" and "caveat" columns),

Although I do not recommend this, you can make it run in 16 bits. Patch
the OpenGL plugin

	platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.c

Set GLX_ALPHA_SIZE to 0 in the visualAttributes[] declaration. I think
Croquet does not need an alpha buffer for now, so this should work.

-- Bert




More information about the Squeak-dev mailing list