http://bugs.winehq.org/show_bug.cgi?id=26165
Summary: Wine 1.2.2: "Cannot change screen BPP from 32 to 8" - GTA free download Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: zizka@seznam.cz
Created an attachment (id=33339) --> (http://bugs.winehq.org/attachment.cgi?id=33339) Wine GTA stacktrace
wine-1.2.2, running GTA 1 (free download from rockstar.com)
I've set winecfg to run in an emulated desktop, disabled HW sound acceleration, and run Grand\ Theft\ Auto.exe.
This resulted into Wine suggesting me filing a bug.
Stackgrace attached. Excerpt:
------ fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 wine: Unhandled page fault on read access to 0xffff0012 at address 0xffff0012 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0xffff0012 in 32-bit code (0xffff0012). ------
Thanks
http://bugs.winehq.org/show_bug.cgi?id=26165
--- Comment #1 from Ondra Zizka zizka@seznam.cz 2011-02-19 02:25:14 CST --- Now I've tried with Wine 1.3.14.
1.2.2 crashed when launching the app.
1.3.14 - menu is working, but when the game should switch to the actual gameplay, it crashes again with:
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 fixme:d3d:swapchain_init The application requested 7 back buffers, this is not supported. fixme:ddraw:device_parent_CreateSwapChain (0x159164) CreateSwapChain failed, returning 0x8876086c wine: Unhandled page fault on read access to 0x00000000 at address 0x7e3633d4 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7e3633d4).
But nice to see a progress :)
I've seen some patch on the web, but that's for old wine and can't be applied to the current trunk. http://appdb.winehq.org/objectManager.php?sClass=version&iId=11752
I wish I was C coder to help with this.
http://bugs.winehq.org/show_bug.cgi?id=26165
--- Comment #2 from Ondra Zizka zizka@seznam.cz 2011-02-19 02:26:36 CST --- Created an attachment (id=33340) --> (http://bugs.winehq.org/attachment.cgi?id=33340) Wine 1.3.14 - 7 back buffers, not supported
http://bugs.winehq.org/show_bug.cgi?id=26165
Ondra Zizka zizka@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine 1.2.2: "Cannot change |Wine 1.3.14: "7 back |screen BPP from 32 to 8" - |buffers, this is not |GTA free download |supported" (with potential | |patch URL)
http://bugs.winehq.org/show_bug.cgi?id=26165
Ondra Zizka zizka@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias| |GTA
http://bugs.winehq.org/show_bug.cgi?id=26165
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Version|unspecified |1.3.14 Resolution| |INVALID Summary|Wine 1.3.14: "7 back |GTA crashes |buffers, this is not | |supported" (with potential | |patch URL) | Alias|GTA |
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2011-02-19 03:04:55 CST --- (In reply to comment #0)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
You need to fix your X11 configuration, please consult user support forums how to do that. If after fixing it the game still crashes feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=26165
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2011-02-19 03:05:06 CST --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=26165
Ondra Zizka zizka@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #5 from Ondra Zizka zizka@seznam.cz 2011-02-20 21:11:17 CST --- Reopening:
"Cannot change screen BPP from 32 to 8" is not the problem. This appears for the menu, which works nice.
Anyway, I fixed my X11 conf, and this BPP errors are gone. Then, after menu, when the game is about to switch to 3D, this happens:
fixme:d3d:swapchain_init The application requested 7 back buffers, this is not supported. fixme:ddraw:device_parent_CreateSwapChain (0x15a984) CreateSwapChain failed, returning 0x8876086c wine: Unhandled page fault on read access to 0x00000000 at address 0x7e32e3d4 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7e32e3d4).
So as I said - I suggest to have a look at the patch linked at http://appdb.winehq.org/objectManager.php?sClass=version&iId=11752
Thanks, Ondra
http://bugs.winehq.org/show_bug.cgi?id=26165
Ondra Zizka zizka@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GTA crashes |swapchain_init The | |application requested 7 | |back buffers, this is not | |supported
http://bugs.winehq.org/show_bug.cgi?id=26165
--- Comment #6 from Ondra Zizka zizka@seznam.cz 2011-02-20 21:17:10 CST --- For anyone interested in the problem - nice explanation on wiki: http://en.wikipedia.org/wiki/Swap_Chain
http://bugs.winehq.org/show_bug.cgi?id=26165
--- Comment #7 from Ondra Zizka zizka@seznam.cz 2011-02-20 21:29:21 CST --- Created an attachment (id=33382) --> (http://bugs.winehq.org/attachment.cgi?id=33382) Patches from Pavel Prochazka
Attaching patches from Pavel Prochazka, downloaded from:
http://phoenix.inf.upol.cz/~prochapa/public_storage/wine-patches/multibuffer... http://phoenix.inf.upol.cz/~prochapa/public_storage/wine-patches/multibuffer... http://phoenix.inf.upol.cz/~prochapa/public_storage/wine-patches/multibuffer...
(just for the case they disappeared)
http://bugs.winehq.org/show_bug.cgi?id=26165
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|swapchain_init The |GTA crashes |application requested 7 | |back buffers, this is not | |supported |
http://bugs.winehq.org/show_bug.cgi?id=26165
Loïc Hoguin essen@dev-extend.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |essen@dev-extend.eu
--- Comment #8 from Loïc Hoguin essen@dev-extend.eu 2011-02-26 08:23:58 CST --- I also run into this issue (the 7 back buffers).
However it looks like a duplicate of Bug 15186.
http://bugs.winehq.org/show_bug.cgi?id=26165
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2011-02-26 13:02:03 CST --- Agreed, this is a dup. Thanks.
*** This bug has been marked as a duplicate of bug 15186 ***
http://bugs.winehq.org/show_bug.cgi?id=26165
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2011-02-26 13:02:42 CST --- Closing dup.