LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-15-2015, 11:30 AM   #1
ClisClis
LQ Newbie
 
Registered: Jun 2015
Distribution: LMDE2
Posts: 4

Rep: Reputation: Disabled
Nvidia Screen settings not kept after reboot


Hey guys
I am running LMDE2 on my machine.
It has a GTX 970 from nVidia
I had to manually install the drivers from nvidia.com as the repository versions were to old for this chip.
i am now running 346,72 and it worked well from day1.
But since a few days (after some apt-get update/upgrade stuff i guess) the settings i made are not kept after a reboot.
There is not too much configuration, mainly just the order of my 3 screens.
I can configure them in nvidia-settings and apply them. Then everything looks fine.
For the first time i had to save them to the x configuration file (/etc/X11/Xorg.conf).
I tried saving a new one of course and the file gets changed. But after a reboot, the display order would just fall back to default (even if the file content in xorg.conf stays like it should).

Any hints?
 
Old 06-15-2015, 12:48 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you need to be root to save this file
/etc/X11/Xorg.conf

a normal user can not write to that file


seeing as you are using "apt-get " i am ASSUMING !!! this UNKNOWN operating system is Debian
Code:
su -
nvidia-settings
---- or this ----
sudo nvidia-settings
and SAVE as root to the xorg.conf ( there is a button in the gui )
 
Old 06-15-2015, 02:04 PM   #3
ClisClis
LQ Newbie
 
Registered: Jun 2015
Distribution: LMDE2
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
seeing as you are using "apt-get " i am ASSUMING !!! this UNKNOWN operating system is Debian
Nice try but as stated in the second line of my post, i am running LMDE2 (Linux Mint Debian Edition 2).
Anyway: I should have stated that i did run nvidia-settings as root too. The file date did change to the time when i saved it and the values are actually written to the file.
I also took the preview of the conf nvidia-settings shows and copied it with nano.

When i first configured my system, I did it exactly like this and it was fine for about 1 month.
But now it wont work anymore.


And i also tried creating /etc/X11/xorg.conf.d and save the conf there.

Last edited by ClisClis; 06-15-2015 at 02:06 PM.
 
Old 06-16-2015, 07:38 AM   #4
ClisClis
LQ Newbie
 
Registered: Jun 2015
Distribution: LMDE2
Posts: 4

Original Poster
Rep: Reputation: Disabled
No more ideas?

I also tried reinstalling the drivers...


Today i tried saving the config again and i saw this in the cmd line
Code:
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
The file still gets updated, but maybe some one more experienced than me can read more from this message than I






EDIT:
It works!!
I had to open Cinnamons Display Settings (simply search for Display in the launchers searchbar) and then reapply the settings there. They were correct but i just changed them and changed it back.

Last edited by ClisClis; 06-16-2015 at 11:14 AM. Reason: solved
 
Old 06-16-2015, 11:16 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i do not use mint

but

did you uninstall and or remove the Nouveau driver before installing the Nvidia.run ?
and did you rebuild the boot image after the nouveau was removed ?

see:

http://community.linuxmint.com/tutorial/view/176
http://mintguide.org/system/304-inst...inux-mint.html
http://www.yourownlinux.com/2015/01/...-graphics.html
 
Old 06-17-2015, 12:03 AM   #6
bobbiescap
LQ Newbie
 
Registered: May 2009
Location: Coffs Harbour Australia
Distribution: Sparky with LXQt/KDE semi-rolling
Posts: 14

Rep: Reputation: 0
This is a common issue with the way the factory software creates the menu entry. If you are using Cinnamon, you can use the menu editor to create a custom command, where you put gksu into the call so if nvidia-settings is what is currently being called, change it to gksu nvidia-settings. Then you will get a little pop up windows asking you for your password. Maybe Mate has a similar gui to access the functions or you may find a handy command line tutorial if you are using Mate or another desktop gui.

Please let me know if you are not sure how to do that and I will explain better. I went from Debian to Mint because of Cinnamon and I used the LMDE offering, which is based on the Debian testing repos, rather than Ubuntu. I'm going back to Debian now that I know that I can use Cinnamon with it, some of us just like GUIs that are functional but with a few more bells and whistles than say, LXDE, which I have used extensively and think is great on a lower specced machine, but without the resource overhead of KDE.
 
Old 06-17-2015, 12:12 AM   #7
ClisClis
LQ Newbie
 
Registered: Jun 2015
Distribution: LMDE2
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
i do not use mint

but

did you uninstall and or remove the Nouveau driver before installing the Nvidia.run ?
and did you rebuild the boot image after the nouveau was removed ?

see:

http://community.linuxmint.com/tutorial/view/176
http://mintguide.org/system/304-inst...inux-mint.html
http://www.yourownlinux.com/2015/01/...-graphics.html
THere were some questions about rebuilding stuff when i reinstalled. Dont know if this was called nouveau but it might.
But since the problem is solved anyway, i wont reinstall another time just to see how it was called


Quote:
Originally Posted by bobbiescap View Post
This is a common issue with the way the factory software creates the menu entry. If you are using Cinnamon, you can use the menu editor to create a custom command, where you put gksu into the call so if nvidia-settings is what is currently being called, change it to gksu nvidia-settings. Then you will get a little pop up windows asking you for your password. Maybe Mate has a similar gui to access the functions or you may find a handy command line tutorial if you are using Mate or another desktop gui.

Please let me know if you are not sure how to do that and I will explain better. I went from Debian to Mint because of Cinnamon and I used the LMDE offering, which is based on the Debian testing repos, rather than Ubuntu. I'm going back to Debian now that I know that I can use Cinnamon with it, some of us just like GUIs that are functional but with a few more bells and whistles than say, LXDE, which I have used extensively and think is great on a lower specced machine, but without the resource overhead of KDE.
I do not really see what you are describing.
Isnt this just for starting nvidia-settings with root permissions? If so, this will do de same like just starting it with sudo. But your way is a way to always start it with those permissions right?

This wasnt the problem though as described in my edit a few posts above.

Last edited by ClisClis; 06-17-2015 at 12:14 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Full screen games change screen settings on duel monitor systems greatbear Linux - Games 1 09-12-2015 08:46 AM
gpointing-device-settings settings will not stay after reboot texasone Linux - Hardware 5 09-06-2013 06:00 PM
nvidia proprietary driver, nvidia-settings and how to configure panning bluebox Linux - Hardware 1 03-11-2011 03:21 PM
changing screen resolution and frequency with nvidia-settings from the CLI Valkyrie_of_valhalla Linux - Software 12 04-15-2007 11:58 AM
Blank screen after "startx" after reboot after install cg from nvidia rozky Linux - Software 2 04-04-2005 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration