Second monitor not detected with Ubuntu 22 on MSI katana

hello, my secondo monitor is not detected on ubuntu 22.
i have both windows and ubuntu and it works on windows but not in ubuntu.

i have tried both 520 and 470 drivers but it does not work.

should I remove intel driver? how do I so it?

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

Don’t remove anything.
There’s no connected monitor reported in the logs, where did you connect it? There seems to be a DP output on the intel igpu and a HDMI on the nvidia gpu.

i solved it

i had

GRUB_CMDLINE_LINUX="nouveau.blacklist=1" on /etc/default/grub and removed the nouveau.blacklist=1

now it works