SpaceinvaderOne / Dump_GPU_vBIOS

Script to dump the vbios from any GPU even if primary gpu on an Unraid Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed

Scrat80 opened this issue · comments

Script location: /tmp/user.scripts/tmpScripts/Dump GPU vBIOS/script
Note that closing this window will abort the execution of this script
You have selected this device to dump the vbios from
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]

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
error: Failed to start domain dumpvbios
error: unsupported configuration: host doesn't support VFIO PCI passthrough

Waiting for a few seconds .....

Stopping the temp vm
error: Failed to destroy domain dumpvbios
error: Requested operation is not valid: domain is not running

Removing the temp vm
Domain dumpvbios has been undefined

Okay dumping vbios file named AMD/ATI Radeon HD 5000/6000/7350/8350 Series to the location /mnt/user/isos/vbios/
/tmp/user.scripts/tmpScripts/Dump GPU vBIOS/script: line 301: /mnt/user/isos/vbios/AMD/ATI
Radeon HD 5000/6000/7350/8350 Series: 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 error is saying your server doesnt support passthrough. It seems to point to you not having vtd/iommu enabled in your bios

error: unsupported configuration: host doesn't support VFIO PCI passthrough

Please check your bios settings.

I had the CPU virtualization enabled, but had missed the motherboard setting. I found that and enabled it also. Got the same message. Is my GT710 AMD equivalent not able to dump?

EDIT: It is the only GPU in the server. If that makes a difference going by the script feedback. 6.9-rc2

Your vbios name cannot be called AMD/ATI Radeon HD 5000/6000/7350/8350 Series. The slashes are interpreted as folders.

Think about it, the script is trying to write to

  • /mnt/user/isos/vbios/AMD/ATI Radeon HD 5000/6000/7350/8350 Series
    • This means: mnt -> user -> isos -> vbios -> AMD -> ATI Radion HD 5000 -> 600 -> 7350 -> 8350

Remove the / characters from the file name