AMD APU Ryzen 5700G iGPU Passthrough on 6.9.2


q3bing

Recommended Posts

I got the Asus TUF X570 Plus so that should be a decent board for it... but perhaps thats the reason? 
Though i had the Asrock Phantom Gaming 4 and with none of the Bios updates the 5700G worked.. 

 

With Windows RDP i can remote into the VM but the VM has only acces to the RDP videocontroller. 
There is no other controller so the 5700G igpu is still not working. 

Link to comment
7 hours ago, Yellow NL said:

I got the Asus TUF X570 Plus so that should be a decent board for it... but perhaps thats the reason? 
Though i had the Asrock Phantom Gaming 4 and with none of the Bios updates the 5700G worked.. 

 

With Windows RDP i can remote into the VM but the VM has only acces to the RDP videocontroller. 
There is no other controller so the 5700G igpu is still not working. 

Wait did you say the 5700G passthrough worked for you on the Phantom Gaming 4?

Link to comment

No on the Asrock Phantom Gaming the 5700G didn't work at all. 

I tried all the bios updates and all the tricks but it turned out i was not the only one with a lower tier Asrock board 

who did not get the Cezanne chips working on it. 

So i purchased the Asus board and it worked (after the latest bios update). 

Only the igpu passthrough is not working for me at the moment. not even with the rom file from Tola5. 

Link to comment
1 hour ago, Yellow NL said:

No on the Asrock Phantom Gaming the 5700G didn't work at all. 

I tried all the bios updates and all the tricks but it turned out i was not the only one with a lower tier Asrock board 

who did not get the Cezanne chips working on it. 

So i purchased the Asus board and it worked (after the latest bios update). 

Only the igpu passthrough is not working for me at the moment. not even with the rom file from Tola5. 

As i said i have a sneaking suspicion B550 boards have more issues as the IOMMU groups seem tighter than  X570. My gigabyte X570 board (fanless ITX) is arriving tomorrow so I'll try that, need to get the iGPU passthrough working.

Link to comment

I finally got my 5700G to work with customized Plex docker but still can't seem to get it to work with Windows VM consistently. I initially got it to work in Windows 10 VM but once it got update to Windows 11 it just now keeps giving code 43 on the hardware.

 

For now I have given up on the VM usage as I mainly need it for the Plex hardware transcoding.

Link to comment
15 minutes ago, Teknowiz said:

I finally got my 5700G to work with customized Plex docker but still can't seem to get it to work with Windows VM consistently. I initially got it to work in Windows 10 VM but once it got update to Windows 11 it just now keeps giving code 43 on the hardware.

 

For now I have given up on the VM usage as I mainly need it for the Plex hardware transcoding.

How did you get it to work on Windows 10?

Link to comment

I have also given up. I tried to dump the bios from my Ryzen 2200G with the script from Spaceinvader One and the system crashes after aborting the script. The script stops when trying to stop the tmp VM. 

Hopefully there is a instruction available soon, how to pass through the internal GPU. 

Edited by snowy00
Link to comment
1 hour ago, Wirman said:

so you had also no success with the x570 board?

Nope. I'm using 6.1.0rc2, with the latest gigabyte x570s aorus pro ax itx board. I found the iommu groupings much better than the asrock b550 itx which I returned, however the default still has the cezanne gpu bundled with the tpm and usb 3 chipsets.

 

I tried it anyway, code 43 with Windows 11 , but I was able to install the amd drivers but still had code 43.

 

Windows 10 wouldn't boot once tried to pass through the cezanne gpu.

Link to comment

Same here, MSI Tomahawk, B550, latest BIOS, great IOMMU groups isolation, unfortunately "Error Code 43" in Windows10. Running ubuntu 20.04 with kernel 5.11.0-43-generic

 

IOMMO GROUPS

Quote

IOMMU Group 0:
    00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
IOMMU Group 1:
    00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
IOMMU Group 10:
    30:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1638] (rev c8)
IOMMU Group 11:
    30:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1637]
IOMMU Group 12:
    30:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
IOMMU Group 13:
    30:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1 [1022:1639]
IOMMU Group 14:
    30:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1 [1022:1639]
IOMMU Group 15:
    30:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]
IOMMU Group 2:
    00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge [1022:1634]
IOMMU Group 3:
    00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge [1022:1634]
IOMMU Group 4:
    00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
IOMMU Group 5:
    00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
IOMMU Group 6:
    00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 51)
    00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 7:
    00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:166a]
    00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:166b]
    00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:166c]
    00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:166d]
    00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:166e]
    00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:166f]
    00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1670]
    00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1671]
IOMMU Group 8:
    16:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ee]
    16:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43eb]
    16:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43e9]
    20:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
    20:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
    20:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
    21:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E12 NVMe Controller [1987:5012] (rev 01)
    22:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
IOMMU Group 9:
    2b:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation E12 NVMe Controller [1987:5012] (rev 01)

 

Link to comment
2 hours ago, Asian23 said:

So i got myself a GTX 1650  and installed it on my X570 with 5700G - I was able to run a Windows 11 VM with passthrough on the GTX1650 the first time. I don't know whether to laugh or cry :(

This is somehow expected, the problema AFAIK is related to APU's only. The idea behind my build is to be able to run some emulators and 1440p PC gaming with AMD FidelityFX using the built-in GPU. I'm pretty positive that adding an external GPU would make things much more feasible.  Said so.. I'm not buying it 😁 

Link to comment
21 minutes ago, eitten said:

This is somehow expected, the problema AFAIK is related to APU's only. The idea behind my build is to be able to run some emulators and 1440p PC gaming with AMD FidelityFX using the built-in GPU. I'm pretty positive that adding an external GPU would make things much more feasible.  Said so.. I'm not buying it 😁 

In the meantime, I'm still using the 5700G APU for plex docker which is feasible. But if we could get the 5700G passthrough working I could literally run 2 gaming VMs.......

Link to comment
10 hours ago, Asian23 said:

So i got myself a GTX 1650  and installed it on my X570 with 5700G - I was able to run a Windows 11 VM with passthrough on the GTX1650 the first time. I don't know whether to laugh or cry :(

Were you able to get the GTX 1650 for a reasonable price? If so, mind sharing where? Thanks

Link to comment
14 hours ago, MrLinux said:

Were you able to get the GTX 1650 for a reasonable price? If so, mind sharing where? Thanks

Yes - because i use a specific ITX case (Jonsbo N1) as a NAS case, i can only fit in Low Profile, single slot GPUs - and the only ones available anywhere in the world is out of China made by Yeston. I bought it from Taobao, around USD $250. Photo here:

image.thumb.png.936bacb877ff0f47c75942759f7fb79d.png

Edited by Asian23
Link to comment

This might not be what anyone wants to do, but I ended up installing a desktop environment on my hypervisor to use it as a gaming "machine". It's not used often but it does fulfill adding another gaming seat in the household without adding another massively overpriced gpu. I use proxmox  but would imagine unraid could install a desktop environment as well?

Link to comment
On 1/4/2022 at 1:24 PM, Asian23 said:

In the meantime, I'm still using the 5700G APU for plex docker which is feasible. But if we could get the 5700G passthrough working I could literally run 2 gaming VMs.......

Hi @Asian23, this is the use case I am looking at, would you mind sharing the steps you took to pass through the APU to the plex docker for transcoding and also confirm that was on the x570?  What is the transcoding performance like compared to before in Plex?

Edited by TheGrownUpGeek
Tag User
Link to comment
On 1/13/2022 at 4:47 PM, TheGrownUpGeek said:

Hi @Asian23, this is the use case I am looking at, would you mind sharing the steps you took to pass through the APU to the plex docker for transcoding and also confirm that was on the x570?  What is the transcoding performance like compared to before in Plex?

 

https://forums.plex.tv/t/got-hw-transcoding-to-work-with-libva-vaapi-on-ryzen-apu-ryzen-7-4700u/676546/216

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.