HELP please: Vega GPU passthrough on Ryzen

Hi

I have built a new rig and would like to run Linux as Host OS and then passthrough my Vega64 to a Win10 gaming VM.

My first attempt was with Unraid. Unfortunately my screen remained black after starting the VM.
After seeing @wendell 's videos and tutorials I decided to try with Fedora.

The big difference between his and my setups is, that I only have 1 GPU. Hence I installed a headless Fedora server. It runs kernel 4.15 and I can connect via SSH or VNC.

Hardware config:

Summary
  • Ryzen 7
  • Asus Corsshair 6 Hero
  • 32GB DDR4 (2x 16GB sticks)
  • Vega 64
  • 1x Kingston 240GB SSD (boot drive for host)
  • 1x Samsung 960 PRO 1TB NVMe SSD (intended for Win10 VM via passthrough)
  • 2x Samsung EVO 850 500GB SATA SSD (intended as Unraid Cach drives)
  • 4x 8TB WDred (intendes as storage array)

currently Fedora is running form the NVMe, but once I find a working solution I want to change the setup.

IOMMU groups:

Summary

IOMMU Group 0 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
IOMMU Group 1 00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
IOMMU Group 2 00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
IOMMU Group 3 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
IOMMU Group 4 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
IOMMU Group 5 00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
IOMMU Group 6 00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
IOMMU Group 7 00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
IOMMU Group 8 00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
IOMMU Group 9 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
IOMMU Group 10 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
IOMMU Group 11 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59)
IOMMU Group 11 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 12 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 [1022:1460]
IOMMU Group 12 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 [1022:1461]
IOMMU Group 12 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 [1022:1462]
IOMMU Group 12 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 [1022:1463]
IOMMU Group 12 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 [1022:1464]
IOMMU Group 12 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 [1022:1465]
IOMMU Group 12 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric Device 18h Function 6 [1022:1466]
IOMMU Group 12 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [1022:1467]
IOMMU Group 13 01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
IOMMU Group 14 02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b9] (rev 02)
IOMMU Group 14 02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b5] (rev 02)
IOMMU Group 14 02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b0] (rev 02)
IOMMU Group 14 03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 03:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 03:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 03:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 03:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
IOMMU Group 14 04:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:1343]
IOMMU Group 14 05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
IOMMU Group 15 0b:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1470] (rev c1)
IOMMU Group 16 0c:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1471]
IOMMU Group 17 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c1)
IOMMU Group 18 0d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
IOMMU Group 19 0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
IOMMU Group 20 0e:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]
IOMMU Group 21 0e:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller [1022:145c]
IOMMU Group 22 0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
IOMMU Group 23 0f:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 24 0f:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller [1022:1457]

Grub config:

Summary

