OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: zaazoo on March 17, 2005, 04:24:37 am

Title: Did Anyone Get To Use Glut Lib From Mesa3d ?
Post by: zaazoo on March 17, 2005, 04:24:37 am
Hi all

I am porting an appllication running on top of glut/GL stuff
I was glad to figure that the mesa3d ipkg provided for this library
however at the very first call to glutInit, i get a fatal error message stating that
GLUT: Fatal Error in v-eye: visual with necessary capabilities not found.  

Having some experience from previous ports, I know that this rather unexplicit message can happen with displays not running with 24-depth, and since it is the case as per xdpyinfo, I fancy this is my problem.  

So I tried to dig a bit in the X server config, and came out with only one way to run in 24-bits, namely by changing /usr/X11R6/bin/startx and adding X option
-screen 640x480x24

however even this does not work, and in fact the results of xdpyinfo does not change at all, even if I try other -screen options.

So my questions are
- does anyone know how to get the kdrive server to run with 24-bits (if feasible at all)
- did anyone get to successfully run an app. under libglut, knowing that glutInit is the very first call to this library and that none of the command-line args it may recognise seem to have any chance to improve the situation. If yes, did this need an X server reconfig ?

Thanks in advance
Title: Did Anyone Get To Use Glut Lib From Mesa3d ?
Post by: pgas on March 17, 2005, 04:39:39 am
The LCD display support 65,536 colors ie 16 bits.

Now I don't know if you can still run in 24 bits on a 16 bits only display..