wglGetPixelFormatAttribivARB unexpected RenderType(100)

Toan T Nguyen nguyenthetoan at gmail.com
Fri Dec 2 19:42:35 CST 2005


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
0x3400002, 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, fenix at club-internet.fr <fenix at club-internet.fr> wrote:
>
>
> ----Message d'origine----
> >Date: Fri, 2 Dec 2005 14:07:24 -0800
> >De: Toan T Nguyen <nguyenthetoan at gmail.com>
> >A: wine-devel at 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                          0x00000100
> >
> >#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
>
>
>
>



More information about the wine-devel mailing list