• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Where does GPU-Z get the chip ID

renegade44

New Member
Joined
Nov 27, 2009
Messages
9 (0.00/day)
Processor i3-530
Motherboard MSI P55-CD53
Cooling Thrtmalright TRU-120A
Memory 2X2GB Kingston HyperX DDR3-1600
Video Card(s) BFG Green 9800GT
Storage WD 1TB Blue Caviar
Software Vista HP
How does GPU-Z identify the GPU chip on a Video card? Is there microcode inside the GPU chip itself. Or does it come from the BIOS?
 

temp02

New Member
Joined
Mar 18, 2009
Messages
493 (0.09/day)
I guess none of the methods you mentioned but instead "hardcoded" (by hand) tables that relate PCI device IDs to a specific chipset.
But who's better to answer you than "tha man" itself: W1zzard, wait for an awnser from him.
 

renegade44

New Member
Joined
Nov 27, 2009
Messages
9 (0.00/day)
Processor i3-530
Motherboard MSI P55-CD53
Cooling Thrtmalright TRU-120A
Memory 2X2GB Kingston HyperX DDR3-1600
Video Card(s) BFG Green 9800GT
Storage WD 1TB Blue Caviar
Software Vista HP
I guess none of the methods you mentioned but instead "hardcoded" (by hand) tables that relate PCI device IDs to a specific chipset.
But who's better to answer you than "tha man" itself: W1zzard, wait for an awnser from him.


Ok the key question is whether someone could fool GPU-Z. Say someone took a 9600GSO and wanted GPU-Z think it's a 9800gt. How hard would it be to do? Let's pretend it's some evil OEM sweat shop in Elbonia taht has a 1000 9600GSO chips and has an order for a 1000 9800gt cards. Could they pull off this scam?
 

Mussels

Freshwater Moderator
Staff member
Joined
Oct 6, 2004
Messages
58,413 (8.15/day)
Location
Oystralia
System Name Rainbow Sparkles (Power efficient, <350W gaming load)
Processor Ryzen R7 5800x3D (Undervolted, 4.45GHz all core)
Motherboard Asus x570-F (BIOS Modded)
Cooling Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate
Memory 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V)
Video Card(s) Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W))
Storage 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2
Display(s) Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144)
Case Fractal Design R6
Audio Device(s) Logitech G560 | Corsair Void pro RGB |Blue Yeti mic
Power Supply Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY)
Mouse Logitech G Pro wireless + Steelseries Prisma XL
Keyboard Razer Huntsman TE ( Sexy white keycaps)
VR HMD Oculus Rift S + Quest 2
Software Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware!
Benchmark Scores Nyooom.
most of it comes from the registry, and yes it can easily be fooled.


the GPU 'code name' cant be tricked however - so if you see a "fermi" with a G92 core, you get the idea ;)
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,104 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
are you talking about the text string "RV770" ? that's stored in gpuz and selected based on the device id 1002 9480.
the device id is stored in the pci concfig space and is loaded there by the gpu when it is starting. it is created from a hardcoded value in the gpu and a second value inside the bios.

the text "ATI Radeon 4800 Series" from the driver inf file, gets stored in the registry, gpuz gets it from there via an api call
 

renegade44

New Member
Joined
Nov 27, 2009
Messages
9 (0.00/day)
Processor i3-530
Motherboard MSI P55-CD53
Cooling Thrtmalright TRU-120A
Memory 2X2GB Kingston HyperX DDR3-1600
Video Card(s) BFG Green 9800GT
Storage WD 1TB Blue Caviar
Software Vista HP
are you talking about the text string "RV770" ? that's stored in gpuz and selected based on the device id 1002 9480.
the device id is stored in the pci concfig space and is loaded there by the gpu when it is starting. it is created from a hardcoded value in the gpu and a second value inside the bios.

the text "ATI Radeon 4800 Series" from the driver inf file, gets stored in the registry, gpuz gets it from there via an api call

No. What i want to know is where it comes from on a nvidia 9800GT? Is it hardcoded in the GPU? Could someone write a BIOS that could tell GPU-Z that it is a different chip than the one on the card that would fool someone who has some technical knowledge like a hardware enthusiast?

TIA
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,104 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
where does WHAT EXACTLY come from ?
 

renegade44

New Member
Joined
Nov 27, 2009
Messages
9 (0.00/day)
Processor i3-530
Motherboard MSI P55-CD53
Cooling Thrtmalright TRU-120A
Memory 2X2GB Kingston HyperX DDR3-1600
Video Card(s) BFG Green 9800GT
Storage WD 1TB Blue Caviar
Software Vista HP
where does WHAT EXACTLY come from ?

Where does the device ID come from?

I assume we are having difficulty communicating because english is not your native language and I don't speak german.
 
Joined
May 16, 2008
Messages
1,258 (0.22/day)
Location
North Carolina
@renegade

Every field is named. Like where it shows the core speed, that 'box' is called 'GPU Clock'.

I think W1zzard wants to know the name of the 'box' that you're talking about.

If you want to make it really clear, take a screenshot of GPU-Z, paste it in paint, and circle the part you're talking about. You can upload the pic at techpowerup.org.
 

renegade44

New Member
Joined
Nov 27, 2009
Messages
9 (0.00/day)
Processor i3-530
Motherboard MSI P55-CD53
Cooling Thrtmalright TRU-120A
Memory 2X2GB Kingston HyperX DDR3-1600
Video Card(s) BFG Green 9800GT
Storage WD 1TB Blue Caviar
Software Vista HP
@renegade

Every field is named. Like where it shows the core speed, that 'box' is called 'GPU Clock'.

I think W1zzard wants to know the name of the 'box' that you're talking about.

If you want to make it really clear, take a screenshot of GPU-Z, paste it in paint, and circle the part you're talking about. You can upload the pic at techpowerup.org.


the boxes are

GPU

Device ID

Where does the information come from that are in those boxes?
 
Last edited:

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,104 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Where does the device ID come from?

I assume we are having difficulty communicating because english is not your native language and I don't speak german.

thanks for the clarification, you should have asked like that before. i assume we are having difficulty communicating because talking in technical vga terms is not something you do regularly.

the device id is stored (read-only) inside the pci config space of the gpu. the gpu fills in the device id based on a hardcoded value inside the silicon and a second value inside the bios. usually only the lowest bits can be changed by the bios while the higher ones are hardcoded.

the gpu name is stored inside gpu-z and selected based on the device id.

while it is realistically possible to manipulate the lower bits of the device id, changing the higher bits is not possible or extremely hard. it would also result in a non working card because the driver looks at the device id to decide how to talk to the device
 
Last edited:

renegade44

New Member
Joined
Nov 27, 2009
Messages
9 (0.00/day)
Processor i3-530
Motherboard MSI P55-CD53
Cooling Thrtmalright TRU-120A
Memory 2X2GB Kingston HyperX DDR3-1600
Video Card(s) BFG Green 9800GT
Storage WD 1TB Blue Caviar
Software Vista HP
thanks for the clarification, you should have asked like that before. i assume we are having difficulty communicating because talking in technical vga terms is not something you do regularly.

the device id is stored (read-only) inside the pci config space of the gpu. the gpu fills in the device id based on a hardcoded value inside the silicon and a second value inside the bios. usually only the lowest bits can be changed by the bios while the higher ones are hardcoded.

the gpu name is stored inside gpu-z and selected based on the device id.

while it is realistically possible to manipulate the lower bits of the device id, changing the higher bits is not possible or extremely hard. it would also result in a non working card because the driver looks at the device id to decide how to talk to the device

thanks
 
Top