LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ubuntu 18.04 wont detect second monitor (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-18-04-wont-detect-second-monitor-4175644716/)

analyticsflow 12-21-2018 05:07 AM

ubuntu 18.04 wont detect second monitor
 
Hey, as the title says, my ubuntu 18.04 on laptop won't detect the second monitor, I'm pretty new on Linux and have tried few things, but don't do much my own anymore, since it seems I need to go deeper and it's easy to mess up things. Maybe here someone can help me a bit more.
Some information:
The first monitor is LG widescreen with HDMI, its detected nice and works well.
Another one is some Dell, nothing shows up anywhere.


Things that may help: I remember when I installed Ubuntu, I had to set somewhere grub menu nomodset to get Ubuntu running (maybe related??).
command 'xrandr' gives output:

Code:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 2560 x 1080, current 2560 x 1080, maximum 2560 x 1080
default connected primary 2560x1080+0+0 0mm x 0mm
  2560x1080    92.00*

command 'lspci -v' output:
Code:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
        Subsystem: CLEVO/KAPOK Computer Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: de000000-df0fffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
        Subsystem: CLEVO/KAPOK Computer Device 6450
        Flags: bus master, fast devsel, latency 0, IRQ 255
        Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
        Memory at a0000000 (64-bit, prefetchable) [size=512M]
        I/O ports at f000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel modules: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H USB 3.0 xHCI Controller
        Flags: bus master, medium devsel, latency 0, IRQ 122
        Memory at df510000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H Thermal subsystem
        Flags: fast devsel, IRQ 18
        Memory at df52e000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H CSME HECI
        Flags: bus master, fast devsel, latency 0, IRQ 142
        Memory at df52d000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31) (prog-if 01 [AHCI 1.0])
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SATA Controller [AHCI mode]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 132
        Memory at df528000 (32-bit, non-prefetchable) [size=8K]
        Memory at df52c000 (32-bit, non-prefetchable) [size=256]
        I/O ports at f090 [size=8]
        I/O ports at f080 [size=4]
        I/O ports at f060 [size=32]
        Memory at df52b000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: df400000-df4fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        Memory behind bridge: df300000-df3fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        Memory behind bridge: df200000-df2fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        Memory behind bridge: df100000-df1fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H LPC Controller
        Flags: bus master, medium devsel, latency 0
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H PMC
        Flags: fast devsel
        Memory at df524000 (32-bit, non-prefetchable) [disabled] [size=16K]
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
        Subsystem: CLEVO/KAPOK Computer CM238 HD Audio Controller
        Flags: bus master, fast devsel, latency 32, IRQ 144
        Memory at df520000 (64-bit, non-prefetchable) [size=16K]
        Memory at df500000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SMBus
        Flags: medium devsel, IRQ 16
        Memory at df52a000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
        Subsystem: CLEVO/KAPOK Computer GP107M [GeForce GTX 1050 Mobile]
        Flags: bus master, fast devsel, latency 0, IRQ 255
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [disabled] [size=128]
        Expansion ROM at df000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel modules: nvidiafb, nouveau
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
        Subsystem: CLEVO/KAPOK Computer RTL8411B PCI Express Card Reader
        Flags: bus master, fast devsel, latency 0, IRQ 131
        Memory at df415000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at df400000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
        Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at d000 [size=256]
        Memory at df414000 (64-bit, non-prefetchable) [size=4K]
        Memory at df410000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Wireless 8265 / 8275
        Flags: bus master, fast devsel, latency 0, IRQ 143
        Memory at df300000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
05:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller (prog-if 30 [XHCI])
        Subsystem: CLEVO/KAPOK Computer ASM1142 USB 3.1 Host Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at df200000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 (prog-if 02 [NVM Express])
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
        Memory at df100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme
        Kernel modules: nvme

It turns out I'm using Intel graphic card and my Linux won't ever know about Nvidia card?

command 'lspci -k | grep -A 2 -i "VGA"' gives:
Code:

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
        Subsystem: CLEVO/KAPOK Computer Device 6450
        Kernel modules: i915


pan64 12-21-2018 09:19 AM

please give us more information:
do you have one ore more video cards (type/model/whatever info...)? Which one do you really need? How the monitors are connected to where (to which video card)?
Do you have another OS on this box? Does that detects everything properly?

analyticsflow 12-21-2018 11:32 AM

Hey,
Thank you for your reply.
I'm not really home with computers in general, but I try to do my best.
I should have 2 video cards, Intel integrated and NVIDIA GTX1050, I found command 'lspci' what gives output as following:

Code:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
05:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961

Witch one I really need? I don't need any hardcore graphic, I use pc more of data work, don't play any game, so in short: I need the one where I can plug multiple monitors.

A working monitor is plugged with HDMI, another one I can plug via USB-c or mini display port (not 100% sure how its called, found a pic on the internet, and it sure looks like this) - doesn't recognize either one.

I have only Ubuntu 18.04 installed in my pc and everything else works properly.

pan64 12-21-2018 12:18 PM

Code:

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)

looks like both detected. I don't know if nvidia driver was properly installed. ( you can start for example here: https://askubuntu.com/questions/1045...force-gtx-1050 to check )

But it looks like you cannot plug in the second monitor, that's why it wasn't recognized (usb-c most probably cannot be used). What kind of laptop is it?

analyticsflow 12-21-2018 05:13 PM

Quote:

Originally Posted by pan64 (Post 5940011)
Code:

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)

looks like both detected. I don't know if nvidia driver was properly installed. ( you can start for example here: https://askubuntu.com/questions/1045...force-gtx-1050 to check )

But it looks like you cannot plug in the second monitor, that's why it wasn't recognized (usb-c most probably cannot be used). What kind of laptop is it?

Hey, first, thank you for your help!
I'm going to try it tomorrow.
I have custom made laptop, by a company who definitely knows what they are doing.
When I had win10 installed, screens were working just fine, I do suspect that its drivers issue myself also.

roy_lt_69 12-22-2018 04:41 AM

Does Windows see and work properly with both monitors, especially the USB-C connected one?

Also did you see this
https://www.phoronix.com/scan.php?pa...Port-DP-Driver


All times are GMT -5. The time now is 03:26 PM.