Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-16-09, 08:36 PM   #1
TheBlackCat
Registered User
 
Join Date: Aug 2008
Posts: 84
Default Twinview on login with minimal xorg.conf

I am trying to use the HAL auto-detection with a minimal xorg.conf. I am using a 2.6.31 kernel and xorg 7.4. I have two screens, and want to set it up so that twinview is activated upon login. I can get dynamic twinview to work just fine if I enable it from within nvidia-settings without saving it to my xorg.conf, even window maximize works properly. However, I cannot get it to last between sessions, it always returns to just using my main screen after I reboot. Is there a way to get my screen settings to remain between sessions without editing my xorg.conf?

My xorg.conf looks like this (this is the entire file):

Code:
Section "Device"
    Identifier  "NVIDIA Device"
    Driver      "nvidia"
    Option      "NoLogo" "True"
EndSection

Section "Extensions"
    Option      "Composite" "Enable"
EndSection
I am not even sure I need the composite extension there, but compositing is not working so I thought I would try it.
TheBlackCat is offline   Reply With Quote
Old 09-16-09, 08:42 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Twinview on login with minimal xorg.conf

Adding Option "TwinView" ought to be sufficient. If you only have one screen connected, it should gracefully fall back to a single-screen configuration.
AaronP is offline   Reply With Quote
Old 09-16-09, 11:21 PM   #3
TheBlackCat
Registered User
 
Join Date: Aug 2008
Posts: 84
Default Re: Twinview on login with minimal xorg.conf

I'll try that, thanks. Any idea why compositing might not be working? Is there something I need to add to my xorg.conf?
TheBlackCat is offline   Reply With Quote
Old 09-17-09, 12:35 AM   #4
TheBlackCat
Registered User
 
Join Date: Aug 2008
Posts: 84
Default Re: Twinview on login with minimal xorg.conf

I am getting twinview now, but it still is not using the configuration I set. The computer now thinks my left screen is on the right and vice versus.
TheBlackCat is offline   Reply With Quote
Old 09-17-09, 01:06 PM   #5
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Twinview on login with minimal xorg.conf

You may need some additional options, such as TwinViewOrientation.
AaronP is offline   Reply With Quote
Old 09-17-09, 01:59 PM   #6
TheBlackCat
Registered User
 
Join Date: Aug 2008
Posts: 84
Default Re: Twinview on login with minimal xorg.conf

Is there any way to do that without editing my xorg.conf? All I would need to do is have my nvidia-settings configuration be preserved between sessions or restored at the beginning of a session.
TheBlackCat is offline   Reply With Quote
Old 09-17-09, 02:24 PM   #7
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Twinview on login with minimal xorg.conf

Unfortunately, nvidia-settings does not have a way to save and restore the screen configuration outside of xorg.conf. You can use the "Save to X Configuration File" button in the display config page to save the complete configuration to xorg.conf, but honestly it's probably easier to just add Option "TwinViewOrientation" "LeftOf".
AaronP is offline   Reply With Quote
Old 09-17-09, 02:32 PM   #8
TheBlackCat
Registered User
 
Join Date: Aug 2008
Posts: 84
Default Re: Twinview on login with minimal xorg.conf

Is there any plan to implement this? With device autodetection and twinview working as well as it is there shouldn't be any need to touch xorg.conf anymore.
TheBlackCat is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:13 AM.


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