[root@redstonetower ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed ‘s, release .*$,g’ /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=1 amd_iommu=on rd.driver.pre=vfio-pci"
GRUB_DISABLE_RECOVERY=“true”

KVM config:

Summary

[root@redstonetower ~]# cat /etc/modprobe.d/kvm.conf

This configuration file was provided by the qemu package.

Feel free to update as needed.

Set these options to enable nested virtualization

#options kvm_intel nested=1
#options kvm_amd nested=1

VFIO config:

Summary

[root@redstonetower ~]# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:687f,1002:aaf8

Grub EFI config:

Summary

[root@redstonetower ~]# cat /etc/grub2-efi.cfg

DO NOT EDIT THIS FILE

It is automatically generated by grub2-mkconfig using templates

from /etc/grub.d and settings from /etc/default/grub

BEGIN /etc/grub.d/00_header

set pager=1

if [ -f ${config_directory}/grubenv ]; then
load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
load_env
fi
if [ “${next_entry}” ] ; then
set default="${next_entry}“
set next_entry=
save_env next_entry
set boot_once=true
else
set default=”${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="–id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ “${prev_saved_entry}” ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z “${boot_once}” ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5

Fallback normal timeout code in case the timeout_style feature is

unavailable.

else
set timeout=5
fi

END /etc/grub.d/00_header

BEGIN /etc/grub.d/01_users

if [ -f ${prefix}/user.cfg ]; then
source ${prefix}/user.cfg
if [ -n “${GRUB2_PASSWORD}” ]; then
set superusers="root"
export superusers
password_pbkdf2 root ${GRUB2_PASSWORD}
fi
fi

END /etc/grub.d/01_users

BEGIN /etc/grub.d/10_linux

menuentry ‘Fedora (4.15.2-300.vanilla.knurd.1.fc27.x86_64) 27 (Server Edition)’ --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option ‘gnulinux-4.15.2-300.vanilla.knurd.1.fc27.x86_64-advanced-6b72e5a9-6217-44ca-97a4-18298ac25029’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
else
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
fi
linuxefi /vmlinuz-4.15.2-300.vanilla.knurd.1.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=1 amd_iommu=on rd.driver.pre=vfio-pci
initrdefi /initramfs-4.15.2-300.vanilla.knurd.1.fc27.x86_64.img
}
menuentry ‘Fedora (4.14.16-300.fc27.x86_64) 27 (Server Edition)’ --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option ‘gnulinux-4.14.16-300.fc27.x86_64-advanced-6b72e5a9-6217-44ca-97a4-18298ac25029’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
else
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
fi
linuxefi /vmlinuz-4.14.16-300.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=1 amd_iommu=on rd.driver.pre=vfio-pci
initrdefi /initramfs-4.14.16-300.fc27.x86_64.img
}
menuentry ‘Fedora (4.13.9-300.fc27.x86_64) 27 (Server Edition)’ --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option ‘gnulinux-4.13.9-300.fc27.x86_64-advanced-6b72e5a9-6217-44ca-97a4-18298ac25029’ {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
else
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
fi
linuxefi /vmlinuz-4.13.9-300.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=1 amd_iommu=on rd.driver.pre=vfio-pci
initrdefi /initramfs-4.13.9-300.fc27.x86_64.img
}
menuentry ‘Fedora (0-rescue-78db6a9664e3431bba5fd4a1c80efee3) 27 (Server Edition)’ --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option ‘gnulinux-0-rescue-78db6a9664e3431bba5fd4a1c80efee3-advanced-6b72e5a9-6217-44ca-97a4-18298ac25029’ {
load_video
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
else
search --no-floppy --fs-uuid --set=root e636c3d2-5ae6-4cc6-8414-37c25780207b
fi
linuxefi /vmlinuz-0-rescue-78db6a9664e3431bba5fd4a1c80efee3 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=1 amd_iommu=on rd.driver.pre=vfio-pci
initrdefi /initramfs-0-rescue-78db6a9664e3431bba5fd4a1c80efee3.img
}
if [ “x$default” = ‘Fedora (4.15.2-300.vanilla.knurd.1.fc27.x86_64) 27 (Server Edition)’ ]; then default=‘Advanced options for Fedora>Fedora (4.15.2-300.vanilla.knurd.1.fc27.x86_64) 27 (Server Edition)’; fi;

END /etc/grub.d/10_linux

BEGIN /etc/grub.d/20_linux_xen

END /etc/grub.d/20_linux_xen

BEGIN /etc/grub.d/20_ppc_terminfo

END /etc/grub.d/20_ppc_terminfo

BEGIN /etc/grub.d/30_os-prober

