• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

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
 
Have you tried amdvbflash? amdvbflash -s 0 vbios.bin should allow backing up of vBIOS
Worth a shot anyway
 
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
 
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
 
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
 
Back
Top