https://bugs.winehq.org/show_bug.cgi?id=45893
Bug ID: 45893 Summary: Midtown Madness: Extremely Slow with csmt on Product: Wine Version: 3.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sa@whiz.se Distribution: ---
The game Midtown Madness is unplayably slow with csmt turned on. This can be reproduced with the demo version of the game.
This is an old title from 1999 that uses direct draw AFAICT.
The game needs Windows version set to XP or lower, and either be run with an Xserver supporting 16bpp colors, or a hack to force Wine to use 16bpp.
https://www.fileplanet.com/19814/10000/fileinfo/Midtown-Madness-Demo
https://bugs.winehq.org/show_bug.cgi?id=45893
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=44546
https://bugs.winehq.org/show_bug.cgi?id=45893
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=45893
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.fileplanet.com/ | |19814/10000/fileinfo/Midtow | |n-Madness-Demo Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=45893
--- Comment #1 from Mathew Hodson mathew.hodson@gmail.com --- https://source.winehq.org/git/wine.git/commitdiff/77f40d05817236966390def672...
Does this commit fix it. If so, we can mark this as a duplicate of bug 44796.
https://bugs.winehq.org/show_bug.cgi?id=45893
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=47380
https://bugs.winehq.org/show_bug.cgi?id=45893
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asdfghrbljzmkd@outlook.com
--- Comment #2 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- Wine Staging 4.21 is still affected. Even the game's software renderer is affected heavily.
https://bugs.winehq.org/show_bug.cgi?id=45893
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Bug is still there with wine-7.10 wine midtrial.exe 0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\atksgt": c0000142 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"atksgt" failed to start: 1114 0084:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\lirsgt": c0000142 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"lirsgt" failed to start: 1114 00bc:fixme:wineusb:add_usb_device Interface 1 has 6 alternate settings; using the first one. 00bc:fixme:wineusb:add_usb_device Interface 1 has 8 alternate settings; using the first one. SetPRocessAffinityMask found and called. ERROR: ************* EXCEPTION CATCHING DISABLED! Please don't commit this.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0024:fixme:imm:ImeSetActiveContext (0073A3E0, 1): stub 0024:fixme:imm:ImmReleaseContext (00010060, 0073A3E0): stub 0098:fixme:imm:ImeSetActiveContext (0014C3C8, 0): stub 0098:fixme:imm:ImmReleaseContext (00010020, 0014C3C8): stub 0024:fixme:ddraw:DirectDrawEnumerateExA flags 0x6 not handled 0024:fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. 0024:fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? Saving file `tune/widgettest.csv' Saving file `tune/menutest.csv' 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 0024:fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. 0024:fixme:ddraw:d3d_device7_GetRenderState Unhandled render state D3DRENDERSTATE_BORDERCOLOR. 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 0024:fixme:ddraw:ddraw_surface1_Flip Ignoring flags 0x1. 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 014c:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 0178:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
https://bugs.winehq.org/show_bug.cgi?id=45893
Anton Baskanov baskanov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |baskanov@gmail.com
--- Comment #4 from Anton Baskanov baskanov@gmail.com --- Created attachment 73295 --> https://bugs.winehq.org/attachment.cgi?id=73295 HACK to disable SetProcessAffinityMask().
The game calls SetProcessAffinityMask() at the beginning, forcing all threads to run on a single core. This causes the main and CS thread busy-waits to spin until the OS preempts it and schedules the other thread, which takes around 10ms on my machine. The attached hack fixes the performance for me.
https://bugs.winehq.org/show_bug.cgi?id=45893
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |z.figura12@gmail.com Fixed by SHA1| |f032ccc2715a5525601f741337a | |7bc7df6873c9d
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- Things seem fine with upstream Wine; assuming fixed by https://source.winehq.org/git/wine.git/commitdiff/f032ccc2715a5525601f741337a7bc7df6873c9d.
https://bugs.winehq.org/show_bug.cgi?id=45893
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.19.