Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-05-2020, 12:55 PM
#1
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Rep:
How to passthrough integrated graphics on Intel NUC?
Hi,
I've been struggling trying to have the HDMI output of my
Intel NUC BXNUC10i7FNK i7-10710U display the guest's screen (not talking about xorg, just kernel for now).
System:
Host: Slackware64-current w/ qemu 5.0.0 and virt-manager 1.5.1
Guest: Slackware64-current
Kernel on both: 5.4.58
What I tried so far: virt-manager PCI passthrough of the adapter ID as shown in lspci: 00:02.0 VGA compatible controller: Intel Corporation Device 9bca (rev 04)
rmmod i915 in host
intel_iommu=on and nomodeset kernel options in host, guest, and both
The further I could go is that the guest turns on the backlight of the monitor at some point in the kernel boot (very close to login prompt). But the screen is still black. Shutting down the guest immediately puts the monitor in blue screen (no signal).
This proves something is working, but there must be a last piece I am missing. What can I try?
Last edited by MisterBark; 09-05-2020 at 01:30 PM .
09-05-2020, 03:43 PM
#3
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
Quote:
Originally Posted by
jefro
Thanks for the quick reply.
Hmmm!
My host machine (hardware BIOS) does not have UEFI because I did not want to mess up with Microsoft nonsense on a machine that will only run Linux (and no huge disk).
Is that a mistake? Why would passing the graphic adapter require UEFI?
And are we taking about the real hardware BIOS or the vBIOS only?
09-07-2020, 08:33 PM
#4
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
I tried a lot of things these last couple of days so I thought I would update to clarify where I am now.
===== HOST: =====
Blacklisting modules didn't work (probably because the only kernel I have has them as non-modules) so I do rmmod at boot on i915 and all drm*
/proc/cmdline : auto BOOT_IMAGE=Slack-GpuPass ro root=10301 intel_iommu=on nomodeset efifb=off (To enable IOMMU and disable framebuffer)
lshw shows that pci@0000:00:02.0 is using driver=vfio-pci instead of i915 (see below)
lshw:
Code:
nuc.example.org
description: Computer
product: NUC10i7FNK (BXNUC10i7FNK)
vendor: Intel(R) Client Systems
version: K61156-303
serial: GEFN017010NV
width: 64 bits
capabilities: vsyscall32
configuration: boot=normal family=FN sku=BXNUC10i7FNK uuid=9B347BB8-16EC-A81A-A5DE-1C697A669474
*-core
description: Motherboard
product: NUC10i7FNB
vendor: Intel Corporation
physical id: 0
version: K61360-303
serial: GEFN017010NV
slot: Default string
*-firmware
description: BIOS
vendor: Intel Corp.
physical id: 0
version: FNCML357.0038.2020.0131.1422
date: 01/31/2020
size: 64KiB
capacity: 15MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification
*-memory
description: System Memory
physical id: 36
slot: System board or motherboard
size: 63GiB
*-bank:0
description: SODIMM Synchronous 2667 MHz (0.4 ns)
product: CT32G4SFD8266.C16FB
vendor: 859B
physical id: 0
serial: E3419994
slot: SODIMM1
size: 31GiB
width: 64 bits
clock: 2667MHz (0.4ns)
*-bank:1
description: SODIMM Synchronous 2667 MHz (0.4 ns)
product: CT32G4SFD8266.C16FB
vendor: 859B
physical id: 1
serial: E341998F
slot: SODIMM2
size: 31GiB
width: 64 bits
clock: 2667MHz (0.4ns)
*-cache:0
description: L1 cache
physical id: 42
slot: L1 Cache
size: 384KiB
capacity: 384KiB
capabilities: synchronous internal write-back unified
*-cache:1
description: L2 cache
physical id: 43
slot: L2 Cache
size: 1536KiB
capacity: 1536KiB
capabilities: synchronous internal write-back unified
*-cache:2
description: L3 cache
physical id: 44
slot: L3 Cache
size: 12MiB
capacity: 12MiB
capabilities: synchronous internal write-back unified
*-cpu
description: CPU
product: Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
vendor: Intel Corp.
physical id: 45
bus info: cpu@0
version: Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
serial: To Be Filled By O.E.M.
slot: U3E1
size: 3205MHz
capacity: 3205MHz
width: 64 bits
clock: 100MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
configuration: cores=6 enabledcores=6 threads=12
*-pci
description: Host bridge
product: Intel Corporation
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 00
width: 32 bits
clock: 33MHz
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=vfio-pci latency=0
resources: irq:153 memory:7d000000-7dffffff memory:80000000-8fffffff ioport:3000(size=64) memory:c0000-dffff
*-generic:0 UNCLAIMED
description: System peripheral
product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:00:08.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: msi pm bus_master cap_list
configuration: latency=0
resources: iomemory:400-3ff memory:4000120000-4000120fff
*-generic:1 UNCLAIMED
description: Signal processing controller
product: Comet Lake Thermal Subsytem
vendor: Intel Corporation
physical id: 12
bus info: pci@0000:00:12.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: latency=0
resources: iomemory:400-3ff memory:400011f000-400011ffff
*-usb
description: USB controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: iomemory:400-3ff irq:135 memory:4000100000-400010ffff
*-memory UNCLAIMED
description: RAM memory
product: Intel Corporation
vendor: Intel Corporation
physical id: 14.2
bus info: pci@0000:00:14.2
version: 00
width: 64 bits
clock: 33MHz (30.3ns)
capabilities: pm bus_master cap_list
configuration: latency=0
resources: iomemory:400-3ff iomemory:400-3ff memory:4000118000-4000119fff memory:400011e000-400011efff
*-network:0 DISABLED
description: Wireless interface
product: Wireless-AC 9462
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
logical name: wlan0
version: 00
serial: 0c:7a:15:6c:47:24
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.4.58 firmware=50.3e391d3e.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: iomemory:400-3ff irq:16 memory:4000114000-4000117fff
*-serial:0
description: Serial bus controller
product: Serial IO I2C Host Controller
vendor: Intel Corporation
physical id: 15
bus info: pci@0000:00:15.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=intel-lpss latency=0
resources: iomemory:400-3ff irq:16 memory:400011c000-400011cfff
*-serial:1
description: Serial bus controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 15.2
bus info: pci@0000:00:15.2
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=intel-lpss latency=0
resources: iomemory:400-3ff irq:18 memory:400011d000-400011dfff
*-communication
description: Communication controller
product: Comet Lake Management Engine Interface
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: iomemory:400-3ff irq:134 memory:400011b000-400011bfff
*-storage
description: SATA controller
product: Comet Lake SATA AHCI Controller
vendor: Intel Corporation
physical id: 17
bus info: pci@0000:00:17.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:124 memory:7e220000-7e221fff memory:7e223000-7e2230ff ioport:3090(size=8) ioport:3080(size=4) ioport:3060(size=32) memory:7e222000-7e2227ff
*-pci:0
description: PCI bridge
product: Intel Corporation
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:122 memory:7e100000-7e1fffff
*-storage
description: Non-Volatile memory controller
product: E12 NVMe Controller
vendor: Phison Electronics Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: storage pciexpress msix msi pm nvm_express bus_master cap_list
configuration: driver=nvme latency=0
resources: irq:16 memory:7e100000-7e103fff
*-pci:1
description: PCI bridge
product: Intel Corporation
vendor: Intel Corporation
physical id: 1d.5
bus info: pci@0000:00:1d.5
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:123 memory:7e000000-7e0fffff
*-generic
description: SD Host controller
product: Genesys Logic, Inc
vendor: Genesys Logic, Inc
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list
configuration: driver=sdhci-pci latency=0
resources: irq:151 memory:7e000000-7e000fff
*-isa
description: ISA bridge
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-multimedia
description: Audio device
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: iomemory:400-3ff iomemory:400-3ff irq:152 memory:4000110000-4000113fff memory:4000000000-40000fffff
*-serial:2
description: SMBus
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f.4
bus info: pci@0000:00:1f.4
version: 00
width: 64 bits
clock: 33MHz
configuration: driver=i801_smbus latency=0
resources: iomemory:400-3ff irq:16 memory:400011a000-400011a0ff ioport:efa0(size=32)
*-serial:3 UNCLAIMED
description: Serial bus controller
product: Comet Lake SPI (flash) Controller
vendor: Intel Corporation
physical id: 1f.5
bus info: pci@0000:00:1f.5
version: 00
width: 32 bits
clock: 33MHz
configuration: latency=0
resources: memory:fe010000-fe010fff
*-network:1
description: Ethernet interface
product: Ethernet Connection (10) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: eth0
version: 00
serial: 1c:69:7a:66:94:74
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.8.4-NAPI duplex=full firmware=0.6-4 ip=192.168.1.5 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:136 memory:7e200000-7e21ffff
*-power UNCLAIMED
description: To Be Filled By O.E.M.
product: To Be Filled By O.E.M.
vendor: To Be Filled By O.E.M.
physical id: 1
version: To Be Filled By O.E.M.
serial: To Be Filled By O.E.M.
capacity: 32768mWh
*-network:0
description: Ethernet interface
physical id: 2
logical name: vnet0
serial: fe:54:00:23:13:1a
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
*-network:1 DISABLED
description: Ethernet interface
physical id: 3
logical name: virbr0-nic
serial: 52:54:00:d1:eb:41
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
CONTINUING IN NEXT POST BECAUSE OF LENGTH LIMIT OF THE FORUM...
09-07-2020, 08:34 PM
#5
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
===== GUEST: =====
lshw shows that the graphic adapter was passed (as pci@0000:00:06.0) and is using i915
As before, the hdmi monitor gets its backlight turned on but black image. When the VM is shut down the hdmi goes into no signal.
lshw:
Code:
main-vm
description: Computer
product: Standard PC (i440FX + PIIX, 1996)
vendor: QEMU
version: pc-i440fx-5.0
width: 4294967295 bits
capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
configuration: boot=normal uuid=034C0CD8-002E-7647-BD9C-3937921D8854
*-core
description: Motherboard
physical id: 0
*-firmware
description: BIOS
vendor: SeaBIOS
physical id: 0
version: rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org
date: 04/01/2014
size: 96KiB
*-cpu:0
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 400
bus info: cpu@0
version: pc-i440fx-5.0
slot: CPU 0
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:1
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 401
bus info: cpu@1
version: pc-i440fx-5.0
slot: CPU 1
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:2
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 402
bus info: cpu@2
version: pc-i440fx-5.0
slot: CPU 2
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:3
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 403
bus info: cpu@3
version: pc-i440fx-5.0
slot: CPU 3
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:4
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 404
bus info: cpu@4
version: pc-i440fx-5.0
slot: CPU 4
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:5
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 405
bus info: cpu@5
version: pc-i440fx-5.0
slot: CPU 5
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:6
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 406
bus info: cpu@6
version: pc-i440fx-5.0
slot: CPU 6
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:7
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 407
bus info: cpu@7
version: pc-i440fx-5.0
slot: CPU 7
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:8
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 408
bus info: cpu@8
version: pc-i440fx-5.0
slot: CPU 8
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:9
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 409
bus info: cpu@9
version: pc-i440fx-5.0
slot: CPU 9
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:10
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 40a
bus info: cpu@10
version: pc-i440fx-5.0
slot: CPU a
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-cpu:11
description: CPU
product: Intel Core Processor (Skylake, IBRS)
vendor: Intel Corp.
physical id: 40b
bus info: cpu@11
version: pc-i440fx-5.0
slot: CPU b
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat
configuration: cores=1 enabledcores=1 threads=1
*-memory
description: System Memory
physical id: 1000
size: 48GiB
capabilities: ecc
configuration: errordetection=multi-bit-ecc
*-bank:0
description: DIMM RAM
vendor: QEMU
physical id: 0
slot: DIMM 0
size: 16GiB
*-bank:1
description: DIMM RAM
vendor: QEMU
physical id: 1
slot: DIMM 1
size: 16GiB
*-bank:2
description: DIMM RAM
vendor: QEMU
physical id: 2
slot: DIMM 2
size: 16GiB
*-pci
description: Host bridge
product: 440FX - 82441FX PMC [Natoma]
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 02
width: 32 bits
clock: 33MHz
*-isa
description: ISA bridge
product: 82371SB PIIX3 ISA [Natoma/Triton II]
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: isa
configuration: latency=0
*-ide
description: IDE interface
product: 82371SB PIIX3 IDE [Natoma/Triton II]
vendor: Intel Corporation
physical id: 1.1
bus info: pci@0000:00:01.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: ide isa_compatibility_mode-only_controller__supports_bus_mastering bus_master
configuration: driver=ata_piix latency=0
resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:c100(size=16)
*-bridge
description: Bridge
product: 82371AB/EB/MB PIIX4 ACPI
vendor: Intel Corporation
physical id: 1.3
bus info: pci@0000:00:01.3
version: 03
width: 32 bits
clock: 33MHz
capabilities: bridge
configuration: driver=piix4_smbus latency=0
resources: irq:9
*-display:0
description: VGA compatible controller
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: vga_controller rom
configuration: driver=bochs-drm latency=0
resources: irq:0 memory:f0000000-f0ffffff memory:fe090000-fe090fff memory:c0000-dffff
*-network
description: Ethernet interface
product: 82540EM Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
logical name: eth0
version: 03
serial: 52:54:00:23:13:1a
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=192.168.122.2 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:11 memory:fe040000-fe05ffff ioport:c000(size=64) memory:fe000000-fe03ffff
*-usb:0
description: USB controller
product: 82801I (ICH9 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:11 ioport:c080(size=32)
*-usb:1
description: USB controller
product: 82801I (ICH9 Family) USB UHCI Controller #2
vendor: Intel Corporation
physical id: 4.1
bus info: pci@0000:00:04.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:10 ioport:c0a0(size=32)
*-usb:2
description: USB controller
product: 82801I (ICH9 Family) USB UHCI Controller #3
vendor: Intel Corporation
physical id: 4.2
bus info: pci@0000:00:04.2
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:10 ioport:c0c0(size=32)
*-usb:3
description: USB controller
product: 82801I (ICH9 Family) USB2 EHCI Controller #1
vendor: Intel Corporation
physical id: 4.7
bus info: pci@0000:00:04.7
version: 03
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master
configuration: driver=ehci-pci latency=0
resources: irq:11 memory:fe091000-fe091fff
*-generic
description: Unclassified device
product: Virtio memory balloon
vendor: Red Hat, Inc.
physical id: 5
bus info: pci@0000:00:05.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=virtio-pci latency=0
resources: irq:10 ioport:c0e0(size=32) memory:f1000000-f1003fff
*-virtio0 UNCLAIMED
description: Virtual I/O device
physical id: 0
bus info: virtio@0
configuration: driver=virtio_balloon
*-display:1
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 6
bus info: pci@0000:00:06.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:24 memory:fd000000-fdffffff memory:e0000000-efffffff ioport:c040(size=64) memory:fe060000-fe07ffff
At this point I suspect 2 possibilities:
1. The VGA adapter created by virt-manager (as pci@0000:00:02.0 in the VM) confuses the kernel so that the passed-through adapter (pci@0000:00:06.0) is completely disregarded by the terminal (and X because I didn't configure that specifically in xorg.conf)
If so, how can I remove the video device in virt-manager? When I try it puts the default Cirrus.
Would that be the -nographic option in qemu? I don't know where to set that in virt-manager and if I try to replicate the way it calls qemu-kvm I have to deal with password files and I'm not too sure how the GUI creates them.
2. My frame buffer kernel parameter
efifb=off on the host isn't enough, and something messes up the firmware of the graphic adapter before the VM gets a chance to use it. Is there a difference between successfully blacklisting the modules and unloading them w/ rmmod right after boot?
To test assumption 1, is there anything I can call on pci@0000:00:06.0 just to see if anything shows on the screen? Like a quick hello world test that would use the device directly?
09-08-2020, 07:21 AM
#6
Senior Member
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005
Quote:
Originally Posted by
MisterBark
Intel NUC BXNUC10i7FNK i7-10710U
Recently acquired this exact same model; and realized that few Linux distributions I tried, did not have proper drivers for display. Ones I tried were Fedora 32 / openSuse 15.2 / Ubuntu 20
I do not know if that may be the issue here?
Take a look at "lspci -v" output.
09-08-2020, 10:24 AM
#7
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
I don't think that's an issue because it's fine outside of the VM, and both systems VM and host are identical (Slackware64 current).
lspci -v on HOST:
Code:
00:00.0 Host bridge: Intel Corporation Device 9b51
DeviceName: Intel Dual Band
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IOMMU group 0
Capabilities: [e0] Vendor Specific Information: Len=10 <?>
00:02.0 VGA compatible controller: Intel Corporation Device 9bca (rev 04) (prog-if 00 [VGA controller])
DeviceName: GPU
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IRQ 153, IOMMU group 1
Memory at 7d000000 (64-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: vfio-pci
Kernel modules: i915
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
Flags: bus master, fast devsel, latency 0, IRQ 11, IOMMU group 2
Memory at 4000120000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [dc] Power Management version 2
Capabilities: [f0] PCI Advanced Features
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IRQ 11, IOMMU group 3
Memory at 400011f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
00:14.0 USB controller: Intel Corporation Device 02ed (prog-if 30 [XHCI])
Subsystem: Intel Corporation Device 2081
Flags: bus master, medium devsel, latency 0, IRQ 135, IOMMU group 4
Memory at 4000100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Device 02ef
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IOMMU group 4
Memory at 4000118000 (64-bit, non-prefetchable) [size=8K]
Memory at 400011e000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
Subsystem: Intel Corporation Device 0074
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 5
Memory at 4000114000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Latency Tolerance Reporting
Capabilities: [164] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 6
Memory at 400011c000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.2 Serial bus controller [0c80]: Intel Corporation Device 02ea
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IRQ 18, IOMMU group 6
Memory at 400011d000 (64-bit, non-prefetchable) [virtual] [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IRQ 134, IOMMU group 7
Memory at 400011b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [a4] Vendor Specific Information: Len=14 <?>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller (prog-if 01 [AHCI 1.0])
Subsystem: Intel Corporation Device 2081
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 124, IOMMU group 8
Memory at 7e220000 (32-bit, non-prefetchable) [size=8K]
Memory at 7e223000 (32-bit, non-prefetchable) [size=256]
I/O ports at 3090 [size=8]
I/O ports at 3080 [size=4]
I/O ports at 3060 [size=32]
Memory at 7e222000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 122, IOMMU group 9
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: 7e100000-7e1fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Intel Corporation Device 2081
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport
00:1d.5 PCI bridge: Intel Corporation Device 02b5 (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 123, IOMMU group 10
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: 7e000000-7e0fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Intel Corporation Device 2081
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 0284
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IOMMU group 11
00:1f.3 Audio device: Intel Corporation Device 02c8 (prog-if 80)
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 32, IRQ 152, IOMMU group 11
Memory at 4000110000 (64-bit, non-prefetchable) [size=16K]
Memory at 4000000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Device 02a3
Subsystem: Intel Corporation Device 2081
Flags: medium devsel, IRQ 16, IOMMU group 11
Memory at 400011a000 (64-bit, non-prefetchable) [size=256]
I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
Subsystem: Intel Corporation Device 2081
Flags: fast devsel, IOMMU group 11
Memory at fe010000 (32-bit, non-prefetchable) [size=4K]
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
DeviceName: LAN
Subsystem: Intel Corporation Ethernet Connection (10) I219-V
Flags: bus master, fast devsel, latency 0, IRQ 136, IOMMU group 11
Memory at 7e200000 (32-bit, non-prefetchable) [size=128K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: e1000e
Kernel modules: e1000e
01:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) (prog-if 02 [NVM Express])
Subsystem: Phison Electronics Corporation E12 NVMe Controller
Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0, IOMMU group 12
Memory at 7e100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [d0] MSI-X: Enable+ Count=9 Masked-
Capabilities: [e0] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [f8] Power Management version 3
Capabilities: [100] Latency Tolerance Reporting
Capabilities: [110] L1 PM Substates
Capabilities: [128] Alternative Routing-ID Interpretation (ARI)
Capabilities: [200] Advanced Error Reporting
Capabilities: [300] Secondary PCI Express
Kernel driver in use: nvme
02:00.0 SD Host controller: Genesys Logic, Inc Device 9755 (prog-if 01)
Subsystem: Intel Corporation Device 2081
Flags: bus master, fast devsel, latency 0, IRQ 151, IOMMU group 13
Memory at 7e000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [e0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [f8] Power Management version 3
Capabilities: [100] Vendor Specific Information: ID=17a0 Rev=1 Len=008 <?>
Capabilities: [108] Latency Tolerance Reporting
Capabilities: [110] L1 PM Substates
Capabilities: [200] Advanced Error Reporting
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
lspci -v on VM:
Code:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc. Qemu virtual machine
Flags: fast devsel
Kernel modules: intel_agp
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc. Qemu virtual machine
Flags: medium devsel
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
Subsystem: Red Hat, Inc. Qemu virtual machine
Flags: bus master, medium devsel, latency 0
Memory at 000001f0 (32-bit, non-prefetchable) [virtual] [size=8]
Memory at 000003f0 (type 3, non-prefetchable) [virtual]
Memory at 00000170 (32-bit, non-prefetchable) [virtual] [size=8]
Memory at 00000370 (type 3, non-prefetchable) [virtual]
I/O ports at c100 [virtual] [size=16]
Kernel driver in use: ata_piix
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc. Qemu virtual machine
Flags: medium devsel, IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4
00:02.0 VGA compatible controller: Device 1234:1111 (rev 02) (prog-if 00 [VGA controller])
Subsystem: Red Hat, Inc. Device 1100
Flags: fast devsel
Memory at f0000000 (32-bit, prefetchable) [size=16M]
Memory at fe090000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Kernel driver in use: bochs-drm
Kernel modules: bochs_drm
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fe040000 (32-bit, non-prefetchable) [size=128K]
I/O ports at c000 [size=64]
Expansion ROM at fe000000 [disabled] [size=256K]
Kernel driver in use: e1000
Kernel modules: e1000
00:04.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at c080 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:04.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at c0a0 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:04.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at c0c0 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:04.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fe091000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:05.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
Subsystem: Red Hat, Inc. Virtio memory balloon
Physical Slot: 5
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at c0e0 [size=32]
Memory at f1000000 (64-bit, prefetchable) [size=16K]
Capabilities: [84] Vendor Specific Information: VirtIO: <unknown>
Capabilities: [70] Vendor Specific Information: VirtIO: Notify
Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
Kernel driver in use: virtio-pci
Kernel modules: virtio_pci
00:06.0 VGA compatible controller: Intel Corporation Device 9bca (rev 04) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 2081
Physical Slot: 6
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at fd000000 (64-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at c040 [size=64]
Expansion ROM at fe060000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Kernel driver in use: i915
Kernel modules: i915
04-05-2021, 05:52 PM
#8
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
Hi!
Sorry to bump this back up but I tried to work on this again but unsuccessfully... Would anyone have any new suggestions of what I should try?
Thanks!
04-05-2021, 06:57 PM
#9
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661
Rep:
I'm trying to understand your setup. You have Slackware host running headless, no video output of any kind? And then you have guest which is supposed to have full control over graphics hardware, correct? How do you know your hardware supports primary graphics handover to the guest? It is rather unusual ... never heard it done ...
04-05-2021, 07:41 PM
#10
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
Quote:
Originally Posted by
Emerson
I'm trying to understand your setup. You have Slackware host running headless, no video output of any kind? And then you have guest which is supposed to have full control over graphics hardware, correct?
That's right. I control the host remotely, either via VNC or SSH.
Quote:
Originally Posted by
Emerson
How do you know your hardware supports primary graphics handover to the guest? It is rather unusual ... never heard it done ...
Hmmm, really?
Let me make sure I understand what you are saying here... Are you saying that GPU passthrough is pretty much never done on the main GPU of a machine, that everyone keeps that for the host and passes secondary GPUs to the guest? And that it's usually not only not done but not even supported?
04-05-2021, 07:54 PM
#11
Senior Member
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005
To me this was a drivers issue; for example, see the device (from your lspci -v output)
Code:
00:02.0 VGA compatible controller: Intel Corporation Device 9bca (rev 04) (prog-if 00 [VGA controller])
With proper drivers, it should show something similar to:
Code:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
Granted above is not from my Nuc, which is unused at the moment until I have time to fool with drivers on it.
04-05-2021, 08:43 PM
#12
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661
Rep:
MisterBark,
while in theory once passthru support is enabled in firmware it could be possible for all PCI devices, I see no apparent reason why not. I know near to nothing about practical side, so I better shut up. However, if you continue having issues this is something I'd read up on. Hardware manufacturer may have their own ideas how this box can be used.
Edit: there is a bunch IOMMU related options in kernel, you sure your host kernel is not missing anything?
Last edited by Emerson; 04-05-2021 at 08:45 PM .
04-05-2021, 10:04 PM
#13
Member
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104
Original Poster
Rep:
Thanks both of you.
Ok I will check these closer, thanks!
All times are GMT -5. The time now is 09:09 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News