menuentry ‘Windows Boot Manager (on /dev/sda2)’ --class windows --class os $menuentry_id_option ‘osprober-efi-3C8E-8048’ {
insmod part_gpt
insmod fat
set root='hd0,gpt2’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 3C8E-8048
else
search --no-floppy --fs-uuid --set=root 3C8E-8048
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

END /etc/grub.d/30_os-prober

BEGIN /etc/grub.d/40_custom

This file provides an easy way to add custom menu entries. Simply type the

menu entries you want to add after this comment. Be careful not to change

the ‘exec tail’ line above.

END /etc/grub.d/40_custom

BEGIN /etc/grub.d/41_custom

if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi

END /etc/grub.d/41_custom

lspci -nnk:

Summary

[root@redstonetower ~]# lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex [1022:1450]
Subsystem: ASUSTeK Computer Inc. Device [1043:8747]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit [1022:1451]
Subsystem: ASUSTeK Computer Inc. Device [1043:8747]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Kernel driver in use: pcieport
Kernel modules: shpchp
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
Kernel driver in use: pcieport
Kernel modules: shpchp
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
Kernel driver in use: pcieport
Kernel modules: shpchp
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59)
Subsystem: ASUSTeK Computer Inc. Device [1043:8747]
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
Subsystem: ASUSTeK Computer Inc. Device [1043:8747]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 [1022:1460]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 [1022:1461]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 [1022:1462]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 [1022:1463]
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 [1022:1464]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 [1022:1465]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric Device 18h Function 6 [1022:1466]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [1022:1467]
01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b9] (rev 02)
Subsystem: ASMedia Technology Inc. Device [1b21:1142]
Kernel driver in use: xhci_hcd
02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b5] (rev 02)
Subsystem: ASMedia Technology Inc. Device [1b21:1062]
Kernel driver in use: ahci
02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b0] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
03:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
04:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:1343]
Subsystem: ASUSTeK Computer Inc. Device [1043:86f2]
Kernel driver in use: xhci_hcd
05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:85f0]
Kernel driver in use: igb
Kernel modules: igb
0b:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1470] (rev c1)
Kernel driver in use: pcieport
Kernel modules: shpchp
0c:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:1471]
Kernel driver in use: pcieport
Kernel modules: shpchp
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c1)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:6b76]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
0d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
0e:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]
Kernel driver in use: ccp
Kernel modules: ccp
0e:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller [1022:145c]
Subsystem: ASUSTeK Computer Inc. Device [1043:8747]
Kernel driver in use: xhci_hcd
0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
0f:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
Subsystem: ASUSTeK Computer Inc. Device [1043:8747]
Kernel driver in use: ahci
0f:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller [1022:1457]
Subsystem: ASUSTeK Computer Inc. Device [1043:8735]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

VM config:

Summary

[root@redstonetower ~]# cat /etc/libvirt/qemu/win10.xml

win10 9f53a8a1-5c5e-41de-85d6-977188c07b5a 16777216 16777216 8 4 hvm destroy restart destroy /usr/bin/qemu-kvm

When I start the VM my screen does neither flicker nor reset. I can see that my keyboard resets. The VM actually starts and keeps running I just don’t have any output on my monitor.

journalctl:

