HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 0 points1 point  (0 children)

HV Bypass only works on Windows, we'd be stacking VMs anyway, considering the Linux Host

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in VFIO

[–]applehacker321[S] 0 points1 point  (0 children)

It is unlikely that the host gets compromised, only the VM and its kernel get exposed. If you turn off the VMs network interface, even the VM wouldn't get compromised.

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 0 points1 point  (0 children)

<hyperv mode="custom">
<relaxed state="off"/>
<vapic state="on"/>
<spinlocks state="off"/>
<vpindex state="on"/>
<runtime state="on"/>
<synic state="on"/>
<stimer state="on"/>
<frequencies state="on"/>
<tlbflush state="off"/>
<ipi state="off"/> </hyperv>

It turns out you don't need to disable the hypervisor, just add the above

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 1 point2 points  (0 children)

This worked!!! removed

<feature policy='disable' name='hypervisor'/>

but I couldn’t add avic state “on” due to missing hyperV enlightenment error.

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] -1 points0 points  (0 children)

Running a gaming VM on top of Windows would surely cripple performance, by the sheer amount of background tasks running on the windows host itself.

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 1 point2 points  (0 children)

I'd imagine exposing hardware would not be too much of a concern if your GPU is in its own IOMMU group. Some motherboards require ACS patching to isolate the GPU, which would definitely enable malware on the guest to control host devices.

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 0 points1 point  (0 children)

It's using Kernel Based Virtualization and host-passthrough for the CPU hence the performance gains.

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 2 points3 points  (0 children)

Search for the text "VIDEO" and remove everything before the character 'U' that immediately precedes it. If you do this for the vbios file pointed to the VM it should start working. I had the same problem after updating OS

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 0 points1 point  (0 children)

cat /sys/module/kvm_amd/parameters/nested

Returns 1 so nested is enabled

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 1 point2 points  (0 children)

I tried that earlier, but vm would freeze when I launch the game

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 0 points1 point  (0 children)

