I do not know how to debug this error, but I just did a fresh install of Ubuntu 22.04 as a dual boot with windows 11. Windows 11 can see my monitor just fine. My ubuntu OS does not connect.
I have tried running both xorg and wayland by changing the /etc/gdm3/custom.conf but other than that I do not know how to debug it.
As far as system specs: Hardware model: Lenovo ThinkPad P1 Gen 3 Processor: Intel Core i7-01750H Graphics: Mesa Intel UHD Graphics (CML GT2) Gnome version 42.1
gdm3
thus changes to gdm3 config will make no difference. Those OSes also don't use GNOME so what are you running?