https://bugs.winehq.org/show_bug.cgi?id=45932
--- Comment #15 from Andrew Wesie awesie@gmail.com --- (In reply to Józef Kucia from comment #14)
I think our usage of query buffer objects might be invalid, e.g. the OpenGL spec says:
"If MAP_COHERENT_BIT is set and the server does a write, the applica- tion must call FenceSync with SYNC_GPU_COMMANDS_COMPLETE (or Finish). Then the CPU will see the writes after the sync is complete."
Thanks for reminding me of that.
This new patch hopefully resolves the issue on NVIDIA then. It looks a bit strange, e.g. we issue a fence then immediately delete it, but that is all that is required from my testing.