No HDMI output with Raptor Lake-P on Thinkbook 16p Gen 4

Hi!

Long time (20y+) Linux user here, Fedora newbie :wink: I installed Fedora Workstation on a new Thinkbook 16p Gen 4. I chose 39 because of the recent hardware, for which I want the best support.

Everything is great, except for the fact that I can’t get my HDMI output to work, neither with integrated or discrete graphics card. I am using the HDMI output of the laptop, not a hub.

lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 17ef:60a9 Lenovo Lenovo Essential Wireless Keyboard and Mouse Combo
Bus 003 Device 003: ID 30c9:00a9 Luxvisions Innotech Limited Integrated RGB Camera
Bus 003 Device 002: ID 27c6:659a Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 005: ID 8087:0033 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci

    00:00.0 Host bridge: Intel Corporation Device a706
    00:01.0 PCI bridge: Intel Corporation Device a70d
    00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
    00:04.0 Signal processing controller: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant
    00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port
    00:07.0 PCI bridge: Intel Corporation Device a76e
    00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module
    00:0a.0 Signal processing controller: Intel Corporation Raptor Lake Crashlog and Telemetry (rev 01)
    00:0d.0 USB controller: Intel Corporation Device a71e
    00:0d.2 USB controller: Intel Corporation Device a73e
    00:10.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #2 (rev 01)
    00:10.1 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #3 (rev 01)
    00:12.0 Serial controller: Intel Corporation Alder Lake-P Integrated Sensor Hub (rev 01)
    00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
    00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
    00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev 01)
    00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
    00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
    00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
    00:1c.0 PCI bridge: Intel Corporation Device 51bc (rev 01)
    00:1e.0 Communication controller: Intel Corporation Alder Lake PCH UART #0 (rev 01)
    00:1e.3 Serial bus controller: Intel Corporation Alder Lake SPI Controller (rev 01)
    00:1f.0 ISA bridge: Intel Corporation Raptor Lake LPC/eSPI Controller (rev 01)
    00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
    00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
    00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
    01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1)
    01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)
    06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
    31:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

dmesg is here
journal is there

uname -a

Linux thinkbook 6.5.5-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Sep 23 22:53:02 UTC 2023 x86_64 GNU/Linux

xrandr shows only the integrated screen. External screen and cable are OK though. Is there something simple I overlooked?

Thank you for your help!

You have an nvidia 4060 GPU that is probably dedicated to the hdmi output.

From the dmesg output it does not appear that you have installed the nvidia drivers for that adapter. I don’t think the default nouveau driver is able to support that adapter as yet, and nouveau certainly will not support high quality graphics at all since it cannot support the hardware acceleration even on older GPUs.

It also appears that even the nouveau drivers did not load.

    [    2.661867] pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
    [    2.661870] VGA switcheroo: detected Optimus DSM method \_SB_.PC00.PEG1.PEGP handle
    [    2.661870] nouveau: detected PR support, will not use DSM
    [    2.661901] nouveau 0000:01:00.0: enabling device (0000 -> 0003)
    [    2.662022] nouveau 0000:01:00.0: unknown chipset (197000a1)

Please install the nvidia drivers from rpmfusion by first enabling the 3rd party repos in gnome software then use sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda to do the install.

Dear @computersavvy thanks!
I did not think that the nvidia GPU could be dedicated to that output. Installing the driver did the trick.

1 Like

Most optimus laptops are designed for the external ports to be managed by the dGPU (I suspect this is because external screens are larger and often higher resolution than the laptop screen).

Having no driver loaded for the GPU means it cannot function, which led me to the driver issue.

Glad it worked for you. :sunglasses:

1 Like