After some research, I have found this thread which explains how to passthrough a secondary GPU.
Currently, I have to disable (in the BIOS) my secondary GPU (NVIDIA RTX A2000 12 GB) because otherwise Qubes crashes after LUKS.
If I understand correctly, my best option for circumventing this and using my NVIDIA RTX A2000 12 GB GPU is:
- Activate the GPU in the Bios, but somehow inform QUBES to ignore it.
- use it inside some HVM with VM with GPU passthrough.
For the moment my goal is to achieve just (1).
Following the advice in the thread, I am booting with a Manjaro live distro with pre-installed NVIDIA drivers and boot option iommu=1
.
This is the (relevant portion of) what I see when I run the command sudo lshd
.
*-display
description: VGA compatible controller
product: GA106 [RTX A2000 12GB]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nouveau latency=0 mode=2560x1440 resolution=2560,1440 visual=truecolor xres=2560 yres=1440
resources: iomemory:600-5ff iomemory:620-61f irq:183 memory:81000000-81ffffff memory:6000000000-61ffffffff memory:6200000000-6201ffffff ioport:3000(size=128) memory:82080000-820fffff
In particular, I can read the information: iomemory:600-5ff iomemory:620-61f
However when I run shopt
I see nullglob null
.
Consequently (I guess) the suggested script:
#!/bin/bash
shopt -s nullglob
for g in /sys/kernel/iommu_groups/*; do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done
done
prints nothing and I am a bit stuck.
@apparatus , I saw that you took part in that thread as well. Do you have any suggestion?
For the moment my goal is to achieve just (1), namely:
- Activate the GPU in the Bios, but somehow inform QUBES to ignore it.
thanks!