nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   applying twinview automatically at login? (http://www.nvnews.net/vbulletin/showthread.php?t=132311)

mrooney 05-02-09 01:49 PM

applying twinview automatically at login?
 
3 Attachment(s)
Hello! I have two users on my laptop, one which I use at home and one at work. At work I have a second monitor hooked up, and currently have to enable it via nvidia's tool every day. I'd love to be able to save a good group of settings and have it applied at login for that user.

I've read some things that seem to imply I can save the good settings and use something like "nvidia-settings --load-config-only --config=good-settings" to load those good settings at startup, but I have had no luck at all in doing this.

Is there a simple set of instructions for going from a properly set up twinview, to having it automatically occur at login for that user?

I've attached the bug report log as per the stickies, plus the output of the "bad" (at start up) configuration and the good, which is just simply switching the second monitor from disabled to twinview.

Any help will be GREATLY appreciated, thanks!

Windseeker 05-03-09 03:00 AM

Re: applying twinview automatically at login?
 
Hi!
This might help you:
http://www.nvnews.net/vbulletin/show...php?t=125606#3
Best,
Daniel

mrooney 05-03-09 03:10 AM

Re: applying twinview automatically at login?
 
Quote:

Originally Posted by Windseeker (Post 1996718)
Hi!
This might help you:
http://www.nvnews.net/vbulletin/show...php?t=125606#3
Best,
Daniel

Yeah, I figured out how to save it in my xorg.conf but that isn't a solution since only one user has this secondary monitor. I am looking for a way to enable twinview at login. Thanks though!

mrooney 05-05-09 01:59 PM

Re: applying twinview automatically at login?
 
This original post I don't think was specific enough (and I can't seem to change the title) so I've created a new one with more information and debugging at http://www.nvnews.net/vbulletin/show....php?p=1998403.

rainerklier 05-06-09 02:12 AM

Re: applying twinview automatically at login?
 
1 Attachment(s)
Quote:

Originally Posted by mrooney (Post 1996722)
Yeah, I figured out how to save it in my xorg.conf but that isn't a solution since only one user has this secondary monitor. I am looking for a way to enable twinview at login. Thanks though!

you have nothing to do.
i have the same situation here.
at work i have second monitor attached to my notebook.
at home i don't have second monitor.
ich configured my xorg.conf to use second monitor.
when starting the notebook at home, the nvidia driver detects, that there is a second monitor configured but not attached.
it logs this situation in the /var/log/Xorg.0.log but starts up normally and works like there was no second monitor configured in xorg.conf.
when starting the notebook at work with second monitor attached (with docking-station/port-replicator) it uses it like configured in xorg.conf.
i have attached my xorg.conf.
you can check and compare with your xorg.conf.
you propably will have to change some values (resolutions, DFP-1 instead of DFP-2,...) to fit your needs.
but that should be no big problem i think.

mrooney 05-06-09 01:12 PM

Re: applying twinview automatically at login?
 
Quote:

Originally Posted by rainerklier (Post 1998834)
you have nothing to do.
i have the same situation here.
at work i have second monitor attached to my notebook.
at home i don't have second monitor.
ich configured my xorg.conf to use second monitor.
when starting the notebook at home, the nvidia driver detects, that there is a second monitor configured but not attached.
it logs this situation in the /var/log/Xorg.0.log but starts up normally and works like there was no second monitor configured in xorg.conf.
when starting the notebook at work with second monitor attached (with docking-station/port-replicator) it uses it like configured in xorg.conf.
i have attached my xorg.conf.
you can check and compare with your xorg.conf.
you propably will have to change some values (resolutions, DFP-1 instead of DFP-2,...) to fit your needs.
but that should be no big problem i think.

Thanks, this does seem to work well enough indeed! I wonder if this solution will still work though, if I end up getting a second monitor at home too?

rainerklier 05-06-09 02:26 PM

Re: applying twinview automatically at login?
 
Quote:

Originally Posted by mrooney (Post 1999202)
Thanks, this does seem to work well enough indeed! I wonder if this solution will still work though, if I end up getting a second monitor at home too?

it will, as long as the monitor at home is attached to the same port.
as you can see in my xorg.conf there is no exact resolution configured for the second monitor. i used "nvidia-auto-select".
so every attached monitor will negotiate the resolution with the gfx-card.
this way it will automatically work with any monitor, as long as it supports EDID and is attached to the specified port (DFP-2 or DFP-1).

i have not tried, but maybe a second "metamodes"-line with DFP-2 replaced with DFP-1 or CRT-0 (depends on monitor and port) right under the first "metamodes"-line will do the trick, if the monitor at home will be attached on other port.

on my notebook DFP-0 is internal notebook-panel, DFP-1 is a monitor connected at the DVI-port of the notebook, DFP-2 is a monitor connected at the DVI-port of the port-replicator, CRT-0 is a monitor connected at the VGA-port of the notebook, CRT-1 is a monitor connected at the VGA-port of the port-replicator.


All times are GMT -5. The time now is 04:07 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.