Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-07 Thread Raphael
On Monday 05 December 2005 23:53, Toan T Nguyen wrote:
> Hi, thanks for the clarification. Everything is fine then. Thank you
> for the patch.

was Nothing

> BTW, do you know how to improve OpenGL performance in wine? I get 
> about 10-30% drop in FPS compared to the Windows version (the card is
> overclocked about 10% both in CPU and memory frequencies in windows,
> so that might explains some of the performance drop). I set UseDGA to
> Y in "wine regedit" but that doesn't seem to help at all.

10-30% is not wine overhead (as wine overhead for opengl is very small)
i think it's a driver problem: no linux graphic drivers have the maturity andd 
performances of windows drivers :(

>
> Thanks again,
> Toan

Regards,
Raphael


pgpgfHZNoWnKf.pgp
Description: PGP signature



Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-05 Thread Stefan Dösinger
> BTW, do you know how to improve OpenGL performance in wine? I get
> about 10-30% drop in FPS compared to the Windows version (the card is
> overclocked about 10% both in CPU and memory frequencies in windows,
> so that might explains some of the performance drop). I set UseDGA to
> Y in "wine regedit" but that doesn't seem to help at all.
There are many factors
* Overclocking, as you  mentioned
* Speed of the 3D driver.
* Resource usage of background processen
* Overhead of Wine of course, but that should be minimal for OpenGL.
* and many more

The UseDGA has no influence on this, this affects only 2D acceleration of 
DirectDraw games.




Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-05 Thread Toan T Nguyen
Hi, thanks for the clarification. Everything is fine then. Thank you
for the patch.

BTW, do you know how to improve OpenGL performance in wine? I get
about 10-30% drop in FPS compared to the Windows version (the card is
overclocked about 10% both in CPU and memory frequencies in windows,
so that might explains some of the performance drop). I set UseDGA to
Y in "wine regedit" but that doesn't seem to help at all.

Thanks again,
Toan

>
> WGL_COLOR_BITS_ARB cannot be 32 (was a bug i have corrected recently)
> see http://www.nvidia.com/dev_content/nvopenglspecs/WGL_ARB_pixel_format.txt
>
>   WGL_COLOR_BITS_ARB
>* The number of color bitplanes in each color buffer. For RGBA
>* pixel types, it is the size of the color buffer, excluding the
>* alpha bitplanes. For color-index pixels, it is the size of the
>* color index buffer.
>
> So for 32 bits FBConfig, it should be 24 (8 bits per RGB channels) + 8 for
> Alpha channel
>
> If Q2E expect 32 bits for WGL_COLOR_BITS_ARB its a bug :)
>
> And 24 bits limitation is a X limitation (X display cannot support
> alpha-channel) not an ATI limitation.
> Anyway, 24 bits displays usually support 32 bits using GLX :)
>
> > Toan
>
> Regards,
> Raphael
>
>
>




Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-05 Thread Raphael
On Monday 05 December 2005 19:36, Toan T Nguyen wrote:
> Thanks very much. It works. There's a small probelm worth mentioning
> however: Q2E requires 32 color bits, 24bits depth, 8bits stencils. The
> ATI binary driver supports 24bits only. In wine-0.9.2, somehow
> wglGetPixelFormat returns 32 color bits but the current patch returns
> 24 only. I easily modified q2e to accept both 24bits and 32bits in
> Linux. Other programs might not be happy.

WGL_COLOR_BITS_ARB cannot be 32 (was a bug i have corrected recently)
see http://www.nvidia.com/dev_content/nvopenglspecs/WGL_ARB_pixel_format.txt

  WGL_COLOR_BITS_ARB
   * The number of color bitplanes in each color buffer. For RGBA
   * pixel types, it is the size of the color buffer, excluding the
   * alpha bitplanes. For color-index pixels, it is the size of the
   * color index buffer.

So for 32 bits FBConfig, it should be 24 (8 bits per RGB channels) + 8 for 
Alpha channel 

If Q2E expect 32 bits for WGL_COLOR_BITS_ARB its a bug :)

And 24 bits limitation is a X limitation (X display cannot support 
alpha-channel) not an ATI limitation. 
Anyway, 24 bits displays usually support 32 bits using GLX :)

> Toan

Regards,
Raphael


pgpffuc4JtAPd.pgp
Description: PGP signature



Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-05 Thread Toan T Nguyen
Thanks very much. It works. There's a small probelm worth mentioning
however: Q2E requires 32 color bits, 24bits depth, 8bits stencils. The
ATI binary driver supports 24bits only. In wine-0.9.2, somehow
wglGetPixelFormat returns 32 color bits but the current patch returns
24 only. I easily modified q2e to accept both 24bits and 32bits in
Linux. Other programs might not be happy.

