Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NVidia Optimus; THREE external monitors possible? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Sat Feb 10, 2018 11:39 am    Post subject: NVidia Optimus; THREE external monitors possible? [SOLVED] Reply with quote

Hello, I asked here about setting up a Lenovo W520 laptop, with Optimus graphics and a docking station, to drive two external displays as well as the built-in. As can be seen from that earlier thread, I ended-up with an xorg.conf which is frequently recommended in the the Gentoo forums for running the dual graphics card setup. The setup has been working perfectly for six months.

I now want to push it to three external displays + the built-in.

The docking station has two DVI-D ports (which I am using), two DisplayPorts (which I read somewhere should not be used at the same time as the DVI-D) and one VGA.

When I plugged-in the third external display to the VGA port, the extra display was not used. The system does see it but won't drive it. Here is the output of xrandr before and after the extra VGA screen was plugged-in:
Code:
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384                   | Screen 0: minimum 8 x 8, current 7144 x 1088, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)                         | VGA-0 connected (normal left inverted right x axis y axis)
                                                                                      >    1024x768      60.00 +
                                                                                      >    800x600       72.19    60.32    56.25 
                                                                                      >    640x480       59.94 
                                                                                      >    512x384       60.00 
                                                                                      >    400x300       72.19 
                                                                                      >    320x240       60.05 
LVDS-0 disconnected (normal left inverted right x axis y axis)                          LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)                            DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 29   DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 29
   1920x1080     60.00*+  50.00                                                            1920x1080     60.00*+  50.00 
   1680x1050     59.95                                                                     1680x1050     59.95 
   1600x900      60.00                                                                     1600x900      60.00 
   1440x900      59.89                                                                     1440x900      59.89 
   1280x1024     75.02    60.02                                                            1280x1024     75.02    60.02 
   1280x800      59.81                                                                     1280x800      59.81 
   1280x720      60.00    50.00                                                            1280x720      60.00    50.00 
   1152x864      75.00                                                                     1152x864      75.00 
   1024x768      75.03    70.07    60.00                                                   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25                                          800x600       75.00    72.19    60.32    56.25 
   720x576       50.00                                                                     720x576       50.00 
   720x480       59.94                                                                     720x480       59.94 
   640x480       75.00    72.81    59.94                                                   640x480       75.00    72.81    59.94 
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm | DP-2 connected 1920x1080+5224+8 (normal left inverted right x axis y axis) 531mm x 29
   1920x1080     60.00*+  50.00                                                            1920x1080     60.00*+  50.00 
   1680x1050     59.95                                                                     1680x1050     59.95 
   1600x900      60.00                                                                     1600x900      60.00 
   1440x900      59.89                                                                     1440x900      59.89 
   1280x1024     75.02    60.02                                                            1280x1024     75.02    60.02 
   1280x800      59.81                                                                     1280x800      59.81 
   1280x720      60.00    50.00                                                            1280x720      60.00    50.00 
   1152x864      75.00                                                                     1152x864      75.00 
   1024x768      75.03    70.07    60.00                                                   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25                                          800x600       75.00    72.19    60.32    56.25 
   720x576       50.00                                                                     720x576       50.00 
   720x480       59.94                                                                     720x480       59.94 
   640x480       75.00    72.81    59.94                                                   640x480       75.00    72.81    59.94 
