Skip to content

Instantly share code, notes, and snippets.

@isc30
Last active April 7, 2024 19:25
Show Gist options
  • Save isc30/74ff0f3544c35ef81a9cedf81cb3fca8 to your computer and use it in GitHub Desktop.
Save isc30/74ff0f3544c35ef81a9cedf81cb3fca8 to your computer and use it in GitHub Desktop.
Proxmox v7.4/v8 - Ryzen 7 7735HS - AMD Radeon 680M GPU passthrough
@Matssa56
Copy link

Matssa56 commented Oct 8, 2023

Managed to get it working on Proxmox VE8 simply following this tutorial there. I don't know why it didn't work before. I only managed to get a remote desktop using the GPU on Windows 10. Ubuntu still crashes, not sure why.

In win10, it seems like the reset issue is gone, I can stop and start the machine as many times I want and the GPU works properly every time without crashing the host. All I can say is: use the latest versions for proxmox and the kernel etc

Nice!

Just a quick question, why add the fllowing ?

echo "softdep radeon pre: vfio-pci" >> /etc/modprobe.d/vfio.conf
echo "softdep amdgpu pre: vfio-pci" >> /etc/modprobe.d/vfio.conf
echo "softdep snd_hda_intel pre: vfio-pci" >> /etc/modprobe.d/vfio.conf

@Matssa56
Copy link

Matssa56 commented Oct 8, 2023

Btw the vendor reset stuff isn't necessary right? Since it doesn't work in the first place

@isc30
Copy link
Author

isc30 commented Oct 9, 2023 via email

@isc30
Copy link
Author

isc30 commented Oct 10, 2023

@Matssa56 Need your help :) I think I managed to isolate the specific problem that prevents Win11 from working!!!

Hey @Matssa56 what device do you have? do you mind sharing your vbios with me pls? ivansanzcarasa@gmail.com

I discovered that the problem seems to be when using OVMF (UEFI) for the BIOS type.
I created 2 identical VMs with Win10, 1 with SeaBIOS and the other with OVMF (UEFI). The UEFI one throws Error code 43 when trying to initialize the GPU and the seabios works properly. I'm wondering if the specific vbios I extracted from my system doesnt have UEFI support and maybe the vbios from someone else with a different motherboard works.

Please I'm out of ideas :)

FAILS: OVMF (UEFI)

image
image

WORKS: SEABIOS

image
image

@Matssa56
Copy link

@Matssa56 Need your help :) I think I managed to isolate the specific problem that prevents Win11 from working!!!

Hey @Matssa56 what device do you have? do you mind sharing your vbios with me pls? ivansanzcarasa@gmail.com

I discovered that the problem seems to be when using OVMF (UEFI) for the BIOS type. I created 2 identical VMs with Win10, 1 with SeaBIOS and the other with OVMF (UEFI). The UEFI one throws Error code 43 when trying to initialize the GPU and the seabios works properly. I'm wondering if the specific vbios I extracted from my system doesnt have UEFI support and maybe the vbios from someone else with a different motherboard works.

Please I'm out of ideas :)

FAILS: OVMF (UEFI)

image image

WORKS: SEABIOS

image image

I think I have the same device as you : minisforum UM773 lite so not really sure my vbios will be different. My Linux machine is using seabios, not the other one. Why not stick with seabios?

@isc30
Copy link
Author

isc30 commented Oct 10, 2023 via email

@Matssa56
Copy link

oh damn, did you install the latest BIOS when you got the UM773 Lite? IDK it might be nice to try if we get a different file, it's possible depending on the BIOS version and settings.
Sadly, UEFI is critical for windows 11 and other modern OS like Ubuntu if you want advanced features. If we could find someone with a different machine but same processor (maybe a SER6 PRO for example) and compare the vbios we can find exactly why UEFI isn't working on the MinisForum BIOS.

Yep updated the bios but it was already up to date when I received it.
Did you try the minisforum discord? I hope someone can help there :-S
You can maybe try ESXi from VMware, maybe you'll have better results?
What CPU did you use in the VM? Host?

@isc30
Copy link
Author

isc30 commented Oct 10, 2023 via email

@isc30
Copy link
Author

isc30 commented Oct 12, 2023

Hey @Matssa56 @TSEVER I managed to get Win11 and UEFI working. I updated and migrated the guide to a proper repository so I could upload the ROM files there.

We can discuss in the "Discussions" or "Issues" section of the repo 👍

https://github.com/isc30/UM773-Lite-Proxmox/tree/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment