I have read that WineX 3.3+ from www.transgaming.com cvs.transgaming.org had parameters for setting AGP such as:
[X11drv]
...
"VideoRam" = "256"
"AGPVertexRam" = "32"
...
Attempting to enable AGP in SL under my old WineX results in:
INFO Creating LLAGPMemPoolNV
INFO Warning! Unable to allocate AGP memory! Disabling AGP
...
WARNING Attempting to allocate AGP memory when AGP disabled!
I downloaded the CVS and compiled it. After reading the thread here I concluded no changes were needed to the code. But I was wrong.
After compiling and using it to run SL, SL complains that it cant get an 8 bit alpha channel and screen colour goes psychodelic colours.
System: Mandrake 10.0, NVidia GeForce FX5950. My Linux logs report:
kernel: agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
kernel: agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
kernel: agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
using wine --debugmsg +all,warn-x11drv -- newview.exe 2>SLwinex.log the SLwinex.log reports (note: Stencil was 0 not 8, PFD_GENERIC_ACCELERATED not mentioned):
31335 - 0002:trace:opengl:X11DRV_ChoosePixelFormat (0x403cc0b4,0x406d1ef0)
- size / version : 40 / 1
- dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL
- iPixelType : PFD_TYPE_RGBA
- Color : 32
- Alpha : 8
- Accum : 0
- Depth : 32
- Stencil : 0
- Aux : 0
- iLayerType : PFD_MAIN_PLANE
in old working winex CVS:
34599 - 90005b3c:trace:opengl:X11DRV_DescribePixelFormat (0x403cbf88,1,40,0x406d1ef0)
- size / version : 40 / 1
- dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_GENERIC_ACCELERATED PFD_SUPPORT_OPENGL
- iPixelType : PFD_TYPE_RGBA
- Color : 32
- Alpha : 8
- Accum : 0
- Depth : 24
- Stencil : 8
- Aux : 0
- iLayerType : PFD_MAIN_PLANE
Failed fix attempt of opengl.c:
/* stencil bits */
glXGetConfig( gdi_display, vis, GLX_STENCIL_SIZE, &value );
//ppfd->cStencilBits = value; //commented out!
ppfd->cStencilBits = 8; //force to 8 for SL
after compiling and running SL
Stencil is reported as 8 and PFD_GENERIC_ACCELERATED returns, according to wine debug, but SL logs still show:
"INFO GL buffer: Color Bits 32 Alpha Bits 0 Depth Bits 24"
How do we make SL detect Alpha Bits?
How do we make AGP work for SL thru WineX?