Re: OpenGL issues on OSX (wine 1.3.21)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thunderbird wrote:
> Create a log running with '+wgl'.


This is what I get:

First, this:

Code:
trace:wgl:wglGetProcAddress func: 'wglGetIntegerv'
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version             : 2.1 NVIDIA-1.6.26.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer            : NVIDIA GeForce 320M OpenGL Engine.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version            : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version     : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor:     : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version     : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor:     : Mesa Project and SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True
trace:wgl:has_opengl GLX is up and running error_base = 147
trace:wgl:register_extension_string ''
trace:wgl:register_extension     - 'wglGetIntegerv'
trace:wgl:register_extension     - 'wglFinish'
trace:wgl:register_extension     - 'wglFlush'
trace:wgl:register_extension_string 'WGL_ARB_extensions_string'
trace:wgl:register_extension     - 'wglGetExtensionsStringARB'
trace:wgl:register_extension_string 'WGL_ARB_multisample'
trace:wgl:register_extension_string 'WGL_ARB_pixel_format'
trace:wgl:register_extension     - 'wglChoosePixelFormatARB'
trace:wgl:register_extension     - 'wglGetPixelFormatAttribfvARB'
trace:wgl:register_extension     - 'wglGetPixelFormatAttribivARB'
trace:wgl:register_extension_string 'WGL_EXT_extensions_string'
trace:wgl:register_extension     - 'wglGetExtensionsStringEXT'
trace:wgl:register_extension_string 'WGL_EXT_swap_control'
trace:wgl:register_extension     - 'wglSwapIntervalEXT'
trace:wgl:register_extension     - 'wglGetSwapIntervalEXT'
trace:wgl:register_extension_string 'WGL_WINE_pixel_format_passthrough'
trace:wgl:register_extension     - 'wglSetPixelFormatWINE'
trace:wgl:X11DRV_wglGetProcAddress ('wglGetIntegerv'):                  (0x43815540) - WineGL
trace:wgl:wglGetProcAddress func: 'wglFinish'
trace:wgl:X11DRV_wglGetProcAddress ('wglFinish'):                       (0x43815670) - WineGL
trace:wgl:wglGetProcAddress func: 'wglFlush'
trace:wgl:X11DRV_wglGetProcAddress ('wglFlush'):                        (0x438184e0) - WineGL
trace:wgl:X11DRV_ChoosePixelFormat (0x16aad8,0x8afa28)
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - size / version : 40 / 1
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - iPixelType : PFD_TYPE_RGBA
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Color   : 16
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Red     : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Green   : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Blue    : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Alpha   : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Accum   : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Depth   : 16
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Stencil : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Aux     : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - iLayerType : PFD_MAIN_PLANE
trace:wgl:get_formats Found 0 bitmap capable fbconfigs



Then, about 400 lines like this, with incrementing indexes for each pixel formats, from 0 to 415:

Code:
trace:wgl:get_formats Found onscreen format FBCONFIG_ID 0x24 corresponding to iPixelFormat 1 at GLX index 0



Then about 90 lines like this (ie: not all pixel formats fail, only about 90 of them):

Code:
trace:wgl:X11DRV_ChoosePixelFormat depth mismatch for iPixelFormat=5



Then it creates the context:

Code:
trace:wgl:X11DRV_ChoosePixelFormat Successfully found a matching mode, returning index: 83 76
trace:wgl:X11DRV_SetPixelFormat (0x16aad8,83,0x8afa28)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
path: 342_0xc0010a
trace:wgl:internal_SetPixelFormat  FBConfig have :
trace:wgl:internal_SetPixelFormat  - FBCONFIG_ID   0x76
trace:wgl:internal_SetPixelFormat  - VISUAL_ID     0x76
trace:wgl:internal_SetPixelFormat  - DRAWABLE_TYPE 0x1
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
trace:wgl:X11DRV_GetPixelFormat (0x16aad8)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:X11DRV_GetPixelFormat (0x16aad8): returns 83
trace:wgl:X11DRV_DescribePixelFormat (0x16aad8,83,40,0x8afa20)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - size / version : 40 / 1
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - iPixelType : PFD_TYPE_RGBA
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Color   : 24
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Red     : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Green   : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Blue    : 8
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Alpha   : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Accum   : 32
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Depth   : 16
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Stencil : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - Aux     : 0
trace:wgl:dump_PIXELFORMATDESCRIPTOR   - iLayerType : PFD_MAIN_PLANE
trace:wgl:wglCreateContext (0x6cc)
trace:wgl:X11DRV_wglCreateContext (0x6cc)->(PF:83)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:X11DRV_wglCreateContext  creating context 0x16ae40 (GL context creation delayed)
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
path: 342_0xc00120
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76



