View Single Post
Old 01-09-12, 09:49 AM   #1
finr
Registered User
 
Join Date: Jan 2012
Posts: 3
Default Metamodes/Twinview depending on connected displays

Hi all,

I'm using my notebook either in a docking station with two connected LCDs (DFP-2 and DFP-3) or without the dock, ie. only with the internal display. So I'd like to have a twinview configuration that selects the two external displays if they are connected, or reverts to just the internal display (DFP-0) if they are not. I tried the setting
Code:
Option         "metamodes" "DFP-2: nvidia-auto-select +0+0, DFP-3: nvidia-auto-select +1920+0; DFP-0: nvidia-auto-select +0+0"
but it did not work: When the notebook is in the dock, I get the following output:
Code:
[  2815.163] (--) NVIDIA(0): Connected display device(s) on NVS 4200M at PCI:1:0:0
[  2815.163] (--) NVIDIA(0):     CRT-0
[  2815.163] (--) NVIDIA(0):     Seiko/Epson (DFP-0)
[  2815.163] (--) NVIDIA(0):     DELL 2407WFP (DFP-2)
[  2815.163] (--) NVIDIA(0):     DELL 2407WFP (DFP-3)
...
[  2815.165] (**) NVIDIA(0): TwinView enabled
[  2815.166] (II) NVIDIA(0): Display Devices found referenced in MetaMode: DFP-0, DFP-2,
[  2815.166] (II) NVIDIA(0):     DFP-3
[  2815.166] (WW) NVIDIA(0): There are only 2 heads available, trimming display device list
[  2815.166] (WW) NVIDIA(0):     from "DFP-0, DFP-2, DFP-3" to "DFP-0, DFP-2".
...
[  2815.201] (II) NVIDIA(0): Assigned Display Devices: DFP-0, DFP-2
[  2815.201] (II) NVIDIA(0): Validated modes:
[  2815.201] (II) NVIDIA(0):
[  2815.201] (II) NVIDIA(0):     "DFP-2:nvidia-auto-select+0+0,DFP-3:nvidia-auto-select+1920+0"
[  2815.201] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select+0+0"
[  2815.201] (II) NVIDIA(0): Virtual screen size determined to be 3520 x 1200
...
[  2815.736] (II) NVIDIA(0): Setting mode
[  2815.736] (II) NVIDIA(0):     "DFP-2:nvidia-auto-select+0+0,DFP-3:nvidia-auto-select+1920+0"
With the last line, I'd assume that the two external displays should be in use, but DFP-2 is on position +0+0 (ok so far) and DFP-0 (ie the internal display instead of the second external LCD on DFP-3) is on position +1920+0, with DFP-3 disabled.

If the book is not in the dock, I get the following output:
Code:
[  3071.183] (--) NVIDIA(0): Connected display device(s) on NVS 4200M at PCI:1:0:0
[  3071.183] (--) NVIDIA(0):     CRT-0
[  3071.183] (--) NVIDIA(0):     Seiko/Epson (DFP-0)
...
[  3071.186] (**) NVIDIA(0): TwinView enabled
[  3071.186] (II) NVIDIA(0): Display Device found referenced in MetaMode: DFP-0
[  3071.186] (WW) NVIDIA(0): TwinView requested, but only 1 display devices found.
...
[  3071.202] (II) NVIDIA(0): Assigned Display Device: DFP-0
[  3071.202] (WW) NVIDIA(0): Invalid display device in Mode Description
[  3071.202] (WW) NVIDIA(0):     "DFP-3:nvidia-auto-select+1920+0"
[  3071.202] (WW) NVIDIA(0): Not using mode description "DFP-3:nvidia-auto-select+1920+0";
[  3071.202] (WW) NVIDIA(0):     unable to map to display device
[  3071.202] (II) NVIDIA(0): Validated modes:
[  3071.202] (II) NVIDIA(0):
[  3071.202] (II) NVIDIA(0):     "DFP-2:nvidia-auto-select+0+0,DFP-3:nvidia-auto-select+1920+0"
[  3071.202] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select+0+0"
[  3071.202] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 900
...
[  3071.743] (II) NVIDIA(0): Setting mode
[  3071.743] (II) NVIDIA(0):     "DFP-2:nvidia-auto-select+0+0,DFP-3:nvidia-auto-select+1920+0"
and, as I want, only the internal display is active.

Interestingly, CRT-0 always shows as connected even though it is not, neither with nor without the dock.

It would be great if anyone could point me towards what is wrong here...

BTW: An additional bonus would be if there were a third option for presentations in which the driver automatically cloned the internal display to CRT-0 if a CRT is connected .

EDIT: Driver version is 280.13 on Ubuntu 11.10 x86_64.

Thanks!
finr is offline   Reply With Quote