Jump to content

aaaa

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by aaaa

  1. Hello, i wasted a lot of time to solve problem on plain KVM (not unraid) to use in Win10 guest, may it helps to you.
    1) Nvidia GPU 1000+ is protected to use for passthrought, i have flashed bios on my GTX 1050Ti to use in KVM, but may it is not nessesary

    2) My CPU AMD Ryzen and kernel parameters a little different:

    GRUB_CMDLINE_LINUX_DEFAULT="splash=silent quiet elevator=deadline amd_iommu=force_isolation iommu=pt rd.driver.pre=vfio-pci vt.global_cursor_default=0 pcie_acs_override=downstream,multifunction"
     
    3) This is part of my config for KVM. That worked for me:

    ...

    <features>
       <acpi/>
       <apic/>
       <hyperv>
         <relaxed state='on'/>
         <vapic state='on'/>
         <spinlocks state='on' retries='8191'/>
         <vpindex state='on'/>
         <synic state='on'/>
         <stimer state='on'/>
         <vendor_id state='on' value='ahb6Wah2geeb'/>
         <frequencies state='on'/>
       </hyperv>
       <kvm>
         <hidden state='on'/>
       </kvm>
       <vmport state='off'/>
       <ioapic driver='kvm'/>
     </features>
     <cpu mode='host-passthrough' check='partial'>
       <topology sockets='1' cores='6' threads='2'/>
       <cache mode='passthrough'/>
       <feature policy='require' name='topoext'/>
       <feature policy='disable' name='hypervisor'/>
     </cpu>
     <clock offset='localtime'>
       <timer name='rtc' tickpolicy='catchup'/>
       <timer name='pit' tickpolicy='delay'/>
       <timer name='hpet' present='no'/>
       <timer name='hypervclock' present='yes'/>
     </clock>
    ...

       <hostdev mode='subsystem' type='pci' managed='yes'>
         <source>
           <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
         </source>
         <rom file='/opt/windows/nvidia-patched.rom'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
       </hostdev>
     

    4) I have used
    nvflash_linux
    nvidia_vbios_vfio_patcher.py
    to patch and flash my GPU

×
×
  • Create New...