VM passthrough w/ looking-glass not working.

Hoi, I'm trying to setup the virtulizations for my vm, though when I wish to add my dGPU to virt-manager i get the error that passing through is not supported on my system, its enabled in the bios and ive also ran setup-virtulization. Can i not use the dedicated graphics card using VFIO driver?
lspci -nn | grep -E "NVIDIA" 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28a0] (rev a1) 01:00.1 Audio device [0403]: NVIDIA Corporation AD107 High Definition Audio Controller [10de:22be] (rev a1)
I also dont know why my devices are being skipped
sudo dmesg | grep IOMMU [sudo] password for lynx-bazzite:
[ 0.191403] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 [ 0.404771] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
99 Replies
! Lynx_StxrTouchVT
Ok so I ran the script again and everything is setup,I can create and run a VM though is it not able to switch from my Intel to Nvidia GPU? It doesn't even let me start the vm anymore.
! Lynx_StxrTouchVT
@HikariKnight hey, i followed the guide but you have any idea why im getting these errors when i try and run looking glass?
No description
HikariKnight
HikariKnight3d ago
youre not using the kvmfr device thought they set it as default for B7
! Lynx_StxrTouchVT
well i just rebooted and now its saying it cant connect to the spice server
HikariKnight
HikariKnight3d ago
did you disable spice on the VM?
! Lynx_StxrTouchVT
no
HikariKnight
HikariKnight3d ago
is the VM running?
! Lynx_StxrTouchVT
yes, now it did connect but.. I don't have any kind of mouse input on it the guest drivers for virtio are installed though
HikariKnight
HikariKnight3d ago
did you follow their guide add a virtio mouse and keyboard
! Lynx_StxrTouchVT
yes, I installed looking glass on the host, then i connect and i get this and the service crashes
! Lynx_StxrTouchVT
00:00:00.010 [I] time.c:85 | windowsSetTimerResolution | System timer resolution: 500.0 μs 00:00:00.010 [I] app.c:867 | app_main | Looking Glass Host (B7) 00:00:00.011 [I] cpuinfo.c:38 | cpuInfo_log | CPU Model: 12th Gen Intel(R) Core(TM) i5-12500H 00:00:00.012 [I] cpuinfo.c:39 | cpuInfo_log | CPU: 1 sockets, 4 cores, 8 threads 00:00:00.013 [E] vector.c:123 | vector_ptrTo | Assertion failed: index < vector->size && "Out of bounds access"
HikariKnight
HikariKnight3d ago
try rpm-ostree kargs --append-if-missing="split_lock_detect=off" then reboot the host
! Lynx_StxrTouchVT
alright rebooting okay i did that, Ill try booting the vm again.
HikariKnight
HikariKnight3d ago
did it work?
! Lynx_StxrTouchVT
No, I installed all the guest programs and looking glass still doesn't allow me to pass-through any kind of input except my keyboard.
HikariKnight
HikariKnight3d ago
i meant is the service still crashing in the VM
! Lynx_StxrTouchVT
yes
HikariKnight
HikariKnight3d ago
send me the output of rpm-ostree kargs and make sure you have configured the xml properly https://looking-glass.io/docs/B7/ivshmem_kvmfr/#libvirt i have to head off
! Lynx_StxrTouchVT
so this is what im getting now when i run looking glass
! Lynx_StxrTouchVT
I assume i have to add this to the overview xml right. here you go
rpm-ostree kargs rhgb quiet root=UUID=e7e3daa1-f18a-4112-ae5f-d08f9ab8c5dd rootflags=subvol=root rw ostree=/ostree/boot.0/default/9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/0 bluetooth.disable_ertm=1 preempt=full rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 vfio-pci.ids=10de:28a0,10de:22be kvmfr.static_size_mb=128 split_lock_detect=off
HikariKnight
HikariKnight3d ago
read the documentation, add it to the VM xml its important you read everything
! Lynx_StxrTouchVT
Yeah, I don't got time to break stuff..
HikariKnight
HikariKnight3d ago
ok that looks fine at my first glance
! Lynx_StxrTouchVT
the commandline goes right under the domain right
HikariKnight
HikariKnight3d ago
you want it above the </domain> line at the bottom and the first line of the xml needs to be <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
! Lynx_StxrTouchVT
i did both
! Lynx_StxrTouchVT
it keeps looping like this
No description
HikariKnight
HikariKnight3d ago
and change the size to match the right amount you need for kvmfr once all that is correct you need the looking-glass host to run in the VM
! Lynx_StxrTouchVT
is this value in bytes or mb
HikariKnight
HikariKnight3d ago
bytes iirc yeah mine is 134217728 which is 128mb
! Lynx_StxrTouchVT
just finished that on the calc, anyhow i have updated the size for kvmfr
HikariKnight
HikariKnight3d ago
and it matches your kvmfr static size right
! Lynx_StxrTouchVT
yes
HikariKnight
HikariKnight3d ago
anyways i have to go, but you can check if kvmfr is working by running sudo dmesg | grep -i kvmfr
! Lynx_StxrTouchVT
I think something might be wrong on the windows end? The service seems to be running, even though theres nothing in the tray.
No description
HikariKnight
HikariKnight3d ago
try connect and provide looking-glass logs
! Lynx_StxrTouchVT
Its running, though i got one permisson error Ill send the logs too
[ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/vmlinuz-6.14.3-101.bazzite.fc42.x86_64 rhgb quiet root=UUID=e7e3daa1-f18a-4112-ae5f-d08f9ab8c5dd rootflags=subvol=root rw ostree=/ostree/boot.0/default/9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/0 bluetooth.disable_ertm=1 preempt=full rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 vfio-pci.ids=10de:28a0,10de:22be kvmfr.static_size_mb=128 split_lock_detect=off
[ 0.101089] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/vmlinuz-6.14.3-101.bazzite.fc42.x86_64 rhgb quiet root=UUID=e7e3daa1-f18a-4112-ae5f-d08f9ab8c5dd rootflags=subvol=root rw ostree=/ostree/boot.0/default/9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/0 bluetooth.disable_ertm=1 preempt=full rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 vfio-pci.ids=10de:28a0,10de:22be kvmfr.static_size_mb=128 split_lock_detect=off
[ 1.606962] kvmfr: creating 1 static devices
[ 1.619118] kvmfr: kvmfr_module_init: module loaded
[ 12.337560] systemd[1]: Unable to fix SELinux security context of /dev/kvmfr0: Permission denied
[ 12.337672] audit: type=1400 audit(1745785602.611:7): avc: denied { associate } for pid=1 comm="systemd" name="kvmfr0" dev="devtmpfs" ino=218 scontext=system_u:object_r:svirt_tmpfs_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=filesystem permissive=0
[ 14.319002] netfs polyval_clmulni polyval_generic ghash_clmulni_intel hid_multitouch nvme sha512_ssse3 xe sha256_ssse3 nvme_core i2c_hid_acpi sha1_ssse3 intel_vsec nvme_auth drm_gpuvm i2c_hid pinctrl_tigerlake serio_raw nvidia_uvm(PO) nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) amdgpu amdxcp gpu_sched drm_panel_backlight_quirks drm_ttm_helper drm_exec drm_suballoc_helper i915 drm_buddy ttm video wmi i2c_algo_bit drm_display_helper cec vfio_pci vfio_pci_core irqbypass vfio_iommu_type1 vfio iommufd uhid ntsync kvmfr(O) gcadapter_oc(O) fuse i2c_dev
[ 627.294795] mmap kvmfr0: 7fd5238f1000-7fd52b8f1000 with size 134217728 offset 0
[ 803.912614] mmap kvmfr0: 7fa8bd125000-7fa8c5125000 with size 134217728 offset 0
[ 1060.570547] mmap kvmfr0: 7fbf91f79000-7fbf99f79000 with size 134217728 offset 0
[ 1194.374038] mmap kvmfr0: 7f1cf3fab000-7f1cfbfab000 with size 134217728 offset 0
[ 1839.194569] mmap kvmfr0: 7febc6be5000-7febcebe5000 with size 134217728 offset 0
[ 2057.922554] mmap kvmfr0: 7f1e71864000-7f1e79864000 with size 134217728 offset 0
[ 2498.798519] mmap kvmfr0: 7f91d9fff000-7f91dbfff000 with size 33554432 offset 0
[ 2520.085772] mmap kvmfr0: 7f52e3e15000-7f52ebe15000 with size 134217728 offset 0
[ 2762.660260] mmap kvmfr0: 7f6ab34c2000-7f6abb4c2000 with size 134217728 offset 0
[ 2797.873836] mmap kvmfr0: 7f9c89dff000-7f9c91dff000 with size 134217728 offset 0
[ 2807.284075] mmap kvmfr0: 7f63cc610000-7f63d4610000 with size 134217728 offset 0
[ 2891.387410] mmap kvmfr0: 7ff232f4a000-7ff23af4a000 with size 134217728 offset 0
[ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/vmlinuz-6.14.3-101.bazzite.fc42.x86_64 rhgb quiet root=UUID=e7e3daa1-f18a-4112-ae5f-d08f9ab8c5dd rootflags=subvol=root rw ostree=/ostree/boot.0/default/9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/0 bluetooth.disable_ertm=1 preempt=full rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 vfio-pci.ids=10de:28a0,10de:22be kvmfr.static_size_mb=128 split_lock_detect=off
[ 0.101089] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/vmlinuz-6.14.3-101.bazzite.fc42.x86_64 rhgb quiet root=UUID=e7e3daa1-f18a-4112-ae5f-d08f9ab8c5dd rootflags=subvol=root rw ostree=/ostree/boot.0/default/9a6c6c28c11d1609ff0138164ed50a2773eb21c96a3688e782c238c3de164190/0 bluetooth.disable_ertm=1 preempt=full rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 vfio-pci.ids=10de:28a0,10de:22be kvmfr.static_size_mb=128 split_lock_detect=off
[ 1.606962] kvmfr: creating 1 static devices
[ 1.619118] kvmfr: kvmfr_module_init: module loaded
[ 12.337560] systemd[1]: Unable to fix SELinux security context of /dev/kvmfr0: Permission denied
[ 12.337672] audit: type=1400 audit(1745785602.611:7): avc: denied { associate } for pid=1 comm="systemd" name="kvmfr0" dev="devtmpfs" ino=218 scontext=system_u:object_r:svirt_tmpfs_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=filesystem permissive=0
[ 14.319002] netfs polyval_clmulni polyval_generic ghash_clmulni_intel hid_multitouch nvme sha512_ssse3 xe sha256_ssse3 nvme_core i2c_hid_acpi sha1_ssse3 intel_vsec nvme_auth drm_gpuvm i2c_hid pinctrl_tigerlake serio_raw nvidia_uvm(PO) nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) amdgpu amdxcp gpu_sched drm_panel_backlight_quirks drm_ttm_helper drm_exec drm_suballoc_helper i915 drm_buddy ttm video wmi i2c_algo_bit drm_display_helper cec vfio_pci vfio_pci_core irqbypass vfio_iommu_type1 vfio iommufd uhid ntsync kvmfr(O) gcadapter_oc(O) fuse i2c_dev
[ 627.294795] mmap kvmfr0: 7fd5238f1000-7fd52b8f1000 with size 134217728 offset 0
[ 803.912614] mmap kvmfr0: 7fa8bd125000-7fa8c5125000 with size 134217728 offset 0
[ 1060.570547] mmap kvmfr0: 7fbf91f79000-7fbf99f79000 with size 134217728 offset 0
[ 1194.374038] mmap kvmfr0: 7f1cf3fab000-7f1cfbfab000 with size 134217728 offset 0
[ 1839.194569] mmap kvmfr0: 7febc6be5000-7febcebe5000 with size 134217728 offset 0
[ 2057.922554] mmap kvmfr0: 7f1e71864000-7f1e79864000 with size 134217728 offset 0
[ 2498.798519] mmap kvmfr0: 7f91d9fff000-7f91dbfff000 with size 33554432 offset 0
[ 2520.085772] mmap kvmfr0: 7f52e3e15000-7f52ebe15000 with size 134217728 offset 0
[ 2762.660260] mmap kvmfr0: 7f6ab34c2000-7f6abb4c2000 with size 134217728 offset 0
[ 2797.873836] mmap kvmfr0: 7f9c89dff000-7f9c91dff000 with size 134217728 offset 0
[ 2807.284075] mmap kvmfr0: 7f63cc610000-7f63d4610000 with size 134217728 offset 0
[ 2891.387410] mmap kvmfr0: 7ff232f4a000-7ff23af4a000 with size 134217728 offset 0
HikariKnight
HikariKnight3d ago
kvmfr is working and ignore [ 12.337560] systemd[1]: Unable to fix SELinux security context of /dev/kvmfr0: Permission denied as the selinux type enforcement we set is applied after that gets logged
! Lynx_StxrTouchVT
windows is failing
00:00:00.008 [I] time.c:85 | windowsSetTimerResolution | System timer resolution: 500.0 μs
00:00:00.009 [I] app.c:861 | app_main | Looking Glass Host (B7-rc1)
00:00:00.009 [I] cpuinfo.c:38 | cpuInfo_log | CPU Model: 12th Gen Intel(R) Core(TM) i5-12500H
00:00:00.010 [I] cpuinfo.c:39 | cpuInfo_log | CPU: 1 sockets, 4 cores, 8 threads
00:00:00.011 [I] ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0x0, device 0x4, function 0x0
00:00:00.017 [I] app.c:879 | app_main | IVSHMEM Size : 128 MiB
00:00:00.017 [I] app.c:880 | app_main | IVSHMEM Address : 0x22D0FB90000
00:00:00.017 [I] app.c:881 | app_main | Max Pointer Size : 1024 KiB
00:00:00.017 [I] app.c:882 | app_main | KVMFR Version : 20
00:00:00.018 [I] app.c:901 | app_main | Trying : D12
00:00:00.018 [I] d12.c:185 | d12_create | debug:0 trackDamage:1
00:00:00.020 [I] d12.c:851 | d12_enumerateDevices | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.020 [I] d12.c:851 | d12_enumerateDevices | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.020 [E] d12.c:901 | d12_enumerateDevices | Failed to locate a valid output device
00:00:00.020 [E] app.c:435 | captureStart | Failed to initialize the capture device
00:00:00.021 [I] app.c:901 | app_main | Trying : DXGI
00:00:00.021 [I] dxgi.c:441 | dxgi_init | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.022 [I] dxgi.c:441 | dxgi_init | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.022 [E] dxgi.c:496 | dxgi_init | Failed to locate a valid output device
00:00:00.022 [E] app.c:435 | captureStart | Failed to initialize the capture device
00:00:00.022 [I] app.c:901 | app_main | Trying : NVFBC
108513232 [E] wrapper.cpp:65 | NvFBCInit | Failed to load NvFBC64.dll: 0x0000007e (The specified module could not be found.)
00:00:00.023 [E] app.c:927 | app_main | Failed to find a supported capture interface
00:00:00.026 [I] app.c:1078 | app_main | Host application exited
00:00:00.008 [I] time.c:85 | windowsSetTimerResolution | System timer resolution: 500.0 μs
00:00:00.009 [I] app.c:861 | app_main | Looking Glass Host (B7-rc1)
00:00:00.009 [I] cpuinfo.c:38 | cpuInfo_log | CPU Model: 12th Gen Intel(R) Core(TM) i5-12500H
00:00:00.010 [I] cpuinfo.c:39 | cpuInfo_log | CPU: 1 sockets, 4 cores, 8 threads
00:00:00.011 [I] ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0x0, device 0x4, function 0x0
00:00:00.017 [I] app.c:879 | app_main | IVSHMEM Size : 128 MiB
00:00:00.017 [I] app.c:880 | app_main | IVSHMEM Address : 0x22D0FB90000
00:00:00.017 [I] app.c:881 | app_main | Max Pointer Size : 1024 KiB
00:00:00.017 [I] app.c:882 | app_main | KVMFR Version : 20
00:00:00.018 [I] app.c:901 | app_main | Trying : D12
00:00:00.018 [I] d12.c:185 | d12_create | debug:0 trackDamage:1
00:00:00.020 [I] d12.c:851 | d12_enumerateDevices | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.020 [I] d12.c:851 | d12_enumerateDevices | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.020 [E] d12.c:901 | d12_enumerateDevices | Failed to locate a valid output device
00:00:00.020 [E] app.c:435 | captureStart | Failed to initialize the capture device
00:00:00.021 [I] app.c:901 | app_main | Trying : DXGI
00:00:00.021 [I] dxgi.c:441 | dxgi_init | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.022 [I] dxgi.c:441 | dxgi_init | Not using unsupported adapter: Microsoft Basic Render Driver
00:00:00.022 [E] dxgi.c:496 | dxgi_init | Failed to locate a valid output device
00:00:00.022 [E] app.c:435 | captureStart | Failed to initialize the capture device
00:00:00.022 [I] app.c:901 | app_main | Trying : NVFBC
108513232 [E] wrapper.cpp:65 | NvFBCInit | Failed to load NvFBC64.dll: 0x0000007e (The specified module could not be found.)
00:00:00.023 [E] app.c:927 | app_main | Failed to find a supported capture interface
00:00:00.026 [I] app.c:1078 | app_main | Host application exited
HikariKnight
HikariKnight3d ago
does the vm have a GPU passed through atm?
! Lynx_StxrTouchVT
not yet, i tried before and it refused to boot
HikariKnight
HikariKnight3d ago
you need to fix that looking-glass will not work until you have a gpu passed through
! Lynx_StxrTouchVT
Ive added them, do i disable the video output from vga to none?
HikariKnight
HikariKnight3d ago
the spice function might still work but i havent tried that no you just turn off the virtual display once youre in windows
! Lynx_StxrTouchVT
Right, am rebooting the vm
HikariKnight
HikariKnight3d ago
if you remove the qxl video you will break the spice fallback for looking-glass
! Lynx_StxrTouchVT
Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices

