http://bugs.winehq.org/show_bug.cgi?id=24598
Summary: And Yet It Moves gives only black screen Product: Wine Version: 1.3.4 Platform: x86 URL: http://www.andyetitmoves.net/demo/And%20Yet%20It%20Mov es%20Demo%20v1.1.1%20Setup.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: nerv@dawncrow.de
Created an attachment (id=31063) --> (http://bugs.winehq.org/attachment.cgi?id=31063) console output
The game (latest version is 1.1.1) shows a totally black screen on startup. Even if I set a virtual desktop sized smaller than my display resolution, my whole desktop turns into black. I cannot alt-tab back to the window manager either. Actually, the game is running: if you wait for a minute you can hear the music of the main menu, but you cannot see anything.
The issue is reproducible in the demo, too.
The game started correctly in Wine-1.1.29 for me and here's the result of my regression testing:
7b285a4ebd63eab428e968968ca398cc1076324a is the first bad commit commit 7b285a4ebd63eab428e968968ca398cc1076324a Author: André Hentschel nerv@dawncrow.de Date: Sat Sep 19 19:08:09 2009 +0200
winex11: Add alternative header for xf86vm.
:100755 100755 e32773bbe4d75257918f86bb748649899ae9ca82 ae5beac96d9f3775866584d10d0951f9e4c13bc5 M configure :100644 100644 ac5a8613be96bea84c73e52414eb37cdff3cf437 0f37bc75d952b71aa51bfa184d95f62aae489a09 M configure.ac :040000 040000 0b13bdb9fcc6833c075e19e2b60d31496439a78a fa6f97b5e92f91457fc0bb5f0e9e490641faaffd M dlls :040000 040000 3fbdaf6dd278ebeb0ad4141ff3e0c2c5a77bcff9 635be6c8e884b6af4b56b0eb487c47eedccba58d M include
Reverting the patch on top of Wine-1.3.4 was successful and that fixed the issue.
Author of the patch added to CC.
Wine-1.3.4 compiled from source Fedora 13 Xorg-1.8.2 from Fedora's repository (all header files needed to compile Wine are installed) Nvidia 7600 / driver 256.53
http://bugs.winehq.org/show_bug.cgi?id=24598
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #1 from GyB gyebro69@gmail.com 2010-10-02 05:53:17 CDT --- I found a way to restore my desktop after the black screen, without restarting the X server: In the terminal you launched the game kill the process by CTRL+C and type blindly: nvidia-settings <Enter>. This opens up the Nvidia control panel and restores the screen. Of course, this only works if you have the Nvidia proprietary drivers are installed.
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #2 from André H. nerv@dawncrow.de 2010-10-02 06:59:40 CDT --- Created an attachment (id=31064) --> (http://bugs.winehq.org/attachment.cgi?id=31064) use only one of the headers
Hi, the patch was for bug 20070. I am suprised that this causes errors. Can you please try the attached patch
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #3 from GyB gyebro69@gmail.com 2010-10-02 07:18:36 CDT --- The patch works and the game now starts correctly.
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #4 from GyB gyebro69@gmail.com 2010-10-02 07:43:53 CDT --- Well..it might be a dupe of bug #12912. I remembered testing the application in #12912 a couple of months ago, but it was reported against Wine-0.9.60 so I didn't know it is a regression. At least the symptoms were the same and I gave it a try again. André's patch fixes the issue in that app, too.
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #5 from André H. nerv@dawncrow.de 2010-10-02 08:09:07 CDT --- patch sent
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #6 from André H. nerv@dawncrow.de 2010-10-04 12:00:06 CDT --- patch was rejected. i am not a winex11 pro, so i have actually no idea and no time. sry. i just added the header back than to fix bug 20070.
http://bugs.winehq.org/show_bug.cgi?id=24598
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31064|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=24598
David davidsboogs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |davidsboogs@gmail.com
--- Comment #7 from David davidsboogs@gmail.com 2010-11-26 16:39:26 CST --- Steam had a bundle on sale that included this, so now I get to report that it's not just GyB. Kubuntu 10.04, nVidia Corporation G98M [GeForce G 105M] (rev a1), Wine 1.3.6-0ubuntu1~lucidppa1
Since I don't want to recompile wine every new release, is there anyway we users (with a little dev experience) can help try to get the patch into an acceptable state so it can be merged?
http://bugs.winehq.org/show_bug.cgi?id=24598
Mr Nobody limited_choice@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |limited_choice@hotmail.com
--- Comment #8 from Mr Nobody limited_choice@hotmail.com 2010-11-30 22:09:23 CST --- (In reply to comment #7)
Steam had a bundle on sale that included this, so now I get to report that it's not just GyB. Kubuntu 10.04, nVidia Corporation G98M [GeForce G 105M] (rev a1), Wine 1.3.6-0ubuntu1~lucidppa1
Since I don't want to recompile wine every new release, is there anyway we users (with a little dev experience) can help try to get the patch into an acceptable state so it can be merged?
Against crossover-games 9.2
With linux -- blackscreen, all else mentioned apparent (btw, ctrl-alt-backspace will restore X for relogin)...strange it bollocks X so hard. Does not honor emulate virtual desktop at all -- Steam version comes with config.xml file -- editing this so that 'fullscreen=false' has no effect, app still goes for a fullscreen blackness startup. Sound is working, mousing about in blackness triggers sound events.
With crossover-games-9.2 and OSX (10.6.5) there is no apparent issues running this steamapp...works at gold or such...
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #9 from Vincent Povirk madewokherd@gmail.com 2011-01-20 12:13:07 CST --- I spent some time poking at this but haven't found the cause. It looks like the game checks the original gamma when it starts, then restores the original value when it exits. So I'm guessing it does some calculation of the in-game gamma that fails.
http://bugs.winehq.org/show_bug.cgi?id=24598
Luis Alvarado luisalvaradox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luisalvaradox@gmail.com
--- Comment #10 from Luis Alvarado luisalvaradox@gmail.com 2011-05-01 14:28:46 CDT --- i can cofirm. THe black screen appears after starting the game and stays there. It even goes fullscreen even though i told wind to use 1024x768 (even while using the command like /desktop=name,1024x768)
http://bugs.winehq.org/show_bug.cgi?id=24598
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |7b285a4ebd63eab428e968968ca | |398cc1076324a
http://bugs.winehq.org/show_bug.cgi?id=24598
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from André H. nerv@dawncrow.de 2011-08-09 13:22:18 CDT --- confirmed by enough comments
(In reply to comment #9)
I spent some time poking at this but haven't found the cause. It looks like the game checks the original gamma when it starts, then restores the original value when it exits. So I'm guessing it does some calculation of the in-game gamma that fails.
The gamma code is quite old and my patch enabled more of it again with newer Distros/X11. I would like to trace that down some more, but i have none of the failing games nor a testcase. We should at least have a +xvidmode log here, that would be great.
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #12 from GyB gyebro69@gmail.com 2011-08-09 13:31:39 CDT --- Created an attachment (id=35900) --> (http://bugs.winehq.org/attachment.cgi?id=35900) +xvidmode debug log (Wine-1.3.26)
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #13 from André H. nerv@dawncrow.de 2011-08-09 15:38:39 CDT --- thx for the log
workaround: switch to console(e.g. tty1) and run: xgamma -gamma 1.0
i'm working on a fix
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #14 from André H. nerv@dawncrow.de 2011-08-10 16:01:39 CDT --- just sent a patchset, the bug fix is in: http://www.winehq.org/pipermail/wine-patches/2011-August/105372.html
http://bugs.winehq.org/show_bug.cgi?id=24598
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31063|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #15 from GyB gyebro69@gmail.com 2011-08-10 21:57:27 CDT --- The patch fixes the problem not just in And Yet It Moves but in Torque Game Builder (bug #12912), too.
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #16 from GyB gyebro69@gmail.com 2011-08-21 02:06:51 CDT --- I came across another game, GODS: Lands of Infinity, which is also affected by commit 7b285a4ebd63eab428e968968ca398cc1076324a winex11: Add alternative header for xf86vm.
Unlike And Yet It Moves, GODS sets the gamma to a very bright level on startup and the screen appears in glowing white with some psychedelic colors. Not just the game window but the whole Gnome desktop turns to white so I hardly see anything.
The workaround, setting 'xgamma -gamma 1.0' while the game is running fixes the problem. However, the patch in comment #14 didn't work in the case of GODS. Does that mean it should be reported as a separate bug?
The demo for GODS:LoI (312 MB download size): http://www.fileplanet.com/156544/150000/fileinfo/GODS:-Lands-of-Infinity-Dem...
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #17 from André H. nerv@dawncrow.de 2011-08-21 06:43:12 CDT --- Created an attachment (id=36062) --> (http://bugs.winehq.org/attachment.cgi?id=36062) tracing patch
Downloading takes quite long here. Instead could you please use this patch on top of wine-1.3.26 and attach a trace with +xvidmode of that game (the patch also should hack around the bug)
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #18 from GyB gyebro69@gmail.com 2011-08-21 07:23:42 CDT --- Created an attachment (id=36065) --> (http://bugs.winehq.org/attachment.cgi?id=36065) 7zipped +xvidmode log (uncompressed 2.2 MB)
Indeed, with the newly attached patch the problem seems to go away. As a consequence of the patch, brightness control became ineffective in the game's option menu.
Here's how the attached log was created: I also added -d3d,-d3d_texture debug channels to suppress the millions of fixmes. I started the game (a long loading stage is coming) then I skipped the intro videos. When the menu appeared I went to Options and tried to change the brightness level (it had no effect).
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #19 from André H. nerv@dawncrow.de 2011-08-21 07:32:45 CDT ---
Indeed, with the newly attached patch the problem seems to go away. As a consequence of the patch, brightness control became ineffective in the game's option menu.
Of course, the patch deactivates the gamma setting. What seems harder is that the curves seems valid (too bright, but valid) so it's ok to accept them. The problem might be that some calculation with a value from somewhere else results in that bright curve. This means it should be a seperate bug (feel free to CC me when you create one)
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #20 from GyB gyebro69@gmail.com 2011-08-21 08:02:16 CDT --- (In reply to comment #19)
Indeed, with the newly attached patch the problem seems to go away. As a consequence of the patch, brightness control became ineffective in the game's option menu.
Of course, the patch deactivates the gamma setting. What seems harder is that the curves seems valid (too bright, but valid) so it's ok to accept them. The problem might be that some calculation with a value from somewhere else results in that bright curve. This means it should be a seperate bug (feel free to CC me when you create one)
I opened bug #24598 for the problem in Gods:LoI.
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #21 from GyB gyebro69@gmail.com 2011-08-21 08:03:14 CDT --- Sorry, I meant bug #28146 was opened...
http://bugs.winehq.org/show_bug.cgi?id=24598
--- Comment #22 from Mr Nobody limited_choice@hotmail.com 2011-08-21 16:29:44 CDT --- (In reply to comment #15)
The patch fixes the problem not just in And Yet It Moves but in Torque Game Builder (bug #12912), too.
..ftr, the patch also fixes S.P.A.Z. in this regard - it uses the Torque engine
http://bugs.winehq.org/show_bug.cgi?id=24598
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Status|NEW |RESOLVED Component|-unknown |winex11.drv Resolution| |DUPLICATE Regression SHA1|7b285a4ebd63eab428e968968ca | |398cc1076324a |
--- Comment #23 from André H. nerv@dawncrow.de 2011-08-23 12:57:31 CDT --- in fact this wasn't a regression in the real meaning IMHO but a dup of bug 12912. my patch just enabled you to see the existing bug with newer headers.
*** This bug has been marked as a duplicate of bug 12912 ***
http://bugs.winehq.org/show_bug.cgi?id=24598
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from GyB gyebro69@gmail.com 2011-08-23 13:53:55 CDT --- Closing