You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using this script for dumping a VBIOS from my APU AMD Ryzen 5 pro 4650g.
it is the only APU on the System, running Unraid 6.8.3., so there is no additional GPU installed
PCIe ACS override was enabled to get proper IOMMU groups
in the system devices they were separated:
IOMMU group 14: | [1002:1636] 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d9)
IOMMU group 15: | [1002:1637] 05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
As described I used VFIO-PCIConfig to bind the 2 devices to VFIO pci driver and rebooted the system.
The script shows the following error, whether you bind the sound part as well or not.
a 0 Byte file with the correct name is created in mnt/user/isos/vbios/
PS: I added a GPU and successfully dumped the GPU BIOS. But when trying the APU it gives the following error:
Error:
Script location: /tmp/user.scripts/tmpScripts/Dump VBIOS/script
Note that closing this window will abort the execution of this script
You have selected this device to dump the vbios from
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d9)
This does look like a valid GPU to me. Continuing .........
Checking if location to put vbios file exists
Vbios folder already exists
I will try and dump the vbios without disconnecting and reconnecting the GPU
This normally only works if the GPU is NOT the Primary or the only GPU
I will check the vbios at the end. If it seems wrong I will then retry after disconnecting the GPU
Defining temp vm with gpu attached
Domain dumpvbios defined from /tmp/dumpvbios.xml
Starting the temp vm to allow dump
Domain dumpvbios started
Waiting for a few seconds .....
Stopping the temp vm
Domain dumpvbios destroyed
Removing the temp vm
Domain dumpvbios has been undefined
/tmp/user.scripts/tmpScripts/Dump VBIOS/script: line 298: rom: Permission denied
Okay dumping vbios file named AMD-APU-Ryzen4650G2.rom to the location /mnt/user/isos/vbios/
cat: rom: No such file or directory
Um.... somethings gone wrong and I couldn't dump the vbios for some reason
Sometimes when this happens all we need to do to fix this is 'stub' or 'bind to the vfio' the gpu and reboot the server
This can be done in Unraid 6.8.3 with the use of the vfio config plugin or if you are on Unraid 6.9 or above it can be done
directly from the gui in Tools/System Devices .....So please do this and run the script again
The text was updated successfully, but these errors were encountered:
I tried using this script for dumping a VBIOS from my APU AMD Ryzen 5 pro 4650g.
it is the only APU on the System, running Unraid 6.8.3., so there is no additional GPU installed
PCIe ACS override was enabled to get proper IOMMU groups
in the system devices they were separated:
IOMMU group 14: | [1002:1636] 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d9)
IOMMU group 15: | [1002:1637] 05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
As described I used VFIO-PCIConfig to bind the 2 devices to VFIO pci driver and rebooted the system.
The script shows the following error, whether you bind the sound part as well or not.
a 0 Byte file with the correct name is created in mnt/user/isos/vbios/
PS: I added a GPU and successfully dumped the GPU BIOS. But when trying the APU it gives the following error:
Error:
Script location: /tmp/user.scripts/tmpScripts/Dump VBIOS/script
Note that closing this window will abort the execution of this script
You have selected this device to dump the vbios from
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d9)
This does look like a valid GPU to me. Continuing .........
Checking if location to put vbios file exists
Vbios folder already exists
I will try and dump the vbios without disconnecting and reconnecting the GPU
This normally only works if the GPU is NOT the Primary or the only GPU
I will check the vbios at the end. If it seems wrong I will then retry after disconnecting the GPU
Defining temp vm with gpu attached
Domain dumpvbios defined from /tmp/dumpvbios.xml
Starting the temp vm to allow dump
Domain dumpvbios started
Waiting for a few seconds .....
Stopping the temp vm
Domain dumpvbios destroyed
Removing the temp vm
Domain dumpvbios has been undefined
/tmp/user.scripts/tmpScripts/Dump VBIOS/script: line 298: rom: Permission denied
Okay dumping vbios file named AMD-APU-Ryzen4650G2.rom to the location /mnt/user/isos/vbios/
cat: rom: No such file or directory
Um.... somethings gone wrong and I couldn't dump the vbios for some reason
Sometimes when this happens all we need to do to fix this is 'stub' or 'bind to the vfio' the gpu and reboot the server
This can be done in Unraid 6.8.3 with the use of the vfio config plugin or if you are on Unraid 6.9 or above it can be done
directly from the gui in Tools/System Devices .....So please do this and run the script again
The text was updated successfully, but these errors were encountered: