So, I just installed Ubuntu and find out my second display is not working. My graphics are Intel HD and NVIDIA 1050 and I'm using 1050. I'm using HDMI port on-board and I think that's probably caused by it. Port may be getting output from Intel HD and I'm using 1050. I have latest 460 drivers. How can I solve it?
lshw -C display output:
*-display UNCLAIMED
description: VGA compatible controller
product: GP107M [GeForce GTX 1050 3 GB Max-Q]
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 cap_list
configuration: latency=0
resources: memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a4000000-a407ffff
*-display
description: VGA compatible controller
product: CoffeeLake-H GT2 [UHD Graphics 630]
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:129 memory:a2000000-a2ffffff memory:80000000-8fffffff ioport:5000(size=64) memory:c0000-dffff