public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] changing nvidia settings dynamically
@ 2010-01-15  7:25 Iain Buchanan
  2010-01-16 12:52 ` Neil Bothwick
  2010-01-27  1:04 ` Hung Dang
  0 siblings, 2 replies; 9+ messages in thread
From: Iain Buchanan @ 2010-01-15  7:25 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-27  2:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15  7:25 [gentoo-user] changing nvidia settings dynamically Iain Buchanan
2010-01-16 12:52 ` Neil Bothwick
2010-01-21 23:29   ` Iain Buchanan
2010-01-22 12:11     ` YoYo siska
2010-01-24 23:37       ` Iain Buchanan
2010-01-25  4:30         ` Iain Buchanan
2010-01-26 23:56           ` Iain Buchanan
2010-01-27  1:04 ` Hung Dang
2010-01-27  2:06   ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox