RTX2060 mobile, on CentOS 8 X configuration for multi display

Hello everybody,

I have a Xiaomi Gaming Laptop 2019 which contain one intel graphic card and one RTX2060 form Nvidia:

[vahid@yoda ~]$ sudo lshw -c display
  *-display                 
       description: VGA compatible controller
       product: TU106M [GeForce RTX 2060 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:162 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128) memory:b2000000-b207ffff
  *-display
       description: VGA compatible controller
       product: UHD Graphics 630 (Mobile)
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:132 memory:b5000000-b5ffffff memory:90000000-9fffffff ioport:5000(size=64) memory:c0000-dffff

I installed the driver from Nvidia site and it works:

[vahid@yoda ~]$ nvidia-smi 
Mon Feb 17 17:31:09 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.44       Driver Version: 440.44       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce RTX 2060    Off  | 00000000:01:00.0  On |                  N/A |
| N/A   50C    P8     4W /  N/A |    638MiB /  5934MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      2287      G   /usr/libexec/Xorg                             18MiB |
|    0      2488      G   /usr/bin/gnome-shell                          68MiB |
|    0      2958      G   /usr/libexec/Xorg                            189MiB |
|    0      5007      G   ...uest-channel-token=11966873828770633102    43MiB |
|    0      7000      G   ...quest-channel-token=3442500682710008371   139MiB |
|    0     13799      G   /usr/bin/gnome-shell                         173MiB |
+-----------------------------------------------------------------------------+

Jus the problem is I want to be able to use Nvidia when I need !! and be able to normally use HDMI out put and laptop display both with intel.
now if I enable Nvidia it just the HDMI out put and the main laptop display goes black and if I use intel then the HDMI out put shows nothing.
below is the x.conf (if I want the intel I have to delit this file!)
long story short: I want both display with intel or both with nvidia or at least woth working at the same time!!
appriciate any help.

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Screen 1 "intel" RightOf "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
    BusID "PCI:0:2:0"
    Option "AccelMethod" "SNA"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "yes"
    Option "IgnoreDisplayDevices" "CRT"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Anyone?
Please help!