Why Your HDMI Port Has No PCI Address for GPU Passthrough (and What to Pass Instead)

Abstract: HDMI connectors are not separate PCI devices, so they never appear in lspci output. For passthrough you hand the entire GPU to the virtual machine, and this article explains how to find the right device and set it up in ...

Created: 2026-11-04 by

HDMI ports do not have their own PCI addresses because they are not independent devices — they are output connectors built into the graphics card. When you want to route a physical monitor to a Windows virtual machine, you do not pass through a port; you pass through the entire GPU as a single PCI device. The graphics controller's address from lspci is exactly what you need.

Understanding What Passthrough Actually Hands Over

A graphics card is one PCI function. Inside it live the video controller, the HDMI/DisplayPort connectors, and often an audio device for HDMI sound. The hypervisor can only attach a PCI function as a whole — it has no way to carve out one physical connector and give it to a guest. This is why every passthrough guide talks about "the GPU" rather than "the HDMI output": the GPU is the smallest unit the virtualization hardware supports.

Consequences of this all-or-nothing model are worth knowing up front:

  • Once the GPU is attached to the VM, the host loses access to it. Anything displayed on that card's outputs belongs to the guest.
  • If the card also drives your main desktop, you cannot use it for both the host and the guest at the same time.
  • HDMI audio on that card travels with the video; guests usually see a second audio device labeled "High Definition Audio" next to the GPU.

Finding the Correct Device Address

Run lspci and look for entries labeled "VGA compatible controller", "3D controller", or "Display controller". In a typical desktop with a discrete card, you will see something like:

01:00.0 VGA compatible controller: NVIDIA Corporation ...
01:00.1 Audio device: NVIDIA Corporation ...

The 01:00.0 VGA function is the device you pass through. The companion audio function (01:00.1) is optional but recommended if you want sound over HDMI inside the guest.

One common source of confusion: on laptops with hybrid graphics, the discrete GPU may show up as a "3D controller" rather than "VGA controller", and the Intel integrated GPU appears separately as the VGA device. Pick the entry matching the card whose physical HDMI ports you intend to use — check with lspci -k to see which driver is bound, or consult the vendor documentation for your machine to learn which GPU feeds which connector.

Prerequisites Before Adding the Device in virt-manager

  1. Enable IOMMU. Add intel_iommu=on (or amd_iommu=on on AMD platforms) to your kernel command line, plus iommu=pt is often helpful. Verify with dmesg | grep -i iommu or by checking that /sys/kernel/iommu_groups is populated.
  2. Check the IOMMU group. The GPU must sit in its own group, or at least in a group where every member is passed through or unbound. Inspect groups with:
    for g in /sys/kernel/iommu_groups/*; do echo "Group $g:"; ls "$g/devices"; done
    On many laptops the discrete GPU shares a group with other devices, which can block passthrough entirely.
  3. Detach the host driver. Bind the card to vfio-pci instead of nouveau/nvidia/amdgpu. Virt-manager can attempt this automatically when you add the PCI Host Device, but explicit configuration via vfio-pci module options or a driverctl override is more reliable.

Adding the GPU in virt-manager

With the VM powered off, open its details, choose Add Hardware, then PCI Host Device, and select the GPU's address (for example 0000:01:00.0). Repeat for the audio function if desired. Then:

  • Set the firmware to UEFI (OVMF) — legacy BIOS boot often fails with modern GPUs.
  • Remove any emulated virtio or QXL video device, or keep one temporarily for initial setup.
  • In the guest, install the NVIDIA or AMD driver; Windows will otherwise show only a basic display adapter.

After the guest boots, its output appears on the physical monitor connected to that card. Your host display continues on the other GPU (typically the integrated one).

A Warning About Hybrid Laptop Graphics

If your machine pairs an Intel integrated GPU with a discrete one and the display outputs are wired to the Intel chip (common on Optimus-style laptops), passing through the discrete card will give the guest a GPU with no monitor attached. In that case, a single-GPU passthrough of the Intel iGPU, or a virtual display plus looking-glass-style streaming, may be a better fit than expecting a physical HDMI connection from the passed-through card. Verify which GPU physically owns the HDMI connector before investing time in the setup.

Preventing Common Failures

  • Test with virt-manager's error output: "IOMMU not found" means the kernel parameter is missing; "device not isolated" points to IOMMU group sharing.
  • Keep host and guest GPU drivers from fighting: blacklist the host driver for the card being passed through.
  • Reserve enough RAM and enable hugepages for smoother performance, though this is optional for basic dual-display use.

Frequently Asked Questions

Can I pass through just one HDMI port of a dual-port card?

No. Passthrough operates at the PCI function level. Both connectors belong to the same function, so the guest sees and controls every output on the card.

Why does lspci show two entries for one graphics card?

Modern GPUs expose a video function and a separate HD Audio function used for sound over HDMI/DisplayPort. Pass the video function; add the audio function too if you want guest audio on that monitor.

Do I need a second GPU to keep using my host desktop?

Yes, in practice. Once the GPU is assigned to the VM, the host cannot use it. A typical setup runs the host on the integrated GPU and passes the discrete card to the guest.

The guest boots but the monitor stays blank — what now?

Confirm you are using UEFI/OVMF firmware, that the correct driver is installed in the guest, and that the monitor is plugged into the passed-through card's port rather than the host GPU's port.

Is the VGA controller address always the right one to use?

Use the address of the device whose physical outputs you want the guest to drive. On desktop systems that is usually the "VGA compatible controller" entry for the discrete card; on hybrid laptops it may be listed as a "3D controller", and the outputs may actually belong to the integrated GPU instead.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More