trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: Configuring two monitors connected to the same computer

From: deloptes <deloptes@...>
Date: Thu, 24 Dec 2015 01:11:23 +0100
Ken Heard wrote:

> 
> The chipset I have in this computer is an Intel.  I found out soon
> enough that Intel does not.
> 


Hi Ken,
it is a bit frustrating to configure Intel card with two different monitors.
It was even more difficult in the past, but things are getting better now.

You could try the easy way - use live ubuntu and check if it works there.
Use the Xorg command to get the xorg.conf and secure the log files.

When I got my Dell 5440 notebook (and nothing was working as it should). I
did following to get X running

        lspci | grep VGA
        00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated
Graphics Controller (rev 0b)

This told me which chip and version was built in. Now you can start with
Xorg setup

        Xorg --help

...
        -configure             probe for devices and write an xorg.conf

...

then run

        Xorg -configure 

or perhaps

        Xorg :1 -configure

if you already have one running on :0

you will get xorg.conf.new file in the directory you execute it

This is a good starting point to get xorg.conf with your relevant parameters
and variables

I ended up putting the modelines in to the config file per monitor like this
(careful linebreaks because of mail whatever). I think I took them from the
log file testing each output separately.
Be careful, what is good for me might not be good for you, so this is just a
sample.

Section "Monitor"
        Identifier   "eDP1"
        VendorName   "Dell"
        ModelName    "Built in Display"
        Option       "DPMS"
        Option       "Primary" "true"
        Modeline "1366x768@60"   70.50  1366 1414 1446 1456  768 773 778 807
+hsync -vsync
        Modeline "1366x768@40"   47.00  1366 1414 1446 1456  768 773 778 807
+hsync -vsync
        Modeline "1360x768@..."   84.75  1360 1432 1568 1776  768 771 781
798 -hsync +vsync
        Modeline "1360x768@..."   72.00  1360 1408 1440 1520  768 771 781
790 +hsync -vsync
        Modeline "1024x768@..."   65.00  1024 1048 1184 1344  768 771 777
806 -hsync -vsync
        Modeline "800x600@..."   40.00  800 840 968 1056  600 601 605 628
+hsync +vsync
        Modeline "800x600@..."   36.00  800 824 896 1024  600 601 603 625
+hsync +vsync
        Modeline "640x480@..."   25.18  640 656 752 800  480 490 492
525 -hsync -vsync
EndSection

Section "Monitor"
        Identifier   "DP2"
        VendorName   "External"
        ModelName    "External Display"
        Option         "DPMS"
        Option       "RightOf"  "eDP1"
        Modeline "1920x1080@..."  148.50  1920 2008 2052 2200  1080 1084
1089 1125 +hsync +vsync
        Modeline "1600x1200@..."  162.00  1600 1664 1856 2160  1200 1201
1204 1250 +hsync +vsync
        Modeline "1680x1050@..."  119.00  1680 1728 1760 1840  1050 1053
1059 1080 +hsync -vsync
        Modeline "1400x1050@..."  101.00  1400 1448 1480 1560  1050 1053
1057 1080 +hsync -vsync
        Modeline "1280x1024@..."  135.00  1280 1296 1440 1688  1024 1025
1028 1066 +hsync +vsync
        Modeline "1280x1024@..."  108.00  1280 1328 1440 1688  1024 1025
1028 1066 +hsync +vsync
        Modeline "1440x900@..."   88.75  1440 1488 1520 1600  900 903 909
926 +hsync -vsync
        Modeline "1280x960@..."  108.00  1280 1376 1488 1800  960 961 964
1000 +hsync +vsync
        Modeline "1152x864@..."  108.00  1152 1216 1344 1600  864 865 868
900 +hsync +vsync
        Modeline "1024x768@..."   78.80  1024 1040 1136 1312  768 769 772
800 +hsync +vsync
        Modeline "1024x768@..."   75.00  1024 1048 1184 1328  768 771 777
806 -hsync -vsync
        Modeline "1024x768@..."   65.00  1024 1048 1184 1344  768 771 777
806 -hsync -vsync
        Modeline "832x624@..."   57.28  832 864 928 1152  624 625 628
667 -hsync -vsync
        Modeline "800x600@..."   50.00  800 856 976 1040  600 637 643 666
+hsync +vsync
        Modeline "800x600@..."   49.50  800 816 896 1056  600 601 604 625
+hsync +vsync
        Modeline "800x600@..."   40.00  800 840 968 1056  600 601 605 628
+hsync +vsync
        Modeline "800x600@..."   36.00  800 824 896 1024  600 601 603 625
+hsync +vsync
        Modeline "640x480@..."   31.50  640 656 720 840  480 481 484
500 -hsync -vsync
        Modeline "640x480@..."   31.50  640 664 704 832  480 489 491
520 -hsync -vsync
        Modeline "640x480@..."   30.24  640 704 768 864  480 483 486
525 -hsync -vsync
        Modeline "640x480@..."   25.20  640 656 752 800  480 490 492
525 -hsync -vsync
        Modeline "720x400@..."   28.32  720 738 846 900  400 412 414
449 -hsync +vsync
        Modeline "640x400@..."   23.35  640 656 720 800  400 401 404
417 -hsync +vsync

EndSection


in the Section "Device"

        Option     "AccelMethod"  "uxa"
        Option     "DRI"        "on"
        Option     "HotPlug"  "on"
        Option     "ReprobeOutputs"  "on"

        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"

Section "ServerFlags"
        Option      "AllowEmptyInput"   "on"

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor-eDP1"
        Monitor    "Monitor-DP2" #RightOf "Monitor-eDP1"

Section "Module"
        Load  "glx"
        Load  "synaptics"
        Load  "evdev"
#  http://wiki.ubuntuusers.de/XServer
#  http://wiki.ubuntuusers.de/RandR
        Load    "i2c"
        Load    "dri2"
        Load    "dbi"
        Load    "bitmap"
        Load    "ddc"
        Load    "extmod"
        Load    "freetype"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
EndSection

I hope this will give you some ideas on what to try with.

regards