F5F Stay Refreshed Software Operating Systems Issue involving GPU passthrough in QEMU on Arch Linux

Issue involving GPU passthrough in QEMU on Arch Linux

Issue involving GPU passthrough in QEMU on Arch Linux

H
HannahGG
Member
148
07-04-2016, 02:17 AM
#1
Hi! I'm facing a tricky issue that's really bothering me... I'm trying to switch to a virtual Windows setup instead of dual boot, but the main hurdle is my GPU not sending any signal to the HDMI or DVI-D ports. Despite all the adjustments—updating VFIO, editing config files, using systemd-boot and QEMU—I still don't see any output from the graphics card inside the virtual machine. I've got a solid spec: an i7-6700K CPU, GTX 1070, 16GB G.Skill RipjawsV, Linux-VFIO installed via AUR, and everything set up with mkinitcpio and loader configurations. The UEFI boot is working, and QEMU accepts the bootloader. But when I try to connect the GPU, nothing appears. It's been three days of troubleshooting, and I'm not sure where to start next. Any suggestions would be greatly appreciated!
H
HannahGG
07-04-2016, 02:17 AM #1

Hi! I'm facing a tricky issue that's really bothering me... I'm trying to switch to a virtual Windows setup instead of dual boot, but the main hurdle is my GPU not sending any signal to the HDMI or DVI-D ports. Despite all the adjustments—updating VFIO, editing config files, using systemd-boot and QEMU—I still don't see any output from the graphics card inside the virtual machine. I've got a solid spec: an i7-6700K CPU, GTX 1070, 16GB G.Skill RipjawsV, Linux-VFIO installed via AUR, and everything set up with mkinitcpio and loader configurations. The UEFI boot is working, and QEMU accepts the bootloader. But when I try to connect the GPU, nothing appears. It's been three days of troubleshooting, and I'm not sure where to start next. Any suggestions would be greatly appreciated!

_
_ErikThePanda_
Posting Freak
807
07-06-2016, 04:43 AM
#2
which graphics card is your host running while the 1070 is sent to the virtual machine? If it's the built-in GPU, do you leverage shared memory for IGD multimonitor or link the host monitor via HDMI or DP? And by the way, what terminal are you using? It looks really tidy!
_
_ErikThePanda_
07-06-2016, 04:43 AM #2

which graphics card is your host running while the 1070 is sent to the virtual machine? If it's the built-in GPU, do you leverage shared memory for IGD multimonitor or link the host monitor via HDMI or DP? And by the way, what terminal are you using? It looks really tidy!

A
alerabbit
Posting Freak
840
07-06-2016, 06:23 AM
#3
I'm using my iGPU with two monitors connected straight to MOBO. And one of this monitors has two cabels, the second one is connected to my normal GPU and waiting for Windows VM to boot. But with no luck, no video output But for now I've isntalled everything using Spice and my only problem to deal with is error 43 in NV driver. I hope it will work after that :v And this is Termite with theme Solarized-Dark, with Powerline and Oh My ZSH on theme agnoster. And of course I'm using ZSH instead of BASH. And fortune + lolcat for some fun :v
A
alerabbit
07-06-2016, 06:23 AM #3

I'm using my iGPU with two monitors connected straight to MOBO. And one of this monitors has two cabels, the second one is connected to my normal GPU and waiting for Windows VM to boot. But with no luck, no video output But for now I've isntalled everything using Spice and my only problem to deal with is error 43 in NV driver. I hope it will work after that :v And this is Termite with theme Solarized-Dark, with Powerline and Oh My ZSH on theme agnoster. And of course I'm using ZSH instead of BASH. And fortune + lolcat for some fun :v

F
FeijaoSama
Member
107
07-07-2016, 02:42 PM
#4
The displayport outputs function properly. HDMI and DVI can be used with Arch Linux. The command output is as follows: find /sys/kernel/iommu_groups/ -type l
F
FeijaoSama
07-07-2016, 02:42 PM #4

The displayport outputs function properly. HDMI and DVI can be used with Arch Linux. The command output is as follows: find /sys/kernel/iommu_groups/ -type l

H
Heywoodman
Member
173
07-09-2016, 12:27 AM
#5
Most of the issue resolved, but handling the internal audio card is still tricky. Sound isn’t playing through HDMI when using a DVI-D cable over HDMI. Think about alternative methods. :v https://imgur.com/a/kla2r
H
Heywoodman
07-09-2016, 12:27 AM #5

Most of the issue resolved, but handling the internal audio card is still tricky. Sound isn’t playing through HDMI when using a DVI-D cable over HDMI. Think about alternative methods. :v https://imgur.com/a/kla2r

A
Artzygoat
Junior Member
47
07-09-2016, 03:30 AM
#6
I confirmed it! The simple blacklist for i2c_i801 and i2c_smbus is functioning properly. Vfio and iommu group are correctly configured for passthrough. Everything is working as expected. My VM is operating smoothly.
A
Artzygoat
07-09-2016, 03:30 AM #6

I confirmed it! The simple blacklist for i2c_i801 and i2c_smbus is functioning properly. Vfio and iommu group are correctly configured for passthrough. Everything is working as expected. My VM is operating smoothly.

A
alexagas
Member
210
07-28-2016, 04:22 PM
#7
It wasn’t easy, but you made it easier for me. Thanks for bringing me into oh-my-zsh!
A
alexagas
07-28-2016, 04:22 PM #7

It wasn’t easy, but you made it easier for me. Thanks for bringing me into oh-my-zsh!