You are not logged in.

#1 2017-12-22 00:51:18

Hiklo
Member
Registered: 2017-12-22
Posts: 3

Single GPU passthrough headless login, gives only a black screen on VM

Hi!
After setting up my virtualmachine and following numerous gpu-passthrough guides, I managed to setup and configure my virtual windows 10 machine on my arch linux gaming laptop (No NVIDIA Optimus). After using a secondary computer sshing into the main computer and running the vm using virsh, the screen goes from the static "starting version 235"(The point where my GPU binds itself to vfio-pci) to completely black. I am really unsure what to do now as I have not found anyone else having this problem. I have tried plugging an HDMI-tv to the laptop, but to no avail.
Is what I am trying to achieve impossible? Do i need to use XOrg?
Thanks in advance!
Håvard aka Hiklo

Last edited by Hiklo (2017-12-22 19:08:14)

Offline

#2 2017-12-22 02:33:06

SquiddyBlob
Member
Registered: 2013-09-13
Posts: 24

Re: Single GPU passthrough headless login, gives only a black screen on VM

Well, if your GPU is bound by vfio (for the vm), it can't be part of the host system as well. Hence, you are trying to boot without a graphics card. I am not familiar with virsh or gpu-passthrough for that matter, but I know that the graphics card cannot run two different operating systems at once with passthrough.

Offline

#3 2017-12-22 19:07:12

Hiklo
Member
Registered: 2017-12-22
Posts: 3

Re: Single GPU passthrough headless login, gives only a black screen on VM

Sorry for my stupid wording, english is not my native language (I am Norweigan).
To be more specific to what my problem is; when I boot the machine the screen freezes on "Starting version 235" - This is intended, it means the GPU is connected properly to vfio-pci (I think)

The problem I am experiencing is when I ssh into my computer from a secondary computer and run the VM starting command. The screen goes from the "Starting version 235" as mentioned earlier, to completely black. I am expecting to see the BIOS screen of the VM and windows bootup, but nothing happens, the screen only stays completely black. When I try to shutdown the VM, the status still shows it as running so something might have broken inside (I am unsure), and destroying(killing) the VM makes the VM status go from "running" to "shut down" so I know it is off, but still no change on the screen. It is still completely black.

Offline

Board footer

Powered by FluxBB