You are not logged in.

#1 2022-05-14 12:43:19

filotek
Member
Registered: 2018-08-15
Posts: 13

HDMI not working on Thinkpad T14 Gen 3

I had just purchased a Lenovo Thinkpad T14 Gen 3 with a 12th Gen Intel i7 and the Intel iRIS xe GPU.

After having installed Archlinux, there was a small problem with X which was fixed I modified the xorg config to point to the modesetting driver.

Except later found out that HDMI port wasn't detected.

I checked the BIOS for any HDMI settings but none were found (only Thunderbolt 4 settings).

I loaded a Ubuntu live CD just to check if I could reproduce and indeed the same issue existed there.

I decided to load up Windows via recovery CD and found that HDMI IS WORKING under Windows.

While under Windows, I applied all updates in the hopes that maybe there was a firmware update.  No BIOS/UEFI or other firmware updates were found on the Lenovo website to date.  I then re-installed Archlinux and the same issue still persists.

I'm at a loss to explain what the issue could be except to say that maybe the Thinkpad T14 Gen 3 is **too new** and there's still hardware incompatibilities with Linux??

It's not my first T14... I own a T14s Gen1, and previously had the T14 Gen1 (without the s) for work; both of which worked flawlessly under Linux.  But I can appreciate that subsequent Gen's may indeed have hardware compatibility issues (if indeed this is what's happening here).

Any help would be greatly appreciated!

# $ xrandr

Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 16384 x 16384
eDP-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 301mm x 188mm
   1920x1200     60.00*+  59.95
   1920x1080     59.93
   ... <a bunch of other resolutions>....
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)

# $ cat /etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "modesetting"
    Option      "AccelMethod"    "glamor"
    Option      "DRI"            "3"
EndSection

# $ sudo lshw -C display

  *-display
       description: VGA compatible controller
       product: Alder Lake-P Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 mode=1920x1200 visual=truecolor xres=1920 yres=1200
       resources: iomemory:600-5ff iomemory:400-3ff irq:125 memory:603c000000-603cffffff memory:4000000000-401fffffff ioport:2000(size=64) memory:c0000-dffff memory:4100000000-4106ffffff memory:4020000000-40ffffffff

Offline

#2 2022-05-14 13:24:31

seth
Member
Registered: 2012-09-03
Posts: 28,882

Re: HDMI not working on Thinkpad T14 Gen 3

there was a small problem with X which was fixed I modified the xorg config to point to the modesetting driver.

Sounds super-fishy.
What was that problem and what does the xorg log look like w/o that configlet?

Offline

#3 2022-05-14 14:02:39

filotek
Member
Registered: 2018-08-15
Posts: 13

Re: HDMI not working on Thinkpad T14 Gen 3

What prompted me to use the `modesetting` driver was both google-chrome and firefox being largely unresponsive.  After failing to find out why this was happening, I started taking suggestions on the web to try `modesetting` driver and the issue was resolved.

But as I went through the motions of removing the `xorg.conf.d/20-intel.conf` file and rebooting to provide you with a log of what it looked like before, I took a look at the `/var/log/Xorg.0.log` file and failed to see the line...

AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)

... during my first run-through.  This file belongs to the `mesa-amber` packages and after installing the package, I was able to use both browsers without issue... but I'm still left with no ability to use HDMI.

# Xorg.0.log with modesetting turned ON
http://ix.io/3XKj

# Xorg.0.log with /etc/X11/xorg.conf.d/20-intel.conf removed
http://ix.io/3XKn

# Xorg.0.log with `mesa` removed and `mesa-amber` installed to resolve missing `/usr/lib/dri/i965_dri.so` file
http://ix.io/3XKz

Offline

#4 2022-05-14 14:20:00

seth
Member
Registered: 2012-09-03
Posts: 28,882

Re: HDMI not working on Thinkpad T14 Gen 3

[    87.230] (II) Initializing extension GLX
[    87.256] (EE) AIGLX error: Calling driver entry point failed
[    87.401] (II) IGLX: Loaded and initialized swrast
[    87.401] (II) GLX: Initialized DRISWRAST GL provider for screen 0
…
[    87.409] (EE) intel(0): Failed to submit rendering commands (Invalid argument), disabling acceleration.

Still bad.
Your GPU is supported by MESA, drop mesa-amber again and remove all xf86-video-* packages (this will effectively return you to the modesetting driver)

My best guess wrt HDMI is that the GPU is fairly new and lacks kernel support; you might have better results w/ the 5.18 kernel which will be released by the end of the month.

Offline

#5 2022-05-14 14:39:07

filotek
Member
Registered: 2018-08-15
Posts: 13

Re: HDMI not working on Thinkpad T14 Gen 3

Thanks @seth!  I had removed all xf86-video-* packages as well as having restored `mesa` (and removing `mesa-amber`).

http://ix.io/3XKI

But it still presents with no option to use HDMI sad

I'm going to attempt to build linux 5.18-rc6 via a simple version change of the current PKGBUILD for 5.17.7 (hopefully that's all that it takes) and see if that resolves the issue for me.

Will report back here on my findings.

Again, much appreciated Seth for all your help!

Offline

#6 2022-05-14 17:00:35

filotek
Member
Registered: 2018-08-15
Posts: 13

Re: HDMI not working on Thinkpad T14 Gen 3

After a long compile, I had upgraded the kernel to linux 5.18-rc6 using the AUR package linux-mainline-git and rebooted.  Unfortunately, there's still no sign of the HDMI port.

At this point, I'm going to try purchasing a USB-C to HDMI adapter.  If it works, it's something I can live with until it's fixed either in the kernel or a Lenovo firmware update.

Otherwise, I'll likely return the laptop and downgrade to a T14 Gen2 or similar sad

Offline

#7 2022-05-16 12:45:00

filotek
Member
Registered: 2018-08-15
Posts: 13

Re: HDMI not working on Thinkpad T14 Gen 3

For now, I found a work-around using a USB-C to HDMI adapter.  For whatever reason, to get this to work, I have to plug & unplug the HDMI first, before plugging in the USB-C to HDMI adapter.  If I miss these steps, even with the adapter I'm unable to connect.

However, this is more than adequate for now as my laptop will be mostly stationary.  Though having the HDMI ports show up and working would be a treat (esp. when I have to move around).

Aside from the above, everything else concerning T14 Gen3 works well with Archlinux!

Any further insights would be greatly appreciated, though I'm mostly set and will be keeping the T14 Gen3 while monitoring for updates closely.

Offline

Board footer

Powered by FluxBB