Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HDMI not working

113 views
Skip to first unread message

CL

unread,
Aug 30, 2023, 9:50:06 AM8/30/23
to
Dear all,

this week I bought a new HP Laptop (HP17-CN2156ng).

a Bookworm - Gnome was installed originally but I replaced it with
Bookworm - XFCE.

Output of

```
uname -a

Linux HP17cn2156ng 6.1.0-11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4
(2023-08-08) x86_64 GNU/Linux

```

During testing of the device I note that the HDMI interface doesn't
work. A lot of GOOGLE shows me that sometimes problems with the
implemented GPU IRIS Xe (Alder Lake-UP3 GT2) occurs. Also some of this
problems were marked as solved. But either I didn't understand this
solutions or they were not proper described (at least for me).

So the only thing I can show at the moment ist the output of

```
xrandr

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) 382mm x 215mm
1920x1080 60.06*+ 60.01 59.97 59.96 40.17 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
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

```

As far I understand there is no HDMI detected here but 4 Displayports.
But this DP's don't exits in reality on this device (as I know).


Would be nice if somebody can help me to find a solution.

Thank you in advance


--
---
mit freundlichen Grüßen / Best Regards

**Christian Lorenz**

mailto:cl.debia...@t-online.de
---

zithro

unread,
Aug 30, 2023, 10:20:05 AM8/30/23
to
On 30 Aug 2023 15:40, CL wrote:
> Dear all,
> [...]
> During testing of the device I note that the HDMI interface doesn't
> work. A lot of GOOGLE shows me that sometimes problems with the
> implemented GPU IRIS Xe (Alder Lake-UP3 GT2) occurs. Also some of this
> problems were marked as solved. But either I didn't understand this
> solutions or they were not proper described (at least for me).

Show us what you found.
Maybe the problem has been solved in a newer kernel ?

If that's the case, you may try newer kernels from backports.

--
++
zithro / Cyril

Michael Kjörling

unread,
Aug 30, 2023, 10:30:06 AM8/30/23
to
On 30 Aug 2023 15:40 +0200, from cl.debia...@t-online.de (CL):
> this week I bought a new HP Laptop (HP17-CN2156ng).
>
> a Bookworm - Gnome was installed originally but I replaced it with Bookworm
> - XFCE.

Unrelated, but you could likely have got much the same effect by
simply `apt-get install xfce4`.


> During testing of the device I note that the HDMI interface doesn't work. A
> lot of GOOGLE shows me that sometimes problems with the implemented GPU IRIS
> Xe (Alder Lake-UP3 GT2) occurs.

https://wiki.debian.org/InstallingDebianOn/Thinkpad/T14IntelGen3 looks
relevant, despite being for a different specific computer; it mentions
that specific GPU and that "switch to external screen" "only works
with a non-free driver and or firmware".

--
Michael Kjörling 🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

Hans

unread,
Aug 30, 2023, 10:30:07 AM8/30/23
to
Hi,

fist of all, it would be nice, if you could tell us your hardware. Some
notebooks are using two graphic cards One in the CPU and one external. Mine
for example. has a NVidia card as external and an Intel chip built in the CPU.

Those are switched in linux with "bumblebee".

If we correctly know the hardware, we can explore more. The HDMI output is
sometimes controlled by the hardware (on my desktop computer it is the driver
from the external graphic card, which in my case is also an Nvidia card).

I suppose, Intel chips and AMD chips are doing the same. However, some intel
GPU drivers are built in the kernel, others need external packages.

So, let us know more and see, if we can help.

Best regards

Hans

CL

unread,
Aug 30, 2023, 10:50:06 AM8/30/23
to
Am 30.08.23 um 16:26 schrieb Hans:
Hello,

here the outcome of

