HDMI not working HP ZBook 15 G9

Hello community,

The HDMI port doesn't work on my pc. It also got an USB-C port for dock and screens work with it. But I must use the HDMI port.

After some search, I found that VBT is exposing the HDMI port as a eDP.
Luckly, I found a quick patch from this forum : HP Zbook Power 15 G9 (i7-12800H) HDMI not detected (#8601) · Issues · drm / intel · GitLab
But I can't understand how to install it.

Here's the garuda-inxi :

System:
  Kernel: 6.4.3-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=2d7fd863-a9ad-4263-a0a9-25ff0a30e5f8 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=4614172c-dce5-421b-81fe-e0a7b4eb480e loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP ZBook Power 15.6 inch G9 Mobile
    Workstation PC v: N/A serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 89C0 v: KBC Version 11.61.00 serial: <superuser required>
    UEFI: HP v: U97 Ver. 01.07.01 date: 04/06/2023
Battery:
  ID-1: BAT0 charge: 62.7 Wh (98.4%) condition: 63.7/83.0 Wh (76.7%)
    volts: 12.5 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: not charging cycles: 110
CPU:
  Info: model: 12th Gen Intel Core i7-12700H bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x42A
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 2605 high: 2700 min/max: 400/4600:4700:3500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 2700 3: 2700
    4: 2700 5: 2700 6: 2700 7: 2700 8: 2700 9: 2700 10: 2700 11: 2700 12: 2700
    13: 2700 14: 2700 15: 2700 16: 2700 17: 2700 18: 2700 19: 2700 20: 2700
    bogomips: 107520
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:4626 class-ID: 0300
  Device-2: NVIDIA TU117GLM [T600 Laptop GPU] vendor: Hewlett-Packard
    driver: nvidia v: 535.54.03 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-07) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:1fb6
    class-ID: 0302
  Device-3: Chicony HP HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 04f2:b73b
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP-1-1 model-id: CSO 0x1506 built: 2021
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 535.54.03 renderer: NVIDIA T600 Laptop
    GPU/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  API: ALSA v: k6.4.3-zen1-2-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 0.3.74 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I219-V vendor: Hewlett-Packard driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1f class-ID: 0200
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0033 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 20.19 GiB (4.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron
    model: MTFDKBA512TFH-1BC1AABHA size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HPS0043 temp: 35.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 459.86 GiB size: 459.86 GiB (100.00%)
    used: 20.19 GiB (4.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.86 GiB size: 459.86 GiB (100.00%)
    used: 20.19 GiB (4.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 459.86 GiB size: 459.86 GiB (100.00%)
    used: 20.19 GiB (4.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 459.86 GiB size: 459.86 GiB (100.00%)
    used: 20.19 GiB (4.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.79 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: swap-2 type: zram size: 15.26 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A gpu: nvidia temp: 52 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 381 Uptime: 23m wakeups: 20665 Memory: total: 16 GiB note: est.
  available: 15.26 GiB used: 3.37 GiB (22.1%) Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
  Packages: pm: pacman pkgs: 1654 libs: 454 tools: octopi,paru Shell: fish
  v: 3.6.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.28
Garuda (2.6.16-1):
  System install date:     2023-07-19
  Last full system update: 2023-07-19
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:

That is a kernel patch. Patching the kernel is a somewhat arduous and long-winded process. You need to clone the source for the kernel, apply the patch, then recompile the kernel afterward. It also looks like that kernel patch is specifically for linux-drm-tip kernel, so before you go too deep you'd have to confirm that your system will run on that kernel in the first place. You would also have to re-do the patch on every kernel upgrade.

This would be the relevant documentation to get started:

Other folks discussing a similar goal:

https://www.reddit.com/r/archlinux/comments/rn25qo/how_do_you_apply_kernel_patches/

2 Likes

thank you for the answer, I learn a lot from it.

Unfortunately, drm-tip kernel doesn't work on my system (fresh), so I can't go further.

I have no choice than go back on cough windows cough

Hi there, by any chance, is your laptop’s HDMI port soldered to Nvidia GPU?

I had same problem with my Omen, and here is the "workaround " that I had to use

I hope this solves your issue.

Thank you

I tried this software. But the problem is not on "how the HDMI port is soldered ?" (on mine, it's an HDMI mux) but "how the bios shows video ports ?" and in my case, HP decides to show it as an eDP, I think it's for compatibility with USB-C port to use 3 screens

Thank for trying, I think you can manually close this ticket.
I don't believe that someone would take a colossal time to fix this for a too few amount of people, especially when it's "HP's fault".

Ohh, it’s issue with particularly HP Zbook lineup, and is with Linux in general.

Most probably, the driver issue.

Well, there are thousands of HP Zbook users using Linux.

HP will have to fix it sooner or later. Don’t worry.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.