https://bugs.winehq.org/show_bug.cgi?id=41403
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com
--- Comment #3 from Ken Thomases ken@codeweavers.com --- (In reply to Tobias (:Tobbi) Markus from comment #0)
When trying to run Ri-Li, I don't see any window, just its title bar.
I'm testing on an iMac running 10.10.5 using wine-1.9.21-143-gb22aa57 (current git). I see a window, but its content is just black. You're not seeing any part of the window at all, other than the title bar?
Are you testing with a fresh prefix?
Console output is the following over and over again: err:d3d:wined3d_check_gl_call >>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glBindTexture @ context.c / 2397. fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNDEFINED (0x8219) err:d3d:context_check_fbo_status FBO 0 is incomplete, driver bug?
I see the fixme and second err logged one time (and they are due to a known but not serious problem), but I'm not seeing the first err and the messages are not repeating.
What model Mac do you have and what GPU does it have?
Anyway, the problem seems to be that WineD3D is using a double-buffered pixel format when it's only rendering to the front buffer and, maybe, never flushing. And/or it's falling afoul of a bug in macOS's OpenGL implementation. If I apply the hack in attachment 55968 from bug 34166, the game renders properly.
Alternatively, a workaround that doesn't require building a patched Wine is to set this registry key:
[HKCU\Software\Wine\Direct3D] "DirectDrawRenderer"="gdi"