dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

No HDMI output in FW on V540TU and V560TU

Open filipleple opened this issue 1 year ago • 14 comments

Component

Dasharo firmware

Device

NovaCustom V54 14th Gen

Dasharo version

v0.9.0-rc7

Dasharo Tools Suite version

No response

Brief summary

There's no HDMI output in FW on V540TU, neither with the lid open nor shut

How reproducible

100%

How to reproduce

Plug in a HDMI cable and check if you see anything on the monitor, get into setup menu, try with the lid shut and open

Expected behavior

There should be HDMI video output in FW when the lid is shut

Actual behavior

No HDMI output in FW on V540TU

Screenshots

No response

Additional context

Tested on both 16:9 and 16:10 aspect ratio monitors

Solutions you've tried

No response

filipleple avatar Jul 05 '24 13:07 filipleple

The GOP driver doesn't support HDMI 2.1 FRL. The port is configured for FRL 10Gbps, so maybe that's why it doesn't work. Although I would expect GOP to fall back to TMDS signaling for FRL-enabled ports

mkopec avatar Jul 09 '24 08:07 mkopec

@mkopec Understood, do you have any suggestion for improvements here, or not really?

@wessel-novacustom how about your judgment of importance here? I think it would be definitely nice to have, but maybe not that critical if it would be too complex (time-consuming) to handle right now.

macpijan avatar Jul 09 '24 09:07 macpijan

@macpijan I just tested disabling FRL and disabling the fixed mode feature we enabled for scaling, and it didn't help. I'm not sure what's going wrong here, GPIOs and VBT are configured correctly so GOP should Just Work.

mkopec avatar Jul 09 '24 09:07 mkopec

@mkopec Understood, do you have any suggestion for improvements here, or not really?

@wessel-novacustom how about your judgment of importance here? I think it would be definitely nice to have, but maybe not that critical if it would be too complex (time-consuming) to handle right now.

Not important enough to fix it before the first release.

wessel-novacustom avatar Jul 09 '24 09:07 wessel-novacustom

Set of PRs fixing the issue: https://github.com/Dasharo/coreboot/pull/547 https://github.com/Dasharo/edk2/pull/162

The GraphicsPeim in FSP has some problems with initializing the HDMI, but EFI x64 GOP driver initializes all possible displays (LCD -when lid open, Type-C and HDMI).

miczyg1 avatar Aug 12 '24 11:08 miczyg1

Confirmed resolved by linked PRs, closing

mkopec avatar Aug 14 '24 12:08 mkopec

Applies to dGPU models too - on those models the HDMI port is wired to the discrete graphics, so we'd have to somehow handle dual GPUs in UEFI.

mkopec avatar Aug 22 '24 14:08 mkopec

Dual GPUs are handled by UEFI payload since "always". UEFI prints the output to all GOPs found. We only have to make sure the NVidia GOP is installed by its Option ROM, that's all.

miczyg1 avatar Sep 05 '24 09:09 miczyg1

Running Intel GOP and Nvidia GOP from the opROM in UEFI, when screen resolutions aren't the same, causes artifacts in the setup menu. The logo is rendered in the topleft corner and text is rendered in the wrong place. So it doesn't just work right out of the box

mkopec avatar Sep 09 '24 10:09 mkopec

Okay, then set the PCDs for resolution to a fixed value. The problem is that we configured fixed resolution in VBT, while by default it should initialize max resolution, like the nvidia GOP

miczyg1 avatar Sep 10 '24 08:09 miczyg1

No HDMI output in FW on V540TND with Dasharo v0.9.1-rc5. Tried two monitors and two cables. Also tried closing/opening the lid.

philipanda avatar Sep 11 '24 13:09 philipanda

Partially implemented in rc6. There is an issue with iGPU driver not loading when both iGPU and dGPU monitors are connected in UEFI. May be removed in future versions.

mkopec avatar Oct 02 '24 10:10 mkopec

This will be known issue for v0.9.1 dGPU release

BeataZdunczyk avatar Oct 03 '24 11:10 BeataZdunczyk

With v0.9.1-rc6 on v540tnd HDMI output in firmware seems to appear without any issues. Both with lid closed/open.

SebastianCzapla avatar Oct 03 '24 14:10 SebastianCzapla

For me with V54 Intel-only notebook and running Dasharo coreboot 1.0.0, there still is no HDMI output on firmware.

PerAstraAdDeum avatar Sep 24 '25 13:09 PerAstraAdDeum