https://bugs.winehq.org/show_bug.cgi?id=45683
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- I can reproduce this (my setup is fairly similar: Mesa 18.1.4, VEGA10), but it looks like a driver issue to me.
In particular, it somehow seems related to doing FBO blits to the frontbuffer after having done a SwapBuffers(). We're hanging in the glBlitFramebuffer() call to the frontbuffer in texture2d_blt_fbo(). LIBGL_ALWAYS_SOFTWARE=1 is a workaround. Another workaround is forcing "swap_interval" to either 0 or 1 at the start of ddraw_surface_update_frontbuffer().
I can try to look into it a little further, but the quickest way to get this fixed may be to bring this issue to the attention of the Mesa developers.