You are not logged in.
Hello everyone,
I am trying to install a Windows 10 VM with GPU pass-through so I can use my VR headset, but let's ignore the pass-through part for now. As soon as I load the Windows 10 ISO in virt-manager and press run, screen goes black. I tried to use gnome boxes to see if I can reproduce the issue, and same thing... I am still able to SSH in my host with my phone, so no hard crash.
Some infos:
gnome-shell: 43.0
linux kernel: 6.0.5 with vfio patch (I tried with linux-lts as well but same issue)
cpu: i7 8700k
memory: 16gb
GPU (host): Radeon Rx580
GPU (guest): Nvidia GTX 1070
If I load a linux iso, let's say Debian, or Arch, the virtual machine starts normally. I was even able to pass through my GPU to a linux guest.
Did anyone experienced this issue?
Thanks in advance for your help.
Offline
Just to check, run `lspci -k` and paste the output. Your Nvidia GPU should have something like this where Kernel driver in use should be vfio-pci:
0b:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 1438
Kernel driver in use: vfio-pci
Kernel modules: nouveau, nvidia_drm, nvidia
0b:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 1438
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intelI think what is happening here is that your kernel is occupying the Nvidia GPU with nvidia driver and so it would conflicts with the VM that try to use it in a pass through.
Last edited by LinuxDevCenti (2022-11-01 23:17:23)
Offline
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
Subsystem: Gigabyte Technology Co., Ltd Device 22fc
Kernel driver in use: amdgpu
Kernel modules: amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
Subsystem: Gigabyte Technology Co., Ltd Device aaf0
Kernel driver in use: snd_hda_intel
03:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 85a0
Kernel driver in use: vfio-pci
Kernel modules: nouveau
03:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 85a0
Kernel driver in use: vfio-pcivfio-pci driver is in use
But in my case, the issue occurs even if I don't try to pass through the PCI device :-/
Offline
Is this still reproducible on other desktop environment like KDE Plasma? If it crashes, try open a new TTY and run
journalctl /usr/bin/plasmashelland if you are able to obtain details for why it crashes, you can have it write to log file by doing this:
journalctl /usr/bin/plasmashell -f 2> plasmashell.logOffline
Thank you for your quick reply,
I have installed KDE Plasma and DE also crashed when starting the Windows VM, journalctl doesn't provide any useful log... I start to think that the issue might be related to Wayland and not Gnome. Somehow I am not able to start any DE on X11: If I select Gnome or KDE Plasma on X11, once I type my password to log in, screen goes black and I get redirected back to Login...
I wonder why this affects only Windows ISO, I tried windows 10 and windows 11. Any linux distribution will not cause the issue.
Installing same Windows ISO with Virtualbox completes successfully. (QEMU related?)
Last edited by JustinS17 (2022-11-02 16:15:21)
Offline