jamaik

MxGPU S7150*2 can't work in the kvm-qemu VM

Discussion created by jamaik on Sep 12, 2019
Latest reply on Sep 15, 2019 by elstaci

I can success passthrough the S7150 into vm and it can work ,but after "modprobe gim" and passthrough the S7150V into vm,it can't work 

enviroment:

host:CentOS7

uname -r : 4.4.190

qemu:2.5.0

guest os: win10 TH2(1511)---->doesn't work

guest os: win10 R4(1803)---->doesn't work

having try the driver package :

  1.       win10-64bit-radeon-pro-software-enterprise-18.q1-feb12
  2.       win10-64bit-radeon-pro-software-enterprise-18.q4-nov5
  3.       win10-64bit-radeon-pro-software-enterprise-19.q3-aug12

when install the vm it will crash on the installation interface  and afte i reboot the system it can't work unless i don't passthrogh the S7150V into vm.

  1.       win10-64bit-radeon-pro-software-adrenalin-edition-17.12.2-dec19

after install the windows give 43 error code

 

lspci|grep AMD
86:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XT GL [FirePro S7150]
86:02.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
86:02.1 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
86:02.2 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
86:02.3 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
88:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XT GL [FirePro S7150]
88:02.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
88:02.1 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
88:02.2 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]
88:02.3 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XTV GL [FirePro S7150V]

 

qemu cmdline :

/usr/bin/qemu-system-x86_64 -machine accel=kvm -name s7150v -machine pc,accel=kvm,usb=off -smbios type=1,manufacturer=Thinputer,product=Hypervisor,version=3.1,serial=3fb15daa704d,uuid=3a7f32da-f633-4cfc-9a85-88006999e82b -smp sockets=2,cores=2,threads=1 -cpu host,hv_spinlocks=0x1fff,hv_relaxed,hv_time,hv_vapic -no-user-config -nodefaults -chardev socket,id=qmp,path=/var/run/qemu-server/3a7f32da-f633-4cfc-9a85-88006999e82b.qmp,server,nowait -mon chardev=qmp,mode=control -vga qxl -spice port=42606,streaming-video=filter,playback-compression=on,disable-ticketing,jpeg-wan-compression=always,zlib-glz-wan-compression=always,agent-mouse=off -global qxl-vga.vram_size=67108864 -device vfio-pci,host=86:02.0,id=hostdev0,bus=pci.0,addr=0xb -daemonize

Outcomes