So I already managed to at least partially solve the issue for myself, and there’s a decent chance it’s very specific to my particularly complex setup, but just in case someone else runs into this issue I’m going to explain what I ran into and how I solved it.
Some of the likely relevant details about my system:
- Framework Desktop motherboard with AMD Ryzen AI Max 395+ w/ 8060S
- M.2 to OcuLink adapter + OcuLink cable + OcuLink to PCIe slot adapter
- Nvidia RTX 5060 Ti replacing a 1030
- CachyOS
- Linux Kernel 6.18.3
I had a functioning setup with VFIO passthrough of the 1030 into a Windows VM with QEMU/KVM, but I wanted a bit more oomph and bought a 5060 Ti thinking replacement should be easy with everything already working and it being Nvidia to Nvidia, just update device IDs for vfio and that’s it. Unfortunately it wasn’t quite so easy.
First boot after replacing the GPU was fine, updated vfio-pci.ids= to new device IDs, rebooted again and then everything started going wrong. System was super stuttery already on login screen, after logging in it froze up hard when loading the desktop for tens of seconds and then gave me lots of beeps like when the input buffer is full but eventually started working. VM does not start, gives me weird errors. Any time I try to run lspci or various other things the system chokes for a while again. Check dmesg and see a bunch of logs from vfio-pci and pcieport incl. Unable to change power state from D3cold to D0, device inaccessible. The 0000:c2:00.0 is the Nvidia GPU, and for some reason also got issues with another device which lspci says is a thunderbolt controller.
[Thu Jan 8 15:17:08 2026] vfio-pci 0000:c2:00.0: Unable to change power state from D0 to D3hot, device inaccessible
[Thu Jan 8 15:17:59 2026] pcieport 0000:02:04.0: Unable to change power state from D3cold to D0, device inaccessible
[Thu Jan 8 15:18:00 2026] vfio-pci 0000:c2:00.0: Enabling HDA controller
[Thu Jan 8 15:18:00 2026] vfio-pci 0000:c2:00.0: Unable to change power state from D3cold to D0, device inaccessible
[Thu Jan 8 15:18:00 2026] vfio-pci 0000:c2:00.0: Enabling HDA controller
[Thu Jan 8 15:18:00 2026] pcieport 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible
[Thu Jan 8 15:18:01 2026] vfio-pci 0000:c2:00.0: Unable to change power state from D3cold to D0, device inaccessible
Also when I checked lspci -vvv I saw unknown header type 7f!! which some Nvidia forum said happens when the PCIe device falls off the bus, made me think the OcuLink connection was unstable at newer PCIe generations than the 1030 could support.
c2:00.0 VGA compatible controller: NVIDIA Corporation GB206 [GeForce RTX 5060 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ZOTAC International (MCO) Ltd. Device 1772
!!! Unknown header type 7f
Interrupt: pin ? routed to IRQ 255
IOMMU group: 27
Region 0: Memory at 94000000 (32-bit, non-prefetchable) [size=64M]
Region 1: Memory at 7000000000 (64-bit, prefetchable) [size=16G]
Region 3: Memory at 7400000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 2000 [size=128]
Expansion ROM at 98080000 [disabled] [size=512K]
Kernel driver in use: vfio-pci
Kernel modules: nouveau, nvidia_drm, nvidia
c2:00.1 Audio device: NVIDIA Corporation GB206 High Definition Audio Controller (rev a1) (prog-if 00 [HDA compatible])
Subsystem: NVIDIA Corporation Device 0000
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 255
IOMMU group: 27
Region 0: Memory at 98000000 (32-bit, non-prefetchable) [disabled] [size=16K]
Capabilities: [40] <chain broken>
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
This is the errors I got in Virtual Machine Manager when trying to start it, one of these seemingly randomly:
I went through a rabbit hole of googling for potential issues and it seemed like nobody else was having significant issues with passthrough on Nvidia 50xx series, but there had been a bunch of people who had reported issues that they then said they had gotten resolved. I even went back and checked that the 1030 setup still works and it did.
Dead ends
Here’s some of the things I remember finding that didn’t lead anywhere:
pci_aspm=offkernel argument, didn’t seem to accomplish anything, thoughdmesgconfirmed it was parsed- Nvidia & Zotac utilities to update the VBIOS since there were some earlier reported issues - the VBIOS was already up to date according to Nvidia’s utility and the Zotac utility was completely broken and useless. Had to plug it into a Windows PC to check this, and the GPU worked fine in it so the GPU wasn’t the issue anyway.
- Maybe the PCIe generation was causing issues over this OcuLink connection? Unfortunately Framework’s barren BIOS made it impossible for me to try and downgrade the link speed and it didn’t seem possible from Linux itself so this went nowhere. Also thanks to Framework the PCIe slot is not open ended so I couldn’t physically try the GPU in the PCIe slot without OcuLink. Thanks Framework!
echo "0" > /sys/bus/pci/devices/0000:c2:00.0/d3cold_allowed && echo "1" > /sys/bus/pci/devices/0000:c2:00.0/resetto try and disable D3 sleep.dmesgshowed the commands as having been accepted but nothing changed. Also tried to remove the pcie devices via the same interface and then rescan, nothing.- Some mentions of a
vendor-resetutility that should help reset the device, after looking into it a bit more it seems it hasn’t been updated since kernel 6.12 and I didn’t think it was a good avenue to start looking into deeper. - Disabling “ROM BAR” in the PCIe passthrough settings, for the GPU to work in the end this had to be on.
Solution?
In the end what I did was added a kernel boot argument vfio-pci.disable_idle_d3=1 which seems to prevent the GPU from entering the D3cold state and now everything is working. I’d prefer a solution that didn’t depend on this though, would very much appreciate it if someone can share a better solution.
My full kernel boot argument list related to VFIO passthrough is now this:
modules.blacklist=nouveau,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm vfio-pci.ids=10de:2d04,10de:22eb amd_iommu=on iommu=pt vfio_iommu_type1.allow_unsafe_interrupts=1 vfio-pci.disable_idle_d3=1
Not quite sure which parts of them are 100% necessary, but at this stage I also don’t care to find out.

