Ubuntu 18.04(rtx 2080 MAX Q) can't detect external monitor connected to HDMI port

Hi everyone,

I already spent days on this problem, trying out everything I could find on different forums.
Any help will be greatly appreciated and I will be happy to provide any more information necessary.

Using Ubuntu 18.04, Nvidia drivers 440 (or any other version), the HDMI display is not detected. The hardware itself works as I have a dual boot with Windows that works in this configuration I am sure it is something small in the configuration that I am missing.

prime-select query
nvidia
$ uname -a
Linux Zephyrus-S-GX531GXR-GX531GXR 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001E90sv00001043sd0000131Fbc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-driver-440 - third-party free recommended
driver : nvidia-driver-435 - distro non-free
driver : xserver-xorg-video-nouveau - distro
free builtin

== /sys/devices/pci0000:00/0000:00:14.3 ==
modalias : pci:v00008086d0000A370sv00008086sd00000034bc02sc80i00
vendor : Intel Corporation
manual_install: True
driver : backport-iwlwifi-dkms - distro free
$ dmesg | grep -i nvidia
[ 1.323530] nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
[ 3.958454] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input29
[ 3.958512] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input30
kush@Zephyrus-S-GX531GXR-GX531GXR:~$ xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (0x44) normal (normal left inverted right x axis y axis) 344mm x 194mm
Identifier: 0x42
Timestamp: 12156
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff004d10d31400000000
0e1d0104a522137807de50a3544c9926
0f505400000001010101010101010101
01010101010150d0805070381f401828
350058c2100000181434805070381f40
1828350058c210000018000000100000
000000000000000000000000000000fc
004c513135364d314a5730390a2000cb
scaling mode: Full aspect
supported: Full, Center, Full aspect
max bpc: 12
range: (6, 12)
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 86
supported: 86
non-desktop: 0
range: (0, 1)
1920x1080 (0x44) 533.280MHz -HSync -VSync *current +preferred
h: width 1920 start 1944 end 1984 total 2000 skew 0 clock 266.64KHz
v: height 1080 start 1083 end 1088 total 1111 clock 240.00Hz
1920x1080 (0x45) 133.320MHz -HSync -VSync
h: width 1920 start 1944 end 1984 total 2000 skew 0 clock 66.66KHz
v: height 1080 start 1083 end 1088 total 1111 clock 60.00Hz

nvidia-bug-report.log.gz (84.9 KB)