Toan

On 12/5/05, Raphael <[EMAIL PROTECTED]> wrote:
> On Monday 05 December 2005 04:41, Toan T Nguyen wrote:
> > Here they are.
> >
> > On 12/4/05, Raphael <[EMAIL PROTECTED]> wrote:
> > > On Saturday 03 December 2005 09:20, Toan T Nguyen wrote:
> > > > FYI, here is the code in question:
> > > >
> > > > http://cvs.sourceforge.net/viewcvs.py/q2e/q2e/source/win32/glw_win.c?re
> > > >v=1. 13&view=auto
> > > >
> > > > The function where pixelFormat is initialized is GLW_ChoosePixelFormat.
> > > >
> > > > Toan
> > >
> > > Hi,
> > >
> > > behavior seems strange to me
> > >
> > > can you provide me output of gxlinfo
> > > and output of (using patch)
> > > WINEDEBUG="+opengl" q2
> > >
> > > Thx
> > >
> > > Regards,
> > > Raphael
>
> Thx
>
> Can you retry with this patch ?
>
> Thx
>
> Regards,
> Raphael
>
>
>




Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-05 Thread Raphael
On Monday 05 December 2005 04:41, Toan T Nguyen wrote:
> Here they are.
>
> On 12/4/05, Raphael <[EMAIL PROTECTED]> wrote:
> > On Saturday 03 December 2005 09:20, Toan T Nguyen wrote:
> > > FYI, here is the code in question:
> > >
> > > http://cvs.sourceforge.net/viewcvs.py/q2e/q2e/source/win32/glw_win.c?re
> > >v=1. 13&view=auto
> > >
> > > The function where pixelFormat is initialized is GLW_ChoosePixelFormat.
> > >
> > > Toan
> >
> > Hi,
> >
> > behavior seems strange to me
> >
> > can you provide me output of gxlinfo
> > and output of (using patch)
> > WINEDEBUG="+opengl" q2
> >
> > Thx
> >
> > Regards,
> > Raphael

Thx

Can you retry with this patch ?

Thx

Regards,
Raphael
? opengl32.dll.dbg.c
? opengl32.spec.def
Index: wgl_ext.c
===
RCS file: /home/wine/wine/dlls/opengl32/wgl_ext.c,v
retrieving revision 1.13
diff -u -r1.13 wgl_ext.c
--- wgl_ext.c	24 Nov 2005 18:45:12 -	1.13
+++ wgl_ext.c	5 Dec 2005 09:54:41 -
@@ -131,11 +131,23 @@
 Bool (*p_glXReleaseTexImageARB)(Display *dpy, GLXPbuffer pbuffer, int buffer);
 Bool (*p_glXDrawableAttribARB)(Display *dpy, GLXDrawable draw, const int *attribList);
 int  use_render_texture_emulation = 0;