```

lspci -nnk

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4601] (rev 04)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Device [103c:899b]
Kernel driver in use: igen6_edac
Kernel modules: igen6_edac
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder
Lake-UP3 GT2 [Iris Xe Graphics] [8086:46a8] (rev 0c)
DeviceName: Onboard - Video
Subsystem: Hewlett-Packard Company Alder Lake-UP3 GT2 [Iris Xe
Graphics] [103c:899b]
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Alder
Lake Innovation Platform Framework Processor Participant [8086:461d]
(rev 04)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake Innovation Platform
Framework Processor Participant [103c:899b]
Kernel driver in use: proc_thermal_pci
Kernel modules: processor_thermal_device_pci
00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core
Processor Gaussian & Neural Accelerator [8086:464f] (rev 04)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company 12th Gen Core Processor Gaussian &
Neural Accelerator [103c:899b]
00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2
xHCI Host Controller [8086:51ed] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake PCH USB 3.2 xHCI Host
Controller [103c:899b]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM
[8086:51ef] (rev 01)
DeviceName: Onboard - Other
00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH
Serial IO I2C Controller #0 [8086:51e8] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake PCH Serial IO I2C
Controller [103c:899b]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH
Serial IO I2C Controller #1 [8086:51e9] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake PCH Serial IO I2C
Controller [103c:899b]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Alder Lake
PCH HECI Controller [8086:51e0] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake PCH HECI Controller
[103c:899b]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Alder Lake-P SATA AHCI
Controller [8086:51d3] (rev 01)
DeviceName: Onboard - SATA
Subsystem: Hewlett-Packard Company Alder Lake-P SATA AHCI Controller
[103c:899b]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:51bc] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:899b]
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Alder Lake PCI Express x1
Root Port #10 [8086:51b1] (rev 01)
Subsystem: Hewlett-Packard Company Alder Lake PCI Express x1 Root Port
[103c:899b]
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI
Controller [8086:5182] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake PCH eSPI Controller
[103c:899b]
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake
PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
DeviceName: Onboard - Sound
Subsystem: Hewlett-Packard Company Alder Lake PCH-P High Definition
Audio Controller [103c:899b]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host
Controller [8086:51a3] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake PCH-P SMBus Host
Controller [103c:899b]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH
SPI Controller [8086:51a4] (rev 01)
DeviceName: Onboard - Other
Subsystem: Hewlett-Packard Company Alder Lake-P PCH SPI Controller
[103c:899b]
01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co
Ltd NVMe SSD Controller 980 [144d:a809]
Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller 980 [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless
Network Adapter [103c:884d]
Kernel driver in use: rtw_8821ce
Kernel modules: rtw88_8821ce

```

hope this is enough at the moment.

If more needed please tell me

THX

CL

unread,
Aug 30, 2023, 11:10:06 AM8/30/23
to
Am 30.08.23 um 16:13 schrieb zithro:
Hello,

sorry but it was a kind of random search. Don't documented it. My fault

I will try to reconstruct and send later

Hans

unread,
Aug 30, 2023, 11:10:06 AM8/30/23
to

Hi Chritian,


your chipset is Intel i915. Some search I found this:


https://wiki.archlinux.org/title/Intel_graphics


A hint, I found in several forums:


Deinstall xf86-video-intel (also seen in my link).


The link I sent with, offers some general methods, maybe these might help. And maybe you wat to try one or another.


I did not read the whole article, but IMO it offers lots of information to crwal through.


Hope this helps.


Good luck,


Hans



Am Mittwoch, 30. August 2023, 16:48:20 CEST schrieb CL:

>  [Iris Xe Graphics]



Michel Verdier

unread,
Aug 30, 2023, 11:10:06 AM8/30/23
to
On 2023-08-30, CL wrote:

> 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT2
> [Iris Xe Graphics] [8086:46a8] (rev 0c)
> DeviceName: Onboard - Video
> Subsystem: Hewlett-Packard Company Alder Lake-UP3 GT2 [Iris Xe
> Graphics] [103c:899b]
> Kernel driver in use: i915
> Kernel modules: i915

Look in you logs if you have something about i915, you perhaps need to
get some uptodate or missing firmware

wget -r -l 1 https://anduin.linuxfromscratch.org/sources/linux-firmware/i915/
rsync -av anduin.linuxfromscratch.org/sources/linux-firmware/i915/ /lib/firmware/i915/

CL

unread,
Aug 30, 2023, 11:10:06 AM8/30/23
to
Am 30.08.23 um 16:22 schrieb Michael Kjörling:
> On 30 Aug 2023 15:40 +0200, from cl.debia...@t-online.de (CL):
>> this week I bought a new HP Laptop (HP17-CN2156ng).
>>
>> a Bookworm - Gnome was installed originally but I replaced it with Bookworm
>> - XFCE.
>
> Unrelated, but you could likely have got much the same effect by
> simply `apt-get install xfce4`.

Yes, I think so also. Exactly therefore ordered this machine with a
Devian installed. If Debian work in general than all desktops should
work also.
I planned from begin to re-install wiht XFCE because this is my favorite
desktop. Don't like Gnome.


>
>> During testing of the device I note that the HDMI interface doesn't work. A
>> lot of GOOGLE shows me that sometimes problems with the implemented GPU IRIS
>> Xe (Alder Lake-UP3 GT2) occurs.
>
> https://wiki.debian.org/InstallingDebianOn/Thinkpad/T14IntelGen3 looks
> relevant, despite being for a different specific computer; it mentions
> that specific GPU and that "switch to external screen" "only works
> with a non-free driver and or firmware".
>

