HDMI port not recognized on laptop HP Pavilion 14-bf0xx

I have installed Fedora 41 on a 2017 HP Pavilion 14-bf0xx a few months ago.
Everything works well except that the HDMI port (on which I plug a TV) is not recognized anymore. The HDMI port is recognized if I use a live debian on a flash stick so that I am sure the problem does not come from the hardware. It used to be recognized under Fedora 37 that I had installed before Fedora 41. Any hint ?

I assume you are referring to Gnome Settings/Displays only showing the other display.

Please run inxi -Gzxx so we can see your graphics device configuration (post as pe-formatted text using the </> button from the top line of text entry panel). You should get something similar to the following example (from a Dell desktop with one HDMI port used for a TV, and one USB-C video port – the displays were off when I ran the inxi command remotely).

$ inxi -Gzxx
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 ports: active: DP-1,HDMI-A-1 empty: DP-2,HDMI-A-2,HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:3e92
  Device-2: WinUSB USB C Video Adaptor driver: N/A type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-1:2 chip-ID: 9636:9300
  Display: unspecified server: Xwayland v: 24.1.4 compositor: gnome-shell v: 47.3 driver:
    gpu: i915 note: X driver n/a, try sudo/root tty: 93x41
  Monitor-1: DP-1 model: Philips PHL 246V5 res: 1920x1080 dpi: 92 diag: 609mm (24")
  Monitor-2: HDMI-A-1 model: D32f-F1 res: 1920x1080 dpi: 70 diag: 801mm (31.5")
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast gbm: drv: iris
    surfaceless: drv: iris wayland: drv: iris inactive: x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.3.3 note: console (EGL sourced)
    renderer: Mesa Intel UHD Graphics 630 (CFL GT2), llvmpipe (LLVM 19.1.5 256 bits)
  API: Vulkan v: 1.3.296 surfaces: wayland device: 0 type: integrated-gpu driver: N/A
    device-ID: 8086:3e92 device: 1 type: cpu driver: N/A device-ID: 10005:0000

Does the HDMI display work with the BIOS configuration (e.g., before linux is loaded)? There have been changes to linux power management that may not play well with outdated vendor firmware, so you should check for BIOS updates.

Thank you for your answer

Graphics:
  Device-1: Intel HD Graphics 620 vendor: Hewlett-Packard driver: N/A
    arch: Gen-9.5 bus-ID: 00:02.0 chip-ID: 8086:5916
  Device-2: Chicony HP Wide Vision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-5:4 chip-ID: 04f2:b5d6
  Display: wayland server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4
    compositor: gnome-shell v: 47.2 driver: dri: swrast gpu: N/A display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: Unknown-1 mapped: None-1 res: 1920x1080 dpi: 96
  API: OpenGL v: 4.5 vendor: mesa v: 24.3.2 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: llvmpipe (LLVM 19.1.5 256 bits)
    device-ID: ffffffff:ffffffff
  API: EGL Message: EGL data requires eglinfo. Check --recommends.

I would say that the HDMI display works with the BIOS configuration since it works with a live debian installed on a flash stick. Otherwise I do not know how to answer your question.

The BIOS is quite old because I do not have any Windows running on the laptop and I do not find it easy to update the BIOS without Windows on a HP laptop (it is much simpler to do it on a DELL laptop).

A live windows environment that can be used for bios updates is available at
https://www.hirensbootcd.org/

You can see the currently installed bios version and date on most systems with
inxi -SMzxx

After 6 hours, I gave up trying to update the BIOS. I did not succeed in using the live windows environment at https://www.hirensbootcd.org/ possibly because of a mistake of mine. I could not either use wine which does not work anymore of Fedora 41. I could eventually extract the ‘.bin’ and ‘.s12’ files needed for the BIOS update but my BIOS does not involve any entry offering to update the BIOS.

Eventually, I installed Fedora 40 and the HDMI port has now come back.

It is thus definitely an issue with Fedora 41.

Anyway, thank you very much for your answers!

Updating HP Consumer Laptop BIOS has instructions for creating a BIOS update USB key for cases where Windows isn’t available on the system that needs the update. The instructions assume you have access to a 2nd computer running Windows to download the updates and create a bootable USB key, but you may be able to work around that with a Live Windows environment or Linux wine.

Generally a system that requires a windows environment to update the bios firmware does not have any features within bios for the same task. Similarly those systems with a bios facility to perform the updates usually do not require a windows environment.