Page 1 of 1

[DONE] Proprietary NVidia drivers setup problem

PostPosted: Aug 11th, '13, 22:39
by mackowiakp
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 ?

Re: Proprietary NVidia drivers setup problem

PostPosted: Aug 12th, '13, 20:58
by doktor5000
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.

Re: Proprietary NVidia drivers setup problem

PostPosted: Aug 12th, '13, 21:30
by mackowiakp
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

Re: Proprietary NVidia drivers setup problem

PostPosted: Aug 12th, '13, 21:34
by mackowiakp
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)

Re: Proprietary NVidia drivers setup problem

PostPosted: Aug 12th, '13, 22:18
by doktor5000
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/

Re: Proprietary NVidia drivers setup problem

PostPosted: Aug 14th, '13, 06:53
by mackowiakp
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.

Re: Proprietary NVidia drivers setup problem

PostPosted: Aug 14th, '13, 06:55
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks

Re: [DONE] Proprietary NVidia drivers setup problem

PostPosted: Aug 14th, '13, 07:07
by mackowiakp
So You have!

Re: [DONE] Proprietary NVidia drivers setup problem

PostPosted: Aug 19th, '13, 02:27
by daniewicz
Code: Select all
#!/bin/bash
#
# This is a bash shell script to be run at startup
#
nvidia-settings --load-config-only

Re: [DONE] Proprietary NVidia drivers setup problem

PostPosted: Aug 19th, '13, 07:38
by doktor5000
He said that didn't work, proposed before already: viewtopic.php?p=38898#p38898

Re: [DONE] Proprietary NVidia drivers setup problem

PostPosted: Aug 20th, '13, 04:02
by daniewicz
OK. I didn't realize that nvidia-settings -l was the same as nvidia-settings --load-config-only