Hi James, thank you for your kind reply. The XQuartz folks recommend to logout and back in to have the DISPLAY variable set correctly, which I did. But I will also try a reboot to be sure. When I start something with wine, the XQuartz icon comes up automatically, so I am pretty sure that XQuartz is used (Apple's X11 is not active). I had another try with WINEDEBUG=+wgl, perhaps that brings more details: trace:wgl:wglGetCurrentContext returning 0x0 trace:wgl:X11DRV_GetPixelFormat (0x12a228) trace:wgl:X11DRV_SetPixelFormat (0x12a228,81,0x0) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76 trace:wgl:internal_SetPixelFormat FBConfig have : trace:wgl:internal_SetPixelFormat - FBCONFIG_ID 0x76 trace:wgl:internal_SetPixelFormat - VISUAL_ID 0xc5 trace:wgl:internal_SetPixelFormat - DRAWABLE_TYPE 0x7 trace:wgl:wglCreateContext (0x58c) trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76 trace:wgl:X11DRV_wglCreateContext (0x58c)->(PF:81) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 DIAG: apple_glx_create_context: ac 0x40464da0 ac->context_obj 0x4085d800 trace:wgl:X11DRV_wglCreateContext creating context 0x30de568 (GL context creation delayed) trace:wgl:X11DRV_GetPixelFormat (0x12a228) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:X11DRV_GetPixelFormat (0x12a228): returns 81 trace:wgl:wglMakeCurrent hdc: (0x58c), hglrc: (0x30de568) trace:wgl:X11DRV_wglMakeCurrent (0x58c,0x30de568) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:describeDrawable HDC 0x58c has: trace:wgl:describeDrawable - iPixelFormat 81 trace:wgl:describeDrawable - Drawable 0x600008 trace:wgl:describeDrawable - FBCONFIG_ID 0x76 trace:wgl:describeDrawable - VISUAL_ID 0xc5 trace:wgl:describeContext Context 0x30de568 have (vis:0x40420b50): trace:wgl:describeContext - FBCONFIG_ID 0x76 trace:wgl:describeContext - VISUAL_ID 0xc5 trace:wgl:X11DRV_wglMakeCurrent make current for dis 0x4081ce00, drawable 0x600008, ctx 0x404880d0 DIAG: apple_glx_drawable_create: new drawable 0x41073e00 DIAG: create_surface: created a surface for drawable 0x600008 with uid 25 DIAG: surface_make_current: ac->context_obj 0x4085d800 s->surface_id 13 DIAG: surface_make_current: drawable 0x600008 DIAG: applegl_bind_context: error NO trace:wgl:X11DRV_wglMakeCurrent returning True trace:wgl:X11DRV_wglSwapIntervalEXT (1) warn:wgl:X11DRV_wglSwapIntervalEXT GLX_SGI_swap_control extension is not available trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76 trace:wgl:wglGetCurrentContext returning 0x30de568 trace:wgl:wglGetCurrentContext returning 0x30de568 DIAG: caller is the same thread for uid 25 DIAG: surface notify updated 0 DIAG: caller is the same thread for uid 25 DIAG: surface notify updated 0 DIAG: caller is the same thread for uid 25 DIAG: surface notify updated 0 trace:wgl:wglGetCurrentContext returning 0x30de568 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0): returns 81 trace:wgl:wglCreateContext (0xa14) trace:wgl:X11DRV_wglCreateContext (0xa14)->(PF:81) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 DIAG: apple_glx_create_context: ac 0x41926a10 ac->context_obj 0x410ba400 trace:wgl:X11DRV_wglCreateContext creating context 0x3152308 (GL context creation delayed) trace:wgl:wglShareLists hglrc1: (0x30de568); hglrc: (0x3152308) trace:wgl:X11DRV_wglShareLists (0x30de568, 0x3152308) trace:wgl:describeContext Context 0x30de568 have (vis:0x40420b50): trace:wgl:describeContext - FBCONFIG_ID 0x76 trace:wgl:describeContext - VISUAL_ID 0xc5 trace:wgl:describeContext Context 0x3152308 have (vis:0x41951c70): trace:wgl:describeContext - FBCONFIG_ID 0x76 trace:wgl:describeContext - VISUAL_ID 0xc5 DIAG: apple_glx_destroy_context: ac 0x41926a10 ac->context_obj 0x410ba400 DIAG: apple_glx_create_context: ac 0x41926a10 ac->context_obj 0x410ba400 trace:wgl:X11DRV_wglShareLists re-created an OpenGL context (0x41907ea0) for Wine context 0x3152308 sharing lists with OpenGL ctx 0x404880d0 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0): returns 81 trace:wgl:wglMakeCurrent hdc: (0xa14), hglrc: (0x3152308) trace:wgl:X11DRV_wglMakeCurrent (0xa14,0x3152308) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:describeDrawable HDC 0xa14 has: trace:wgl:describeDrawable - iPixelFormat 81 trace:wgl:describeDrawable - Drawable 0x600008 trace:wgl:describeDrawable - FBCONFIG_ID 0x76 trace:wgl:describeDrawable - VISUAL_ID 0xc5 trace:wgl:describeContext Context 0x3152308 have (vis:0x41951c70): trace:wgl:describeContext - FBCONFIG_ID 0x76 trace:wgl:describeContext - VISUAL_ID 0xc5 trace:wgl:X11DRV_wglMakeCurrent make current for dis 0x4081ce00, drawable 0x600008, ctx 0x41907ea0 DIAG: surface_make_current: ac->context_obj 0x410ba400 s->surface_id 13 DIAG: caller is the same thread for uid 25 DIAG: caller is the same thread for uid 25 DIAG: surface notify updated 0 DIAG: surface_make_current: drawable 0x600008 DIAG: applegl_bind_context: error NO trace:wgl:X11DRV_wglMakeCurrent returning True trace:wgl:X11DRV_wglSwapIntervalEXT (1) warn:wgl:X11DRV_wglSwapIntervalEXT GLX_SGI_swap_control extension is not available trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76 trace:wgl:wglGetCurrentContext returning 0x3152308 fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. trace:wgl:wglGetCurrentContext returning 0x3152308 fixme:d3d:wined3d_buffer_preload Too many declaration changes or converting dynamic buffer, stopping converting fixme:d3d:resource_check_usage Unhandled usage flags 0x8. trace:wgl:wglGetCurrentContext returning 0x3152308 fixme:d3d:wined3d_buffer_preload Too many declaration changes or converting dynamic buffer, stopping converting trace:wgl:wglGetCurrentContext returning 0x3152308 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0) trace:wgl:X11DRV_SetPixelFormat (0x1b849c0,81,0x0) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76 DIAG: apple_glx_drawable_create: new drawable 0x408b3200 DIAG: offscreen rendering enabled. Using kCGLPFAOffScreen DIAG: created: pixmap buffer for 0xe00481 trace:wgl:internal_SetPixelFormat FBConfig have : trace:wgl:internal_SetPixelFormat - FBCONFIG_ID 0x76 trace:wgl:internal_SetPixelFormat - VISUAL_ID 0xc5 trace:wgl:internal_SetPixelFormat - DRAWABLE_TYPE 0x7 trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:X11DRV_GetPixelFormat (0x1b849c0): returns 81 trace:wgl:wglMakeCurrent hdc: (0xa14), hglrc: (0x3152308) trace:wgl:X11DRV_wglMakeCurrent (0xa14,0x3152308) trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81 trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=120 trace:wgl:describeDrawable HDC 0xa14 has: trace:wgl:describeDrawable - iPixelFormat 81 trace:wgl:describeDrawable - Drawable 0xe00481 trace:wgl:describeDrawable - FBCONFIG_ID 0x76 trace:wgl:describeDrawable - VISUAL_ID 0xc5 trace:wgl:describeContext Context 0x3152308 have (vis:0x41951c70): trace:wgl:describeContext - FBCONFIG_ID 0x76 trace:wgl:describeContext - VISUAL_ID 0xc5 trace:wgl:X11DRV_wglMakeCurrent make current for dis 0x4081ce00, drawable 0xe00481, ctx 0x41907ea0 DIAG: destroy_drawable_callback: 0x41073e00 ->reference_count before -- 3 Fri Nov 11 10:34:36 mxws2.local wine[2791] <Error>: unknown error code: invalid drawable Fri Nov 11 10:34:36 mxws2.local wine[2791] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. set off screen: invalid drawable DIAG: applegl_bind_context: error YES X Error of failed request: 0 Major opcode of failed request: 149 (GLX) Minor opcode of failed request: 26 (X_GLXMakeContextCurrent) Serial number of failed request: 4752 Current serial number in output stream: 4752 Thanks a lot for looking at this! Chyman