+int  use_render_texture_ati = 0;
 BOOL query_function_render_texture(glXGetProcAddressARB_t proc, const char *gl_version, const char *gl_extensions, 
    const char* glx_version, const char *glx_extensions,
    const char *server_glx_extensions, const char *client_glx_extensions)
 {
-  BOOL bTest = (0 <= strcmp("1.3", glx_version) || NULL != strstr(glx_extensions, "GLX_SGIX_pbuffer"));
+  BOOL bTest = FALSE;
+  if (NULL != strstr(glx_extensions, "GLX_ATI_render_texture")) {
+p_glXBindTexImageARB = proc( (const GLubyte *) "glXBindTexImageARB");
+p_glXReleaseTexImageARB = proc( (const GLubyte *) "glXReleaseTexImageARB");
+p_glXDrawableAttribARB = proc( (const GLubyte *) "glXDrawableAttribARB");
+bTest = (NULL != p_glXBindTexImageARB && NULL != p_glXReleaseTexImageARB && NULL != p_glXDrawableAttribARB);
+  }
+  if (bTest) {
+use_render_texture_ati = 1;
+return bTest;
+  }
+  bTest = (0 <= strcmp("1.3", glx_version) || NULL != strstr(glx_extensions, "GLX_SGIX_pbuffer"));
   if (bTest) {
 if (NULL != strstr(glx_extensions, "GLX_ARB_render_texture")) {
   p_glXBindTexImageARB = proc( (const GLubyte *) "glXBindTexImageARB");
@@ -328,16 +340,69 @@
 #define WGL_AUX8_ARB0x208F 
 #define WGL_AUX9_ARB0x2090
 
+/** 
+ * WGL_ATI_pixel_format_float / WGL_ARB_color_buffer_float
+ */
+#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
+#define GL_RGBA_FLOAT_MODE_ATI  0x8820
+#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI  0x8835
+#define GL_CLAMP_VERTEX_COLOR_ARB   0x891A
+#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
+#define GL_CLAMP_READ_COLOR_ARB 0x891C
+/** GLX_ATI_pixel_format_float */
+#define GLX_RGBA_FLOAT_ATI_BIT  0x0100
+/** GLX_ARB_pixel_format_float */
+#define GLX_RGBA_FLOAT_BIT  0x0004
+#define GLX_RGBA_FLOAT_TYPE 0x20B9 
+/** GLX_ATI_render_texture */
+#define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800
+#define GLX_BIND_TO_TEXTURE_RGBA_ATI0x9801
+#define GLX_TEXTURE_FORMAT_ATI  0x9802
+#define GLX_TEXTURE_TARGET_ATI  0x9803
+#define GLX_MIPMAP_TEXTURE_ATI  0x9804
+#define GLX_TEXTURE_RGB_ATI 0x9805
+#define GLX_TEXTURE_RGBA_ATI0x9806
+#define GLX_NO_TEXTURE_ATI  0x9807
+#define GLX_TEXTURE_CUBE_MAP_ATI0x9808
+#define GLX_TEXTURE_1D_ATI  0x9809
+#define GLX_TEXTURE_2D_ATI  0x980A
+#define GLX_MIPMAP_LEVEL_ATI0x980B
+#define GLX_CUBE_MAP_FACE_ATI   0x980C
+#define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
+#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
+#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
+#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
+#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
+#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
+#define GLX_FRONT_LEFT_ATI  0x9813
+#define GLX_FRONT_RIGHT_ATI 0x9814
+#define GLX_BACK_LEFT_ATI   0x9815
+#define GLX_BACK_RIGHT_ATI  0x9816
+#define GLX_AUX0_ATI0x9817
+#define GLX_AUX1_ATI0x9818
+#define GLX_AUX2_ATI0x9819
+#define GLX_AUX3_ATI0x981A
+#define GLX_AUX4_ATI0x981B
+#define GLX_AUX5_ATI0x981C
+#define GLX_AUX6_ATI0x981D
+#define GLX_AUX7_ATI0x981E
+#define GLX_AUX8_ATI0x981F
+#define GLX_AUX9_ATI0x9820
+#define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI   0x9821
+#define GLX_BIND_TO_TEXTURE_INTENSITY_A

Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-04 Thread Toan T Nguyen
Here they are.

On 12/4/05, Raphael <[EMAIL PROTECTED]> wrote:
> On Saturday 03 December 2005 09:20, Toan T Nguyen wrote:
> > FYI, here is the code in question:
> >
> > http://cvs.sourceforge.net/viewcvs.py/q2e/q2e/source/win32/glw_win.c?rev=1.
> >13&view=auto
> >
> > The function where pixelFormat is initialized is GLW_ChoosePixelFormat.
> >
> > Toan
> >
>
> Hi,
>
> behavior seems strange to me
>
> can you provide me output of gxlinfo
> and output of (using patch)
> WINEDEBUG="+opengl" q2
>
> Thx
>
> Regards,
> Raphael
>
>
>


glxinfo.out
Description: Binary data


history.dat
Description: MPEG movie



Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-04 Thread Raphael
On Saturday 03 December 2005 09:20, Toan T Nguyen wrote:
> FYI, here is the code in question:
>
> http://cvs.sourceforge.net/viewcvs.py/q2e/q2e/source/win32/glw_win.c?rev=1.
>13&view=auto
>
> The function where pixelFormat is initialized is GLW_ChoosePixelFormat.
>
> Toan
>

Hi,

behavior seems strange to me 

can you provide me output of gxlinfo 
and output of (using patch)
WINEDEBUG="+opengl" q2

Thx

Regards,
Raphael


pgpjhnOiJlG2P.pgp
Description: PGP signature



Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-03 Thread Toan T Nguyen
FYI, here is the code in question:

http://cvs.sourceforge.net/viewcvs.py/q2e/q2e/source/win32/glw_win.c?rev=1.13&view=auto

The function where pixelFormat is initialized is GLW_ChoosePixelFormat.

Toan


On 12/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Message d'origine
> >Date: Fri, 2 Dec 2005 14:07:24 -0800
> >De: Toan T Nguyen <[EMAIL PROTECTED]>
> >A: wine-devel@winehq.org
> >Sujet: wglGetPixelFormatAttribivARB unexpected RenderType(100)
> >
> >Hi,
> >
> >I compile and run Quake2Evolved in linux using winelib. Although every
> >seems fine, there's this error printed out when Q2E scans for the best
> >pixel format:
> >
> > err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100)
> >
> >I look up my /usr/include/GL/glxATI.h and found these lines:
> >
> >#ifndef GLX_ATI_pixel_format_float
> >#define GLX_ATI_pixel_format_float  1
> >
> >#define GLX_RGBA_FLOAT_ATI_BIT  0x0100
> >
> >#endif // GLX_ATI_pixel_format_float
> >
> >
> >Bests,
> >
> >Toan
> >
>
> Hi
>
> Interesting and fun extension :)
> Try attached patch if it works (and it should) forward it to wine-patches
>
> Regards,
> Raphael
>
>
>
>




Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-02 Thread Toan T Nguyen
Hi,

Unfortunately, now Q2E cannot detects any valid pixel format. Here is
the Q2E output from wine-0.9.2

==
Initializing OpenGL driver
...getting DC: succeeded
...getting gamma ramp: failed
fixme:opengl:wglMakeCurrent (0x398,0x47c91210)
fixme:opengl:wglMakeCurrent  created a delayed OpenGL context
(0x7c3108d8) for 0x7c310740
fixme:opengl:wglMakeCurrent  make current for dis 0x7c021e68, drawable
0x342, ctx 0x7c3
108d8
fixme:opengl:wglMakeCurrent  returning True
...19 pixel formats found
...PIXELFORMAT 2 rejected, improper flags
...PIXELFORMAT 3 rejected, insufficient stencil bits (0 < 8)
...PIXELFORMAT 4 rejected, improper flags
...PIXELFORMAT 6 rejected, improper flags
...PIXELFORMAT 7 rejected, insufficient stencil bits (0 < 8)
...PIXELFORMAT 8 rejected, improper flags
...PIXELFORMAT 10 rejected, improper flags
...PIXELFORMAT 11 rejected, insufficient stencil bits (0 < 8)
...PIXELFORMAT 12 rejected, improper flags
...PIXELFORMAT 14 rejected, improper flags
...PIXELFORMAT 15 rejected, insufficient stencil bits (0 < 8)
...PIXELFORMAT 16 rejected, improper flags
...PIXELFORMAT 17 rejected, software emulation
err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100)
...PIXELFORMAT 18 rejected, software emulation
err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100)
...PIXELFORMAT 19 rejected, software emulation
fixme:opengl:wglMakeCurrent ((nil),(nil))
fixme:opengl:wglMakeCurrent  returning True
...hardware acceleration found
...PIXELFORMAT 1 selected
...creating GL context: succeeded


And here is the output from winecvs + your patch:


Initializing OpenGL driver
...getting DC: succeeded
...getting gamma ramp: failed
...19 pixel formats found
...PIXELFORMAT 1 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 2 rejected, improper flags
...PIXELFORMAT 3 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 4 rejected, improper flags
...PIXELFORMAT 5 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 6 rejected, improper flags
...PIXELFORMAT 7 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 8 rejected, improper flags
...PIXELFORMAT 9 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 10 rejected, improper flags
...PIXELFORMAT 11 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 12 rejected, improper flags
...PIXELFORMAT 13 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 14 rejected, improper flags
...PIXELFORMAT 15 rejected, insufficient color bits (1 < 32)
...PIXELFORMAT 16 rejected, improper flags
...PIXELFORMAT 17 rejected, software emulation
...PIXELFORMAT 18 rejected, software emulation
...PIXELFORMAT 19 rejected, software emulation
...no hardware acceleration found
...failed to find an appropriate PIXELFORMAT
...destroying window
VID_AppActivate( 0 )
...restoring display settings
...shutting down QGL
==

I can send you the source file of Q2E where OpenGL is initialized if you want.

Bests,
Toan



On 12/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Message d'origine
> >Date: Fri, 2 Dec 2005 14:07:24 -0800
> >De: Toan T Nguyen <[EMAIL PROTECTED]>
> >A: wine-devel@winehq.org
> >Sujet: wglGetPixelFormatAttribivARB unexpected RenderType(100)
> >
> >Hi,
> >
> >I compile and run Quake2Evolved in linux using winelib. Although every
> >seems fine, there's this error printed out when Q2E scans for the best
> >pixel format:
> >
> > err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100)
> >
> >I look up my /usr/include/GL/glxATI.h and found these lines:
> >
> >#ifndef GLX_ATI_pixel_format_float
> >#define GLX_ATI_pixel_format_float  1
> >
> >#define GLX_RGBA_FLOAT_ATI_BIT  0x0100
> >
> >#endif // GLX_ATI_pixel_format_float
> >
> >
> >Bests,
> >
> >Toan
> >
>
> Hi
>
> Interesting and fun extension :)
> Try attached patch if it works (and it should) forward it to wine-patches
>
> Regards,
> Raphael
>
>
>
>




Re: wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-02 Thread fenix
 
 
Message d'origine 
>Date: Fri, 2 Dec 2005 14:07:24 -0800 
>De: Toan T Nguyen <[EMAIL PROTECTED]> 
>A: wine-devel@winehq.org 
>Sujet: wglGetPixelFormatAttribivARB unexpected RenderType(100) 
> 
>Hi, 
> 
>I compile and run Quake2Evolved in linux using winelib. Although every 
>seems fine, there's this error printed out when Q2E scans for the best 
>pixel format: 
> 
> err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100) 
> 
>I look up my /usr/include/GL/glxATI.h and found these lines: 
> 
>#ifndef GLX_ATI_pixel_format_float 
>#define GLX_ATI_pixel_format_float  1 
> 
>#define GLX_RGBA_FLOAT_ATI_BIT  0x0100 
> 
>#endif // GLX_ATI_pixel_format_float 
> 
> 
>Bests, 
> 
>Toan 
> 
 
Hi 
 
Interesting and fun extension :) 
Try attached patch if it works (and it should) forward it to wine-patches  
 
Regards, 
Raphael 

Index: wgl_ext.c
===
RCS file: /home/wine/wine/dlls/opengl32/wgl_ext.c,v
retrieving revision 1.13
diff -u -r1.13 wgl_ext.c
--- wgl_ext.c   24 Nov 2005 18:45:12 -  1.13
+++ wgl_ext.c   2 Dec 2005 23:53:42 -
@@ -328,6 +328,16 @@
 #define WGL_AUX8_ARB0x208F 
 #define WGL_AUX9_ARB0x2090
 
+/** 
+ * WGL_ATI_pixel_format_float 
+ */
+#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
+#define GL_TYPE_RGBA_FLOAT_ATI  0x8820
+#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI  0x8835
+/** GLX_ATI_pixel_format_float */
+#define GLX_RGBA_FLOAT_ATI_BIT  0x0100 
+ 
+
 #if 0 /* not used yet */
 static unsigned ConvertAttribGLXtoWGL(const int* iWGLAttr, int* oGLXAttr) {
   unsigned nAttribs = 0;
@@ -392,8 +402,9 @@
 case WGL_PIXEL_TYPE_ARB:
   pop = iWGLAttr[++cur];
   switch (pop) {
-  case WGL_TYPE_RGBA_ARB:  pop = GLX_RGBA_BIT; break ; 
   case WGL_TYPE_COLORINDEX_ARB: pop = GLX_COLOR_INDEX_BIT; isColor = 1; 
break ;
+  case WGL_TYPE_RGBA_ARB: pop = GLX_RGBA_BIT; break ;
+  case WGL_TYPE_RGBA_FLOAT_ATI: pop = GLX_RGBA_FLOAT_ATI_BIT; break ;
   default:
ERR("unexpected PixelType(%x)\n", pop); 
pop = 0;
@@ -559,8 +570,9 @@
   hTest = glXGetFBConfigAttrib(display, curCfg, curGLXAttr, &tmp);
   if (hTest) goto get_error;
   switch (tmp) {
-  case GLX_RGBA_BIT: piValues[i] = WGL_TYPE_RGBA_ARB; break;
   case GLX_COLOR_INDEX_BIT: piValues[i] = WGL_TYPE_COLORINDEX_ARB; break ;
+  case GLX_RGBA_BIT: piValues[i] = WGL_TYPE_RGBA_ARB; break;
+  case GLX_RGBA_FLOAT_ATI_BIT: piValues[i] = WGL_TYPE_RGBA_FLOAT_ATI; 
break ;
   default:
ERR("unexpected RenderType(%x)\n", tmp);
piValues[i] = WGL_TYPE_RGBA_ARB;



wglGetPixelFormatAttribivARB unexpected RenderType(100)

2005-12-02 Thread Toan T Nguyen
Hi,

I compile and run Quake2Evolved in linux using winelib. Although every
seems fine, there's this error printed out when Q2E scans for the best
pixel format:

 err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100)

I look up my /usr/include/GL/glxATI.h and found these lines:

#ifndef GLX_ATI_pixel_format_float
#define GLX_ATI_pixel_format_float  1

#define GLX_RGBA_FLOAT_ATI_BIT  0x0100

#endif // GLX_ATI_pixel_format_float


Bests,

Toan