Guides › Drivers and hardware

External graphics and Thunderbolt devices

Plug in a graphics card box, a dock or another Thunderbolt or USB4 device while the PC runs, allow it, and unplug it safely.

Thunderbolt and USB4 are fast ports. Besides displays and USB, they can carry PCI, the same connection a graphics card or network card uses inside the PC. That is how an external graphics card box (an "eGPU") or a docking station works.

A device that uses PCI can read and write the PC's memory on its own. A dishonest device could use that to read your passwords. So Sovereign OS keeps every new device of this kind switched off until an administrator allows it.

Warning This feature is new and has not been tried on real Thunderbolt or USB4 hardware yet. It may not work on your PC. Save your work before you plug in or unplug a device.

Before you start

  • Kernel DMA protection must be on. It uses a part of the processor called the IOMMU (Intel calls it VT-d, AMD calls it AMD-Vi). Check it in Settings > Privacy & security > Security: the Kernel DMA protection row should say On. If it says Off, turn on VT-d or AMD-Vi in your PC's firmware settings (the setup screen you get with a key like F2 or Del at power on).
  • To allow a device you need an administrator account, or an administrator's password.

Plug in a device and allow it

  1. Plug the device into a Thunderbolt or USB4 port while the PC runs.
  2. A notification says Allow this Thunderbolt device? with the device's name.
  3. Select the notification. Settings opens at Security, with the device under Thunderbolt and USB4 devices.
  4. Select Allow if you trust the device. Enter an administrator's password if asked.
  5. After a moment a notification says the device is ready.

Sovereign OS remembers your choice for that device in that port. Next time it connects there without asking. If you plug it into another port, you are asked again.

To let it in without remembering it, select Allow once instead. You are asked again the next time it is plugged in.

If you do not trust the device, select Block. It stays off, now and every time it is plugged in.

Graphics cards: what works today

The device is set up safely, but the graphics drivers in Sovereign OS start a graphics card only when the PC starts. A card you plug in while the PC runs is not used yet: its monitors stay dark. Settings and Devices say so.

A graphics card box that is plugged in when the PC starts may work like any other card, if your PC's firmware sets it up. See Graphics for what each make of card can do.

Unplug a device safely

Always use Safely remove first. It makes sure nothing is using the device.

  1. Select the Safely remove icon on the taskbar, next to the clock. It only shows while a device is connected.
  2. Select Safely remove and the device's name.
  3. Wait for the notification Safe to unplug, then unplug the device.

You can also select Safely remove next to the device in Settings > Privacy & security > Security.

To use the device again after Safely remove, unplug it and plug it back in.

If a graphics card shows the start screen and the desktop (your PC has no other display), it cannot be removed while the PC runs. Shut down first.

If you unplug it without Safely remove

Sovereign OS does not stop. It cleans up and shows a message that the device was unplugged without Safely remove. Windows on its monitors move to the monitors that are left. Apps that were using the device may need to be restarted.

Turn PCI devices off completely

In Settings > Privacy & security > Security, turn off Allow graphics cards and other PCI devices. Devices you plug in after that get only displays and USB. A device that is already connected stays until you unplug it. You need an administrator to change this.

Forget a remembered device

Remembered devices are listed under Thunderbolt and USB4 devices in Settings > Privacy & security > Security. Select Forget next to one. Next time it is plugged in, you are asked again.

Limits

  • The device's name, serial number and the port it is plugged into are used to recognize it. Two devices of the same model without a serial number count as one in the same port. A dishonest device can pretend to be another one, which is why only an administrator can allow devices and why Kernel DMA protection must be on.
  • If Kernel DMA protection stops working while a device is connected (for example after the PC wakes from sleep), the device is stopped. Use Safely remove and restart the PC.
  • On some PCs the firmware waits for the system to approve a Thunderbolt device before it connects it. Sovereign OS cannot do that yet, so on those PCs the device does not show up at all. Look in the firmware settings for a Thunderbolt security option such as "No security" or "User authorization".
  • A large graphics card may need more memory space than the firmware set aside for the port. Settings then shows how much the card needs and how much the port has. A firmware setting for Thunderbolt memory, or a smaller "resizable BAR" setting on the card, can fix this.
  • A device plugged into another Thunderbolt device later (a chain grown while running) is not seen. Plug the chain in together.
  • Devices that were plugged in when the PC started are not asked about: your PC's firmware allowed them. Do not leave a device you do not trust plugged in while the PC is off.

If something goes wrong

  • Nothing happens when I plug it in. Check that Kernel DMA protection is on and that Allow graphics cards and other PCI devices is on. Try the firmware's Thunderbolt security setting (see Limits). The start option hotplug=off turns this feature off; make sure it is not set.
  • "Could not be set up". Read the reason in Settings. It usually says the port does not have enough memory space or bus numbers for the device.
  • For more help, collect the boot log and send it with a hardware report.

Still stuck? Search the help center or contact support.