http://bugs.winehq.org/show_bug.cgi?id=25324
Summary: GL_INVALID_OPERATION (0x502) on x86_64 installations. Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: robertogoberto@gmail.com
Hello, I've tried playing several different games using Wine, all get the same error. I'll stick to "Sins of a Solar Empire" for this description.
The problem is when trying to load I get this error in the mentioned game:
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1 fixme:win:EnumDisplayDevicesW ((null),0,0x32f664,0x00000000), stub! fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats fixme:win:EnumDisplayDevicesW ((null),0,0x32f674,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats err:d3d:context_release Failed to restore GL context 0x13f278 on device context 0x674, last error 0x7d0. err:d3d:swapchain_blit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Swapchain present blit(EXT_framebuffer_blit) @ swapchain.c / 136 err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:d3d:query_init Unhandled query type 0x4. fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:font:WineEngAddFontResourceEx Ignoring flags 10 ... fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d_surface:IWineD3DVolumeImpl_LockBox (0x8af0180) : pBox=(nil) stub ... fixme:d3d_surface:IWineD3DVolumeImpl_LockBox (0x8b73a38) : pBox=(nil) stub err:d3d:swapchain_blit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Swapchain present blit(EXT_framebuffer_blit) @ swapchain.c / 136 err:d3d:swapchain_blit >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Swapchain present blit(EXT_framebuffer_blit) ... err:d3d:context_set_draw_buffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glDrawBuffer() @ context.c / 1939
The screen is black save cursor, and it just sits there. I'm using a 9800GT w/ 260.19.06 drivers. It is configured correctly, other games run, and 3d acceleration works.
I was using Arch x86_64 and Ubuntu 10.10, the WINE versions I believe were 1.2.1 and 1.3.7. Both received the same error. I'm using no DLL overrides.
I remember these games running perfectly fine my older OS installations, the only thing that changed was I switched to x86_64 when I got 4GB of RAM. So for experimentations sake I installed Ubuntu 10.10 32bit.
Everything worked perfectly. I know I'm not the only one experiencing this problem, that error I posted was actually grabbed from the AppDB, it was posted by someone else.