[DONE] Proprietary NVidia drivers setup problem

[DONE] Proprietary NVidia drivers setup problem

Postby mackowiakp » Aug 11th, '13, 22:39

I use proprietary NVidia driver and I want to setup brightens, contrast and gamma using NVIDIA control panel. The setup parameters are properly stored in ~/.nvidia-settings-rc file. But when KDE starts, parameters are not apply to the picture shown on display.
So i run
Code: Select all
nvidia-settings

parameters are properly appalled but control panel window appears on screen.
So I try only to load parameters without calling control panel window, but an error is rapported and parameters are not apply to the screen.
Code: Select all
[maciek@piotr ~]$ nvidia-settings -l
Gtk-Message: Failed to load module "canberra-gtk-module"


So my question is. How can I start user KDE session with applying setup parameters stored in ~/.nvidia-settings-rc ?
Last edited by mackowiakp on Aug 14th, '13, 07:06, edited 1 time in total.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Proprietary NVidia drivers setup problem

Postby doktor5000 » Aug 12th, '13, 20:58

Check the man page:
man nvidia-settings wrote: -l, --load-config-only
Load the configuration file, send the values specified therein to the X server, and exit. This mode of operation is useful to place in
your xinitrc file, for example.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18032
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Proprietary NVidia drivers setup problem

Postby mackowiakp » Aug 12th, '13, 21:30

Yep, but it does not work. As I wrote i try:

Code: Select all
[maciek@piotr ~]$ nvidia-settings -l
Gtk-Message: Failed to load module "canberra-gtk-module"


And nothing changed
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Proprietary NVidia drivers setup problem

Postby mackowiakp » Aug 12th, '13, 21:34

my workaround is to define such script:
Code: Select all
#!/bin/bash
nvidia-settings&
sleep 3
killall nvidia-settings


And run it before KDE start, using System Settings -> Start and stop session -> Autorun -> Add script (it is translation from my language to English)
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Proprietary NVidia drivers setup problem

Postby doktor5000 » Aug 12th, '13, 22:18

mackowiakp wrote:
Code: Select all
[maciek@piotr ~]$ nvidia-settings -l
Gtk-Message: Failed to load module "canberra-gtk-module"



That is not related to nvidia-settings nor is it an error, only an informational message.
Check e.g. viewtopic.php?p=27034#p27034 and the following post for the solution for that.

What would be interesting would be to run nvidia-settings -q all > test1, then nvidia-settings -l and afterwards nvidia-settings -q all > test2
Then diff -u test1 test2 and see if there are differences, besides maybe different temperature readings.

Otherwise you should ask that in the relevant nvidia forum: https://devtalk.nvidia.com/default/board/98/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18032
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Proprietary NVidia drivers setup problem

Postby mackowiakp » Aug 14th, '13, 06:53

Its a kind of mystery. In some Linux distros nvidia-settings works properly, in others - no.
At this moment I use workaround script. It resolve a problem in everyday use. But of course it is not bug fixing.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Proprietary NVidia drivers setup problem

Postby doktor5000 » Aug 14th, '13, 06:55

Please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18032
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [DONE] Proprietary NVidia drivers setup problem

Postby mackowiakp » Aug 14th, '13, 07:07

So You have!
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [DONE] Proprietary NVidia drivers setup problem

Postby daniewicz » Aug 19th, '13, 02:27

Code: Select all
#!/bin/bash
#
# This is a bash shell script to be run at startup
#
nvidia-settings --load-config-only
The dude abides.
User avatar
daniewicz
 
Posts: 217
Joined: Feb 10th, '13, 03:37

Re: [DONE] Proprietary NVidia drivers setup problem

Postby doktor5000 » Aug 19th, '13, 07:38

He said that didn't work, proposed before already: viewtopic.php?p=38898#p38898
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18032
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [DONE] Proprietary NVidia drivers setup problem

Postby daniewicz » Aug 20th, '13, 04:02

OK. I didn't realize that nvidia-settings -l was the same as nvidia-settings --load-config-only
The dude abides.
User avatar
daniewicz
 
Posts: 217
Joined: Feb 10th, '13, 03:37


Return to Video

Who is online

Users browsing this forum: No registered users and 0 guests