Hi all,

For a long time I've been using nvidia's twinview for two 1920x1200
displays (laptop and external LCD).

Whenever I dock / undock I have to run nvidia-settings to change the
resolution from the virtual 3840x1200 to 1920x1200 or vice versa.  Also
since two screens is the "Default" I have to do this when I log in with
only the laptop.

I am looking for a way to use the command line nvidia-settings (as much
as I've studied the help I can't find out how to do it - all attributes
seem read-only to the command line nvidia-settings) 

Then I can call nvidia-settings --some-options on a dock / undock event.

Alternatively, I read in the nvidia-drivers README that you can use
metamodes and then use the FN-F8 (CRT/LCD switch key) to switch between
them.  However, when I use metamodes I always get a 3840 wide screen,
and I can "scroll" left and right to the unseen space.

These are the metamodes I've tried:
1. The two-screen only metamode:
    Option         "metamodes" "DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200 +0+0"
2. attempt to use a 1920 metamode as well:
    Option         "metamodes" "DFP-0: 1920x1200; DFP-0: 1920x1200 +1920+0, 
DFP-2: 1920x1200 +0+0"
3. attempt 2:
    Option         "metamodes" "DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200 
+0+0; DFP-0: 1920x1200 +0+0,"

Here's my screen section (all other sections are basic):
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Has anyone done a dynamic mode change with nvidia xinerama?

thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

If you have nothing to do, don't do it here.



Reply via email to