Now that I think about it there's some other issue which is partly related to this that should be addressed too namely card detection. Right now wined3d parses sets the card based on several opengl strings. First it detects the vendor (Ati/Nvidia) and then there are two or three models of each brand with which it compares the renderer string (contains 'GeforceFX 5900' and so on). Depending on the brand if the card isn't found (which is the case in most cases) it defaults to a Geforce4Ti / Radeon8500. I know that for apps running through wine the videocard doesn't matter that much compared to windows as roughly the same functionality is supported on recent ati/nvidia cards but some cards use a different 3d backend depending on the gpu that it detects as a TNT supports less features than a Geforce7.
The main issue is to connect OpenGL to lowlevel pci stuff as with VideoRam. In case of a system containing one card this is no issue but in case of multiple cards it is hard to detect which card is used for OpenGL...
Roderick