qemu-anti-detection icon indicating copy to clipboard operation
qemu-anti-detection copied to clipboard

vio driver issue

Open aamaanaa opened this issue 11 months ago • 9 comments

hi i compiled with the patch like so

../qemu/configure --target-list=x86_64-softmmu,x86_64-linux-user --enable-werror --enable-xen --enable-virtfs --enable-kvm --enable-libusb --enable-libudev --enable-spice --enable-usb-redir --prefix=/usr

then i set the drive to vio and the nic aswell

i then booted up windows 10, load the vio drivers from the attached vio iso image from fedora poeple, and i can not load it. when i uncheck the box hide unsupported drivers, i see the files from the virtio disk, but i cant install

what is going on here?

aamaanaa avatar Mar 12 '24 11:03 aamaanaa

you can restore the virto modifying from patch

zhaodice avatar Mar 12 '24 12:03 zhaodice

you can restore the virto modifying from patch

do i need to remove all virtio stuff from the pach? so search for virtio and remove it all

aamaanaa avatar Mar 12 '24 12:03 aamaanaa

Virtio does seem to work when installing sudo dnf install @virtualization, but i gues it is not using my own compiled qemu in /opt

aamaanaa avatar Mar 12 '24 12:03 aamaanaa

actually,I doesn't support virtio, because it is virtual machine device that can be detection, if you want to use virtio,please don't hide and anti-detection.

zhaodice avatar Mar 12 '24 13:03 zhaodice

okay i see. for now i just use spice and spice guest tools

aamaanaa avatar Mar 12 '24 14:03 aamaanaa

Hello. I've seen you need network and disk. I'm on proxmox so I hope you can adapt this to your configuration. I use Intel E1000 as my network card and for the disk I use SATA mode with cache disabled and aio=native (and discard=on of course). I get a good performance out of it

JoaGamo avatar Mar 12 '24 15:03 JoaGamo

ye i have it to. with spice and qxl with this patch i do get very laggy performance tho

aamaanaa avatar Mar 12 '24 15:03 aamaanaa

I assume that the VirtIO driver doesn't work, because this patch renames the virtual devices in a way that cannot be detected by anti-cheat and the driver alike. You may need to recompile the drivers with the new identifiers, but this goes beyond the scope and purpose of this project. We want the virtual hardware to look as real as possible, so your VM isn't detected, and unfortunately, the VirtIO driver is a dead giveaway for any software. The performance issues can instead be mitigated by using VFIO to give your VM direct access to your graphics card. How you do this depends on your hardware configuration, but this is a good tutorial, if you only have one GPU: https://gitlab.com/risingprismtv/single-gpu-passthrough/-/wikis/home

Samuil1337 avatar Mar 29 '24 19:03 Samuil1337

okay i see. for now i just use spice and spice guest tools

hey, how do you do that ,not use vio? can you give me a tutorial.

caoshuai619 avatar Jul 16 '24 13:07 caoshuai619