https://bugs.winehq.org/show_bug.cgi?id=37658
Bug ID: 37658 Summary: Endless Space crashes on startup, regression Product: Wine Version: 1.7.32 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: m1@olson.eu Distribution: ---
Created attachment 50116 --> https://bugs.winehq.org/attachment.cgi?id=50116 Error Message Displayed
Running the Steam version of Endless Space with wine 1.7.32 causes the game to crash on startup with the error: "Couldn't switch to requested monitor resolution" (See complete error message in attachment).
The error does not persist when downgrading wine to any recent version below and including 1.7.31. Thus this must be a regression caused by something in 1.7.32. Tested on both Ubuntu & Arch Linux with both an NVIDIA (proprietary drivers) and Intel GPU.
Unfortunately, due to network constraints, I am unable to peform a proper regression test.
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #1 from CMOlson m1@olson.eu --- Created attachment 50117 --> https://bugs.winehq.org/attachment.cgi?id=50117 Console Output
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #2 from CMOlson m1@olson.eu --- Created attachment 50118 --> https://bugs.winehq.org/attachment.cgi?id=50118 Backtrace
https://bugs.winehq.org/show_bug.cgi?id=37658
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Please try to perform a regression test, so we can add the author of the corresponding commit to this bug report. Just follow the steps on: http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- I just noticed that you have most probably still have the Steam gameoverlay enabled, which can also cause crashes under specific circumstances. Please try to disable it in the Steam game settings, to ensure that this is not related to the crash (unlikely, but ...).
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #5 from CMOlson m1@olson.eu --- (In reply to Sebastian Lackner from comment #4)
I just noticed that you have most probably still have the Steam gameoverlay enabled, which can also cause crashes under specific circumstances. Please try to disable it in the Steam game settings, to ensure that this is not related to the crash (unlikely, but ...).
Disabling or enabling the steam overlay makes no difference in this particular case. I usually keep it disabled to be on the safe site anyway.
https://bugs.winehq.org/show_bug.cgi?id=37658
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Endless Space crashes on |Endless Space crashes on |startup, regression |startup
https://bugs.winehq.org/show_bug.cgi?id=37658
CMOlson m1@olson.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com Regression SHA1| |09a91231a689e5ef8550ef2517d | |e2dc40e0a75b0
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #6 from CMOlson m1@olson.eu --- Ok, regression testing done. Result:
09a91231a689e5ef8550ef2517de2dc40e0a75b0 is the first bad commit commit 09a91231a689e5ef8550ef2517de2dc40e0a75b0 Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Nov 19 20:13:50 2014 +0100
wined3d: Set the device window size on focus window activation.
:040000 040000 d7e051e35281c45195410a21204de562cc624159 163e620175b4de782df7861bc1182fc7b6ef699c Mdlls
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #7 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 50124 --> https://bugs.winehq.org/attachment.cgi?id=50124 wined3d: Filter messages generated by focus handling.
Does this patch help?
Tests show that the patch is correct. The issue with it is that it adds yet another ddraw-specific behavior flag for window setup handling, raising the question if it wouldn't be better to move window and mode handling into ddraw/d3d8/d3d9.
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #8 from CMOlson m1@olson.eu --- (In reply to Stefan Dösinger from comment #7)
Created attachment 50124 [details] wined3d: Filter messages generated by focus handling.
Does this patch help?
Tests show that the patch is correct. The issue with it is that it adds yet another ddraw-specific behavior flag for window setup handling, raising the question if it wouldn't be better to move window and mode handling into ddraw/d3d8/d3d9.
Yes, the patch works perfectly, the game now runs again.
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #9 from Stefan Dösinger stefan@codeweavers.com --- Patch submitted: http://source.winehq.org/patches/data/108039 .
https://bugs.winehq.org/show_bug.cgi?id=37658
Giovanni Mariani mc2374@mclink.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mc2374@mclink.it
--- Comment #10 from Giovanni Mariani mc2374@mclink.it --- I get no such error with wine 1.7.32 and Endless Space on Steam. Rosa Linux 2012.1 R3 (OpenMandriva derivative), Radeon HD7570 with radeon free driver from Mesa 10.3.4, kernel 3.17.4. However I always run Steam in windowed mode, so perhaps that makes the difference...
https://bugs.winehq.org/show_bug.cgi?id=37658
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- Patch was committed: http://source.winehq.org/git/wine.git/commit/19c860499a12495e8f7a7cb2909fa94...
https://bugs.winehq.org/show_bug.cgi?id=37658
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |19c860499a12495e8f7a7cb2909 | |fa948e24261d6 Status|UNCONFIRMED |RESOLVED CC| |gyebro69@gmail.com Component|-unknown |directx-d3d Resolution|--- |FIXED
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- I confirm that this bug is fixed and Endless Space starts without issues, tested with wine-1.7.33-40-gca51e11. This regression caused many Unity-based games fail to start just like Endless Space.
https://bugs.winehq.org/show_bug.cgi?id=37658
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.34.