DP-3 disconnected (normal left inverted right x axis y axis)                            DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)                            DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)                            DP-5 disconnected (normal left inverted right x axis y axis)
LVDS-1-1 connected primary 1920x1080+912+1080 (normal left inverted right x axis y ax | LVDS-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 3
   1920x1080     60.00*+  50.00                                                       |    1920x1080     60.00*+  50.00 
   1400x1050     59.98                                                                |    1400x1050     59.98 
   1280x1024     60.02                                                                |    1280x1024     60.02 
   1280x960      60.00                                                                |    1280x960      60.00 
   1024x768      60.04    60.00                                                       |    1024x768      60.04    60.00 
   960x720       60.00                                                                |    960x720       60.00 
   928x696       60.05                                                                |    928x696       60.05 
   896x672       60.01                                                                     896x672       60.01 
   800x600       60.00    60.32    56.25                                                   800x600       60.00    60.32    56.25 
   700x525       59.98                                                                     700x525       59.98 
   640x512       60.02                                                                     640x512       60.02 
   640x480       60.00    59.94                                                            640x480       60.00    59.94 
   512x384       60.00                                                                     512x384       60.00 
   400x300       60.32    56.34                                                            400x300       60.32    56.34 
   320x240       60.05                                                                     320x240       60.05 
VGA-1-1 disconnected (normal left inverted right x axis y axis)                         VGA-1-1 disconnected (normal left inverted right x axis y axis)
  1280x1024 (0x47) 108.000MHz +HSync +VSync                                               1280x1024 (0x47) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz                 h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz                  v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1024x768 (0x4a) 65.000MHz -HSync -VSync                                                 1024x768 (0x4a) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz                 h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz                  v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x4f) 40.000MHz +HSync +VSync                                                  800x600 (0x4f) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz                 h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz                  v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x50) 36.000MHz +HSync +VSync                                                  800x600 (0x50) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz                 h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz                  v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x54) 25.175MHz -HSync -VSync                                                  640x480 (0x54) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz                 h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz                  v: height  480 start  490 end  492 total  525           clock  59.94Hz
                                                                                      >   512x384 (0x55) 32.500MHz -HSync -VSync DoubleScan
                                                                                      >         h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
                                                                                      >         v: height  384 start  385 end  388 total  403           clock  60.00Hz
                                                                                      >   320x240 (0x58) 12.587MHz -HSync -VSync DoubleScan
                                                                                      >         h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
                                                                                      >         v: height  240 start  245 end  246 total  262           clock  60.05Hz
When I use the KDE display configuration tool, display VGA-0 is shown but dimmed (not enabled). If I click the enable check-box and Apply, the box is unchecked and VGA-0 remains dimmed, as though the tool has decided for itself not to enable the display, or has been told that it cannot enable.

The Xorg.0.log looks like X has see the extra VGA (CRT-0?) but I don't know how to incorporate it into Xorg.conf.

I've run eselect opengl nvidia once and at each X session I run
Code:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
According to this, it should be possible.

Any help in making the system recognise the extra monitor would be obliging.
_________________
Michael Mounteney


Last edited by mounty1 on Tue Feb 13, 2018 11:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 185

PostPosted: Mon Feb 12, 2018 11:53 am    Post subject: Reply with quote

Please add
Code:
Option "ModeDebug" "true"

to the nvidia device section of your xorg.conf, reboot and paste a new Xorg.0.log
Try disabling the kscreen2 service of KDE and see if you can mange your monitors with nvidia-settings.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Mon Feb 12, 2018 8:22 pm    Post subject: Reply with quote

hhfeuer wrote:
Please add
Code:
Option "ModeDebug" "true"

to the nvidia device section of your xorg.conf, reboot and paste a new Xorg.0.log
Try disabling the kscreen2 service of KDE and see if you can mange your monitors with nvidia-settings.
Xorg.0.log here.

I disabled kscreen2 and now nvidia-settings sees the extra VGA. When I try to enable it however, on clicking Apply in nvidia-settings, the message appears:
Code:
The current layout has some inconsistencies:

• MetaMode 1 of Screen 0 has more than 2 active display devices.
Eventually I could save the layout generated by nvidia-settings, despite the warnings that it was inconsistent, but it was invalid and X wouldn't start with it. I had to kill my login manager and replace xorg.conf.

That metamode message implies that there is a hard limit on the number of devices that the NVidia adaptor will manage, and no amount of configuration will fix it.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 185

PostPosted: Mon Feb 12, 2018 8:57 pm    Post subject: Reply with quote

Yes, should have looked at that earlier, your gpu is a GF108GL means Fermi architecture, those only supported two displays connected directly to it. Only Kepler and up had more heads. So, sorry, end of mission;)
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 185

PostPosted: Mon Feb 12, 2018 9:02 pm    Post subject: Reply with quote

...but looking at the xrandr output, it looks like the W520 has a VGA port that is connected to the intel card, that could work. Does it have a connector on the laptop?
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Tue Feb 13, 2018 11:52 pm    Post subject: No go Reply with quote

I did play around with a monitor plugged into the laptop's own VGA port, but no go. It's not a particularly attractive solution to me anyway.

Thank you for your replies.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum