http://bugs.winehq.org/show_bug.cgi?id=34055
Bug #: 34055 Summary: Textures missing in Age of Empires II: Steam Product: Wine Version: 1.6-rc4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: oldspiceap@gmail.com Classification: Unclassified
All graphics black when ingame on Age of Empires II: HD Edition from Steam.
Terminal repeats: fixme:d3d:resource_check_usage Unhandled usage flags 0x8
This appears to be a recent regression.
http://bugs.winehq.org/show_bug.cgi?id=34055
K1773R K1773R@darkgamex.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |K1773R@darkgamex.ch
--- Comment #1 from K1773R K1773R@darkgamex.ch 2013-07-14 14:27:06 CDT --- fixme:d3d:resource_check_usage Unhandled usage flags 0x8 is probably harmless,can you attach a log with +d3d debug?
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #2 from Brant Watson oldspiceap@gmail.com 2013-07-16 14:53:23 CDT --- Yes, I'll get to that sometime after work. I didn't think the console messages were harmful either, but I don't think it was ever spamming them that frequently before. I normally only run on a 5000 line buffer and it fills that pretty rapidly.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #3 from K1773R K1773R@darkgamex.ch 2013-07-16 18:41:29 CDT --- well, you can use grep -E -v to get rid of the unwantd ones ;) pass the unwated one as parameter, ie "foo|bar|foobar"
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #4 from Brant Watson oldspiceap@gmail.com 2013-07-18 22:17:48 CDT --- Created attachment 45330 --> http://bugs.winehq.org/attachment.cgi?id=45330 d3d debug output
Last relevant lines from winedebug using +d3d relay
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #5 from Brant Watson oldspiceap@gmail.com 2013-07-18 22:22:27 CDT --- Created attachment 45331 --> http://bugs.winehq.org/attachment.cgi?id=45331 Screenshot of issue
Strangely the trees get texture but buildings, characters, and mines seem not to get textured.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #6 from Brant Watson oldspiceap@gmail.com 2013-07-18 22:27:42 CDT --- Created attachment 45332 --> http://bugs.winehq.org/attachment.cgi?id=45332 Running with system monitor.
It probably doesn't matter, but it is interesting the affect it is having on my normally unused cores.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #7 from Brant Watson oldspiceap@gmail.com 2013-07-18 22:29:33 CDT --- Problem still exists in Wine 1.6 RC5
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #8 from Brant Watson oldspiceap@gmail.com 2013-07-18 22:31:33 CDT --- (In reply to comment #4)
Created attachment 45330 [details] d3d debug output
Last relevant lines from winedebug using +d3d relay
Lots of textures seem to be set to (nil) - interesting.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #9 from K1773R K1773R@darkgamex.ch 2013-07-19 08:34:54 CDT --- can you test running it with GDI? if after that its no longer black reverse it to OpenGL and turn of GLSL, i had it often on my older laptopt that turning on GLSL turned my textures black. looking at the debug now ;)
http://bugs.winehq.org/show_bug.cgi?id=34055
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #10 from Austin English austinenglish@gmail.com 2013-07-23 13:53:00 CDT --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=34055
Charles P charlespigott@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |charlespigott@googlemail.co | |m
--- Comment #11 from Charles P charlespigott@googlemail.com 2013-08-03 05:04:07 CDT --- Building Wine on 64bit systems scares me, but according to AppDB, it was fine with 1.5.28, and is still present in 1.7
As an extra, it's also running extremely slowly (1-2fps) but i guess that's for another bug report
http://bugs.winehq.org/show_bug.cgi?id=34055
Brandon Corujo haku08879@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haku08879@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34055
redtricycle@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |redtricycle@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34055
Dr. Drb c988152@drdrb.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |c988152@drdrb.com
--- Comment #12 from Dr. Drb c988152@drdrb.com 2013-11-17 08:35:21 CST --- I can confirm this bug with Wine 1.7.6 and 1.5.30. Running with the "-nostartup" launch option doesn't make any difference.
I'm on a Debian Sid box with a Radeon HD 6470M, using the open source driver.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #13 from Dr. Drb c988152@drdrb.com 2013-11-17 08:38:18 CST --- (In reply to comment #12)
I can confirm this bug with Wine 1.7.6 and 1.5.30. Running with the "-nostartup" launch option doesn't make any difference.
I'm on a Debian Sid box with a Radeon HD 6470M, using the open source driver.
Sorry, I forgot to mention it is 64bit OS and Wine compiled as 32bit.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #14 from Dr. Drb c988152@drdrb.com 2013-11-17 10:38:27 CST --- For sure, it's a regression. I've tested with Wine 1.5.28 and all textures are correct! Are there any information that I can provide to help fixing this bug? Thanks.
http://bugs.winehq.org/show_bug.cgi?id=34055
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr 2013-11-17 13:32:37 CST --- The fatest way to see this bug fixed is to perform a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #16 from Dr. Drb c988152@drdrb.com 2013-11-18 18:20:19 CST --- So, here it is:
"e0494afa007a1d1ba2f4b649beedca27cb20808e is the first bad commit commit e0494afa007a1d1ba2f4b649beedca27cb20808e Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jun 11 10:21:28 2013 +0200
wined3d: Introduce a helper function for printing floats in GLSL shaders.
:040000 040000 c4b9e3a37188f45aff9cb35d00ef45aa6242e0a4 4a7a6eadaf6ebfe495915b798111dd49d1ed8768 M dlls"
Is that what you need?
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=34055
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com Regression SHA1| |e0494afa007a1d1ba2f4b649bee | |dca27cb20808e
--- Comment #17 from Austin English austinenglish@gmail.com 2013-11-18 21:51:13 CST --- (In reply to comment #16)
So, here it is:
"e0494afa007a1d1ba2f4b649beedca27cb20808e is the first bad commit commit e0494afa007a1d1ba2f4b649beedca27cb20808e Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jun 11 10:21:28 2013 +0200
wined3d: Introduce a helper function for printing floats in GLSL shaders.
:040000 040000 c4b9e3a37188f45aff9cb35d00ef45aa6242e0a4 4a7a6eadaf6ebfe495915b798111dd49d1ed8768 M dlls"
Is that what you need?
Thanks.
Yes, thanks.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #18 from Henri Verbeet hverbeet@gmail.com 2013-11-19 03:58:18 CST --- Does this have any kind of demo that can reproduce the issue? The commit you found looks somewhat unlikely, given that there's no debug output with GLSL compiler errors. Does reverting it fix the issue?
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #19 from Dr. Drb c988152@drdrb.com 2013-11-19 14:17:47 CST --- I don't think there's a demo. I've searched and I don't see any: http://store.steampowered.com/search/?snr=1_5_9__12&term=age+of+empires
By reverting, do you mean, checkout a single commit before e0494afa007a1d1ba2f4b649beedca27cb20808e and try again (compile wine, test ...) ?
Thank you very much.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #20 from Dr. Drb c988152@drdrb.com 2013-11-19 15:16:05 CST --- Checking out to the previous commit (b02951dfa7ff416f54205dab17ae3bb98e53ce7c, immediately before e0494afa007a1d1ba2f4b649beedca27cb20808e) does work. All textures are all right.
The commit pointed out by git bisect seems to be the problem. Maybe I did something wrong, I'm not sure.
What else can I make to help?
Thank you.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #21 from Henri Verbeet hverbeet@gmail.com 2013-11-20 03:42:15 CST --- Created attachment 46583 --> http://bugs.winehq.org/attachment.cgi?id=46583 debug hack
(In reply to comment #19)
I don't think there's a demo. I've searched and I don't see any: http://store.steampowered.com/search/?snr=1_5_9__12&term=age+of+empires
That's unfortunate. Does the attached hack also fix the issue?
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #22 from Dr. Drb c988152@drdrb.com 2013-11-20 14:46:32 CST --- Henri Verbeet, your patch fixes the problem!!!
Steps:
- git checkout master - git pull origin master - patch -p1 < /tmp/debug-hack.patch - clear; CC="ccache gcc -m32" ./configure --verbose --disable-tests; make -j 4; - make install
And then, I tested the game.
Thank you.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #23 from Henri Verbeet hverbeet@gmail.com 2013-11-20 15:11:58 CST --- Created attachment 46591 --> http://bugs.winehq.org/attachment.cgi?id=46591 another hack
How about this one?
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #24 from Dr. Drb c988152@drdrb.com 2013-11-20 15:28:28 CST --- I'll give it a try Henri Verbeet. Should I checkout master again or test both together? Thank you!
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #25 from Henri Verbeet hverbeet@gmail.com 2013-11-20 15:36:30 CST --- (In reply to comment #24)
I'll give it a try Henri Verbeet. Should I checkout master again or test both together? Thank you!
Just that patch on top of current git.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #26 from Dr. Drb c988152@drdrb.com 2013-11-20 15:54:06 CST --- It's still working with both patches applied.
Are you online on IRC, Henri?
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #27 from Henri Verbeet hverbeet@gmail.com 2013-11-20 16:00:12 CST --- (In reply to comment #26)
Are you online on IRC, Henri?
Yeah, #winehackers.
http://bugs.winehq.org/show_bug.cgi?id=34055
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46583|0 |1 is obsolete| | Attachment #46591|0 |1 is obsolete| |
--- Comment #28 from Henri Verbeet hverbeet@gmail.com 2013-11-20 16:29:00 CST --- Created attachment 46593 --> http://bugs.winehq.org/attachment.cgi?id=46593 patch
The attached patch should be more of a proper fix.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #29 from Dr. Drb c988152@drdrb.com 2013-11-20 18:23:53 CST --- It works as expected. Will it be integrated into Wine source code? Thank you very much, Henri Verbeet.
http://bugs.winehq.org/show_bug.cgi?id=34055
--- Comment #30 from Bruno Jesus 00cpxxx@gmail.com 2013-11-22 10:34:06 CST --- Patch commited: http://source.winehq.org/git/wine.git/?a=commit;h=12f16f2127ffce9a05eedf008c...
http://bugs.winehq.org/show_bug.cgi?id=34055
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |12f16f2127ffce9a05eedf008c3 | |aa3732751a7e3 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |1.6.x
--- Comment #31 from Henri Verbeet hverbeet@gmail.com 2013-11-22 10:47:42 CST --- Should be fixed by commit 12f16f2127ffce9a05eedf008c3aa3732751a7e3.
http://bugs.winehq.org/show_bug.cgi?id=34055
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2013-11-22 12:50:28 CST --- Closing bugs fixed in 1.7.7.
https://bugs.winehq.org/show_bug.cgi?id=34055
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #33 from Alexandre Julliard julliard@winehq.org --- Removing 1.6.x milestone from bugs included in 1.6.2.