To bad that is not a setting in my BIOS; the BIOS on this machine is really limited.
I’m still trying to get it to work in a normal way so nothing to dom0 if possible. The biggest trouble I now have is that I can’t wrap my head around what is going wrong so I can’t even start thinking about possible solutions.
If you can find a thunderbolt device with a dedicated usb controller that actually works fine for passing through a displayport enabled dock since the usb controller appears as a separate pcie device that can be attached to VMs. Basically entirely bypasses the weird intel shared usb controller nonsense.
If nothing happens when you try bolt, it means there’s no plugged TB device or you have no TB controller in dom0.
try boltctl domains and boltctl list.
Keep in mind, if your TB controller is not in dom0 or it hasn’t loaded the thunderbolt driver, boltctl won’t show anything.
I advice doing lspci -v and lsmod to verify that you have the TB NHI controller in Dom0 with the thunderbolt driver loaded.
But anyways, without the NHI driver, the port essentially acts as a Type C USB controller with Alt DP. So you can still get monitors out or connect other devices. TB4/5 docks should do this. TB3 might likely not work at all.
Do you really need TB though? Because if your Dock is working and your monitors are working, TB won’t give you much on top.
Also you need to have the Dock plugged in before boot for TB to work on Qubes because no PCI hotplug.
TB will usually add PCI-E devices too. Which would appear in dom0.
All in all, I see three reasons you might want TB over just using your TB Dock as Type C/Disp Alt:
more bandwidth, TB4/TB5 can support 40/80 gbps
connect an external GPU
connect higher resolution monitors (essentially you could get multiple DisplayPorts, while DispAlt gives you a single Displayport which is then split via MST. That said Displayport 2.1 can support a lot of monitors. There’s also DSC which would give you even more because it’s a compression that happens automatically.).
Anyways, I personally see the external GPU as the main benefit of TB on a new Qubes laptop.
So this should be correct. Or am I missing something obvious?
The thing is I should have on USB-C port and one USB-C/TB port. External monitors won’t work in either of my two USB-c ports… so I think there is something else at play!
Both boltctl domains and boltctl list give empty responses.
I have an mini-displayport… might try a mini-displayport to two HDMI-ports dongle (MST) and see if that works.
@Bloged You are hiding your thunderbolt NHI device from Dom0. So boltctl in Dom0 isn’t going to see it. I need pcie from thunderbolt so I don’t use bolt.
I’m using a Gigabyte Z890 Aorus Master with usb-c video and it works fine for the most part if I don’t overclock anything. If I overclock the RAM using XMP1, I don’t get a signal after waking from sleep unless I disconnect the HDMI cable.
00:0d.2 USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #0 (rev 10) (prog-if 40 [USB4 Host Interface])
DeviceName: Onboard - Other
Subsystem: Device 2222:1111
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at b430000000 (64-bit, non-prefetchable) [size=256K]
Memory at b4300b5000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: pciback
Kernel modules: thunderbolt
This is not correct. The driver in use is pciback. This means you have told Dom0 not to load the thunderbolt driver.
It would happen for two different reasons - you either have kernel flags to hide it or you’ve added it to sys-usb which when launched would make Dom0 drop the device - unload the Thunderbolt driver.
Even with this setup, I am able to get monitors out of a TB dock or directly via a Type C cable to the monitor.
It should work with a TB4 port since it can do Disp Alt, essentially bypassing the TB and directly connecting the DP.
Ditto for the TB Dock which should fallback to Disp Alt.
Thinking about it… the only reason not to work would be too high of a resolution.
It seems I have it attached to sys-usb… later I will try if it works when adding it to dom0 just to confirm. But I don’t really care about TB just USB-c would be totally fine for me. The resolution isn’t the problem
Ok now for the really weird thing: when I boot with two monitors attached via USB-C (directly from monitor) one works during boot until HDD decryption. After that it goes blank. This is expected behavior. Now login is on a blank monitor so not on the laptop one. This I can do blind so no real problem . When I now use ARandR to enable the monitors both are shown as active; but both stay blank/no signal. When I now invert one monitor (doesn’t matter which) and apply. I get the same error as normal, but when reverting to previous settings one of the monitors will receive signal (always the same one no matter what.
I can have this same behavior on the Dell and the Icy docks as well… so what is going on. The Dell docking station previously worked on a Qubes 4.2.4 installation on a Dell XPS laptop and it still has the same Full HD monitors attached.