http://bugs.winehq.org/show_bug.cgi?id=30168
Bug #: 30168 Summary: GLSL does not work on ATI-based Macs AND disabling them causes black screen Product: Wine Version: 1.4-rc6 Platform: x86-64 OS/Version: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: matthew.rathbone@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
This is a problem on many games, specifically I've experienced it on: Kingdoms of Amalur: Reckoning Mass Effect 3
GLSL is on by default, with it enabled the following errors display continuously: err:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 4771
This causes many textures to be semi-transparent/black/stretched crazily
Disabling this setting causes the error to go away, but then you just get a black screen.
System: OSX Snow Leopard (10.6.8) Macbook Pro 15" (2011) AMD Radeon HD 6750M (although seems the same on all AMD-graphics macs)
I'm hoping there is a simple workaround for someone who knows what they're doing. Here's a log dump from ME3:
http://cl.ly/0o3c1i0I1e1i3E3n1m1x
http://bugs.winehq.org/show_bug.cgi?id=30168
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |-unknown Summary|GLSL does not work on |GLSL does not work on |ATI-based Macs AND |ATI-based Macs |disabling them causes black | |screen | Severity|major |minor
--- Comment #1 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-14 21:38:22 CDT --- http://bugs.winehq.org/page.cgi?id=fields.html#importance
If you read out from Wine with disabled GLSL you'll understand why it's minor.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-03-15 04:18:07 CDT --- Although it should be noted that in principle a Radeon HD 6750 should be fairly capable hardware, even on OS X. I'd be interested to see a +d3d_caps trace, I somewhat suspect one of the broken Apple hacks we have.
http://bugs.winehq.org/show_bug.cgi?id=30168
thanoulas thanoulas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thanoulas@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30168
David praus_aluco@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |praus_aluco@yahoo.com
--- Comment #3 from David praus_aluco@yahoo.com 2012-03-17 17:03:00 CDT --- I'm having this same problem trying to run Kingdoms of Amalur on Mac OS X Lion 10.7.3 (11D50). I'm using an ATI card as well but it's an ATI Radeon HD 4850 with 512 MB. I ran a +d3d_caps trace and it can be downloaded at the link below.
http://www.4shared.com/office/xluceVzE/Kingdoms_of_Amalur_d3d_caps_tr.html?r...
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2012-03-17 18:44:00 CDT --- Created attachment 39431 --> http://bugs.winehq.org/attachment.cgi?id=39431 patch
Does this patch make it any better?
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #5 from David praus_aluco@yahoo.com 2012-03-18 10:58:15 CDT --- Henri, that seems to have fixed it! Thank you very much sir, you are a gentleman and a scholar! The models are all visible and the texture popping has stopped.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #6 from Matthew matthew.rathbone@gmail.com 2012-03-18 11:24:00 CDT --- Hey guys, I'm going to try this today with ME3, I'll let you know how it looks.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #7 from Matthew matthew.rathbone@gmail.com 2012-03-18 13:54:15 CDT --- Unfortunately I just upgraded to OSX Lion, so now I'm getting different errors :-(, see below:
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table fixme:d3d9:D3DPERF_SetOptions (0x1) : stub fixme:d3d:query_init Unhandled query type 0xc.
I think this is a general wine incompatibility with OSX Lion, as I've seen it mentioned for other games relying on certain D3D components too.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2012-03-18 14:00:57 CDT --- (In reply to comment #7)
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table fixme:d3d9:D3DPERF_SetOptions (0x1) : stub fixme:d3d:query_init Unhandled query type 0xc.
I don't think those are specific to Lion, or necessarily fatal.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #9 from Matthew matthew.rathbone@gmail.com 2012-03-18 14:04:23 CDT --- Interesting.
I was interpreting these errors based on comments on portingteam.com: http://portingteam.com/index.php/files/file/7192-mass-effect-3-fully-working...
Many users on that site report incompatibility with OSX Lion for both Mass Effect 3 and several other games.
Worth noting, that running ME3 under lion now gives me a black screen with no sound.
I know very little about Wine internals, do you have any suggestions to get around these problems?
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #10 from David praus_aluco@yahoo.com 2012-03-21 11:29:12 CDT --- A possibly related bug has arisen. I reported it here: http://bugs.winehq.org/show_bug.cgi?id=30232
Not sure if it's because of the patch or not. Couldn't get far enough before the patch to know if there was a slowdown.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #11 from Matthew matthew.rathbone@gmail.com 2012-03-21 12:01:27 CDT --- Hey Henri,
as per the above comment, looks like there's some sort of memory leak when interfacing with newer AMD/ATI cards.
Not sure if this was brought about by your patch, or whether it's something deeper down [maybe not even in wine?]
Do you have any insight to offer us? Maybe tweaking some specific configs can fix it?
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #12 from thanoulas thanoulas@gmail.com 2012-03-28 05:45:29 CDT --- As I can see that the patch made it in the latest git version of wine, I should let you guys know that while this patch does fix the visual issues, it slows the ATI cards down to a crawl. This has been witnessed in Kingdoms of Amalur as well as other games that use GLSL shaders. nVidia cards on the other hand are not affected (they were never even affected by the broken graphics). This only happens in recent ATI cards.
Any trace or other info that you guys might need we can provide it. Many thanks for your help
http://bugs.winehq.org/show_bug.cgi?id=30168
julusp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julusp@gmail.com
--- Comment #13 from julusp@gmail.com 2012-04-02 01:02:30 CDT --- Confirming that this patch drops perfornance on Lion on ATI Radeon 6750M
http://bugs.winehq.org/show_bug.cgi?id=30168
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com 2012-04-02 18:05:54 CDT --- Since the patch got in can we mark this one as fixed and treat the performance issue in the lately opened bug 30232?
Commit was 337b63d878bc1b927a6ac19ce79ec82de5a91474.
http://bugs.winehq.org/show_bug.cgi?id=30168
lelandhaynes@yahoo.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lelandhaynes@yahoo.ca
--- Comment #15 from lelandhaynes@yahoo.ca 2012-05-24 19:00:27 CDT --- Having massive slow downs on Kingdoms of Amalur: Reckoning when entering areas with large amounts of NPC's or enemies (there are even slowdowns when in combat with multiple enemies).
Running game on:
OS X 10.7.3
3.4GHz Intel Core i7
AMD Radeon HD 6970M 2048MB
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #16 from lelandhaynes@yahoo.ca 2012-05-25 17:01:21 CDT --- Having massive slow downs on Kingdoms of Amalur: Reckoning when entering areas with large amounts of NPC's or enemies (there are even slowdowns when in combat with multiple enemies).
Running game on:
OS X 10.7.3
3.4GHz Intel Core i7
AMD Radeon HD 6970M 2048MB
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #17 from thanoulas thanoulas@gmail.com 2012-06-01 09:05:05 CDT --- Any news on this or bug 30232 ? It's really a show stopper for any mac with an ATi card and GLSL enabled games.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #18 from Henri Verbeet hverbeet@gmail.com 2012-06-01 10:08:11 CDT --- (In reply to comment #17)
Any news on this or bug 30232 ? It's really a show stopper for any mac with an ATi card and GLSL enabled games.
I think this one is essentially fixed, 30232 should most likely end up as UPSTREAM.
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #19 from David praus_aluco@yahoo.com 2012-06-01 13:13:58 CDT --- By UPSTREAM does that mean it's fixed on the wine end (as far as you know) and now up to Apple to update drivers? Do we know if a bug report has been submitted to Apple? I'd submit it my self but honestly I don't understand the finer points of how the driver is broken and wouldn't be able to communicate it as clearly as some here in this forum.
http://bugs.winehq.org/show_bug.cgi?id=30168
zoroaster zoroaster@inode.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zoroaster@inode.at
--- Comment #20 from zoroaster zoroaster@inode.at 2012-08-18 17:08:05 CDT --- (In reply to comment #18)
I think this one is essentially fixed
Is there some known version of Wine where this is fixed? (all I know is that this issue exists at least up to 1.5.6)
http://bugs.winehq.org/show_bug.cgi?id=30168
--- Comment #21 from zoroaster zoroaster@inode.at 2012-08-19 05:35:51 CDT --- (In reply to comment #17)
Any news on this or bug 30232 ? It's really a show stopper for any mac with an ATi card and GLSL enabled games.
Tested Wine 1.5.11 on Mountain Lion. It does not seem to be fixed, ATI performance problem with GLSL is still there.
http://bugs.winehq.org/show_bug.cgi?id=30168
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |337b63d878bc1b927a6ac19ce79 | |ec82de5a91474 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #22 from Henri Verbeet hverbeet@gmail.com 2012-08-19 06:43:47 CDT --- (In reply to comment #20)
(In reply to comment #18)
I think this one is essentially fixed
Is there some known version of Wine where this is fixed? (all I know is that this issue exists at least up to 1.5.6)
The first release with the fix for this bug is 1.5.1. Note that this bug is about a very specific issue in Wine though, not the earlier mentioned software fallback in the drivers, or even something generic like "Apple GL drivers are terrible".
http://bugs.winehq.org/show_bug.cgi?id=30168
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2012-08-31 12:56:59 CDT --- Closing bugs fixed in 1.5.12.
https://bugs.winehq.org/show_bug.cgi?id=30168
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |directx-d3d