Traceback (most recent call last):
File "/app/share/virt-manager/virtManager/asyncjob.py", line 71, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/app/share/virt-manager/virtManager/asyncjob.py", line 107, in tmpcb
callback(*args, **kwargs)
File "/app/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/share/virt-manager/virtManager/object/domain.py", line 1384, in startup
self._backend.create()
File "/app/lib/python3.12/site-packages/libvirt.py", line 1390, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: unsupported configuration: host doesn't support passthrough of host PCI devices
Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices

Traceback (most recent call last):
File "/app/share/virt-manager/virtManager/asyncjob.py", line 71, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/app/share/virt-manager/virtManager/asyncjob.py", line 107, in tmpcb
callback(*args, **kwargs)
File "/app/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/share/virt-manager/virtManager/object/domain.py", line 1384, in startup
self._backend.create()
File "/app/lib/python3.12/site-packages/libvirt.py", line 1390, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: unsupported configuration: host doesn't support passthrough of host PCI devices
it didnt like that yes i have vt-d and virtualization turned on
HikariKnight
HikariKnight3d ago
open the terminal and run ls-iommu
! Lynx_StxrTouchVT
Yeah i dont know why im getting this. IOMMU Disabled in UEFI/BIOS and/or not enabled in boot arguments!
HikariKnight
HikariKnight3d ago
you didnt enable vfio in the ujust
! Lynx_StxrTouchVT
ujust-setup-virtulization should have already done that right ill check again
HikariKnight
HikariKnight3d ago
wont do it if you didnt enable vfio i checked your kargs again, you havent run it
! Lynx_StxrTouchVT
error: initramfs regeneration state is already enabled rest is still ongoing
HikariKnight
HikariKnight3d ago
we dont use initramfs regeneration anymore how old is your image?
! Lynx_StxrTouchVT
uhhh
HikariKnight
HikariKnight3d ago
rpm-ostree status
! Lynx_StxrTouchVT
State: busy
Transaction: kargs --append-if-missing=intel_iommu=on --append-if-missing=iommu=pt --append-if-missing=rd.driver.pre=vfio-pci --append-if-missing=vfio_pci.disable_vga=1
Initiator: client(id:cli dbus:1.444 unit:flatpak-session-helper.service uid:1000)
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:latest
Digest: sha256:1460313dfdad4b866529681ec49b4f430214245b3a73085bad9ac85a6cd17b54
Version: 42.20250425 (2025-04-25T16:56:06Z)
LayeredPackages: kvantum
LocalPackages: flatpost-1.0.5-1.20250418.4d3dc59.fc41.noarch mullvad-vpn-2025.5-1.x86_64 opentabletdriver-0.6.5.1-1.x86_64
Initramfs: regenerate

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:latest
Digest: sha256:1460313dfdad4b866529681ec49b4f430214245b3a73085bad9ac85a6cd17b54
Version: 42.20250425 (2025-04-25T16:56:06Z)
LayeredPackages: kvantum
LocalPackages: flatpost-1.0.5-1.20250418.4d3dc59.fc41.noarch mullvad-vpn-2025.5-1.x86_64 opentabletdriver-0.6.5.1-1.x86_64
Initramfs: regenerate
State: busy
Transaction: kargs --append-if-missing=intel_iommu=on --append-if-missing=iommu=pt --append-if-missing=rd.driver.pre=vfio-pci --append-if-missing=vfio_pci.disable_vga=1
Initiator: client(id:cli dbus:1.444 unit:flatpak-session-helper.service uid:1000)
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:latest
Digest: sha256:1460313dfdad4b866529681ec49b4f430214245b3a73085bad9ac85a6cd17b54
Version: 42.20250425 (2025-04-25T16:56:06Z)
LayeredPackages: kvantum
LocalPackages: flatpost-1.0.5-1.20250418.4d3dc59.fc41.noarch mullvad-vpn-2025.5-1.x86_64 opentabletdriver-0.6.5.1-1.x86_64
Initramfs: regenerate

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:latest
Digest: sha256:1460313dfdad4b866529681ec49b4f430214245b3a73085bad9ac85a6cd17b54
Version: 42.20250425 (2025-04-25T16:56:06Z)
LayeredPackages: kvantum
LocalPackages: flatpost-1.0.5-1.20250418.4d3dc59.fc41.noarch mullvad-vpn-2025.5-1.x86_64 opentabletdriver-0.6.5.1-1.x86_64
Initramfs: regenerate
HikariKnight
HikariKnight3d ago
rpm-ostree initramfs --disable i think the command is to disable it and its waiting for the kargs to be updated for vfio
! Lynx_StxrTouchVT
Well it finished "re"enabling I got Intel XE and Nvidia GPU's in this system. yep ok imma reboot
HikariKnight
HikariKnight3d ago
if this is a desktop it should work fine if its the nvidia card youre passing through if its a laptop its literally a dice roll if it will work
! Lynx_StxrTouchVT
maybe it just needs drivers
HikariKnight
HikariKnight3d ago
yes also which gpu are you passing through and is this a desktop
! Lynx_StxrTouchVT
oh it auto installed 4060 defo laptop
HikariKnight
HikariKnight3d ago
ok well with a laptop its a big chance it cant work
! Lynx_StxrTouchVT
prob cuz it has a mux switch it already installed the driver
HikariKnight
HikariKnight3d ago
yeah doesnt mean it will work you still need a hdmi plug that is wired directly to the gpu either through mux switch or hardwired to the gpu
! Lynx_StxrTouchVT
ill plug it into a monitor, does displayport also work?
HikariKnight
HikariKnight3d ago
yeah just replace hdmi in my messages with display port, message stays the same 😛
! Lynx_StxrTouchVT
based\
HikariKnight
HikariKnight3d ago
the monitor has to be connected before booting the VM btw
! Lynx_StxrTouchVT
it workd
HikariKnight
HikariKnight3d ago
then looking glass should work
! Lynx_StxrTouchVT
oh alr just gotta figure out mouse <input type="mouse" bus="virtio"> <alias name="input0"/> <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> </input> using this
HikariKnight
HikariKnight3d ago
cant help with that other than just follow the looking-glass documentation
! Lynx_StxrTouchVT
ye
HikariKnight
HikariKnight3d ago
just add that to the right location in the xml you can ignore the <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> it gets auto added
! Lynx_StxrTouchVT
cool, the thing is that i cant remove the standard mouse it assigns tho looking glass works
HikariKnight
HikariKnight3d ago
you need to keep the standard mouse its a requirement the PS2 mouse and keyboard are required for the VM in general
! Lynx_StxrTouchVT
ah
HikariKnight
HikariKnight3d ago
pretty sure the documentaiton mentions that you add the virtio mouse and keyboard not replace
! Lynx_StxrTouchVT
ok so i got two screens and the one in qemu is screen 1 and LG is using screen 2 oh wel nvm fixed i did anyhow ty for the help
HikariKnight
HikariKnight3d ago
goodnight
! Lynx_StxrTouchVT
nighty @HikariKnight maybe tmr u can let my know why I'm not getting full screen with 1080p res..
HikariKnight
HikariKnight3d ago
im quite busy atm buying an apartment and dealing with a broken down car i dont do vfio on laptops because it is a mess the card is passed through and looking-glass works (you get an image and its not complaining about it being spice) not much more i can do since laptops are a mess when it comes to vfio
! Lynx_StxrTouchVT
fair
HikariKnight
HikariKnight3d ago
you could try getting help in the vfio discord if you have general vfio issues that remains
! Lynx_StxrTouchVT
nah its like a scaling issue with looking glass
HikariKnight
HikariKnight3d ago
but for 1080p kvmfr just needs at minimum 64mb, we default it to 128mb
HikariKnight
HikariKnight3d ago
change the resolution 1440x1080 is not a normal resolution
! Lynx_StxrTouchVT
The first one it 1080
HikariKnight
HikariKnight3d ago
yeah and what is the panels actual resolution? because it will use whatever the monitor reports
! Lynx_StxrTouchVT
1080 It works fine on the monitor only on looking glass it's scaled down
HikariKnight
HikariKnight3d ago
because the laptop screen is not 1080p or rather its not 16:9
! Lynx_StxrTouchVT
Both are the same res and are 16:9 In windowed mode LG does scale properly
HikariKnight
HikariKnight3d ago
at that point, play around with your looking-glass settings goodnight
! Lynx_StxrTouchVT
Okay, goodnight alr fixed

Did you find this page helpful?