Windows 10 VM - AMD APU (5600g) Passthrough / VBIOS Dump


happy1

Recommended Posts

Hello,

I've been trying to passthorugh the Vega 7 integrated graphic from the Ryzen 5600g without success. 

 

My VM Setup:

hxibDh4.png


Successfully Split IOMMU Groups (spaceinvaders guide)

7GdOE5R.png

 

-> I can boot into the VM, but the device manager gives me the error 43

 

This is my the GPU-Z output I get, cant dump the BIOS here. Lookup cant find any entries on techpowerup.com.

OI0gECQ.gif

 

Last Thing I've tried out is spaceinvaders vbios_dump script from github, but it always fails at this point.


NoSn6HJ.png

 

 


Any other ideas how I could successfully passthrough my integrated graphics or get working drivers/vbios?

 

Link to comment
  • 2 weeks later...
  • 1 month later...
  • 2 months later...
  • 1 month later...
  • 1 month later...
  • 3 weeks later...

Hello,

 

Working windows 10&11 - ubuntu 20.04 - mint 20.3 for now on :

- 6.9.2

- q35

- seabios

- vbios above

 

But this not working on 6.10rc5 not working, same config on 6.10rc5. 

 

on 6.9.2

- cant boot on ubuntu or popos 22.04, either seabios or omvf

 

Edited by tranquillechat
orhtographe correction
Link to comment
  • 5 months later...
  • 1 year later...

thanks to the vbios dump from this threat I have a made massive progress on running an ESXi 6.7 passthrough AMD Ryzen 9 5900HX with Radeon Graphics. It's a Cezanne chip but dont know if it's compatible with the vbios dump. I get a PSP error now but It already seemed to have recognized the ATOM BIOS: 13-CEZANNE-019.

 

If someone has more vbios dumps I would love to try them.
 

[  838.922714] [drm] amdgpu kernel modesetting enabled.
[  838.922717] [drm] amdgpu version: 6.2.4
[  838.922718] [drm] OS DRM version: 6.2.0
[  838.922879] amdgpu: CRAT table not found
[  838.922881] amdgpu: Virtual CRAT table created for CPU
[  838.922895] amdgpu: Topology: Add CPU node
[  838.923015] amdgpu: PeerDirect support was initialized successfully
[  838.923771] [drm] initializing kernel modesetting (RENOIR 0x1002:0x1638 0x1002:0x0123 0xC4).
[  838.923989] [drm] register mmio base: 0xFEA00000
[  838.923990] [drm] register mmio size: 524288
[  838.926575] [drm] add ip block number 0 <soc15_common>
[  838.926577] [drm] add ip block number 1 <gmc_v9_0>
[  838.926578] [drm] add ip block number 2 <vega10_ih>
[  838.926579] [drm] add ip block number 3 <psp>
[  838.926580] [drm] add ip block number 4 <smu>
[  838.926582] [drm] add ip block number 5 <dm>
[  838.926583] [drm] add ip block number 6 <gfx_v9_0>
[  838.926584] [drm] add ip block number 7 <sdma_v4_0>
[  838.926585] [drm] add ip block number 8 <vcn_v2_0>
[  838.926586] [drm] add ip block number 9 <jpeg_v2_0>
[  838.969129] [drm] BIOS signature incorrect 0 0
[  838.969134] amdgpu 0000:04:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
[  839.011311] [drm] BIOS signature incorrect 0 0
[  839.092010] amdgpu 0000:04:00.0: amdgpu: Fetched VBIOS from file
[  839.092021] amdgpu: ATOM BIOS: 13-CEZANNE-019
[  839.249280] [drm] VCN decode is enabled in VM mode
[  839.249284] [drm] VCN encode is enabled in VM mode
[  839.270920] [drm] JPEG decode is enabled in VM mode
[  839.270962] amdgpu 0000:04:00.0: vgaarb: deactivate vga console
[  839.270966] amdgpu 0000:04:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
[  839.270983] amdgpu 0000:04:00.0: amdgpu: MODE2 reset
[  839.271631] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[  839.271645] amdgpu 0000:04:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[  839.271648] amdgpu 0000:04:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[  839.271650] amdgpu 0000:04:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[  839.271658] [drm] Detected VRAM RAM=512M, BAR=512M
[  839.271659] [drm] RAM width 128bits DDR4
[  839.271733] [drm] amdgpu: 512M of VRAM memory ready
[  839.271735] [drm] amdgpu: 16026M of GTT memory ready.
[  839.271746] [drm] GART: num cpu pages 262144, num gpu pages 262144
[  839.271905] [drm] PCIE GART of 1024M enabled.
[  839.271908] [drm] PTB located at 0x000000F41FC00000
[  839.276617] [drm] Loading DMUB firmware via PSP: version=0x01010028
[  839.277728] [drm] Found VCN firmware Version ENC: 1.21 DEC: 6 VEP: 0 Revision: 0
[  839.277741] amdgpu 0000:04:00.0: amdgpu: Will use PSP to load VCN firmware
[  839.877153] [drm] reserve 0x400000 from 0xf41f800000 for PSP TMR
[  839.877304] gmc_v9_0_process_interrupt: 12 callbacks suppressed
[  839.877310] amdgpu 0000:04:00.0: amdgpu: [mmhub0] no-retry page fault (src_id:0 ring:158 vmid:0 pasid:0, for process  pid 0 thread  pid 0)
[  839.877322] amdgpu 0000:04:00.0: amdgpu:   in page starting at address 0x0000000000000000 from IH client 0x12 (VMC)
[  839.877330] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x0000033D
[  839.877334] amdgpu 0000:04:00.0: amdgpu: 	 Faulty UTCL2 client ID: MP0 (0x1)
[  839.877339] amdgpu 0000:04:00.0: amdgpu: 	 MORE_FAULTS: 0x1
[  839.877342] amdgpu 0000:04:00.0: amdgpu: 	 WALKER_ERROR: 0x6
[  839.877346] amdgpu 0000:04:00.0: amdgpu: 	 PERMISSION_FAULTS: 0x3
[  839.877349] amdgpu 0000:04:00.0: amdgpu: 	 MAPPING_ERROR: 0x1
[  839.877353] amdgpu 0000:04:00.0: amdgpu: 	 RW: 0x0
[  839.877358] amdgpu 0000:04:00.0: amdgpu: [mmhub0] no-retry page fault (src_id:0 ring:158 vmid:0 pasid:0, for process  pid 0 thread  pid 0)
[  839.877365] amdgpu 0000:04:00.0: amdgpu:   in page starting at address 0x0000000000000000 from IH client 0x12 (VMC)
[  839.877372] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[  839.877376] amdgpu 0000:04:00.0: amdgpu: 	 Faulty UTCL2 client ID: MP1 (0x0)
[  839.877381] amdgpu 0000:04:00.0: amdgpu: 	 MORE_FAULTS: 0x0
[  839.877384] amdgpu 0000:04:00.0: amdgpu: 	 WALKER_ERROR: 0x0
[  839.877388] amdgpu 0000:04:00.0: amdgpu: 	 PERMISSION_FAULTS: 0x0
[  839.877391] amdgpu 0000:04:00.0: amdgpu: 	 MAPPING_ERROR: 0x0
[  839.877395] amdgpu 0000:04:00.0: amdgpu: 	 RW: 0x0
[  842.060256] [drm] psp gfx command UNKNOWN CMD(0xFFFFFFFF) failed and response status is (0xFFFFFFFF)
[  842.060262] [drm:psp_hw_start [amdgpu]] *ERROR* PSP load tmr failed!
[  842.080498] [drm:psp_hw_init [amdgpu]] *ERROR* PSP firmware loading failed
[  842.080665] [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* hw_init of IP block <psp> failed -22
[  842.080820] amdgpu 0000:04:00.0: amdgpu: amdgpu_device_ip_init failed
[  842.080824] amdgpu 0000:04:00.0: amdgpu: Fatal error during GPU init
[  842.080828] amdgpu 0000:04:00.0: amdgpu: amdgpu: finishing device.
[  842.080929] ------------[ cut here ]------------
[  842.080930] WARNING: CPU: 12 PID: 3702 at /var/lib/dkms/amdgpu/6.2.4-1666569.22.04/build/amd/amdgpu/amdgpu_irq.c:629 amdgpu_irq_put+0xa4/0xc0 [amdgpu]
[  842.081089] Modules linked in: amdgpu(OE+) nfsv3 nfs_acl nfs lockd grace fscache netfs wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nfnetlink_acct nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock sunrpc binfmt_misc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio snd_compress ac97_bus snd_hda_intel btusb snd_pcm_dmaengine btrtl snd_intel_dspcfg snd_pci_ps btbcm snd_intel_sdw_acpi snd_hda_codec nls_iso8859_1 btintel snd_rpl_pci_acp6x btmtk snd_acp_pci snd_hda_core bluetooth snd_pci_acp6x snd_hwdep snd_pcm snd_pci_acp5x snd_timer snd_rn_pci_acp3x ecdh_generic
[  842.081153]  snd_acp_config ecc snd snd_soc_acpi intel_rapl_msr vmw_balloon soundcore snd_pci_acp3x ccp joydev intel_rapl_common input_leds vmw_vmci serio_raw mac_hid sch_fq_codel dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear ib_uverbs hid_generic ib_core uas usbhid usb_storage hid amddrm_ttm_helper(OE) amdttm(OE) amdxcp(OE) iommu_v2 amddrm_buddy(OE) amd_sched(OE) amdkcl(OE) i2c_algo_bit drm_display_helper cec rc_core crct10dif_pclmul drm_kms_helper crc32_pclmul polyval_clmulni syscopyarea sysfillrect polyval_generic sysimgblt ghash_clmulni_intel sha512_ssse3 aesni_intel crypto_simd cryptd drm psmouse video vmw_pvscsi wmi xhci_pci vmxnet3 xhci_pci_renesas i2c_piix4 pata_acpi [last unloaded: amdgpu(OE)]
[  842.081218] CPU: 12 PID: 3702 Comm: insmod Tainted: P           OE      6.2.0-39-generic #40~22.04.1-Ubuntu
[  842.081221] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.16707776.B64.2008070230 08/07/2020
[  842.081222] RIP: 0010:amdgpu_irq_put+0xa4/0xc0 [amdgpu]
[  842.081378] Code: 31 f6 31 ff e9 5d 6a 97 cd 44 89 ea 4c 89 e6 4c 89 f7 e8 8f fc ff ff 5b 41 5c 41 5d 41 5e 5d 31 d2 31 f6 31 ff e9 3c 6a 97 cd <0f> 0b b8 ea ff ff ff eb c3 b8 ea ff ff ff eb bc b8 fe ff ff ff eb
[  842.081380] RSP: 0018:ffffb1dd831638a8 EFLAGS: 00010246
[  842.081382] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[  842.081383] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[  842.081384] RBP: ffffb1dd831638c8 R08: 0000000000000000 R09: 0000000000000000
[  842.081385] R10: 0000000000000000 R11: 0000000000000000 R12: ffff93726d6a7a50
[  842.081386] R13: 0000000000000000 R14: ffff93726d680000 R15: 0000000000000001
[  842.081388] FS:  00007fb67cc2c000(0000) GS:ffff93791e100000(0000) knlGS:0000000000000000
[  842.081389] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  842.081390] CR2: 00005563383c7000 CR3: 000000010bc54000 CR4: 00000000007506e0
[  842.081405] PKRU: 55555554
[  842.081406] Call Trace:
[  842.081407]  <TASK>
[  842.081410]  ? show_regs+0x72/0x90
[  842.081414]  ? amdgpu_irq_put+0xa4/0xc0 [amdgpu]
[  842.081569]  ? __warn+0x8d/0x160
[  842.081573]  ? amdgpu_irq_put+0xa4/0xc0 [amdgpu]
[  842.081729]  ? report_bug+0x1bb/0x1d0
[  842.081734]  ? handle_bug+0x46/0x90
[  842.081738]  ? exc_invalid_op+0x19/0x80
[  842.081740]  ? asm_exc_invalid_op+0x1b/0x20
[  842.081745]  ? amdgpu_irq_put+0xa4/0xc0 [amdgpu]
[  842.081900]  ? amdgpu_irq_put+0x59/0xc0 [amdgpu]
[  842.082055]  amdgpu_fence_driver_hw_fini+0xf5/0x140 [amdgpu]
[  842.082220]  amdgpu_device_fini_hw+0xc0/0x470 [amdgpu]
[  842.082365]  ? blocking_notifier_chain_unregister+0x56/0xc0
[  842.082370]  amdgpu_driver_unload_kms+0x4d/0x70 [amdgpu]
[  842.082516]  amdgpu_driver_load_kms+0x111/0x200 [amdgpu]
[  842.082687]  amdgpu_pci_probe+0x1c0/0x4f0 [amdgpu]
[  842.082846]  local_pci_probe+0x4b/0xb0
[  842.082851]  pci_call_probe+0x55/0x190
[  842.082854]  pci_device_probe+0x84/0x120
[  842.082857]  ? srso_alias_return_thunk+0x5/0x7f
[  842.082860]  really_probe+0x1ed/0x450
[  842.082864]  __driver_probe_device+0x8a/0x190
[  842.082866]  driver_probe_device+0x23/0xd0
[  842.082868]  __driver_attach+0x10f/0x220
[  842.082870]  ? __pfx___driver_attach+0x10/0x10
[  842.082872]  bus_for_each_dev+0x83/0xe0
[  842.082876]  driver_attach+0x1e/0x30
[  842.082878]  bus_add_driver+0x152/0x250
[  842.082879]  ? srso_alias_return_thunk+0x5/0x7f
[  842.082882]  driver_register+0x83/0x160
[  842.082885]  ? __pfx_init_module+0x10/0x10 [amdgpu]
[  842.083016]  __pci_register_driver+0x68/0x80
[  842.083019]  amdgpu_init+0x9a/0xff0 [amdgpu]
[  842.083148]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083150]  do_one_initcall+0x49/0x240
[  842.083155]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083156]  ? kmalloc_trace+0x2a/0xb0
[  842.083160]  do_init_module+0x52/0x240
[  842.083164]  load_module+0xb96/0xd60
[  842.083166]  ? security_kernel_post_read_file+0x5c/0x80
[  842.083173]  __do_sys_finit_module+0xcc/0x150
[  842.083175]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083177]  ? __do_sys_finit_module+0xcc/0x150
[  842.083182]  __x64_sys_finit_module+0x18/0x30
[  842.083185]  do_syscall_64+0x5c/0x90
[  842.083187]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083189]  ? syscall_exit_to_user_mode+0x38/0x60
[  842.083191]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083193]  ? do_syscall_64+0x69/0x90
[  842.083195]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083197]  ? exit_to_user_mode_prepare+0x3b/0xd0
[  842.083199]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083201]  ? irqentry_exit_to_user_mode+0x17/0x20
[  842.083203]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083208]  ? irqentry_exit+0x43/0x50
[  842.083210]  ? srso_alias_return_thunk+0x5/0x7f
[  842.083212]  ? exc_page_fault+0x92/0x1b0
[  842.083215]  entry_SYSCALL_64_after_hwframe+0x73/0xdd
[  842.083217] RIP: 0033:0x7fb67c31e69d
[  842.083222] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 63 a7 0f 00 f7 d8 64 89 01 48
[  842.083223] RSP: 002b:00007ffe3de33fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[  842.083226] RAX: ffffffffffffffda RBX: 0000558e9bc3a7a0 RCX: 00007fb67c31e69d
[  842.083227] RDX: 0000000000000000 RSI: 0000558e9a5bacd2 RDI: 0000000000000003
[  842.083228] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[  842.083229] R10: 0000000000000003 R11: 0000000000000246 R12: 0000558e9a5bacd2
[  842.083230] R13: 0000558e9bc3a760 R14: 0000558e9a5b9888 R15: 0000558e9bc3a8b0
[  842.083234]  </TASK>
[  842.083235] ---[ end trace 0000000000000000 ]---
[  842.083242] ------------[ cut here ]------------


 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.