https://bugs.winehq.org/show_bug.cgi?id=47683
Bug ID: 47683 Summary: C&C Tiberian SUN Not Responding in Main Menu w\ Wine 4.6 and later. Product: Wine Version: 4.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Commander.Alchemy@gmail.com Distribution: ---
Created attachment 65140 --> https://bugs.winehq.org/attachment.cgi?id=65140 Winedbg w\ Wine 4.6
Hi,
C&C Tiberian Sun does not respond with Wine 4.6 and Later.
Testcase that passes with Wine 4.5 or older.
1. Game launches 2. Intro 3. Game provides menu to choose: Tiberian Sun or Tiberian Sun Firestorm (expansion) 4. Game main menu 5. Game sub menu
With Wine 4.6; 1. Game launches 2. Intro does not display, but audio plays. (think it has to do with the switching resolution error in logs). Display is loading the new res. 3. Game provides the expansion menu. 4. Renders main menu. 5. Does not render at all. You can hear the sounds of it reacting but nothing renders, clicking esc makes the [4. Main menu] responsive to clicks again.
System; Archlinux x86_64 Nvidia 430.40 Wine from PlayOnLinux Fresh ~/.wine folder each run.
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #1 from Commander Commander.Alchemy@gmail.com --- Created attachment 65141 --> https://bugs.winehq.org/attachment.cgi?id=65141 Winedbg w\ Wine 4.5
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #2 from Commander Commander.Alchemy@gmail.com --- Created attachment 65142 --> https://bugs.winehq.org/attachment.cgi?id=65142 Winedbg w\ Wine-Staging 4.14
https://bugs.winehq.org/show_bug.cgi?id=47683
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Keywords| |download, regression Status|UNCONFIRMED |NEW URL| |https://www.moddb.com/games | |/cc-tiberian-sun/downloads/ | |cc-tiberian-sun-with-firest | |orm-free-full-game Ever confirmed|0 |1
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- First off, thanks for the bugreport. I love this game, and the sooner a regression is reported the easier it is to fix.
Second, PlayOnLinux is not supported here. In the future, please test with normal wine or wine-staging. In this case however, I can confirm this issue is valid. I also attached a download link since the game has become freeware.
I'll do a regression test tomorrow, to find out what exactly in wine-4.6 broke it.
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #4 from Commander Commander.Alchemy@gmail.com --- (In reply to Fabian Maurer from comment #3)
First off, thanks for the bugreport. I love this game, and the sooner a regression is reported the easier it is to fix.
Second, PlayOnLinux is not supported here. In the future, please test with normal wine or wine-staging. In this case however, I can confirm this issue is valid. I also attached a download link since the game has become freeware.
I'll do a regression test tomorrow, to find out what exactly in wine-4.6 broke it.
Great, thank you.
One thing though i did only use playonlinux to get precompiled wine version instead of compiling every version myself.
Is there any repo like playonlinux got where you can download specific versions?
Best Regards
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #5 from Fabian Maurer dark.shadow4@web.de ---
One thing though i did only use playonlinux to get precompiled wine version instead of compiling every version myself.
Understandable. I guess that's okay as long as it's crosstested against vanilla wine. It's just that sometimes POL behaves differently, what makes bug investigating a bit troublesome. I for my part simply keep all the wine packages for my distro (Arch) so I can go back anytime I want.
The winehq packages go back to 2.x, they should have every version. Arch keeps an archive too: https://wiki.archlinux.org/index.php/Arch_Linux_Archive
https://bugs.winehq.org/show_bug.cgi?id=47683
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com, | |mgorrell@codeweavers.com Regression SHA1| |0cb79db12ac7c48477518dcff26 | |9ccc5d6b745e0
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Bisected to
commit 0cb79db12ac7c48477518dcff269ccc5d6b745e0 Author: Micah N Gorrell mgorrell@codeweavers.com Date: Wed Apr 10 13:04:18 2019 -0600
winex11.drv: Recreate gl_drawable for top-level windows as non-top level when clipping for child windows is required.
Prevent creating a gl_drawable for a window as type DC_GL_WINDOW if there are known children of the window, since DC_GL_WINDOW does not support clipping.
Recreate a gl_drawable that was previously create as type DC_GL_WINDOW when a child is encountered.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=15232 Signed-off-by: Micah N Gorrell mgorrell@codeweavers.com Signed-off-by: Ken Thomases ken@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
CCing the committer and reviewer. Can you please take a look?
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Forgot to mention, it reverts cleanly and reverting fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #8 from Micah N Gorrell mgorrell@codeweavers.com --- (In reply to Fabian Maurer from comment #6)
Bisected to
commit 0cb79db12ac7c48477518dcff269ccc5d6b745e0 Author: Micah N Gorrell mgorrell@codeweavers.com Date: Wed Apr 10 13:04:18 2019 -0600
winex11.drv: Recreate gl_drawable for top-level windows as non-top level
when clipping for child windows is required.
Prevent creating a gl_drawable for a window as type DC_GL_WINDOW if there are known children of the window, since DC_GL_WINDOW does not support clipping. Recreate a gl_drawable that was previously create as type DC_GL_WINDOW when a child is encountered. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=15232 Signed-off-by: Micah N Gorrell <mgorrell@codeweavers.com> Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
CCing the committer and reviewer. Can you please take a look?
Interesting. I'd like to see what the child windows that are triggering the recreation are. I did a quick search on steam for the game and I see other C&C titles but not this one. Do you know if any of the others show the same behavior?
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Command and Conquer 3 does not show the same issue, but Red Alert 2 is affected badly. Is there anything I could help here?
https://bugs.winehq.org/show_bug.cgi?id=47683
--- Comment #10 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Micah N Gorrell from comment #8)
Interesting. I'd like to see what the child windows that are triggering the recreation are. I did a quick search on steam for the game and I see other C&C titles but not this one. Do you know if any of the others show the same behavior?
The game is free and downloadable from the link in the URL field.
https://bugs.winehq.org/show_bug.cgi?id=47683
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #11 from Paul Gofman gofmanp@gmail.com --- Created attachment 65272 --> https://bugs.winehq.org/attachment.cgi?id=65272 Test patch
Just in case, I am attaching my latest hack from the time I was providing some debug to Micah for Bug #47036, which may happen to be somewhat similar. This patch was fixing "C&C Red Alert 2 Yuri's Revenge" for me.
https://bugs.winehq.org/show_bug.cgi?id=47683
someuniquename@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |someuniquename@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47683
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #12 from Fabian Maurer dark.shadow4@web.de --- Most likely the same issue as bug 47036.
*** This bug has been marked as a duplicate of bug 47036 ***
https://bugs.winehq.org/show_bug.cgi?id=47683
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.