You are not logged in.

#1 2020-01-30 00:10:57

cRaZy-bisCuiT
Member
Registered: 2013-08-13
Posts: 31

[done] Intel GVT-g: kvmgt not loaded / no mdev devices

#done
My hardware is not supported.

[root@t440s 0000:02:00.0]# dmesg | grep -i gvt 
[    2.442209] [drm] Unsupported device. GVT-g is disabled

----------

Hey there!

I tried to follow the Arch wiki article regarding Intel GVT-g. Actually I got stuck pretty early since I can't find any "mdev_supported_types".

Steps I did + configs

  • Enable kernel modules kvmgt vfio-iommu-type1 vfio-mdev

[root@t440s ~]# grep ^[^#] /etc/mkinitcpio.conf 
MODULES=(kvmgt vfio vfio-iommu-type1 vfio-mdev)
BINARIES=()
FILES=()
HOOKS="base udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck"
  • Add i915.enable_gvt=1 to your kernel parameters to enable GPU virtualization.

[root@t440s ~]# grep ^[^#] /boot/loader/entries/arch.conf 
title          Arch Linux
linux          /vmlinuz-linux
initrd         /initramfs-linux.img
options        cryptdevice=/dev/sda2:vg00 root=/dev/mapper/vg00-lvroot rw i915.enable_gvt=1
  • rebuild initramfs with mkinitcpio -p linux and reboot

  • find my VGA PCI device

[root@t440s ~]# lspci -D -nn
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
  • when looking for the mdev device, nothing is found

[root@t440s 0000:02:00.0]# pwd
/sys/bus/pci/devices/0000:02:00.0
[root@t440s 0000:02:00.0]# ls | tr '\n' '\n'
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal
ari_enabled
broken_parity_status
class
config
consistent_dma_mask_bits
current_link_speed
current_link_width
d3cold_allowed
device
dev_rescan
devspec
dma_mask_bits
driver
driver_override
enable
host0
irq
local_cpulist
local_cpus
max_link_speed
max_link_width
modalias
msi_bus
numa_node
power
remove
reset
resource
resource0
revision
subsystem
subsystem_device
subsystem_vendor
uevent
vendor
  • kvmgt is not loaded and can't be loaded with modprobe

[root@t440s ~]# modprobe kvmgt
modprobe: ERROR: could not insert 'kvmgt': No such device

What am I doing wrong?

PS: CPU is a Intel(R) Core(TM) i5-4300U on a T440s. VT-d and VT-x is active in UEFI.

Last edited by cRaZy-bisCuiT (2020-01-30 00:26:43)

Offline

#2 2020-01-30 00:25:40

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: [done] Intel GVT-g: kvmgt not loaded / no mdev devices

Wiki Intel GVT-g page wrote:

Intel GVT-g is a technology that provides mediated device passthrough for Intel GPUs (Broadwell and newer).

Does Haswell pass that test? I don't know, I'm just asking.

Offline

#3 2020-01-30 00:28:41

cRaZy-bisCuiT
Member
Registered: 2013-08-13
Posts: 31

Re: [done] Intel GVT-g: kvmgt not loaded / no mdev devices

Zod wrote:
Wiki Intel GVT-g page wrote:

Intel GVT-g is a technology that provides mediated device passthrough for Intel GPUs (Broadwell and newer).

Does Haswell pass that test? I don't know, I'm just asking.

Actually not, I was just to tired. Thanks!

Unfortunately this is true for my Notebook as well as my Desktop with 3570k. My next device will be all-AMD, I just intended to use my HW a little longer since I don't have needs for improved performance....

Offline

Board footer

Powered by FluxBB