Summary

Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_MACHINE_ID pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a vm-ctx=system_u:system_r:svirt_t:s0:c39,c467 img-ctx=system_u:object_r:svirt_image_t:s0:c39,c467 model=selinux exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_MACHINE_ID pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a vm-ctx=+107:+107 img-ctx=+107:+107 model=dac exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[961]: USER_AVC pid=961 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.login1.Manager member=Inhibit dest=org.freedesktop.login1 spid=3362 tpid=1012 scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0
exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=open vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a net=52:54:00:06:25:1d path=“macvtap0” rdev=? exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home libvirtd[1039]: 2018-02-10 11:30:42.140+0000: 1057: warning : qemuDomainObjTaint:4731 : Domain id=6 name=‘win10’ uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a is tainted: host-cpu
Feb 10 12:30:42 redstonetower.home systemd-udevd[3932]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 10 12:30:42 redstonetower.home NetworkManager[1024]: [1518262242.1414] manager: (macvtap0): new Macvlan device (/org/freedesktop/NetworkManager/Devices/7)
Feb 10 12:30:42 redstonetower.home systemd-machined[3471]: New machine qemu-6-win10.
Feb 10 12:30:42 redstonetower.home systemd[1]: Started Virtual Machine qemu-6-win10.
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=deny vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=all exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/var/lib/libvirt/images/generic.qcow2" rdev=? acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=major category=pty maj=88 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/dev/bus/usb/001/003" rdev=BD:02 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/dev/bus/usb/001/002" rdev=BD:01 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/dev/vfio/17" rdev=F4:00 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/dev/vfio/vfio" rdev=0A:C4 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/dev/vfio/18" rdev=F4:01 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:42 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d6\x2dwin10.scope/" class=path path="/dev/vfio/vfio" rdev=0A:C4 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:44 redstonetower.home kernel: vfio_ecap_init: 0000:0d:00.0 hiding ecap 0x19@0x270
Feb 10 12:30:44 redstonetower.home kernel: vfio_ecap_init: 0000:0d:00.0 hiding ecap 0x1b@0x2d0
Feb 10 12:30:44 redstonetower.home kernel: vfio-pci 0000:0d:00.0: BAR 0: can’t reserve [mem 0xe0000000-0xefffffff 64bit pref]
Feb 10 12:30:45 redstonetower.home kernel: usb 1-12: reset full-speed USB device number 3 using xhci_hcd
Feb 10 12:30:46 redstonetower.home kernel: usb 1-11: reset full-speed USB device number 2 using xhci_hcd
Feb 10 12:30:46 redstonetower.home kernel: usb 1-12: reset full-speed USB device number 3 using xhci_hcd
Feb 10 12:30:47 redstonetower.home kernel: usb 1-11: reset full-speed USB device number 2 using xhci_hcd
Feb 10 12:30:47 redstonetower.home NetworkManager[1024]: [1518262247.3942] device (macvtap0): link connected
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-disk="?" new-disk="/var/lib/libvirt/images/generic.qcow2" exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-net="?" new-net=“52:54:00:06:25:1d” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=usb device=“001.003” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=usb device=“001.002” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=pci device=“0000:0d:00.0” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=pci device=“0000:0d:00.1” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=usb device=555342207265646972646576 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=usb device=555342207265646972646576 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=mem reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-mem=0 new-mem=16777216 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=vcpu reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-vcpu=0 new-vcpu=8 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=iothread reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-iothread=0 new-iothread=4 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home audit[1039]: VIRT_CONTROL pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start reason=booted vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a vm-pid=3935 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 12:30:47 redstonetower.home kernel: vfio-pci 0000:0d:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
Feb 10 12:30:47 redstonetower.home kernel: vfio-pci 0000:0d:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
Feb 10 12:30:48 redstonetower.home avahi-daemon[957]: Joining mDNS multicast group on interface macvtap0.IPv6 with address fe80::5054:ff:fe06:251d.
Feb 10 12:30:48 redstonetower.home avahi-daemon[957]: New relevant interface macvtap0.IPv6 for mDNS.
Feb 10 12:30:48 redstonetower.home avahi-daemon[957]: Registering new address record for fe80::5054:ff:fe06:251d on macvtap0.*.
Feb 10 12:34:27 redstonetower.home sssd[kcm][3888]: Shutting down
Feb 10 12:34:27 redstonetower.home audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=sssd-kcm comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Feb 10 12:34:27 redstonetower.home sssd[secrets][3889]: Shutting down
Feb 10 12:34:27 redstonetower.home audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=sssd-secrets comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Feb 10 12:34:32 redstonetower.home systemd[1]: Started SSSD Kerberos Cache Manager.
Feb 10 12:34:32 redstonetower.home audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=sssd-kcm comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Feb 10 12:34:32 redstonetower.home sssd[kcm][3997]: Starting up
Feb 10 12:34:32 redstonetower.home systemd[1]: Started SSSD Secrets Service responder.
Feb 10 12:34:32 redstonetower.home audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=sssd-secrets comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’
Feb 10 12:34:32 redstonetower.home sssd[secrets][3998]: Starting up

