external monitor does not work(hdmi,laptop,gtx1050)

Sorry for bad english.
There is a laptop Acer with a gtx-1050 4gb which is connected via HDMI to an external monitor, everything works fine in win(and everything worked on Kali)

  • There is absolutely no picture on the external monitor when i trying to boot with the 5.8.0 kernel.

  • But if I boot with the 5.7.0 kernel, then the picture appears on the external monitor, but only for 3-5 seconds and then disappears immediately (it appears only BEFORE of entering the user password).

  • When booting in safe mode, a picture also appears on the external monitor (and it does not disappear), but it contains only error text:

integrity: Problem Loading X.509 certificate -65
integrity: Problem Loading X.509 certificate -65

System:

$uname -a
Linux parrot 5.8.0-2parrot1-amd64 #1 SMP Debian 5.8.10-2parrot1 (2020-10-05) x86_64 GNU/Li

Lspci:

$lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #14 (rev f0)
00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
00:1f.0 ISA bridge: Intel Corporation HM470 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
07:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)

I look at the X11 logs and see what the monitor successfully identified:

cat /var/log/Xorg.0.log
[ 393.043] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): connected
[ 393.043] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): Internal TMDS
[ 393.043] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): 165.0 MHz maximum pixel clock
[ 393.043] (–) NVIDIA(GPU-0):
[ 393.051] (II) modeset(0): EDID vendor “AUO”, prod id 25069
[ 393.051] (II) modeset(0): Printing DDC gathered Modelines:
[ 393.051] (II) modeset(0): Modeline "1920x1080"x0.0 142.00 1920 2028 2076 2100 1080 1090 1100 1126 -hsync -vsync (67.6 kHz eP)
[ 393.680] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): connected
[ 393.680] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): Internal TMDS
[ 393.680] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): 165.0 MHz maximum pixel clock
[ 393.680] (–) NVIDIA(GPU-0):
[ 393.710] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): connected
[ 393.710] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): Internal TMDS
[ 393.710] (–) NVIDIA(GPU-0): Samsung SMB2240W (DFP-0): 165.0 MHz maximum pixel clock
[ 393.710] (–) NVIDIA(GPU-0):

The monitor is successfully detected in the Nvidia-X-server settings that came with the screen drivers:

It is visible in the kernel logs, therefore the kernel successfully detects it:

dmesg | grep -i samsung
[4.587422] systemd[1]: Found device SAMSUNG MZVLB256HAHQ-00000 3.
[4.591792] systemd[1]: Found device SAMSUNG MZVLB256HAHQ-00000 EFI\x20system\x20partition.
[4.603626] systemd[1]: Found device SAMSUNG MZVLB256HAHQ-00000 boot.

Looking for all x11 server configs:

$find / -name xorg.conf 2>/dev/null
/usr/share/doc/xserver-xorg-video-intel/xorg.conf

Looking at the contents of the config:

$cat /usr/share/doc/xserver-xorg-video-intel/xorg.conf
Section “Device”
Identifier “Intel”
Driver “intel”

Option “AccelMethod” “uxa”

EndSection

Just in case, here are the configs in the directory /etc/nvidia/

$ls /etc/nvidia/ -ls
total 16
0 drwxr-xr-x 1 root root 186 Oct 16 20:12 current
4 lrwxrwxrwx 1 root root 56 Oct 16 20:12 nvidia-blacklists-nouveau.conf -> /etc/alternatives/nvidia–nvidia-blacklists-nouveau.conf
4 lrwxrwxrwx 1 root root 53 Oct 16 20:12 nvidia-drm-outputclass.conf -> /etc/alternatives/nvidia–nvidia-drm-outputclass.conf
4 lrwxrwxrwx 1 root root 42 Oct 16 20:12 nvidia-load.conf -> /etc/alternatives/nvidia–nvidia-load.conf
4 lrwxrwxrwx 1 root root 46 Oct 16 20:12 nvidia-modprobe.conf -> /etc/alternatives/nvidia–nvidia-modprobe.conf