AMD Ryzen 7 "Renoir" 4750G APU and iGPU pass-thru (to Windows 10 guest)?

@NetworkingMicrobe
I use GOTupd tool made an uefi igpu bios which can go with OVMF.
I can see desktop before driver install,but I got the same problem after driver installed.
I think GPU generat multi display layer and at final step all layers mixed together to a single screen, the mouse layer is good and the others are corrupted.May be without driver installed all image use a single same display layer as mouse.
Some other info said old driver without amd link remote display func can work at some Radeon addin card, I will try old 3400G APU.
May the new driver put the image to some new place where remote display func can read from.
Attach file is my bios.
Where can i find that "GOTupd" tool? I need a OVMF BIOS for Cezanne APU.
 
  • Like
Reactions: scherepanov
Where can i find that "GOTupd" tool? I need a OVMF BIOS for Cezanne APU.
hi, could you share the details about your config.
I tried all what I found, but in case when seabios used the error appear: device does not support requested feature x-vga
without x-vga=on vm can boot but no video signal, and the code 43 in the device
 
OK, now i figured out how to create UEFI ROMs from Legacy BIOS.
I proudly present to you a working vBIOS for AMD Cezanne (running here on a ASUS PN52 with AMD Ryzen 5800H APU).
UEFI and SeaBIOS is working!!!
 

Attachments

OK, now i figured out how to create UEFI ROMs from Legacy BIOS.
I proudly present to you a working vBIOS for AMD Cezanne (running here on a ASUS PN52 with AMD Ryzen 5800H APU).
UEFI and SeaBIOS is working!!!
could you share the final vm config?
 
could you share the final vm config?
Code:
bios: ovmf
boot:
cores: 16
cpu: host,hidden=1
efidisk0: zpool:vm-201-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:06:00.0,pcie=1,romfile=vgabios-cezanne_05u.bin,x-vga=1
machine: pc-q35-7.2
memory: 8192
meta: creation-qemu=7.2.0,ctime=1679707140
name: win
net0: e1000=82:7E:73:78:52:E8,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: zpool:vm-201-disk-1,discard=on,iothread=1,size=128G
scsihw: virtio-scsi-single
smbios1: uuid=235aab0d-7927-4034-b9a4-aed956a33bbb
sockets: 1
tags: windows
tpmstate0: zpool:vm-201-disk-2,size=4M,version=v2.0
usb0: host=046d:c52b
vga: none
vmgenid: 91ec5218-5251-4054-960f-201e6ac74db3

