http://bugs.winehq.org/show_bug.cgi?id=19412
Summary: Red Alert 3: GL_INVALID_VALUE when rendering text on Mac OS Product: Wine Version: unspecified Platform: Macintosh URL: http://na.llnet.cnc3tv.ea.com/u/f/eagames/cnc3/cnc3tv/ RedAlert/RedAlert3PCDemo.exe OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: cdavis@mines.edu
In C&C: Red Alert 3 running under the latest git on a Mac running Leopard, text characters will often fail to render. This only happens in RA3 AFAICT. Other programs render text fine. It happens with every version of RA3 to date (including 1.12).
I noticed that every time D3D fails to render a character (or a group of characters), this (or something like it) shows up in the log:
fixme:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glCompressedTexImage2DARB @ surface.c / 526
3D graphics appear to be otherwise unaffected.
I didn't actually start a game; this even happens in the menus. It is particularly noticeable on the Settings screen (from the main menu, expand the Options menu, then click on Settings). You can't see any of the text in the drop-down list boxes, and if you're REALLY unlucky, some of the title text will be missing.
It's been like this with GLSL as long it's worked under Wine on Mac OS. (It doesn't work at all under ARB. By the time the necessary functionality was implemented, ARBvp was broken on Mac OS.) From what I can tell, it works fine on Linux, so this might be a bug in Xquartz instead of Wine. Perhaps I should file a bug with the Xquartz people as well.
Setting the offscreen rendering mode to backbuffer doesn't help. Neither does turning off rendering fonts with XRender. (It doesn't work at all with pbuffer as the offscreen rendering mode.) Even turning the in-game settings all the way down doesn't help.
My computer is a Santa Rosa MacBook Pro with a 2.4 GHz Intel Core 2 Duo T7700 CPU and an nVidia GeForce 8600M GT GPU. I'm using THE driver for Mac OS (the one that came with the OS). I'm pretty sure that this is NOT a dupe of bug 16146.