http://bugs.winehq.org/show_bug.cgi?id=15056
Summary: Graphical glitches in the menu of The longest journey demo Product: Wine Version: 1.1.3 Platform: PC URL: http://www.longestjourney.com/download/demo/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: jeremielapuree@yahoo.fr
There are graphical glitches in the menu of the longest journey demo. This is a regression. Here is the first bad commit git-bisect good eb4ee4f4ada6d02aeb26b0e12964b208ecc68b52 is first bad commit commit eb4ee4f4ada6d02aeb26b0e12964b208ecc68b52 Author: Aric Stewart aric@codeweavers.com Date: Wed Jul 30 10:01:08 2008 -0500
wined3d: Rework surface Blt a bit to only lock the part of the destination surface being drawn to.
:040000 040000 d649467eb949d63e2b9b77c323b32303a74c9790 a528f360d6ed826afdab80fda5260ba5c245efe7 M dlls
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2008-08-28 13:50:21 --- Created an attachment (id=15713) --> (http://bugs.winehq.org/attachment.cgi?id=15713) wrong screenshot
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #2 from joaopa jeremielapuree@yahoo.fr 2008-08-28 13:51:23 --- Created an attachment (id=15714) --> (http://bugs.winehq.org/attachment.cgi?id=15714) good screenshot
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #3 from joaopa jeremielapuree@yahoo.fr 2008-08-28 13:54:30 --- Created an attachment (id=15715) --> (http://bugs.winehq.org/attachment.cgi?id=15715) WINEDEBUG=+ddrw,+d3d,+d3d_surface
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=15056
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15713|wrong screenshot |bad screenshot description| |
http://bugs.winehq.org/show_bug.cgi?id=15056
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=15056
Jeff Zaroyko jeffzaroyko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffzaroyko@gmail.com
--- Comment #4 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-09-01 10:37:25 --- eb4ee4f4ada6d02aeb26b0e12964b208ecc68b52 is first bad commit commit eb4ee4f4ada6d02aeb26b0e12964b208ecc68b52 Author: Aric Stewart aric@codeweavers.com Date: Wed Jul 30 10:01:08 2008 -0500
wined3d: Rework surface Blt a bit to only lock the part of the destination surface being drawn to.
:040000 040000 d649467eb949d63e2b9b77c323b32303a74c9790 a528f360d6ed826afdab80fda5260ba5c245efe7 M dlls
Also breaks the console text in Jedi Knight Dark Forces II: 20MB download available here: http://files.filefront.com/Star+Wars+Jedi+Knight+Dark+Forces+II+Demo/;305872...
To reproduce, start a new game and press t for console, notice that the text is cut in half or otherwise distorted
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #5 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-09-01 10:43:44 --- (In reply to comment #4)
To reproduce, start a new game and press t for console, notice that the text is cut in half or otherwise distorted
I forget to mention, if testing it might be a good idea to pass the -windowgui flag on the commandline else you run into bug 11090 where the menu items are redrawn incorrectly making it hard to start the game. Also affects Jedi Knight: Mysteries of the Sith.
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Austin English austinenglish@gmail.com 2008-09-02 10:59:47 --- Confirming then.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #7 from Aric Stewart aric@codeweavers.com 2008-09-02 11:24:48 --- Working with Stefan to explore more. However it is looking like a surface locking bug that my patch has revealed instead of a problem with my patch. More information as we work on it.
http://bugs.winehq.org/show_bug.cgi?id=15056
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=15056
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winebugs@mysteryvortex.com
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2008-09-06 11:19:06 --- *** Bug 15145 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #9 from joaopa jeremielapuree@yahoo.fr 2008-10-21 01:10:17 --- Bug still there in wine-1.1.6
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=15056
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.net
--- Comment #10 from Jörg Höhle hoehle@users.sourceforge.net 2008-10-26 03:28:22 --- Aric Stewart's commit has several effects on The Nations/Die Völker 2
+ One, very beneficial, is that animation in the menu is very responsive to the mouse movement and the intro video now run at normal speed. They were very slow and with an extreme lag w.r.t. the mouse before that.
+ Also, black horizontal line segments were displayed randomly and intermittently prior to this commit.
- The bad effect is that the mouse pointer is not drawn correctly anymore. Instead, it is surrounded by a black 64x63 (says GIMP) rectangle in which several pointers appear (the previous pointers are never cleared). This renders the game unplayable, as correct pointing is essential to it.
While in the menu, Wine continuously displays warn:d3d_surface:IWineD3DSurfaceImpl_BltOverride Src is in sysmem, rejecting gl blt (also found in the log from comment #3)
With [HKCU\Software\Wine\Direct3D\RenderTargetLockMode]="disabled", Neither pointer nor rectangle are drawn (yet the warning remains).
Maybe I should have opened a different bug issue? The "offending" commit may be the same as the OP's (see also bug #15553), yet the symptoms are very different.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #11 from Jörg Höhle hoehle@users.sourceforge.net 2008-12-03 04:14:12 --- Created an attachment (id=17604) --> (http://bugs.winehq.org/attachment.cgi?id=17604) screenshot showing 64x63 rectangle around cursor
The screenshot from "die Völker II / the Nations" shows the artifact that appeared around the software mouse cursor with Aric Stewart's commit. Alas, I did not manage to switch the game to using an X11 hardware cursor (that sometimes becomes visible, nailed amid the screen).
The application produces its own debug output: warn:debugstr:OutputDebugStringA createMouseCursor SoftwareMode: 0 warn:debugstr:OutputDebugStringA Creating hardware cursor preserve.
The rectangle bug seems to depend on the hardware or driver, since some other people have given this application silver rating, not mentioning this bug. My hardware is an Intel i915, using Ubuntu Intrepid.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #12 from Jörg Höhle hoehle@users.sourceforge.net 2008-12-18 07:01:04 --- After learning about bug #12766, where a cursor rectangle bug has been affecting a game since "all 0.9.x releases up to 0.9.60 and including the most recent git version", I now believe Aric Stewart's commit does not cause the rectangle cursor bug in "Die Völker 2/The Nations" mentioned in my comment #10. Rather than that, it simply uncovered it.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #13 from Stefan Dösinger stefandoesinger@gmx.at 2008-12-18 09:29:32 --- Yes, Aric's patch is not guilty here. The bug is in LockRect and/or UnlockRect. I promised to fix it a long time ago, but had lots of troubles with the upside down coordinate system again, got distracted and then forgot about the whole issue. I'll take a new shot at it asap.
http://bugs.winehq.org/show_bug.cgi?id=15056
Johannes Holzfuß Drangon@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Drangon@gmx.de
--- Comment #14 from Johannes Holzfuß Drangon@gmx.de 2008-12-26 18:18:17 --- This seems to have been fixed somewhere between wine-1.1.11 and the latest Git version.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #15 from Jeff Zaroyko jeffz@jeffz.name 2008-12-26 18:42:45 --- (In reply to comment #14)
This seems to have been fixed somewhere between wine-1.1.11 and the latest Git version.
The problem is still present with latest git wine-1.1.11-114-gae133b8, tested Jedi Knight: Dark Forces II demo.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #16 from Jeff Zaroyko jeffz@jeffz.name 2008-12-26 18:45:01 --- Created an attachment (id=18219) --> (http://bugs.winehq.org/attachment.cgi?id=18219) text at top of screen is not updated properly, blurs
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #17 from joaopa jeremielapuree@yahoo.fr 2008-12-27 02:50:32 --- jeff, can you change the mime type of your attachment?
http://bugs.winehq.org/show_bug.cgi?id=15056
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18219|application/octet-stream |image/jpeg mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #18 from Johannes Holzfuß Drangon@gmx.de 2008-12-27 04:19:10 --- Hm, I don't have Jedi Knight, but the cut up menu from The Longest Journey (see initial screenshots) seems fixed for me in wine-1.1.11-153-g424cb27 (sorry, should have mentioned all that in the first place). The menu is fine now, except for the pinkish text (bug 9084).
I just recompiled it for wine-1.1.11-114-gae133b8 and it was still broken there, so the fix must have been between these two versions. If it would be helpful, I could run a regression test to see when exactly it was fixed.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #19 from Johannes Holzfuß Drangon@gmx.de 2008-12-27 05:16:45 --- I found and installed the Jedi Knight demo now. I didn't get very far with it, in either of the mentioned git-revisions. The menu there seems to get cut up completely once it tries to highlight the menu option I am pointing to. There were other issues, and I didn't get to test the blurry text.
I'll attach two screenshots, one showing TLJ fixed, and another one for a cut up Jedi Knight menu.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #20 from Johannes Holzfuß Drangon@gmx.de 2008-12-27 05:18:49 --- Created an attachment (id=18232) --> (http://bugs.winehq.org/attachment.cgi?id=18232) The Longest Journey Demo 1.61 menu, not cut up anymore
wine-1.1.11-153-g424cb27
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #21 from Johannes Holzfuß Drangon@gmx.de 2008-12-27 05:23:40 --- Created an attachment (id=18233) --> (http://bugs.winehq.org/attachment.cgi?id=18233) A menu from the Jedi Knight demo, completely cut up
Demo downloaded from http://files.filefront.com/Star+Wars+Jedi+Knight+Dark+Forces+II+Demo/;305872...
http://bugs.winehq.org/show_bug.cgi?id=15056
Johannes Holzfuß Drangon@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18233|application/octet-stream |image/png mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #22 from Jeff Zaroyko jeffz@jeffz.name 2008-12-27 05:42:50 --- (In reply to comment #21)
Created an attachment (id=18233)
--> (http://bugs.winehq.org/attachment.cgi?id=18233) [details]
A menu from the Jedi Knight demo, completely cut up
Demo downloaded from http://files.filefront.com/Star+Wars+Jedi+Knight+Dark+Forces+II+Demo/;305872...
This bug isn't about the Jedi Knight menu, that bug has always existed in Wine (bug 11090), this bug is about the messages displayed at the top of the screen in-game, eg when you press q to cycle through force powers as introduced by the commit eb4ee4f4ada6d02aeb26b0e12964b208ecc68b52.
Start the demo with the '-windowgui' flag to make the menu windowed so that you can see the menu options properly. In both display modes (with 3d accel ticked in display options or unticked) the text isn't drawn properly in game.
http://bugs.winehq.org/show_bug.cgi?id=15056
Johannes Holzfuß Drangon@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18233|0 |1 is obsolete| |
--- Comment #23 from Johannes Holzfuß Drangon@gmx.de 2008-12-27 08:30:48 --- Created an attachment (id=18238) --> (http://bugs.winehq.org/attachment.cgi?id=18238) Jedi Knight: comparison of wine-1.1.11 and wine-1.1.11-153-g424cb27
This bug isn't about the Jedi Knight menu, that bug has always existed in Wine (bug 11090) [snip]
Okay, sorry. It just seemed so similar to the TLJ bug. :-/
Start the demo with the '-windowgui' flag to make the menu windowed so that you can see the menu options properly. In both display modes (with 3d accel ticked in display options or unticked) the text isn't drawn properly in game.
Okay, I did that.
In 3d accelerated mode it seems to work well with the latest Git revision, where Wine-1.1.11 still had small problems. Without 3D acceleration it is still broken (see attachment).
I was careful to exit and restart the game between screenshots, so there should have been no 'pollution'.
My graphics card is an nvidia GeForce 8600M GT, running the proprietary drivers supplied by Ubuntu 8.10 (177.82-0ubuntu0.1), in case that matters.
As a side-note, I'll wait for the next official release before reporting that something has seemingly been fixed in the future -- that will probably save all people involved some hassle. I am sorry for any inconvenience I caused.
http://bugs.winehq.org/show_bug.cgi?id=15056
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hoehle@users.sourceforge.net|
http://bugs.winehq.org/show_bug.cgi?id=15056
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from joaopa jeremielapuree@yahoo.fr 2009-03-04 11:48:50 --- bug fixed in current git.
http://bugs.winehq.org/show_bug.cgi?id=15056
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #25 from Jeff Zaroyko jeffz@jeffz.name 2009-03-04 15:57:44 --- still exists in Jedi Knight: Dark Forces II demo
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #26 from Jeff Zaroyko jeffz@jeffz.name 2009-03-25 20:02:39 --- (In reply to comment #25)
still exists in Jedi Knight: Dark Forces II demo
still present wine-1.1.17-140-g25c2e28
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #27 from Jeff Zaroyko jeffz@jeffz.name 2009-05-09 03:42:41 --- (In reply to comment #26)
(In reply to comment #25)
still exists in Jedi Knight: Dark Forces II demo
still present wine-1.1.17-140-g25c2e28
still present with wine-1.1.21
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #28 from Jeff Zaroyko jeffz@jeffz.name 2009-06-27 01:00:51 --- (In reply to comment #27)
(In reply to comment #26)
(In reply to comment #25)
still exists in Jedi Knight: Dark Forces II demo
still present wine-1.1.17-140-g25c2e28
still present with wine-1.1.21
still present with wine-1.1.24
http://bugs.winehq.org/show_bug.cgi?id=15056
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #29 from Jeff Zaroyko jeffz@jeffz.name 2009-08-22 23:48:55 --- (In reply to comment #28)
(In reply to comment #27)
(In reply to comment #26)
(In reply to comment #25)
still exists in Jedi Knight: Dark Forces II demo
still present wine-1.1.17-140-g25c2e28
still present with wine-1.1.21
still present with wine-1.1.24
Fixed in 1.1.28.
http://bugs.winehq.org/show_bug.cgi?id=15056
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org 2009-09-02 14:17:34 --- Closing bugs fixed in 1.1.29.
http://bugs.winehq.org/show_bug.cgi?id=15056
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #31 from markk@clara.co.uk 2010-07-16 15:08:09 --- Bug 15145, "Icons surrounded by squares Prince of Persia 3D" was marked as a duplicate of this bug.
I just tested the Prince of Persia 3D demo available from http://www.fileplanet.com/22571/download/Prince-of-Persia-Demo in Wine 1.2rc6. The icons at the bottom of the screen are surrounded by (usually black) squares as mentioned in the description for bug 15145.
Can someone else test the PoP 3D demo? Maybe this bug or bug 15145 need to be reopened.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #32 from Jeff Zaroyko jeffz@jeffz.name 2010-07-16 22:43:40 --- (In reply to comment #31)
Bug 15145, "Icons surrounded by squares Prince of Persia 3D" was marked as a duplicate of this bug.
I just tested the Prince of Persia 3D demo available from http://www.fileplanet.com/22571/download/Prince-of-Persia-Demo in Wine 1.2rc6. The icons at the bottom of the screen are surrounded by (usually black) squares as mentioned in the description for bug 15145.
Can someone else test the PoP 3D demo? Maybe this bug or bug 15145 need to be reopened.
Did you test in 1.1.28? If it's not working in that release, probably best to reopen bug 15145, since two applications were confirmed fixed in this bug already.
If it is working in 1.1.28, then a new bug should be filed.
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #33 from markk@clara.co.uk 2010-07-17 08:38:57 --- Created an attachment (id=29650) --> (http://bugs.winehq.org/attachment.cgi?id=29650) Windows screenshot 1
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #34 from markk@clara.co.uk 2010-07-17 08:39:20 --- Created an attachment (id=29651) --> (http://bugs.winehq.org/attachment.cgi?id=29651) Windows screenshot 2
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #35 from markk@clara.co.uk 2010-07-17 08:39:44 --- Created an attachment (id=29652) --> (http://bugs.winehq.org/attachment.cgi?id=29652) Wine screenshot 1
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #36 from markk@clara.co.uk 2010-07-17 08:40:04 --- Created an attachment (id=29653) --> (http://bugs.winehq.org/attachment.cgi?id=29653) Wine screenshot 2
http://bugs.winehq.org/show_bug.cgi?id=15056
--- Comment #37 from markk@clara.co.uk 2010-07-17 08:41:13 --- Ack, attached the pictures to wrong bug. Sorry! Can someone delete them from this bug?
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29650|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29651|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29652|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29653|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=15056
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d