Only problem now is that on VM shutdown i get a system reset :-(
 
OK, now i figured out how to create UEFI ROMs from Legacy BIOS.
I proudly present to you a working vBIOS for AMD Cezanne (running here on a ASUS PN52 with AMD Ryzen 5800H APU).
UEFI and SeaBIOS is working!!!

@DocMAX could you please share how you created the rom?
 
I had working setup with AMD igpu passthough and without any reason things got messed up. I cannot log to proxmox webgui, cant ping host aswell, VM's are working. How do i get access to console with all those overrides (im on ZFS, not using grub).

Forgot to mention that VM's are using passedthrough nic's and proxmox host is on mobo builtin one. I cannot review nic settings since i got no access.
 
Last edited:
I had working setup with AMD igpu passthough and without any reason things got messed up. I cannot log to proxmox webgui, cant ping host aswell, VM's are working. How do i get access to console with all those overrides (im on ZFS, not using grub).

Forgot to mention that VM's are using passedthrough nic's and proxmox host is on mobo builtin one. I cannot review nic settings since i got no access.
You need to boot from live-cd (ubuntu as example) mount the filesystem and fix it directly.
 
Glad i found this topic. @RtcBoy thank you for shaing the Renoir bios. I can boot with OVMF/UEFI and BIOS, i see the Proxmox bootscreen. But when entering Windows i see pixel blocks (both BIOS and UEFI). Any ideas?


View attachment 48532

EDIT: Excatly the same image with Linux guests! Please - we need a solution!
May be the pro apu Memory Encryption feature bring this. Btw did you fix this?
 
I finally got it working with my Lenovo P14s. The Renoir_Generic_VBIOS_updGOP.bin is from https://forum.proxmox.com/threads/a...ss-thru-to-windows-10-guest.84849/post-418165 As I am new to Proxmox, there are probably many errors in my setting, but Windows 11 starts and I see it on the laptop screen.

Code:
root@proxmox:~# cat /etc/pve/qemu-server/100.conf
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off' -object input-linux,id=mouse2,evdev=/dev/input/by-path/platform-i8042-serio-2-event-mouse -object input-linux,id=mouse1,evdev=/dev/input/by-path/platform-i8042-serio-1-event-mouse -object input-linux,id=kbd1,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd,grab_all=on,repeat=on
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 4
cpu: host
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:07:00.0,pcie=1,romfile=Renoir_Generic_VBIOS_updGOP.bin
hostpci1: 0000:03:00.0,pcie=1
ide2: local:iso/virtio-win-0.1.217.iso,media=cdrom,size=519172K
machine: pc-q35-8.1
memory: 16384
meta: creation-qemu=8.1.2,ctime=1701595453
name: Win11
net0: virtio=BC:24:11:B7:FA:CD,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: local-lvm:vm-100-disk-1,iothread=1,size=256G
scsihw: virtio-scsi-single
smbios1: uuid=4a75f80c-2af2-46dc-94c6-79fdf0e05885
sockets: 1
tablet: 0
tpmstate0: local-lvm:vm-100-disk-2,size=4M,version=v2.0
vga: none
vmgenid: 872031d0-75a4-4cea-a9c0-78b087825e6b

root@proxmox:~# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet textonly iommu=pt amd_iommu=on pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio-pci.ids=1002:1636,1002:1637 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu initcall_blacklist=sysfb_init nofb nomodeset"
GRUB_CMDLINE_LINUX=""
 
I finally got it working with my Lenovo P14s. The Renoir_Generic_VBIOS_updGOP.bin is from https://forum.proxmox.com/threads/a...ss-thru-to-windows-10-guest.84849/post-418165 As I am new to Proxmox, there are probably many errors in my setting, but Windows 11 starts and I see it on the laptop screen.

Code:
root@proxmox:~# cat /etc/pve/qemu-server/100.conf
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off' -object input-linux,id=mouse2,evdev=/dev/input/by-path/platform-i8042-serio-2-event-mouse -object input-linux,id=mouse1,evdev=/dev/input/by-path/platform-i8042-serio-1-event-mouse -object input-linux,id=kbd1,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd,grab_all=on,repeat=on
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 4
cpu: host
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:07:00.0,pcie=1,romfile=Renoir_Generic_VBIOS_updGOP.bin
hostpci1: 0000:03:00.0,pcie=1
ide2: local:iso/virtio-win-0.1.217.iso,media=cdrom,size=519172K
machine: pc-q35-8.1
memory: 16384
meta: creation-qemu=8.1.2,ctime=1701595453
name: Win11
net0: virtio=BC:24:11:B7:FA:CD,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: local-lvm:vm-100-disk-1,iothread=1,size=256G
scsihw: virtio-scsi-single
smbios1: uuid=4a75f80c-2af2-46dc-94c6-79fdf0e05885
sockets: 1
tablet: 0
tpmstate0: local-lvm:vm-100-disk-2,size=4M,version=v2.0
vga: none
vmgenid: 872031d0-75a4-4cea-a9c0-78b087825e6b

root@proxmox:~# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet textonly iommu=pt amd_iommu=on pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio-pci.ids=1002:1636,1002:1637 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu initcall_blacklist=sysfb_init nofb nomodeset"
GRUB_CMDLINE_LINUX=""
You don't have pixelated screen? and no 43 error code in device manager?
 
You don't have pixelated screen? and no 43 error code in device manager?
No pixelated screen and no 43 error code.

I have Processor AMD Ryzen 7 PRO 4750U and Graphics adapter AMD Radeon RX Vega 7. Installed drivers on Win 11 via www.amd.com/en/support > Processors with graphics > AMD Ryxen PRO Processors > AMD Ryzen 7 PRO 4000 series Mobile Processors > AMD Ryzen 7 PRO 4750U

After reboot AMD Software says I have AMD Radeon PRO Graphics etc.

But I have problems getting Linux (tried MX Linux and Debian) to work with the graphics card, it only want to run with nomodeset with resolution 800x600
 
I finally got it working with my Lenovo P14s. The Renoir_Generic_VBIOS_updGOP.bin is from https://forum.proxmox.com/threads/a...ss-thru-to-windows-10-guest.84849/post-418165 As I am new to Proxmox, there are probably many errors in my setting, but Windows 11 starts and I see it on the laptop screen.

Code:
root@proxmox:~# cat /etc/pve/qemu-server/100.conf
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off' -object input-linux,id=mouse2,evdev=/dev/input/by-path/platform-i8042-serio-2-event-mouse -object input-linux,id=mouse1,evdev=/dev/input/by-path/platform-i8042-serio-1-event-mouse -object input-linux,id=kbd1,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd,grab_all=on,repeat=on
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 4
cpu: host
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:07:00.0,pcie=1,romfile=Renoir_Generic_VBIOS_updGOP.bin
hostpci1: 0000:03:00.0,pcie=1
ide2: local:iso/virtio-win-0.1.217.iso,media=cdrom,size=519172K
machine: pc-q35-8.1
memory: 16384
meta: creation-qemu=8.1.2,ctime=1701595453
name: Win11
net0: virtio=BC:24:11:B7:FA:CD,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: local-lvm:vm-100-disk-1,iothread=1,size=256G
scsihw: virtio-scsi-single
smbios1: uuid=4a75f80c-2af2-46dc-94c6-79fdf0e05885
sockets: 1
tablet: 0
tpmstate0: local-lvm:vm-100-disk-2,size=4M,version=v2.0
vga: none
vmgenid: 872031d0-75a4-4cea-a9c0-78b087825e6b

root@proxmox:~# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet textonly iommu=pt amd_iommu=on pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio-pci.ids=1002:1636,1002:1637 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu initcall_blacklist=sysfb_init nofb nomodeset"
GRUB_CMDLINE_LINUX=""


Hey Guys i was able to get it working on my 4750G using this romfile, i did a BUNCH of tests ,

and the way that i was able to make it, was using OVMF/UEFI.
About my Grub , it's a little bit more simple.


GRUB_CMDLINE_LINUX="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction vfio_iommu_type1.allow_unsafe_interrupts=1"
 
Hey Guys i was able to get it working on my 4750G using this romfile, i did a BUNCH of tests ,

and the way that i was able to make it, was using OVMF/UEFI.
About my Grub , it's a little bit more simple.


GRUB_CMDLINE_LINUX="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction vfio_iommu_type1.allow_unsafe_interrupts=1"
But still with AMD reset bug, right?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!