Ubuntu 24.04 with NVIDIA profile (GTX 1650, Lenovo IdeaPad L340) — HDMI not detected

My second monitor is not detected on Ubuntu 24.04, although everything was okay 2-3 days ago.

Sometimes it works for just 5 minutes and then shuts off by itself.

I have tried to reinstall “nvidia-driver-580” from the GUI for drivers afetr purging all nvidia packages and execute this.

$ sudo bash -c “echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf” $ sudo bash -c “echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf” $ sudo update-initramfs -u $ sudo reboot

The external monitor over HDMI does not work (since the HDMI port is wired to NVIDIA). When I select the NVIDIA profile (prime-select nvidia)

Can you help me? @MarkusHoHo

nvidia-bug-report.log.gz (2.9 MB)