http://bugs.winehq.org/show_bug.cgi?id=31014
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-06-30 04:13:57 CDT --- (In reply to comment #1)
I did some more analysis on this:
Audiosurf calls wined3d_device_get_display_mode with a swapchain_idx of 0. In current wine, this means that the returned hr will be uninitialized, and the mode structure left unchanged - so there's garbage in there (I added a FIXME to get these values):
That doesn't sound right, what version of Wine are you using / what does your wined3d_device_get_display_mode() actually look like?
I am still experimenting to come up with a minimal patch fixing/working around the issue locally. From the description, this sounds like some variant of bug 30184, does
http://bugs.winehq.org/attachment.cgi?id=40780 make it any better?