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

Why is the vbios size different when dumped from gpuz than when at command line

gridrunner

New Member
Joined
Mar 25, 2017
Messages
4 (0.00/day)
Hi. I need to dump some GPU Vbios. I normally do it from command line in Linux using for example
  • echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom
  • cat /sys/devices/pci0000:00/0000:00:02.0/rom > vbios.dump
  • echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom
I use these files for gpu passthrough in KVM.
I was hoping that gpuz would do this easier for me. However, the GPU vbios dumps are a different size.
For example, my 750ti from Linux dump is 131kb but from gpuz its 165kb.

Why is it different. Unfortunately, the gpuz dump doesn't work for the purpose of GPU passthrough in KVM.
 
Joined
Feb 19, 2006
Messages
6,270 (0.94/day)
Location
New York
Processor INTEL CORE I9-9900K @ 5Ghz all core 4.7Ghz Cache @1.305 volts
Motherboard ASUS PRIME Z390-P ATX
Cooling CORSAIR HYDRO H150I PRO RGB 360MM 6x120mm fans push pull
Memory CRUCIAL BALLISTIX 3000Mhz 4x8 32gb @ 4000Mhz
Video Card(s) EVGA GEFORECE RTX 2080 SUPER XC HYBRID GAMING
Storage ADATA XPG SX8200 Pro 1TB 3D NAND NVMe,Intel 660p 1TB m.2 ,1TB WD Blue 3D NAND,500GB WD Blue 3D NAND,
Display(s) 50" Sharp Roku TV 8ms responce time and Philips 75Hz 328E9QJAB 32" curved
Case BLACK LIAN LI O11 DYNAMIC XL FULL-TOWER GAMING CASE,
Power Supply 1600 Watt
Software Windows 10
This would be best suited for @W1zzard
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,049 (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
should just be some null bytes.

On recent NVIDIA cards, possibly including yours, the BIOS saved through GPU-Z includes some kind of NVIDIA header, which is required to be able to flash the BIOS using NVIDIA tools.

You might want to remove it for what you do. Remove everything before 0x55 0xAA
 

gridrunner

New Member
Joined
Mar 25, 2017
Messages
4 (0.00/day)
should just be some null bytes.

On recent NVIDIA cards, possibly including yours, the BIOS saved through GPU-Z includes some kind of NVIDIA header, which is required to be able to flash the BIOS using NVIDIA tools.

You might want to remove it for what you do. Remove everything before 0x55 0xAA
@W1zzard thanks. Yes, that makes sense. It would be very useful to be able to do. I use unRAID Linux and to be able to do this would be great for us guys. In KVM to dump the vbios is awkward. You can only do it when GPU is a secondary card.(due to vbios shadowing) If we could edit the files uploaded to techpowerup to work by removing the Nvidia header that would be awesome! Now my only problem is I am new to any kind od vbios editing. Which tool would I use to be able to remove everything before 0x55 0xAA
Thanks so much for the help
 

dorsetknob

"YOUR RMA REQUEST IS CON-REFUSED"
Joined
Mar 17, 2005
Messages
9,105 (1.30/day)
Location
Dorset where else eh? >>> Thats ENGLAND<<<
If we could edit the files uploaded to techpowerup to work by removing the Nvidia header that would be awesome!
while that might suit you the vast majority of users would then have problems using the Nvidia flashing tool kind of unfair to others
Suggest that if you need headers removed from vbios" you do it on an as needed basis"after you download them
 

gridrunner

New Member
Joined
Mar 25, 2017
Messages
4 (0.00/day)
while that might suit you the vast majority of users would then have problems using the Nvidia flashing tool kind of unfair to others
Suggest that if you need headers removed from vbios" you do it on an as needed basis"after you download them
@dorsetknob No, I don't mean the vbios should be uploaded without the headers on the site. (that would be very unfair and selfish) I mean it would be great if 'we' (me and others who need them this way) could remove the headers ourselves from the ones uploaded. I just don't know what tool to use to remove everything before 0x55 0xAA as @W1zzard suggests and was hoping with some help on how I do that. :)
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,049 (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
hex editor will work fine. maybe someone can post a sed oneliner
 
Top