Looks very similar problem.

According Synaptic following packages are installed

- firmware-misc-nonfree
- firmware-intel-sound
- firmware-realtek
- firmware-sof-signed
- xserver-xorg-video-intel
I assume this is the source of the i915 driver.
Uninstalled this also for trial but no difference
- xserver-xorg-core
- xserver-xorg-video-all
- and some other xserver-xorg-video...

CL

unread,
Aug 30, 2023, 12:00:06 PM8/30/23
to
Am 30.08.23 um 17:07 schrieb Michel Verdier:
Hello,

in the Xorg.0.log and Xorg.1.log I found following related to HDMI

```

[ 2720.911] (II) config/udev: Adding input device sof-hda-dsp
HDMI/DP,pcm=3 (/dev/input/event11)
[ 2720.911] (II) No input driver specified, ignoring this device.
[ 2720.911] (II) This device may have been added with another device file.
[ 2720.912] (II) config/udev: Adding input device sof-hda-dsp
HDMI/DP,pcm=4 (/dev/input/event12)
[ 2720.912] (II) No input driver specified, ignoring this device.
[ 2720.912] (II) This device may have been added with another device file.
[ 2720.912] (II) config/udev: Adding input device sof-hda-dsp
HDMI/DP,pcm=5 (/dev/input/event13)
[ 2720.912] (II) No input driver specified, ignoring this device.
[ 2720.912] (II) This device may have been added with another device file.

```

What is the other thing exactly? I assume it will replace the firmware
i915 with a current version right.
But I'm a little bit afraid to do this. My system knowledge is her
really much to poor. What I have to do exactly?

CL

unread,
Aug 30, 2023, 12:10:05 PM8/30/23
to
Am 30.08.23 um 17:04 schrieb Hans:
Thank you for this hint.

But before I do this I will read the WIKI exactly and with some patience.

Will inform you about the result.

CL

unread,
Aug 30, 2023, 1:00:06 PM8/30/23
to
Dear all,

just received a message from the seller of the laptop.

It seems that the problem is know and the Linux-Team work on it already
under several bug reports.

e.g.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1994144

As I understand it is a bug in the Kernel itself.


**In any case I will say thank you to all who tried to help.**

Felix Miata

unread,
Aug 30, 2023, 1:20:07 PM8/30/23
to
What is not working, HDMI video? HDMI audio? Both?

CL composed on 2023-08-30 17:06 (UTC+0200):

> - firmware-misc-nonfree
> - firmware-intel-sound
> - firmware-realtek
> - firmware-sof-signed
> - xserver-xorg-video-intel
> I assume this is the source of the i915 driver.
> Uninstalled this also for trial but no difference

It's not the source of the i915 kernel device driver (module) for Intel GPUs. Each
kernel of necessity must get its own device driver set.

xserver-xorg-video-intel provides the intel display driver for X (DDX; hardware
Device Dependent X), which when installed will be used by Xorg/Wayland in lieu of
the default/preferred modesetting display driver for X (DIX: hardware Device
Independent X). Also involved in graphics are Mesa-dri and libdrm_intel1.

> - xserver-xorg-core
> - xserver-xorg-video-all
> - and some other xserver-xorg-video...

Inxi -GSaz does a much better job of reporting graphics configuration, e.g.:

# inxi -GSaz --vs --zl --hostname
inxi 3.3.27-00 (2023-05-07)
System:
Host: ab560 Kernel: 6.1.0-9-amd64 arch: x86_64 bits: 64 compiler: gcc
v: 12.2.0 parameters: BOOT_IMAGE=/vmlinuz root=LABEL=<filter> noresume
ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off
Desktop: Trinity v: R14.1.0 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] vendor: ASUSTeK
driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
ports: active: DP-1,HDMI-A-1,HDMI-A-2 empty: HDMI-A-3 bus-ID: 00:02.0
chip-ID: 8086:4c8b class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3600x2640 s-dpi: 120 s-size: 762x558mm (30.00x21.97")
s-diag: 944mm (37.18")
Monitor-1: DP-1 pos: primary,bottom-l model: Acer K272HUL serial: <filter>
built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: top-left model: NEC EA243WM
serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
max: 1920x1200 min: 640x480
Monitor-3: HDMI-A-2 mapped: HDMI-2 pos: top-right model: Dell P2213
serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
max: 1680x1050 min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel Graphics (RKL GT1)
direct-render: Yes
#

Above noted you'll see i915 kernel module used for the GPU device, the modesetting
DIX used for the Xorg display device, iris used for dri, and Mesa dri used for
OpenGL rendering. Also in the output are shown kernel cmdline options from Grub
that may impact graphics.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
0 new messages