http://bugs.winehq.org/show_bug.cgi?id=33478
Bug #: 33478 Summary: Borderlands 2 on FGLRX compiles a shader every frame. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: roboman2444@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
So whenever running Borderlands 2 under wine with FGLRX, I get about 2 fps. It doesn't matter the resolution, graphical settings, Borderlands 2 config file edits, or winecfg settings. Using APITrace, I have concluded that GLCompileShaderARB and GLLinkProgramARB are being called every single frame, and taking up a lot of cpu time. This may effect some other games, such as Serious Sam 2 HD, but I don't have conclusive evidence that this is the problem.
Wine version affected- 2.5.29 and below. OS- Debian Squeeze x86. CPU- amd FX8320 RAM- 24GB 1866mhz GPU- dual 6970's. Crossfire disabled for wine. Drivers- FGRLX 13.4. It has happened in previous versions as well.