How to Fix a Second Monitor Not Detected Over HDMI in Ubuntu

Plugging an HDMI cable into a second monitor on Ubuntu only to see No Signal on the screen and zero extra displays inside Settings > Displays is a widespread headache – particularly on laptops with Nvidia graphics cards, USB-C hubs, or after a recent Linux kernel update. Because modern laptops often wire their physical HDMI port straight to the dedicated GPU rather than integrated Intel/AMD graphics, Ubuntu misses the second monitor completely whenever proprietary GPU drivers are inactive or stalled.

Step 1: Verify Cable, Monitor Input Source, and Hardware Detection

Before changing graphics drivers, take 10 seconds to rule out a wrong monitor input port or stale display detection.

  1. Use your external monitor’s physical buttons to confirm its Input Source is switched to the exact port you plugged into (for example, HDMI 1 vs HDMI 2).
  2. Press Super + P on your keyboard (Windows key + P) to cycle display modes between Mirror, Join Displays, and External Only.
  3. Open Terminal (Ctrl + Alt + T) and check whether the Linux kernel sees any connected outputs:
    xrandr --query
    Look for entries labelled HDMI-1 connected or DP-1 connected. If every external port reads disconnected while the cable is firmly seated, move straight to the driver and session steps below.

Step 2: Install or Repair Proprietary Nvidia Graphics Drivers (Most Common Cure)

On laptops with Intel + Nvidia or AMD + Nvidia hybrid graphics, the physical HDMI port is frequently soldered directly to the Nvidia chip. If Ubuntu booted with the basic open-source Nouveau driver – or a kernel upgrade broke Nvidia’s DKMS module – the HDMI port remains completely dead.

  1. Open Terminal (Ctrl + Alt + T) and check active GPU drivers:
    nvidia-smi
    If it prints command not found or NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver, your driver is inactive.
  2. Run Ubuntu’s recommended driver installer:
    sudo ubuntu-drivers autoinstall
    (You can also open the graphical Software & Updates tool, click Additional Drivers, pick the highest tested non-server proprietary Nvidia driver, and click Apply Changes.)
  3. Also check Secure Boot if nvidia-smi still fails after rebooting: unsigned third-party drivers blocked by UEFI Secure Boot prevent the HDMI port from waking up until you enrol the MOK key during restart or disable Secure Boot temporarily.
  4. Reboot your computer and open Settings > Displays to arrange your dual screens.

Step 3: Switch Nvidia PRIME Profile From Power Saving to Performance or On-Demand

If your Nvidia driver is installed yet the HDMI output stays asleep to save laptop battery:

  1. Open Terminal and check your active graphics mode:
    prime-select query
  2. If it prints intel (meaning Ubuntu completely powered down the dedicated GPU driving the HDMI port), switch to on-demand or nvidia mode:
    sudo prime-select on-demand
    (If on-demand still ignores the monitor on older drivers, test sudo prime-select nvidia.)
  3. Reboot Ubuntu and plug in your HDMI cable again.

Step 4: Test Xorg vs Wayland Session at the Ubuntu Login Screen

Certain Nvidia driver versions and USB-C multi-display docks behave unpredictably under Ubuntu’s default Wayland compositor.

  1. Save your open work, log out of Ubuntu (do not shut down), and click your username on the login screen.
  2. Look in the bottom-right corner for a tiny gear icon.
  3. Click it and switch between Ubuntu on Xorg and standard Ubuntu (Wayland).
  4. Type your password and log in to check whether the HDMI monitor lights up immediately.

Once your picture works cleanly, if sound still plays through laptop speakers instead of the monitor or TV, see our guide on fixing no sound from HDMI output in Ubuntu.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.