Ubuntu – How to use 3 external monitors on Ubuntu 17.10 Dell XPS 13 9360

delldisplayhdmimultiple-monitors

Just bought a new USB Type C to 3 HDMI adapter: amazon link and it seems like my laptop sees all 3 monitors, but can't handle them all together.

I've tried different cables that work, and different inputs/monitors and everything works, except when all 3 together, Ubuntu sees them (I can change the primary display to any of those 3 external monitors) but only the built-in monitor works.

Is there anything specific I need to do in order to support 3 monitors at once?


Update

2 external + built-in:

$ xrandr --listmonitors
Monitors: 3
 0: +*eDP-1 1920/294x1080/165+0+1080  eDP-1
 1: +DP-1-1-2 1920/509x1080/286+0+0  unknown output 0x48
 2: +DP-1-1-1 1920/509x1080/286+1920+0  unknown output 0x47

3 external + built-in(Only the built-in monitor works):

$ xrandr --listmonitors
Monitors: 1
 0: +*eDP-1 3200/294x1800/165+0+0  eDP-1

When 3 external monitors are connected, the display settings shows all 3 monitors kinda visible, but not usable:

enter image description here

Regarding video graphics, Dell XPS 13 9360 has IntelĀ® Iris Plus Graphics 640 (Kaby Lake GT3) which theoretically, is able to handle 3 monitors, but would that mean 3 additional monitors or 3 monitors in total? source

While I use ubuntu 17.10, I use Xorg (wayland seems to be buggy).

Best Answer

What you are trying--and which desktop you are using--is vague here. There are specific things to try, but I cannot tell what you are trying. My desktop environment is XFCE4 on Ubuntu 17.10 running the X11-based display. Not Wayland.

I have Dell Precision 5510 and a brand new USB-C dock. On the Dock itself, there are HDMI and DisplayPort jacks. I can get 3 monitors going if you count the laptop display and the 2 monitors. I have used 3 external successfully when they are plugged into separate jacks, not in a USB-C dock. I'm pretty sure you can get 2 external working via the usb-c, I suggest you try with that. Then worry about 3rd.

Here are things to try. Let us know what you see.

In terminal, run

xrandr --listmonitors

to find out if system really does see monitors. You can run xrandr to get a much more verbose listing. Right now, I'm not connected, and end of xrandr output is:

DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis) 
DP-2 disconnected (normal left inverted right x axis y axis) 
HDMI-2 disconnected (normal left inverted right x axis y axis)

If you see that, then 4 monitors would be possible. Right now, I have removed the nvidia proprietary drivers and I still do have success with 2 external monitors via the dock. I expect you can too.

However, configuring will be a problem. Even if system notices your monitors, it will not use them until you configure them. You could try CLI with xrandr, but I don't do that too often anymore. It is easier if you use the GUI for this. My favorite is "arandr", which has worked great for 3 years, until last week it failed to recognize the resolutions. I have no idea what broke it.

If arandr fails, there is a much improved program called Display in the XFCE4 settings. I believe it is adapted from the Gnome project, possible your desktop has it, or similar. It lists detected monitors. You click a button "active" separately for each one, it shows them in a tiny rectangle, and you can move them about in the screen to place them left and right. If your dock is like mine, those monitors will not work until you activate.

If (IF) you are using the NVIDIA proprietary drivers for X11, run the

nvidia-settings

program. You'll see what monitors it can detect. You'll see that you cannot get all 4 monitors in one X11 session, but you can get a pairs connected with each other. You will probably not be able to drag a window across all 3 monitors. nvidia-settings will offer to re-write /etc/X11/xorg.conf for you. Make sure you have a copy of the old one before saying yes. At one time (say 2010), I was knee deep in settings for Xinerama and Nvidia Twinview. If you start bumping up against very fine grained video configurations, take a step back. It is still possible to do that stuff, but the whole push in X11 setup is to let users ignore it.

I am a little distrustful of the USB-C device you have. Unless you know for sure it works with your computer, it may be trouble. I got this computer May, 2016, and tried to order a dock. Dell said "our dock does not work, you can't buy one." I waited until Nov 2017 to get one because that was the first time the firmware was compatible with Ubuntu Linux. It mostly works now, but not always. The USB poops out about 10% of the time and I have to unplug everything. If a monitor powers down to save power, the laptop often cannot wake it up through the usb dock.

If you try and need more help, write back with more information, including what kind of dock this is, the xrandr output, and which video driver you are using, It really is a different game if you run the Nvidia proprietary driver.

Oh, if you are in Ubuntu 17.10 with Wayland as graphic environment, then I have nothing to say. I'm avoiding it.

Related Question