http://bugs.winehq.org/show_bug.cgi?id=29869
Bug #: 29869 Summary: Re-Volt is missing an HUD element Product: Wine Version: 1.4-rc3 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: hougaard.junior@gmail.com Classification: Unclassified
Created attachment 38819 --> http://bugs.winehq.org/attachment.cgi?id=38819 Loading screen of Re-Volt 1.2 Alpha 12.0107
For years the borders "(spru)" around the menus in Re-Volt have been missing in Wine and this is also the case with the Wine v1.4-rc3. All other HUD elements appear normally. I have been investigating this issue with a lot of help from Re-Volt 1.2 Patch developer Huki and he managed to compile a build of Re-Volt for me which doesn't suffer from this issue.
Here is what Huki wrote to me in an e-mail:
"Vertices of the quad used to draw the menu-box and borders (spru) were using z coordinate value of 300. Changing it to zero seems to be working (which was already the case for rest of the HUD parts). But the Z-Buffer is turned off during 2D drawing anyway, so the vertex z coordinate should be ignored (and it is when running natively in Windows). Perhaps Wine does not handle the Direct3D Z-Buffer Render State call IDirect3DDevice3::SetRenderState(D3DRENDERSTATE_ZENABLE, D3DZB_FALSE) properly."
The terminal output for Re-Volt 1.2 Alpha 12.0107 ("revolt.exe") and the modified Re-Volt build ("rvwine.exe") are identical to each other despite the now working borders in the latter build. http://pastebin.com/11kgQYGC http://pastebin.com/wdkpv9Cy
********************** REPRODUCING THIS BUG **********************
All versions of Re-Volt shows this issue including the free-to-use demo. Download the demo here: http://www.fileplanet.com/6256/0/0/0/1/section/Demos. The modified Re-Volt build is attached to this bug report but ONLY works if you apply the Re-Volt 1.2 Alpha 12.0107 patch first. You can download the patch here: http://rv12.zackattackgames.com/downloads/rv1.2a12.0107.exe.
After installing the patch, place the modified Re-Volt build inside the Re-Volt Demo folder.
NOTE: A few errors will appear while loading, but they can be skipped by pressing Enter. These errors occur only because the Re-Volt 1.2 patch is meant to be installed on retail versions of Re-Volt - they are not relevant.
http://bugs.winehq.org/show_bug.cgi?id=29869
--- Comment #1 from Bastian hougaard.junior@gmail.com 2012-02-12 08:40:02 CST --- Created attachment 38821 --> http://bugs.winehq.org/attachment.cgi?id=38821 Loading screen of modified Re-Volt build ("rvwine.exe")
http://bugs.winehq.org/show_bug.cgi?id=29869
--- Comment #2 from Bastian hougaard.junior@gmail.com 2012-02-12 08:45:05 CST --- Created attachment 38822 --> http://bugs.winehq.org/attachment.cgi?id=38822 Archive containing the Modified Re-Volt build ("rvwine.exe")
http://bugs.winehq.org/show_bug.cgi?id=29869
Bastian hougaard.junior@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://bugs.winehq.org/show | |_bug.cgi?id=29869
http://bugs.winehq.org/show_bug.cgi?id=29869
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2012-02-12 09:03:27 CST --- Sounds similar to bug 28404. With a Z value of 300 the fragments probably aren't discarded by the depth test, but getting clipped. Perhaps disabling ZENABLE is supposed to ignore z values completely though.
http://bugs.winehq.org/show_bug.cgi?id=29869
--- Comment #4 from Bastian hougaard.junior@gmail.com 2012-02-15 10:47:01 CST --- (In reply to comment #3)
Sounds similar to bug 28404. With a Z value of 300 the fragments probably aren't discarded by the depth test, but getting clipped. Perhaps disabling ZENABLE is supposed to ignore z values completely though.
I think I can confirm this. I tried the patch you posted in bug 28404, Henri, and it fixed the reported issue. Thank you so much for the effort!
If anyone could advice me on how to proceed, please feel free to do so (this is my first bug report). Should I change the status to RESOLVED? Mark this bug as a duplicate of bug 28404? On beforehand, thank you.
http://bugs.winehq.org/show_bug.cgi?id=29869
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle@yahoo.fr
http://bugs.winehq.org/show_bug.cgi?id=29869
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Sylvain Petreolle spetreolle@yahoo.fr 2012-02-23 14:59:08 CST --- Confirming, I'm seeing it for a long time and was about to create a bug.
http://bugs.winehq.org/show_bug.cgi?id=29869
--- Comment #6 from Bastian hougaard.junior@gmail.com 2012-02-23 15:35:38 CST --- Thanks for confirming the bug, Sylvain. Can also confirm that the bug exists in wine 1.4-rc4.
This bug might be related to bug 8495 reporting that "there are missing the progress bars that indicate speed, velocity, weight, etc." Just thought I wanted to mention.
http://bugs.winehq.org/show_bug.cgi?id=29869
Bastian hougaard.junior@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=8495
http://bugs.winehq.org/show_bug.cgi?id=29869
Bastian hougaard.junior@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=28404
http://bugs.winehq.org/show_bug.cgi?id=29869
Bastian hougaard.junior@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Bastian hougaard.junior@gmail.com 2012-02-25 10:27:45 CST --- This bug has been fixed in Wine 1.4-rc5, just like Incoming Forces: visual glitches and missing graphic objects in Re-volt has. I tested this with Re-Volt retail with the Re-Volt 1.2 patch applied and the Re-Volt demo.
Marking this bug as solved for now (Feel free to reopen it if that's not the case).
http://bugs.winehq.org/show_bug.cgi?id=29869
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #8 from GyB gyebro69@gmail.com 2012-02-25 11:43:58 CST --- Is this the same as bug #8495?
http://bugs.winehq.org/show_bug.cgi?id=29869
--- Comment #9 from Bastian hougaard.junior@gmail.com 2012-02-25 12:00:18 CST --- (In reply to comment #8)
Is this the same as bug #8495?
If I understand right bug #8495 is related to the progress bars (statistics) shown when you select car while this bug is related to the borders around the menus as can be seen in the screenshots attached to this bug report.
Bug #28404, bug #29869 and bug #8495 all seem to share the same cause though, so they are technically duplicates I suppose.
http://bugs.winehq.org/show_bug.cgi?id=29869
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-03-02 13:02:39 CST --- Closing bugs fixed in 1.4-rc6.