Zorin OS 17 doesn't use gpu pass for kvm

when i upgrade zorin os 17, i install kvm and insert gpu pass to /etc/defaut/grub setting, but not working.
any solution?

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=10de:1b06,10de:10ef" #GTX 1080Ti
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

Welcome! :smile:

After modifying, did you issue sudo update-grub? If not, then it didn't save the changes.

Check your grub file, if the changes are still there just close and issue sudo update-grub and reboot.

1 Like

Zorin 17 is still in Beta to my knowledge, so not sure you are going to get everything to work correctly. This may be a bug so you might want to report it to the developers.

yes, i did.
but not working

I reported it.

What is your terminal output for:

lspci -nn

Also for:

lsmod | grep kvm vfio vfio_pci

in order to see if the proper modules are loaded.

ls /etc/modprobe.d/

Do you have a vfio configuration file?
It should contain your options vfio-pci ids=...

lspci -nn

Blockquote
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4668] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 [8086:460d] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation AlderLake-S GT1 [8086:4680] (rev 0c)
00:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 02)
00:0a.0 Signal processing controller [1180]: Intel Corporation Platform Monitoring Technology [8086:467d] (rev 01)
00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller [8086:467f]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:7ae0] (rev 11)
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:7aa7] (rev 11)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:7acc] (rev 11)
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:7ae8] (rev 11)
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:7ae2] (rev 11)
00:1a.0 PCI bridge [0604]: Intel Corporation Device [8086:7ac8] (rev 11)
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:7ab8] (rev 11)
00:1c.3 PCI bridge [0604]: Intel Corporation Device [8086:7abb] (rev 11)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:7a86] (rev 11)
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:7ad0] (rev 11)
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:7aa3] (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:7aa4] (rev 11)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP108 [GeForce GT 1030] [10de:1d01] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GP108 High Definition Audio Controller [10de:0fb8] (rev a1)
02:00.0 Non-Volatile memory controller [0108]: Micron/Crucial Technology P2 NVMe PCIe SSD [c0a9:540a] (rev 01)
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)

lsmod | grep kvm vfio vfio_pci
it is not files.

Do you have a vfio configuration file?
i have not vfio confuguration file, even before use zorin os 16

It looks like it is in a separate iommu. That is good.

What about:

lsmod | grep kvm

You should have kvm listed...
Ideally, vfio and vfrio_pci should be listed, also - but let's check kvm.

lsmod | grep kvm

Blockquote
kvm_intel 503808 0
kvm 1347584 1 kvm_intel
irqbypass 16384 1 kvm

1 Like

That looks good...

Can you check this for typographical errors, whitespace or a malformed I.D.:

I notice that there is only one (") quotation mark.
It is after 2am here so I am leaving the computer for what remains of the night.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt kvm.ignore_msrs=1 vfio-pci.ids=10de:1d01,10de:0fb8"

this is other computer setting.
boot was good. just can't use gpu pass.

i find solution, and its working now.
kernel 6.2 vfio gpu pass

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.