You are not logged in.

#1 2024-11-16 16:49:44

Elensar
Member
Registered: 2024-11-16
Posts: 5

[SOLVED] HDMI port not working

Hello,
On my laptop, plugging an external monitor via the HDMI port simply does not work. The monitor is not detected.

inxi -Fxxxrz

System:
  Kernel: 6.11.7-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc
  Desktop: KDE Plasma v: 6.2.3 tk: Qt v: N/A wm: kwin_wayland vt: 2 dm: SDDM
    Distro: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop K3504ZA_K3504ZA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: K3504ZA v: 1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: K3504ZA.201
    date: 03/06/2023
Battery:
  ID-1: BAT0 charge: 46.2 Wh (100.0%) condition: 46.2/50.0 Wh (92.4%)
    volts: 12.8 min: 11.9 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: full cycles: 17
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64
    type: MST AMCP smt: enabled arch: Alder Lake rev: 4 cache: L1: 928 KiB
    L2: 6.5 MiB L3: 12 MiB
  Speed (MHz): avg: 400 min/max: 400/4400:3300 cores: 1: 400 2: 400 3: 400
    4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    bogomips: 59916
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.2 ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 0000:00:02.0 chip-ID: 8086:46a8 class-ID: 0300
  Device-2: ShineTech USB2.0 HD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-9:2 chip-ID: 3277:0036
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a8 display-ID: :0.0
  API: Vulkan v: 1.3.295 layers: 5 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: mesa intel device-ID: 8086:46a8
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 0000:00:1f.3 chip-ID: 8086:51c8
    class-ID: 0403
  API: ALSA v: k6.11.7-arch1-1 status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: JACK v: 1.9.22 status: off
  Server-3: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-10:3
    chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 476.94 GiB used: 27.04 GiB (5.7%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2400 MTFDKBA512QFM
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: V3MA003 temp: 26.9 C scheme: GPT
Partition:
  ID-1: / size: 459.52 GiB used: 26.69 GiB (5.8%) fs: ext4 dev: /dev/nvme0n1p3
  ID-2: /boot size: 1022 MiB used: 359.2 MiB (35.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  Src: /sys System Temperatures: cpu: 34.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 0
Repos:
  Packages: pm: pacman pkgs: 1207
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.theo546.fr/archlinux/$repo/os/$arch
    2: https://fr.mirrors.cicku.me/archlinux/$repo/os/$arch
    3: https://mirror.rznet.fr/archlinux/$repo/os/$arch
    4: https://mirror.oldsql.cc/archlinux/$repo/os/$arch
    5: https://arch.yourlabs.org/$repo/os/$arch
    6: https://mirror.thekinrar.fr/archlinux/$repo/os/$arch
    7: https://geo.mirror.pkgbuild.com/$repo/os/$arch
    8: https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
    9: https://mirrors.gandi.net/archlinux/$repo/os/$arch
    10: https://archlinux.mailtunnel.eu/$repo/os/$arch
    11: https://mirrors.eric.ovh/arch/$repo/os/$arch
    12: https://mirrors.celianvdb.fr/archlinux/$repo/os/$arch
    13: https://mirror.ibakerserver.pt/Arch/$repo/os/$arch
    14: https://arch.syxpi.fr/arch/$repo/os/$arch
    15: https://f.matthieul.dev/mirror/archlinux/$repo/os/$arch
Info:
  Memory: total: 16 GiB note: est. available: 15.32 GiB used: 3.6 GiB (23.5%)
  Processes: 264 Power: uptime: 1h 37m states: freeze,mem,disk
    suspend: s2idle wakeups: 0 hibernate: platform Init: systemd v: 256
    default: graphical
  Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.36

This goes for both X11 (xrandr doesn't show HDMI connections, even empty), and Wayland (KDE plasma).
Plugging and unplugging while monitoring via journalctl gives no event whatsoever.
Now the thing is this worked on windows (the laptop have since transitioned to being full archlinux) and my monitor does detect being plugged in.

Having scoured the internet to find a solution, I now find myself here to see if maybe this can be fixed.
Thanks in advance for the help

Last edited by Elensar (2024-11-17 13:10:08)

Offline

#2 2024-11-16 16:55:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,193

Re: [SOLVED] HDMI port not working

Run journalctl -f, It will show the last few lines of the journal and will then show new lines as they are added to to the journal.
Connect your monitor
Stop journalctl with Ctrl-c, post the entire output of the journal -f here.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2024-11-16 17:02:46

Elensar
Member
Registered: 2024-11-16
Posts: 5

Re: [SOLVED] HDMI port not working

There you go. This is what i meant by "monitoring via journalctl" sorry if it wasn't clear.

journalctl -f
nov. 16 17:56:54 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:56:54 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:57:36 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:57:36 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:58:32 ArchBTW systemd[1]: Started dbus-:1.2-org.kde.powerdevil.backlighthelper@5.service.
nov. 16 17:58:36 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:58:36 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:58:42 ArchBTW systemd[1]: dbus-:1.2-org.kde.powerdevil.backlighthelper@5.service: Deactivated successfully.
nov. 16 17:58:47 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.
nov. 16 17:58:47 ArchBTW rtkit-daemon[882]: Supervising 7 threads of 4 processes of 1 users.

Offline

#4 2024-11-16 23:11:37

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: [SOLVED] HDMI port not working

xrandr doesn't show HDMI connections

From the X11 session, please post the complete output of "xrandr -q" as well as your Xorg log, https://wiki.archlinux.org/title/Xorg#General and the entire system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

my monitor does detect being plugged in

And then? Does it say "no signal"?
What kind of monitor is that?
Do you have another one you could try?
Can you extract its edid on a different machine? Or does it work if you boot sth. like https://grml.org/ ?

Offline

#5 2024-11-16 23:56:13

Elensar
Member
Registered: 2024-11-16
Posts: 5

Re: [SOLVED] HDMI port not working

rom the X11 session, please post the complete output of "xrandr -q"

Here :

xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.00*+  59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1 disconnected (normal left inverted right x axis y axis)

Weirdly enough, now it shows HDMI disconnected (whether it actually is connected or not)

as well as your Xorg log

There : https://pastebin.com/raw/LAhg3c58

and the entire system journal for the boot:

And here http://0x0.st/XdZQ.txt

And then? Does it say "no signal"?

Precisely.

What kind of monitor is that?
Do you have another one you could try?

Its the monitor I use with my desktop computer (windows 10, I was tempted to migrate it to arch, so I tried to plug the monitor, mouse and keyboard to the laptop to get a feel), so I know it works. I also tried the HDMI cable with my desktop computer , it works too. Sadly I don't have access to any other monitors.

Can you extract its edid on a different machine? Or does it work if you boot sth. like https://grml.org/

Not sure if I understand here, but I will try and boot on this to see if it change something and post the result

Anyway thanks for the help, hope this can be solved.

Offline

#6 2024-11-17 00:29:31

Elensar
Member
Registered: 2024-11-16
Posts: 5

Re: [SOLVED] HDMI port not working

Okay so I tried booting on grml, starting x and 'xrandr -q' : the result is the same as in my previous post (with HDMI-1 disconnected whether or not I plug the monitor).

Offline

#7 2024-11-17 07:54:09

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: [SOLVED] HDMI port not working

Its the monitor I use with my desktop computer

I didn't means so much the color or whether you like it but what vendor and model.

Not sure if I understand here, but I will try and boot on this to see if it change something and post the result

You could boot grml on the desktop system and copy the edid from /sys/class/drm/card*/edid
It will also answer the question what that is.

You could try to add "i915.force_probe=!46a8 xe.force_probe=46a8" and try the xe module.
ADD THAT AT THE BOOTLOADER PROMPT! If you configure that on disk, you might end up having to undo it offline (eg. with grml wink

Offline

#8 2024-11-17 13:07:08

Elensar
Member
Registered: 2024-11-16
Posts: 5

Re: [SOLVED] HDMI port not working

You could boot grml on the desktop system and copy the edid from /sys/class/drm/card*/edid

Okay, here it is (decoded for convenience) :

00 ff ff ff ff ff ff 00 5a 63 34 20 01 01 01 01
1b 1b 01 03 80 3c 22 78 2e 66 65 a9 54 4c 9d 26
10 50 54 bf ef 80 e1 c0 d1 c0 b3 00 a9 40 a9 c0
81 80 81 00 81 c0 56 5e 00 a0 a0 a0 29 50 30 20
35 00 55 50 21 00 00 1a 00 00 00 ff 00 55 59 35
31 37 32 37 30 30 31 37 36 0a 00 00 00 fd 00 32
4b 18 5a 19 00 0a 20 20 20 20 20 20 00 00 00 fc
00 56 50 32 37 36 38 20 53 65 72 69 65 73 01 7f

02 03 21 f1 4e 90 05 04 03 02 0f 12 13 1e 1f 20
21 22 01 23 09 7f 07 83 01 00 00 65 03 0c 00 10
00 02 3a 80 18 71 38 2d 40 58 2c 45 00 55 50 21
00 00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 55
50 21 00 00 9e 01 1d 00 72 51 d0 1e 20 6e 28 55
00 55 50 21 00 00 1e 8c 0a d0 8a 20 e0 2d 10 10
3e 96 00 55 50 21 00 00 18 02 3a 80 d0 72 38 2d
40 10 2c 45 80 55 50 21 00 00 1e 00 00 00 00 1c

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: VSC
    Model: 8244
    Serial Number: 16843009 (0x01010101)
    Made in: week 27 of 2017
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    DPMS levels: Off
    RGB color display
    Default (sRGB) color space is primary color space
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6611, 0.3300
    Green: 0.2978, 0.6152
    Blue : 0.1494, 0.0644
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    Apple   :   640x480    66.666667 Hz   4:3     35.000 kHz     30.240000 MHz
    DMT 0x05:   640x480    72.808802 Hz   4:3     37.861 kHz     31.500000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x08:   800x600    56.250000 Hz   4:3     35.156 kHz     36.000000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0a:   800x600    72.187572 Hz   4:3     48.077 kHz     50.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    Apple   :   832x624    74.551266 Hz   4:3     49.726 kHz     57.284000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x11:  1024x768    70.069359 Hz   4:3     56.476 kHz     75.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
    Apple   :  1152x870    75.061550 Hz 192:145   68.681 kHz    100.000000 MHz
  Standard Timings:
    DMT 0x54:  2048x1152   60.000000 Hz  16:9     72.000 kHz    162.000000 MHz (RB)
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
    DMT 0x33:  1600x1200   60.000000 Hz   4:3     75.000 kHz    162.000000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x1c:  1280x800    59.810326 Hz  16:10    49.702 kHz     83.500000 MHz
    DMT 0x55:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
  Detailed Timing Descriptors:
    DTD 1:  2560x1440   59.950550 Hz  16:9     88.787 kHz    241.500000 MHz (597 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   33 Vpol N
    Display Product Serial Number: 'UY5172700176'
    Display Range Limits:
      Monitor ranges (GTF): 50-75 Hz V, 24-90 kHz H, max dotclock 250 MHz
    Display Product Name: 'VP2768 Series'
  Extension blocks: 1
Checksum: 0x7f

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC  15:  1440x480    59.940060 Hz  16:9     31.469 kHz     54.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC  30:  1440x576    50.000000 Hz  16:9     31.250 kHz     54.000000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC  32:  1920x1080   24.000000 Hz  16:9     27.000 kHz     74.250000 MHz
    VIC  33:  1920x1080   25.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC  34:  1920x1080   30.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
  Detailed Timing Descriptors:
    DTD 2:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (597 mm x 336 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    DTD 3:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz (597 mm x 336 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    2 Vsync   5 Vback   15 Vpol P Vfront +0.5 Odd Field
                 Vfront    2 Vsync   5 Vback   15 Vpol P Vback  +0.5 Even Field
    DTD 4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz (597 mm x 336 mm)
                 Hfront  110 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    DTD 5:   720x480    59.940060 Hz   3:2     31.469 kHz     27.000000 MHz (597 mm x 336 mm)
                 Hfront   16 Hsync  62 Hback   60 Hpol N
                 Vfront    9 Vsync   6 Vback   30 Vpol N
    DTD 6:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz (597 mm x 336 mm)
                 Hfront  528 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
Checksum: 0x1c  Unused space in Extension Block: 4 bytes

You could try to add "i915.force_probe=!46a8 xe.force_probe=46a8" and try the xe module.
ADD THAT AT THE BOOTLOADER PROMPT! If you configure that on disk, you might end up having to undo it offline (eg. with grml wink)

Okay so I did that (yes at the grub prompt on boot), and it works !! I have no idea why, but it works! Thank you.
On to add it to my grub config, well to the default kernel at least, I'll keep the lts one untouched just in case something go wrong later.

Offline

Board footer

Powered by FluxBB