http://bugs.winehq.org/show_bug.cgi?id=27534
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35807|0 |1 is obsolete| | Status|NEW |ASSIGNED AssignedTo|wine-bugs@winehq.org |stefandoesinger@gmx.at
--- Comment #38 from Stefan Dösinger stefandoesinger@gmx.at 2011-08-07 16:35:34 CDT --- Created an attachment (id=35869) --> (http://bugs.winehq.org/attachment.cgi?id=35869) wined3d: call glFinish around buffer maps / unmaps
This is a slightly modified version of attachment 35807, it takes the idea to an extreme and synchronizes around every buffer map/unmap operation. The issues disappear for me, can you verify this?
This debug hack by itself doesn't give too much information, it mostly just says "yeah, if you force a sync everywhere things work". I'll dig into the details to see where the exact issues are. I suspect that we are fighting two separate issues here, e.g. one being incorrect synchronization by the driver and the other missing re-binds of the buffer in other contexts by us. Or something like that.