http://bugs.winehq.org/show_bug.cgi?id=26447
Summary: TrackMania (Nations/United): sometimes textures become black/too dark Product: Wine Version: 1.3.15 Platform: x86 URL: http://files.trackmaniaforever.com/tmnationsforever_se tup.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com
Created an attachment (id=33668) --> (http://bugs.winehq.org/attachment.cgi?id=33668) console.log
In Trackmania when I start a race, sometimes textures become black/too dark. After the game started the first race I play is always good: the problem happens when I start the second or third race (I can't tell you what triggers the issue or when). I can reproduce the issue when using PC2 or PC3 shader modes: with PC0 (disabled) shaders it doesn't occur. Occasionally the whole track becomes black so you hardly see anything, on another occasion only certain objects (trees, bulletin boards, the grass) are black.
The problem is still present in wine-1.3.15-340-gdc96c68
ac9c592ca9c0bac6479f9a8beef4030815b738c6 is the first bad commit commit ac9c592ca9c0bac6479f9a8beef4030815b738c6 Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Mar 8 19:41:07 2011 +0100
wined3d: Store all the resource desc information in struct wined3d_resource.
Link to Tm Nations Forever added to URL (~500 MB, freeware, you need to create an account to play).
Fedora 14 Nvidia Geforce 250 / driver 260.19.36
I'm using native d3dx9_36.dll for the game.
http://bugs.winehq.org/show_bug.cgi?id=26447
--- Comment #1 from GyB gyebro69@gmail.com 2011-03-16 11:29:52 CDT --- Created an attachment (id=33669) --> (http://bugs.winehq.org/attachment.cgi?id=33669) screenshot
http://bugs.winehq.org/show_bug.cgi?id=26447
--- Comment #2 from GyB gyebro69@gmail.com 2011-03-16 11:34:16 CDT --- Created an attachment (id=33670) --> (http://bugs.winehq.org/attachment.cgi?id=33670) screenshot #2
Another occurrence of the problem.
http://bugs.winehq.org/show_bug.cgi?id=26447
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2011-03-16 12:16:12 CDT --- Sounds unlikely, does the commit before ac9c592ca9c0bac6479f9a8beef4030815b738c6 actually work reliably? Please create a +d3d_surface log.
http://bugs.winehq.org/show_bug.cgi?id=26447
--- Comment #4 from GyB gyebro69@gmail.com 2011-03-16 13:21:10 CDT --- Created an attachment (id=33671) --> (http://bugs.winehq.org/attachment.cgi?id=33671) rzipped +d3d_surface log (165 MB uncompressed)
I checked the game again and I'm sure that ac9c592ca9c0bac6479f9a8beef4030815b738c6 is the commit that first introduced the problem for me. There is no such problem with the commit right before that.
I'd like to add, ac9c592ca9c0bac6479f9a8beef4030815b738c6 was the commit that introduced the following lines in the console:
err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexImage2D @ surface.c / 1093 err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCompressedTexSubImage2DARB @ surface.c / 992 err:d3d_surface:surface_download_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glGetCompressedTexImageARB @ surface.c / 823
They're repeated several times in a row. No such messages when running the game with the commit right before that.
While creating the d3d_surface log the first race rendered good (as always). I left it immediately and started the next race which showed the problem. I let it run for 10 seconds then I exited the game.
http://bugs.winehq.org/show_bug.cgi?id=26447
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=26447
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2011-03-17 11:44:35 CDT --- Actually, does this still happen for you with current git? I think this might have been fixed by 6110fe3a823ac4f0e67746cd1113485d12604777 already, although that was introduced by 1de6adfbae7ac36c6649aab209d1a62a64e80465.
http://bugs.winehq.org/show_bug.cgi?id=26447
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from GyB gyebro69@gmail.com 2011-03-17 13:43:54 CDT --- (In reply to comment #5)
Actually, does this still happen for you with current git? I think this might have been fixed by 6110fe3a823ac4f0e67746cd1113485d12604777 already, although that was introduced by 1de6adfbae7ac36c6649aab209d1a62a64e80465.
Indeed, it has been already fixed in wine-1.3.15-406-g8947591. Those messages are also disappeared from the console while running the game.
The commit that fixed it: http://source.winehq.org/git/wine.git/commit/6110fe3a823ac4f0e67746cd1113485...
Thank you.
http://bugs.winehq.org/show_bug.cgi?id=26447
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2011-03-18 14:39:22 CDT --- Closing bugs fixed in 1.3.16.
http://bugs.winehq.org/show_bug.cgi?id=26447
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6110fe3a823ac4f0e67746cd111 | |3485d12604777 Regression SHA1| |ac9c592ca9c0bac6479f9a8beef | |4030815b738c6