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

Convert hex to binary?

yukixgo

New Member
Joined
Mar 24, 2023
Messages
2 (0.00/day)
I am trying to get igpu vbios rom, because I want to try gpu passthrough igpu in kvm. I have tried several ways to get rom, but without success. Tried gpu-z, read rom via linux terminal. In strange way cpu-z outputed video bios but in hex format I guess, also I am not sure if vbios is the same as rom.
What if I convert hex to binary then I will have usable rom file?
Screenshot 2023-03-24 055906.png
 
Joined
Feb 10, 2023
Messages
305 (0.42/day)
Location
Lake Superior
Have you tried amdvbflash? amdvbflash -s 0 vbios.bin should allow backing up of vBIOS
Worth a shot anyway
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
28,179 (3.72/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
Gpuz produces a binary file, you looked at it with a software that displays it in hex in the 2nd column, 1st column is offset from the start of the file btw

what you have looks like a proper gpu bios
 

yukixgo

New Member
Joined
Mar 24, 2023
Messages
2 (0.00/day)
Have you tried amdvbflash? amdvbflash -s 0 vbios.bin should allow backing up of vBIOS
Worth a shot anyway
I tried, but without success, today tried again and interestingly it made just my laptop to restart when I did
Bash:
sudo amdvbflash -s 0 vbios.rom
or just
Bash:
sudo amdvbflash -ai
rom file wasnt generated when i logged back in

After some attempts restart disappeared and was again like yesterday - adapter not found
I made radeon-profile to find video card, I guess yesterday I forgot to run it in sudo :laugh: But I cant find a option to dump bios. Interesting is also that it shows gfx 1036 instead of 610m.
Btw I have Ryzen 3 7320U CPU, maybe its not even possible to do this because of U cpu instead of H.

Gpuz produces a binary file, you looked at it with a software that displays it in hex in the 2nd column, 1st column is offset from the start of the file btw

what you have looks like a proper gpu bios
So if i delete lines 1-11 and delete 1st column and 3rd column to get only hex and then convert it to binary it might work?


Screenshot_20230324_082835.png

Screenshot_20230324_084158.png
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
28,179 (3.72/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
So if i delete lines 1-11 and delete 1st column and 3rd column to get only hex and then convert it to binary it might work?
You can't delete the columns, they are a feature of the program you're using to view the data, they are not part of the data
 
Top