I can get rid of the vfio-pci error messages by passing a vbios rom file:

VM config with ROM file:

Summary win10 9f53a8a1-5c5e-41de-85d6-977188c07b5a 16777216 16777216 8 4 hvm destroy restart destroy /usr/bin/qemu-kvm

When I start the VM with this, I get the following error messages from the Virtual Machine Manager:
Error:

Summary

Error starting domain: internal error: process exited while connecting to monitor:
2018-02-10T11:53:31.300151Z qemu-system-x86_64: AMD CPU doesn’t support hyperthreading. Please configure -smp options properly.
2018-02-10T11:53:33.655407Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: Failed to mmap 0000:0d:00.0 BAR 0. Performance may be slow
2018-02-10T11:53:33.660179Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: failed to find romfile “/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom”

Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 125, in tmpcb
callback(*args, **kwargs)
File “/usr/share/virt-manager/virtManager/libvirtobject.py”, line 82, in newfn
ret = fn(self, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/domain.py”, line 1505, in startup
self._backend.create()
File “/usr/lib64/python2.7/site-packages/libvirt.py”, line 1062, in create
if ret == -1: raise libvirtError (‘virDomainCreate() failed’, dom=self)
libvirtError: internal error: process exited while connecting to monitor: 2018-02-10T11:53:31.300151Z qemu-system-x86_64: AMD CPU doesn’t support hyperthreading. Please configure -smp options properly.
2018-02-10T11:53:33.655407Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: Failed to mmap 0000:0d:00.0 BAR 0. Performance may be slow
2018-02-10T11:53:33.660179Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: failed to find romfile “/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom”

Journalctl:

Summary

Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_MACHINE_ID pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a vm-ctx=system_u:system_r:svirt_t:s0:c368,c448 img-ctx=system_u:object_r:svirt_image_t:s0:c368,c448 model=selinux exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_MACHINE_ID pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a vm-ctx=+107:+107 img-ctx=+107:+107 model=dac exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[961]: USER_AVC pid=961 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.login1.Manager member=Inhibit dest=org.freedesktop.login1 spid=3362 tpid=1012 scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0
exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=open vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a net=52:54:00:06:25:1d path=“macvtap0” rdev=? exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home libvirtd[1039]: 2018-02-10 12:01:26.657+0000: 1056: warning : qemuDomainObjTaint:4731 : Domain id=8 name=‘win10’ uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a is tainted: host-cpu
Feb 10 13:01:26 redstonetower.home NetworkManager[1024]: [1518264086.6586] manager: (macvtap0): new Macvlan device (/org/freedesktop/NetworkManager/Devices/9)
Feb 10 13:01:26 redstonetower.home systemd-udevd[4828]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 10 13:01:26 redstonetower.home systemd-machined[3471]: New machine qemu-8-win10.
Feb 10 13:01:26 redstonetower.home systemd[1]: Started Virtual Machine qemu-8-win10.
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=deny vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=all exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/var/lib/libvirt/images/generic.qcow2" rdev=? acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=major category=pty maj=88 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/dev/bus/usb/001/003" rdev=BD:02 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/dev/bus/usb/001/002" rdev=BD:01 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/dev/vfio/17" rdev=F4:00 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/dev/vfio/vfio" rdev=0A:C4 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/dev/vfio/18" rdev=F4:01 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:26 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a cgroup="/sys/fs/cgroup/devices/machine.slice/machine-qemu\x2d8\x2dwin10.scope/" class=path path="/dev/vfio/vfio" rdev=0A:C4 acl=rw exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:29 redstonetower.home kernel: vfio_ecap_init: 0000:0d:00.0 hiding ecap 0x19@0x270
Feb 10 13:01:29 redstonetower.home kernel: vfio_ecap_init: 0000:0d:00.0 hiding ecap 0x1b@0x2d0
Feb 10 13:01:29 redstonetower.home kernel: vfio-pci 0000:0d:00.0: BAR 0: can’t reserve [mem 0xe0000000-0xefffffff 64bit pref]
Feb 10 13:01:29 redstonetower.home audit[4831]: AVC avc: denied { read } for pid=4831 comm=“qemu-system-x86” name=“Sapphire.RXVega64.8176.170730_2.rom” dev=“dm-0” ino=26260155 scontext=system_u:system_r:svirt_t:s0:c368,c448 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file permissive=0
Feb 10 13:01:29 redstonetower.home audit[4831]: AVC avc: denied { read } for pid=4831 comm=“qemu-system-x86” name=“Sapphire.RXVega64.8176.170730_2.rom” dev=“dm-0” ino=26260155 scontext=system_u:system_r:svirt_t:s0:c368,c448 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file permissive=0
Feb 10 13:01:29 redstonetower.home kernel: input: Razer Razer Mamba as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-11/1-11:1.0/0003:1532:0024.0015/input/input31
Feb 10 13:01:29 redstonetower.home kernel: hid-generic 0003:1532:0024.0015: input,hidraw0: USB HID v1.11 Mouse [Razer Razer Mamba] on usb-0000:02:00.0-11/input0
Feb 10 13:01:29 redstonetower.home kernel: input: Razer Razer Mamba as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-11/1-11:1.1/0003:1532:0024.0016/input/input32
Feb 10 13:01:29 redstonetower.home kernel: hid-generic 0003:1532:0024.0016: input,hidraw1: USB HID v1.11 Keyboard [Razer Razer Mamba] on usb-0000:02:00.0-11/input1
Feb 10 13:01:29 redstonetower.home kernel: input: Logitech Logitech G710 Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-12/1-12:1.0/0003:046D:C24D.0017/input/input33
Feb 10 13:01:29 redstonetower.home systemd-logind[1012]: Watching system buttons on /dev/input/event3 (Razer Razer Mamba)
Feb 10 13:01:29 redstonetower.home kernel: hid-generic 0003:046D:C24D.0017: input,hidraw2: USB HID v1.11 Keyboard [Logitech Logitech G710 Keyboard] on usb-0000:02:00.0-12/input0
Feb 10 13:01:29 redstonetower.home kernel: input: Logitech Logitech G710 Keyboard as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-12/1-12:1.1/0003:046D:C24D.0018/input/input34
Feb 10 13:01:29 redstonetower.home kernel: hid-generic 0003:046D:C24D.0018: input,hiddev96,hidraw3: USB HID v1.11 Keyboard [Logitech Logitech G710 Keyboard] on usb-0000:02:00.0-12/input1
Feb 10 13:01:29 redstonetower.home systemd-logind[1012]: Watching system buttons on /dev/input/event5 (Logitech Logitech G710 Keyboard)
Feb 10 13:01:29 redstonetower.home systemd-logind[1012]: Watching system buttons on /dev/input/event4 (Logitech Logitech G710 Keyboard)
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10 12:01:30.469+0000: 1039: error : qemuMonitorIORead:595 : Unable to read from monitor: Connection reset by peer
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10 12:01:30.470+0000: 1039: error : qemuProcessReportLogError:1880 : internal error: qemu unexpectedly closed the monitor: 2018-02-10T12:01:26.715552Z qemu-system-x86_64: AMD CPU doesn’t support hyperthreading. Please configure -smp options properly.
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10T12:01:29.070459Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: Failed to mmap 0000:0d:00.0 BAR 0. Performance may be slow
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10T12:01:29.075327Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: failed to find romfile “/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom"
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10 12:01:30.470+0000: 1056: error : qemuProcessReportLogError:1880 : internal error: process exited while connecting to monitor: 2018-02-10T12:01:26.715552Z qemu-system-x86_64: AMD CPU doesn’t support hyperthreading. Please configure -smp options properly.
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10T12:01:29.070459Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: Failed to mmap 0000:0d:00.0 BAR 0. Performance may be slow
Feb 10 13:01:30 redstonetower.home libvirtd[1039]: 2018-02-10T12:01:29.075327Z qemu-system-x86_64: -device vfio-pci,host=0d:00.0,id=hostdev2,bus=pci.0,addr=0x4,romfile=/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom: failed to find romfile “/var/lib/libvirt/images/Sapphire.RXVega64.8176.170730_2.rom"
Feb 10 13:01:30 redstonetower.home systemd-machined[3471]: Machine qemu-8-win10 terminated.
Feb 10 13:01:30 redstonetower.home gnome-shell[2279]: Removing a network device that was not added
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-disk=”?” new-disk="/var/lib/libvirt/images/generic.qcow2" exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-net="?" new-net=“52:54:00:06:25:1d” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=usb device=“000.000” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=usb device=“000.000” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=pci device=“0000:0d:00.0” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a bus=pci device=“0000:0d:00.1” exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=mem reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-mem=0 new-mem=16777216 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=vcpu reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-vcpu=0 new-vcpu=8 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_RESOURCE pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=iothread reason=start vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a old-iothread=0 new-iothread=4 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=success’
Feb 10 13:01:30 redstonetower.home audit[1039]: VIRT_CONTROL pid=1039 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start reason=booted vm=“win10” uuid=9f53a8a1-5c5e-41de-85d6-977188c07b5a vm-pid=-1 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=failed’
Feb 10 13:01:34 redstonetower.home gnome-shell[2279]: Object Meta.WindowActor (0x5602c63c5f00), has been already finalized. Impossible to get any property from it.
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: == Stack trace for context 0x5602c1729170 ==
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #0 0x7ffe04ebc670 I resource:///org/gnome/shell/ui/tweener.js:73 (0x7f03201ddef0 @ 9)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #1 0x7ffe04ebc710 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f03201df230 @ 36)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #2 0x7ffe04ebc7b0 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f03201df098 @ 52)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #3 0x7ffe04ebc870 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f03201e9cd0 @ 54)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #4 0x7ffe04ebc9c0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f03201e9d58 @ 1626)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #5 0x7ffe04ebca70 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f03201e9de0 @ 100)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #6 0x7ffe04ebcb00 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f03201e9e68 @ 10)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #7 0x7ffe04ebcb80 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f03201e2b38 @ 386)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #8 0x7ffe04ebcc30 b resource:///org/gnome/shell/ui/tweener.js:208 (0x7f03201df808 @ 159)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #9 0x7ffe04ebcc90 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f03201c2bc0 @ 71)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #10 0x7ffe04ebcc90 I resource:///org/gnome/shell/ui/tweener.js:183 (0x7f03201df780 @ 20)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #11 0x7ffe04ebcd20 I self-hosted:917 (0x7f03201ee5e8 @ 394)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: == Stack trace for context 0x5602c1729170 ==
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #0 0x7ffe04ebc670 I resource:///org/gnome/shell/ui/tweener.js:80 (0x7f03201ddef0 @ 82)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #1 0x7ffe04ebc710 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7f03201df230 @ 36)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #2 0x7ffe04ebc7b0 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7f03201df098 @ 52)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #3 0x7ffe04ebc870 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f03201e9cd0 @ 54)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #4 0x7ffe04ebc9c0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f03201e9d58 @ 1626)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #5 0x7ffe04ebca70 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f03201e9de0 @ 100)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #6 0x7ffe04ebcb00 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f03201e9e68 @ 10)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #7 0x7ffe04ebcb80 I resource:///org/gnome/gjs/modules/signals.js:126 (0x7f03201e2b38 @ 386)
Feb 10 13:01:34 redstonetower.home gnome-shell[2279]: Object Meta.WindowActor (0x5602c63c5f00), has been already finalized. Impossible to set any property to it.
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #8 0x7ffe04ebcc30 b resource:///org/gnome/shell/ui/tweener.js:208 (0x7f03201df808 @ 159)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #9 0x7ffe04ebcc90 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f03201c2bc0 @ 71)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #10 0x7ffe04ebcc90 I resource:///org/gnome/shell/ui/tweener.js:183 (0x7f03201df780 @ 20)
Feb 10 13:01:34 redstonetower.home org.gnome.Shell.desktop[2279]: #11 0x7ffe04ebcd20 I self-hosted:917 (0x7f03201ee5e8 @ 394)

Can somebody please help. I’m a linux noob, but really really want this to work. Any help is highly appreciated. Thank you so much.

Best regards, Felix

Is this thread in the wrong subforum? If so, please feel free to move.

anyone?

I recreated the VM and installed Win10 without GPU passthrough. After that I added the GPU and its Audio part to the VM. It turns out, that adding the ROM file actually crashes the VM. Not adding the ROM file generates the error message mentioned in my first post but boots the VM.
However, as soon as Windows loads the GPU drivers the VM crashes. Booting into SAFE-mode does not load the GPU drivers and in this case I can actually see my GPU in the device-manager. My screen remains black though and I only get video output via QXL.

Next I created a Linux VM and installed Fedora in the same way. After enabling GPU passthrough I can see the card is in the guest and claimed by the right drivers:

[felix@localhost-live ~]$ lspci -nnk

00:0a.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c1)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:6b76]
Kernel modules: amdgpu
00:0b.0 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aaf8]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

