https://bugs.winehq.org/show_bug.cgi?id=46792
Bug ID: 46792 Summary: Europa Universalis III crashes after start Product: Wine Version: 4.3 Hardware: x86 URL: https://www.fileplanet.com/archive/p-44176/Europa-Univ ersalis-III-Demo OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: matteo.mystral@gmail.com Regression SHA1: bd7a48c25114983f53c2c05299444e982f5a5490 Distribution: ---
Created attachment 63812 --> https://bugs.winehq.org/attachment.cgi?id=63812 terminal output
The game shows a black screen for a second after starting then it crashes. Reverting commit bd7a48c25114983f53c2c05299444e982f5a5490 fixes the crash for me.
The problem can be reproduced in the demo version.
EU3_Demo.exe md5: 28eb4e4e7429b8fd455052cbf467cc0b
wine-4.3-136-g56f34c7489 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 418.42.02
https://bugs.winehq.org/show_bug.cgi?id=46792
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- Created attachment 63843 --> https://bugs.winehq.org/attachment.cgi?id=63843 Patch
Thank you for the bug report. It looks like there are multiple bugs related to adapter format... The culprit this time is:
0009:warn:d3d:wined3d_get_adapter_display_mode Overriding format WINED3DFMT_B8G8 R8X8_UNORM with stored format WINED3DFMT_B8G8R8A8_UNORM.
The patch I'm attaching fixes it for me. Can you test if it also helps with bug 46811?
https://bugs.winehq.org/show_bug.cgi?id=46792
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Matteo Bruni from comment #1)
Created attachment 63843 [details] Patch
Thank you for the bug report. It looks like there are multiple bugs related to adapter format... The culprit this time is:
0009:warn:d3d:wined3d_get_adapter_display_mode Overriding format WINED3DFMT_B8G8 R8X8_UNORM with stored format WINED3DFMT_B8G8R8A8_UNORM.
The patch I'm attaching fixes it for me. Can you test if it also helps with bug 46811?
Thank you for the patch, Matteo. It fixes the crash in EU3.
In the past 3 days I checked as many of my games as I could and found more than 50 games that are affected by commit bd7a48c25114983f53c2c05299444e982f5a5490. Most of the games crash immediately after start, some of them do start, but the main menu is obscured by solid colors thus the game is unplayable.
The proposed patch fixes the problem in most of the affected games, but there are a few exceptions though. I confirmed that the problem doesn't occur in those games by reverting bd7a48.
If you want to look into the issue in those games I can provide you some demos (where one exists).
MX vs. ATV Unleashed demo (crashes while loading to the menu): https://www.fileplanet.com/archive/p-36398/MX-vs-ATV-Unleashed-Demo
Tales of Monkey Island demo (crashes after start): https://www.fileplanet.com/archive/p-78155/Tales-of-Monkey-Island-Demo (in the launcher click the 'No thanks, just take me to the demo!' button in the lower right corner, then the big 'Launch free demo!' button to start the game).
Star Wars: Battlefront 2 (Classic, 2005) (Steam version, no demo available, crashes after start): https://store.steampowered.com/app/6060/Star_Wars_Battlefront_2_Classic_2005...
Sledgehammer / Gear Grinder (Steam version, no demo available, crashes after start): https://store.steampowered.com/app/285520/Sledgehammer__Gear_Grinder/
https://bugs.winehq.org/show_bug.cgi?id=46792
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com --- The patch also fixes the crash for Gas Guzzlers: Combat Carnage.
https://bugs.winehq.org/show_bug.cgi?id=46792
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #63843|0 |1 is obsolete| |
--- Comment #4 from Matteo Bruni matteo.mystral@gmail.com --- Created attachment 63857 --> https://bugs.winehq.org/attachment.cgi?id=63857 Patch v2
Thanks a lot Béla! I debugged the two games with demos you mentioned and I'm attaching an updated patch. Could you please retest the games that still have issues with this new patch?
https://bugs.winehq.org/show_bug.cgi?id=46792
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46792
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Well done, Matteo! The updated patch fixes the problem in all the remaining games on my "checklist". I'm afraid I won't be able to do such thorough testing until this weekend, but I think the latest version of the patch should deal with the most cardinal problems and hopefully the patch find it's way into 4.4. All those tests were done on Nvidia hardware, using the 418.42.04 binary drivers.
https://bugs.winehq.org/show_bug.cgi?id=46792
atbjyk akihiroyamaguchi1208@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |akihiroyamaguchi1208@gmail. | |com
--- Comment #6 from atbjyk akihiroyamaguchi1208@gmail.com --- https://bugs.winehq.org/show_bug.cgi?id=46579 It looks like the league of legends went well too. thanks!!
https://bugs.winehq.org/show_bug.cgi?id=46792
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |9fc282d682cfef466a3ee341b90 | |1f7081c0959e0 Resolution|--- |FIXED
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=9fc282d682cfef466a3ee341b...
https://bugs.winehq.org/show_bug.cgi?id=46792
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.4.