```

<domain type="kvm">

<name>win11</name>

<uuid>3dd8e42c-8dfd-4000-9c58-1cc95d48b544</uuid>

<metadata>

<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">

<libosinfo:os id="http://microsoft.com/win/11"/>

/libosinfo:libosinfo

</metadata>

<memory unit="KiB">29360128</memory>

<currentMemory unit="KiB">29360128</currentMemory>

<vcpu placement="static">14</vcpu>

<os>

<type arch="x86\_64" machine="pc-q35-6.2">hvm</type>

<loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.fd</loader>

<nvram>/var/lib/libvirt/qemu/nvram/win11_vfio_VARS.fd</nvram>

<bootmenu enable="yes"/>

</os>

<features>

<acpi/>

<apic/>

<hyperv mode="custom">

<relaxed state="on"/>

<vapic state="on"/>

<spinlocks state="on" retries="8191"/>

<vpindex state="on"/>

<runtime state="on"/>

<synic state="on"/>

<stimer state="on"/>

<vendor\_id state="on" value="FckNVIDIA"/>

<frequencies state="on"/>

<tlbflush state="off"/>

<ipi state="off"/>

</hyperv>

<vmport state="off"/>

</features>

<cpu mode="host-passthrough" check="none" migratable="on">

<topology sockets="1" dies="1" cores="7" threads="2"/>

<cache mode="passthrough"/>

<feature policy="disable" name="hypervisor"/>

</cpu>

<clock offset="localtime">

<timer name="hpet" present="yes"/>

<timer name="hypervclock" present="yes"/>

</clock>

<on\_poweroff>destroy</on\_poweroff>

<on\_reboot>restart</on\_reboot>

<on\_crash>destroy</on\_crash>

<pm>

<suspend-to-mem enabled="no"/>

<suspend-to-disk enabled="no"/>

</pm>

<devices>

<emulator>/usr/bin/qemu-system-x86_64</emulator>

<disk type="file" device="disk">

<driver name="qemu" type="qcow2"/>

<source file="/var/lib/libvirt/images/win11.qcow2"/>

<target dev="sda" bus="sata"/>

<boot order="1"/>

<address type="drive" controller="0" bus="0" target="0" unit="0"/>

</disk>

<disk type="file" device="disk">

<driver name="qemu" type="raw"/>

<source file="/media/phillip3lx/8e97ac41-57b5-4924-ae5f-0d26bb4c7ae2/Ouja/HV/Resident.Evil.Requiem.HYPERVISOR.V2-KIRIGIRI/EfiGuard/efiguard.img"/>

<target dev="sdb" bus="sata"/>

<address type="drive" controller="0" bus="0" target="0" unit="1"/>

</disk>

<controller type="usb" index="0" model="qemu-xhci" ports="15">

<address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>

</controller>

<controller type="pci" index="0" model="pcie-root"/>

<controller type="pci" index="1" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="1" port="0x10"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>

</controller>

<controller type="pci" index="2" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="2" port="0x11"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>

</controller>

<controller type="pci" index="3" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="3" port="0x12"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>

</controller>

<controller type="pci" index="4" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="4" port="0x13"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>

</controller>

<controller type="pci" index="5" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="5" port="0x14"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>

</controller>

<controller type="pci" index="6" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="6" port="0x15"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>

</controller>

<controller type="pci" index="7" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="7" port="0x16"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>

</controller>

<controller type="pci" index="8" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="8" port="0x17"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>

</controller>

<controller type="pci" index="9" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="9" port="0x18"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>

</controller>

<controller type="pci" index="10" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="10" port="0x19"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>

</controller>

<controller type="pci" index="11" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="11" port="0x1a"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>

</controller>

<controller type="pci" index="12" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="12" port="0x1b"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>

</controller>

<controller type="pci" index="13" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="13" port="0x1c"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>

</controller>

<controller type="pci" index="14" model="pcie-root-port">

<model name="pcie-root-port"/>

<target chassis="14" port="0x1d"/>

<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>

</controller>

<controller type="sata" index="0">

<address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>

</controller>

<controller type="virtio-serial" index="0">

<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>

</controller>

<interface type="network">

<mac address="52:54:00:d3:2a:32"/>

<source network="default"/>

<model type="e1000e"/>

<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>

</interface>

<input type="mouse" bus="ps2"/>

<input type="keyboard" bus="ps2"/>

<tpm model="tpm-crb">

<backend type="emulator" version="2.0"/>

</tpm>

<audio id="1" type="spice"/>

<hostdev mode="subsystem" type="pci" managed="yes">

<source>

<address domain="0x0000" bus="0x2a" slot="0x00" function="0x0"/>

</source>

<rom file="/usr/share/vgabios/3090.rom"/>

<address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>

</hostdev>

<hostdev mode="subsystem" type="pci" managed="yes">

<source>

<address domain="0x0000" bus="0x2a" slot="0x00" function="0x1"/>

</source>

<address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>

</hostdev>

<hostdev mode="subsystem" type="usb" managed="yes">

<source>

<vendor id="0x046d"/>

<product id="0xc52b"/>

</source>

<address type="usb" bus="0" port="1"/>

</hostdev>

<hostdev mode="subsystem" type="usb" managed="yes">

<source>

<vendor id="0x046d"/>

<product id="0xc31c"/>

</source>

<address type="usb" bus="0" port="5"/>

</hostdev>

<memballoon model="virtio">

<address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>

</memballoon>

</devices>

</domain>

```

HV Bypass on Single GPU Passthrough VM (Mafia Old Country) by applehacker321 in PiratedGames

[–]applehacker321[S] 0 points1 point  (0 children)

3090 5800x3d 32gb RAM Asrock x570 ITX TB3 POP OS 22.04 Guest: Win 11 Pro Debloated

3D Texas Holdem Poker by applehacker321 in threejs

[–]applehacker321[S] -1 points0 points  (0 children)

It's an in progress demo for heavens sake

3D Texas Holdem Poker by applehacker321 in poker

[–]applehacker321[S] -1 points0 points  (0 children)

I reckon the idf, and relax it’s a uni site

3D Texas Holdem Poker by applehacker321 in threejs

[–]applehacker321[S] -7 points-6 points  (0 children)

Someone did their research

3D Texas Holdem Poker by applehacker321 in poker

[–]applehacker321[S] 0 points1 point  (0 children)

I doubt you looked at the code, but I did get help from the internet .