HDMI output black screen on external monitor on Ubuntu 22.04

Hello I have a Asus TFU505 with Ryzen7 and GTX1650. I’m running ubuntu Ubuntu 22.04.1 LTS with this kernel: 5.15.0-47-generic.
This is how it set up additional drivers:

The problem comes when I tried to use an external monitor through HDMI. I changed the display settings to Join Displays or just try to use only the 23’ external monitor, and I got a black screen.

dmesg output:

[ 49.590589] amdgpu 0000:05:00.0: amdgpu: 00000000513254e0 pin failed
[ 49.590596] [drm:dm_plane_helper_prepare_fb [amdgpu]] ERROR Failed to pin framebuffer with error -22
[ 49.702534] amdgpu 0000:05:00.0: amdgpu: 00000000ada98963 pin failed
[ 49.702549] [drm:dm_plane_helper_prepare_fb [amdgpu]] ERROR Failed to pin framebuffer with error -22
[ 50.640500] amdgpu 0000:05:00.0: amdgpu: 0000000029b87b81 pin failed
[ 50.640508] [drm:dm_plane_helper_prepare_fb [amdgpu]] ERROR Failed to pin framebuffer with error -22
nvidia-bug-report.log.gz (424.6 KB)

Any help is appreciated…

Please upgrade your driver, 450 doesn’t support the output sink capability.

I am trying to connect my external monitor. I installed the latest drivers and tried the solutions listed in other forms, however, I cant see the monitor… FYI: NVIDIA-SMI is not detected.

Thank you in advance

#1 SMP Debian 5.15.15-2kali1 (2022-01-31)

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 3D controller: NVIDIA Corporation GM107GLM [Quadro M620 Mobile] (rev a2)

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

The kernel headers are missing, please install
sudo apt install linux-headers-$(uname -r)