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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-03-09, 11:08 AM   #1
cshadow
Registered User
 
Join Date: Jan 2009
Posts: 12
Default resolution set with nvidia-settings doesn't stick after logoff?

Nvidia 7600GS card, using driver 180.08 in ubuntu Intrepid (same problem with 177). I swapped my old CRT monitor for new philips 22" LCD, connected to DVI output. I have also LCD TV connected to VGA (separate X screen configured in xorg). Everything works fine after setting the proper native resolution 1680x1050 for the primary LCD monitor. But on next logon resolution drops to 1360x768
Strange, maybe it is a coincidence but this is exactly the res of the secondary screen (TV)...
This happens only with one user on the machine, if some other user logs on, the screen resolution is fine, 1680x1050.
It seems to me that nvidia-settings stores some info per user, but where?
All I was able to find was the ~/.nvidia-settings-rc, tried deleting that but no luck...
Xorg.conf and xorg log are attached.
Attached Files
File Type: txt xorg.conf.txt (3.5 KB, 179 views)
File Type: zip Xorg.0.log.txt.zip (4.3 KB, 220 views)
cshadow is offline   Reply With Quote
Old 01-04-09, 03:04 AM   #2
alienexplorers
Registered User
 
alienexplorers's Avatar
 
Join Date: Feb 2007
Location: Hershey, PA, USA
Posts: 139
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Are you starting nvidia-settings from root:
Quote:
Bring up terminal and enter
gksudo nvidia-settings
__________________
AMD K6-III 450 | 512 MB Mem | Dual 40 MB drives | Geforce FX5200 | Viewsonic VA703B monitor
alienexplorers is offline   Reply With Quote
Old 01-04-09, 04:02 AM   #3
Windseeker
Registered User
 
Join Date: Dec 2006
Posts: 38
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Quote:
Originally Posted by alienexplorers View Post
Are you starting nvidia-settings from root:
and after starting it from root you need to save the settings to your xorg.conf. There is a separate button in nvidia-settings for that on the page where you set the resolution and frequencies.
Windseeker is offline   Reply With Quote
Old 01-04-09, 05:20 AM   #4
cshadow
Registered User
 
Join Date: Jan 2009
Posts: 12
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

See the attached xorg.conf, a added the correct entries...
and in the xorg.log i see that the correct resolution is set for that screen. But the question is where does the resolution get changed every time I log on?
No other user has this problem - if my wife logs in, she gets the correct resolution.
cshadow is offline   Reply With Quote
Old 01-04-09, 05:32 AM   #5
pe1chl
Registered User
 
Join Date: Aug 2003
Posts: 1,026
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

This is probably a "service" from your window manager, not something that has to do with nvidia-settings or the X server config.

Some window managers remember te resolution and think they are providing you a good service by setting it back.
pe1chl is offline   Reply With Quote
Old 01-04-09, 05:35 AM   #6
cshadow
Registered User
 
Join Date: Jan 2009
Posts: 12
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Quote:
Originally Posted by pe1chl View Post
This is probably a "service" from your window manager, not something that has to do with nvidia-settings or the X server config.

Some window managers remember te resolution and think they are providing you a good service by setting it back.
Thanks for the hint, will try to reset the gnome/metacity settings and see if there is any change.
cshadow is offline   Reply With Quote
Old 01-04-09, 06:35 AM   #7
Rudd-O
Registered User
 
Join Date: Dec 2008
Posts: 21
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

If you use KDE and you have krandrtray open in your notification area, it will auto-restore the last resolution you chose when you log back on to KDE.
Rudd-O is offline   Reply With Quote
Old 01-04-09, 06:36 AM   #8
Rudd-O
Registered User
 
Join Date: Dec 2008
Posts: 21
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Quote:
Originally Posted by cshadow View Post
See the attached xorg.conf, a added the correct entries...
and in the xorg.log i see that the correct resolution is set for that screen. But the question is where does the resolution get changed every time I log on?
No other user has this problem - if my wife logs in, she gets the correct resolution.
The res is changed because your desktop environment is setting it from a saved configuration file in your home directory. I think it's under .local or .gnome or .config, but I'm not sure. If you delete the file (I did, once, I can't recall its name), then the resolution is no longer set upon login, until the next time you change the resolution on your desktop.
Rudd-O is offline   Reply With Quote

Old 01-04-09, 06:37 AM   #9
Rudd-O
Registered User
 
Join Date: Dec 2008
Posts: 21
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Quote:
Originally Posted by pe1chl View Post
This is probably a "service" from your window manager, not something that has to do with nvidia-settings or the X server config.

Some window managers remember te resolution and think they are providing you a good service by setting it back.
It's NOT the window manager. It is the settings daemon loading the res from the config, or the session manager running a program that restores the resolution from a file saved in one of the user's homedir (one of the hidden dirs within it).
Rudd-O is offline   Reply With Quote
Old 01-04-09, 02:38 PM   #10
cshadow
Registered User
 
Join Date: Jan 2009
Posts: 12
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Found it!
It's the file ~/.config/monitors.xml and it can be changed via the gnome-display-properties. Which is BTW completely useless if you are using nvidia proprietary driver. My home folder is quite old and it seems to be some remnant from the past :-)
Thanks Rudd-O and the rest of you to point me the right way.
cshadow is offline   Reply With Quote
Old 10-31-10, 02:48 AM   #11
errold32
Registered User
 
Join Date: Oct 2010
Posts: 1
Default Re: resolution set with nvidia-settings doesn't stick after logoff?

Quote:
Originally Posted by cshadow View Post
Found it!
It's the file ~/.config/monitors.xml and it can be changed via the gnome-display-properties. Which is BTW completely useless if you are using nvidia proprietary driver. My home folder is quite old and it seems to be some remnant from the past :-)
Thanks Rudd-O and the rest of you to point me the right way.
Thanks very much!!!!! I couldn't change my resolution and get it to stick between reboots.
removing the above file fixed it!!!!
errold32 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Rumor regarding lack of 680 availability ViN86 Rumor Mill 6 05-09-12 04:48 PM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM

All times are GMT -5. The time now is 07:35 AM.


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