HDMI doesnt work in Ubuntu 1804

HDMI does not work. When i plug a display it turn on but with a message of No video Input.

$ dmidecode | grep -A 9 "System Information"
System Information
	Manufacturer: Dell Inc.
	Product Name: Inspiron 15 7000 Gaming
	Version: Not Specified
	Wake-up Type: Power Switch
	Family: Inspiron
$ prime-select query
nvidia
$ uname -a
Linux delli7-00036 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 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:v000010DEd00001C8Csv00001028sd00000798bc03sc00i00
vendor   : NVIDIA Corporation
model    : GP107M [GeForce GTX 1050 Ti Mobile]
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-430 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin
$ dmesg | grep -i nvidia
[    3.259250] nvidia: loading out-of-tree module taints kernel.
[    3.259258] nvidia: module license 'NVIDIA' taints kernel.
[    3.291653] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    3.328466] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[    3.331511] nvidia 0000:01:00.0: enabling device (0004 -> 0007)
[    3.332291] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[    3.431753] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  430.26  Tue Jun  4 17:40:52 CDT 2019
[    3.457262] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  430.26  Tue Jun  4 17:45:09 CDT 2019
[    3.461886] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    3.461888] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[    3.503539] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 237
[    4.021637] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
$ xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 (0x2af) normal (normal) 0mm x 0mm
	Identifier: 0x2ae
	Timestamp:  50640
	Subpixel:   unknown
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
  1920x1080 (0x2af) 159.667MHz *current
        h: width  1920 start    0 end    0 total 1920 skew    0 clock  83.16KHz
        v: height 1080 start    0 end    0 total 1080           clock  77.00Hz

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

Please remove the nomodeset kernel parameter.

When i remove it the system does not boot. It crashes at start with a black screen and a cursos blinking

Please remove the driver, remove the kernel parameter, upgrade your HWE stack:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack
After reboot, reinstall the nvidia driver from Software&Updates application.