http://bugs.winehq.org/show_bug.cgi?id=21515
--- Comment #92 from Cùran debian@carbon-project.org 2010-02-26 09:06:56 --- (In reply to comment #91)
I just looked up the strstr function and it seems it parses the whole string not just the beginning or end of the string. Perhaps the easiest way to handle this would be to erase everything but the card ID, and that should work for both classic Mesa and Gallium.
I'm not sure this is a good idea, as Mesa and Gallium aren't the same drivers and may require different quirks in the future. But this is probably better answered by somebody with knowledge of the internals of Wine's D3D implementation and driver handling. In case your proposition is viable, I'm happy to try to work it into the current patch series (or add it on top of that).
An additional question that comes to mind wrt Gallium: is it ready/usable yet? The developers on #radeon told me recently it is currently lacking hardware acceleration for most of its functionality and is doing a lot in software.