Question about Ryzen APU passthrough with Proxmox and power consuption if VM with APU is shut down

eXTreMe

New Member
Dec 28, 2019
4
0
1
32
Hey everyone,

can someone tell me if this will work how i think:

Ryzen 3 3200G for example has integrated graphics (APU), is it possible with proxmox to passthrough the APU to a win10 VM or does grapics passthrough only work with real GPUs?
If APU passthrough is possible: Will the APU part of the processor consume power if it's not used because the VM to which its passed through is not turned on?

My plan is to switch the Ryzen CPU without internal graphics of my home server to a Ryzen CPU with APU to have a "2nd PC" which i can turn on for some office/browsing/light gaming stuff so i dont have to fire up my PC which consumes much more power in idle than a ryzen 3 under full load, but i dont wanna have it if the APU part of the CPU always consumes power, even if the VM is turned off.

Thanks for your advice!
 

Richard

Proxmox Staff Member
Staff member
Mar 6, 2015
886
41
48
Austria
Ryzen 3 3200G for example has integrated graphics (APU), is it possible with proxmox to passthrough the APU to a win10 VM or does grapics passthrough only work with real GPUs?
If APU passthrough is possible: Will the APU part of the processor consume power if it's not used because the VM to which its passed through is not turned on?

My plan is to switch the Ryzen CPU without internal graphics of my home server to a Ryzen CPU with APU to have a "2nd PC" which i can turn on for some office/browsing/light gaming stuff so i dont have to fire up my PC which consumes much more power in idle than a ryzen 3 under full load, but i dont wanna have it if the APU part of the CPU always consumes power, even if the VM is turned off.


We never made experiments with a setup like this, but I cannot imagine that it will work. BIOS will access immediately the integrated graphic controller, and as soon as a graphic controller is assigned for use in host system it can not used for pass through any more, especially when there no other graphic controller exists.
 

DarkWayC0de

New Member
Jan 28, 2020
1
0
1
Spain
I have been trying to do something very similar to what you are commenting on, I have a Ryzen 5 3400G and I have been trying to make a passthrought the APU to Win10, I have not currently got it working. As soon as the server is started, the server is using the APU, when I try to start the VM with Win10, the graphic signal is lost. When you start the host, the following message appears: “AMD-Vi: Unable to write to IOMMU perf counter.” I checked the motherboard and IOMMU enabled, so I am not sure what the problem may be or if it really is a problem.

Currently I have not been able to devote the time to see if I can solve this error.

One thing if I can tell you what I can see so far. In the beginning, the APU seems to be always activated, first used with the host and when requested by a VM it will be set. And I understand that when the VM is turned off I will return the APU to the host. (The latter I have not been able to prove since once I have tried to start the VM, the VM stops responding to the proxmox commands until the server is turned off or it reboots itself ).
 

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 your own in 60 seconds.

Buy now!