Replies: 8 comments 8 replies
-
I got it working on a 5700U using OVMF (UEFI) by extracting AMDGopDriver.efi and converting it to a rom from my motherboard bios rom. This was the key for me. Tried everything under the sun. The AMDGopDriver provided in this repo didn't work, and neither did one provided by someone else with the same CPU but a different motherboard. Most of the steps described in the main readme are required, except use OVMF (UEFI) instead of SeaBios. This assumes you have access to Windows to extract the AMDGopDriver rom:
Extract AMDGopDriver and VBIOS:
Convert AMDGopDriver.efi to rom:
Copy files: Edit your /etc/pve/qemu-server/###.conf and append the romfile=vbios_####.dat file to the GPU PCIE device and romfile=AMDGopDriver.rom to the audio device PCIE entry. (See the main readme for info about editing this file.) Without the correct AMDGopDriver, I was unable to ever get any signal at all over HDMI in either CSM or UEFI mode. With the correct GOP driver, the moment I start the VM, I get a signal showing the Proxmox logo. I've found that to be the key. If the display output just shows text from the initial Proxmox boot log and doesn't disappear or change when you launch the VM, nothing you do inside Windows will ever make it work because the GPU passthrough did not work. |
Beta Was this translation helpful? Give feedback.
-
ha, I got rid of 5800H and bought another machine - this time MinisForum UM790 Pro Ryzen 9 7940HS |
Beta Was this translation helpful? Give feedback.
-
yes, windows INSIDE proxmox |
Beta Was this translation helpful? Give feedback.
-
ok, then I did not get it |
Beta Was this translation helpful? Give feedback.
-
Sure! I've attached both files. Thanks for maintaining this. I was very glad to find it and see that AMD passthrough is possible after all after having been lost in a sea of old / incomplete information and failed attempts. I think it would be very helpful for others to add the instructions I wrote above on how to extract your own vbios and AMDGopDriver.rom from the motherboard bios to the repo so everything is centralized. I had no idea where the AMDGopDriver.rom in your repo came from, how to get a different one, or even if it was a motherboard-specific thing or not until I dug around and ended up learning what tools I needed and the process to extract it by watching a Chinese video posted to YouTube (No, I don't speak Chinese :). It turned out to be the key to success for me. I was unable to get it working even in CSM (SeaBios) mode without using an AMDGopDriver, but in UEFI mode it works as long as I have the correct one (I haven't tried CSM mode with the new driver.) |
Beta Was this translation helpful? Give feedback.
-
Awesome! Oh wow. I didn't even know those tools were in there. D'oh! I guess I didn't look very hard. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hmm... I think the GOP driver rom should be renamed something more generic like _5700U or something rather than the name of my motherboard. Someone else with a different system was able to get their 5700U working using the same instructions I gave them to extract the rom. I tested their ROM in my system and it worked. The file size was identical, and there were only 1 or 2 bytes different between the files, but I believe that is due to the fact that he extracted the rom passing in the product id of the audio device rather than the VGA device. It seems to pretty much ignore the product id I guess. So I think it's fairly safe to say that the GOP driver should work for any 5700U. |
Beta Was this translation helpful? Give feedback.
-
Thanks a ton for these valuable information. never found anywhere else how to extract vbios and that its necessary to have the AMDGopDriver... |
Beta Was this translation helpful? Give feedback.
-
So I tried this one on my Beelink SER 5 Pro but apparently all is ok except there is no GPU in windows ;-)
Which part is different from 5800 and 7000?
Of course I installed AMD drivers for 5800H but actually it says:
Beta Was this translation helpful? Give feedback.
All reactions