Some time later, it makes it current and then everything goes wrong:

Code:
trace:wgl:wglMakeCurrent hdc: (0x6cc), hglrc: (0x16ae40)
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
trace:wgl:X11DRV_wglMakeCurrent (0x6cc,0x16ae40)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:describeDrawable  HDC 0x6cc has:
trace:wgl:describeDrawable  - iPixelFormat 83
trace:wgl:describeDrawable  - Drawable 0xc00120
trace:wgl:describeDrawable  - FBCONFIG_ID 0x76
trace:wgl:describeDrawable  - VISUAL_ID 0x76
trace:wgl:describeContext  Context 0x16ae40 have (vis:0x404ae620):
trace:wgl:describeContext  - FBCONFIG_ID 0x76
trace:wgl:describeContext  - VISUAL_ID 0x76
trace:wgl:X11DRV_wglMakeCurrent  make current for dis 0x4081be00, drawable 0xc00120, ctx 0x404aafd0
Sun Jun  5 10:00:02 mba-cbu.local wine[456] <Error>: unknown error code: invalid drawable
Sun Jun  5 10:00:02 mba-cbu.local wine[456] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
set off screen: invalid drawable
trace:wgl:X11DRV_wglMakeCurrent  returning False
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 83 for fmt_id 0x76
trace:wgl:wglMakeCurrent hdc: (0x6cc), hglrc: (0x16ae40)
trace:wgl:X11DRV_wglMakeCurrent (0x6cc,0x16ae40)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:describeDrawable  HDC 0x6cc has:
trace:wgl:describeDrawable  - iPixelFormat 83
trace:wgl:describeDrawable  - Drawable 0xc00120
trace:wgl:describeDrawable  - FBCONFIG_ID 0x76
trace:wgl:describeDrawable  - VISUAL_ID 0x76
trace:wgl:describeContext  Context 0x16ae40 have (vis:0x404ae620):
trace:wgl:describeContext  - FBCONFIG_ID 0x76
trace:wgl:describeContext  - VISUAL_ID 0x76
trace:wgl:X11DRV_wglMakeCurrent  make current for dis 0x4081be00, drawable 0xc00120, ctx 0x404aafd0
trace:wgl:X11DRV_wglMakeCurrent  returning True
trace:wgl:wglMakeCurrent hdc: (0x6cc), hglrc: (0x16ae40)
trace:wgl:X11DRV_wglMakeCurrent (0x6cc,0x16ae40)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=83
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=416
trace:wgl:describeDrawable  HDC 0x6cc has:
trace:wgl:describeDrawable  - iPixelFormat 83
trace:wgl:describeDrawable  - Drawable 0xc00120
trace:wgl:describeDrawable  - FBCONFIG_ID 0x76
trace:wgl:describeDrawable  - VISUAL_ID 0x76
trace:wgl:describeContext  Context 0x16ae40 have (vis:0x404ae620):
trace:wgl:describeContext  - FBCONFIG_ID 0x76
trace:wgl:describeContext  - VISUAL_ID 0x76
trace:wgl:X11DRV_wglMakeCurrent  make current for dis 0x4081be00, drawable 0xc00120, ctx 0x404aafd0
trace:wgl:X11DRV_wglMakeCurrent  returning True
trace:wgl:wine_glFlush ()
trace:wgl:X11DRV_SwapBuffers (0x16aad8)



(note you can see where the warning message appears in the above log block)
So it has visual id 0x76 and fbconfig 0x76. This is what glxinfo says about 0x76:

Code:
Vis  Vis   Visual Trans  buff lev render DB ste  r   g   b   a  aux dep ste  accum buffers  MS   MS
 ID Depth   Type  parent size el   type     reo sz  sz  sz  sz  buf th  ncl  r   g   b   a  num bufs
----------------------------------------------------------------------------------------------------

0x76 24 TrueColor    1     24  0  rgba   1   0   8   8   8   0   0   16  0   8   8   8   8   0   0



The only "strange" thing I see in that visual is that it only gets 16 bits of depth buffer, while this GPU has 24bit and 32bit depth buffer, but maybe this is a problem of what capabilities is the app asking, anyway it should also work with a 16bit depth buffer.

Do you see any "clue" in these logs. Why would MakeCurrent fail?

Thanks!







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux