Fedora 39 does not find a second monitor to the laptop via HDMI

I installed Fedora 39 to my laptop (Lenovo P71) and it does not recognize an additional monitor plugged via HDMI.

What do I have:

# inxi -Fzxx
System:
  Kernel: 6.6.12-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39 Desktop: GNOME v: 45.3 tk: GTK v: 3.24.40 wm: gnome-shell
    dm: GDM Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Laptop System: LENOVO product: 20HKCTO1WW v: ThinkPad P71
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: LENOVO model: 20HKCTO1WW v: SDK0J40697 WIN serial: <filter>
    UEFI: LENOVO v: N1TET68W (1.42 ) date: 11/14/2023
Battery:
  ID-1: BAT0 charge: 82.8 Wh (98.1%) condition: 84.4/96.0 Wh (87.9%)
    volts: 16.6 min: 15.0 model: SMP 01AV451 serial: <filter>
    status: not charging
CPU:
  Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP
    arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 863 high: 907 min/max: 800/3800 cores: 1: 800 2: 800
    3: 900 4: 907 5: 900 6: 900 7: 900 8: 800 bogomips: 44798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-9.5 ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:591b
  Device-2: NVIDIA GM107GLM [Quadro M620 Mobile] vendor: Lenovo
    driver: nvidia v: 545.29.06 arch: Maxwell pcie: speed: 8 GT/s lanes: 16
    ports: active: none empty: DP-3,DP-4,DP-5 bus-ID: 01:00.0
    chip-ID: 10de:13b4
  Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-8:3 chip-ID: 04f2:b5ab
  Display: server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 mapped: eDP-1-1 model: AU Optronics 0x109d res: 1920x1080
    dpi: 128 diag: 437mm (17.2")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: Quadro M620/PCIe/SSE2
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel CM238 HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171
  Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0fbc
  Device-3: Razer USA USB Sound Card
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-6.1:5 chip-ID: 1532:0529
  Device-4: JMTek LLC. Headset stand
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-6.4:8 chip-ID: 0c76:2039
  API: ALSA v: k6.6.12-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.1 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d6
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24fd
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-14:6 chip-ID: 8087:0a2b
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 4.2
    lmp-v: 8
Drives:
  Local Storage: total: 1.61 TiB used: 12.32 GiB (0.7%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: PM951 NVMe 512GB
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: MZVPW256HEGL-000L7
    size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 32.9 C
  ID-3: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 32 C
Partition:
  ID-1: / size: 466.4 GiB used: 12.01 GiB (2.6%) fs: ext4 dev: /dev/nvme0n1p4
  ID-2: /boot size: 1006.7 MiB used: 306.2 MiB (30.4%) fs: ext2
    dev: /dev/nvme0n1p3
  ID-3: /boot/efi size: 1022 MiB used: 17.4 MiB (1.7%) fs: vfat
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 46.0 C pch: 47.0 C mobo: N/A gpu: nvidia
    temp: 45 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
  Processes: 317 Uptime: 7m Memory: total: 32 GiB available: 31.08 GiB
  used: 3.05 GiB (9.8%) igpu: 64 MiB Init: systemd v: 254
  target: graphical (5) default: graphical Compilers: gcc: 13.2.1 Packages:
  pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 8 Shell: Bash v: 5.2.26
  running-in: gnome-terminal inxi: 3.3.31

# switcherooctl list
Device: 0
  Name:        Intel® HD Graphics 630
  Default:     yes
  Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
  Name:        NVIDIA Corporation GM107GLM [Quadro M620 Mobile]
  Default:     no
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only

# dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                                                                                               3:545.29.06-2.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.6.12-200.fc39.x86_64.x86_64                                                                         3:545.29.06-2.fc39                                                                          @@commandline                   
nvidia-gpu-firmware.noarch                                                                                        20240115-2.fc39                                                                             @updates                        
nvidia-modprobe.x86_64                                                                                            3:545.29.06-1.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                                                                                        3:545.29.06-1.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                                                                                            3:545.29.06-1.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                                                                                        3:545.29.06-2.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                                                                                   3:545.29.06-2.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                                              3:545.29.06-2.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                                                3:545.29.06-2.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                                                                                   3:545.29.06-2.fc39                                                                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          
# glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro M620/PCIe/SSE2

I installed envycontrol to change Intel to Nvidia

# envycontrol --query
nvidia

use the preformatted text please </>

1 Like

Did you use the Live Fedora Workstation installer? Did the HDMI monitor work with the installer?

Other linux distros have encountered similar issues with Lenovo laptops that were fixed with a “BIOS” update (e.g.: Thinkpad T14 Gen 3 has no available HDMI ports under Linux). Have you checked for firmware updates (Lenovo should support fwupdmgr)?