On Sun, Jul 11, 2010 at 4:21 PM, Roderick Colenbrander
<thunderbird2k@gmail.com> wrote:
The PCI id is something else. For instance run 'lspci -x':
01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon
HD 34xx Series]
00: 02 10 28 aa 07 01 10 40 00 00 03 04 10 00 80 00
..
This line shows a part of the PCI configuration header. The first two
bytes contain the PCI vendor id (0x1002 = ATI; you have to swap the
bytes) and byte 3 and 4 contain the PCI device id (0xaa28 = radeon
3450). Each device has such information and it is used by the
operating system to detect which hardware is around.
A lot of games use the PCI id, since it can be easier to parse than
the renderer strings.
That makes sense. I had based my thinking on the following comment,
A Direct3D device object contains the PCI id (vendor + device) of the videocard which is used for rendering.
I had assumed vendor + device meant the strings.
We have to keep the current static database. Extending it with video
memory reporting is likely the best way to go. So now and then it just
means that we have to refine it a little.
Roderick