[felix@localhost-live ~]$

However the card can not initialize correctly:

kernel: [drm] initializing kernel modesetting (VEGA10 0x1002:0x687F 0x1002:0x6B76 0xC1).
kernel: [drm] register mmio base: 0xC8000000
kernel: [drm] register mmio size: 524288
kernel: [drm] UVD is enabled in VM mode
kernel: [drm] UVD ENC is enabled in VM mode
kernel: [drm] VCE enabled in VM mode
kernel: amdgpu 0000:00:0a.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
kernel: ATOM BIOS: 113-D0501400-101
kernel: [drm] GPU posting now…
kernel: [drm:atom_op_jump [amdgpu]] ERROR atombios stuck in loop for more than 5secs aborting
kernel: [drm:amdgpu_atom_execute_table_locked [amdgpu]] ERROR atombios stuck executing D7EA (len 279, WS 16, PS 4) @ 0xD8EE
kernel: [drm:amdgpu_atom_execute_table_locked [amdgpu]] ERROR atombios stuck executing A802 (len 219, WS 8, PS 4) @ 0xA8CD
kernel: [drm:amdgpu_atom_execute_table_locked [amdgpu]] ERROR atombios stuck executing 9BBE (len 381, WS 0, PS 8) @ 0x9C43
kernel: amdgpu 0000:00:0a.0: gpu post error!
kernel: amdgpu 0000:00:0a.0: Fatal error during GPU init
kernel: [drm] amdgpu: finishing device.
kernel: [TTM] Memory type 2 has not been initialized
kernel: amdgpu: probe of 0000:00:0a.0 failed with error -22

I believe my passthrough configuration actually works, however the card seems to be claimed or otherwise in use.

Any ideas?

Heya fae,
for starters try using 4.14xyz.
I had my config build on it and when I try using 4.15 my vm refuses to even start.

There are probably some things in need of tlc in 4.15

Good luck
regards Warui

Hi Warui
Thanks you very much for your reply.

I tried 4.14 before I moved to 4.15. For me it does not make a difference. I can boot the VM with both kernels.
I made some progress and GPU passthrough is kind of working but unfortunately it is still in a state where I can not use it because I can initialize the GPU only once. In order to do that I have to boot the host. Before starting the VM I have to suspend the host. Only after that the VM can initialize the GPU correctly. But unfortunately once the VM has to reboot or powerdown the GPU refuses to re-initialize. Even the host suspend trick does not help. I also tried the re-initialization trick found here:


So far this does not work for me.