nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   How to ensure that nvidia-settings have been loaded? (http://www.nvnews.net/vbulletin/showthread.php?t=182873)

PeterTaps 06-05-12 02:52 PM

How to ensure that nvidia-settings have been loaded?
 
Folks,

Our company plans to build media server box. The box has nVidia GTS 450 video card and runs Ubuntu.

The media server box is configured by us at the factory and sent to the end user, an operator who does not have any computer knowledge.

The media server has two displays attached to it running two different x-server sessions. At factory, we make sure that "sync to vblank" setting is enabled. The resulting .nvidia-settings.rc is saved in operator's home directory.

When I log in as operator and run nvidia-settings, I can see that my vblank settings are preserved. However, the actual operator will not be running nvidia-settings. In this case, how do I make sure that nvidia-settings are indeed loaded?

A post on a forum suggests add "nvidia-settings -l" to profile. Can someone please verify if this is what needs to be done? Also, is there a way to check if "vblank" settings are enabled without really running nvidia-settings?

Thank you in advance for your help.

Regards,
Peter

AaronP 06-05-12 03:57 PM

Re: How to ensure that nvidia-settings have been loaded?
 
Yes, nvidia-settings -l loads the .nvidia-settings-rc file and applies the settings inside. To query whether sync-to-vblank is enabled, you can run
Code:

nvidia-settings -tq SyncToVblank
If it prints 1, it's enabled.

You can use
Code:

nvidia-settings --describe list
to get a list of all attributes that can be queried. Use "all" instead of "list" to get a short description along with the names.

PeterTaps 06-05-12 04:14 PM

Re: How to ensure that nvidia-settings have been loaded?
 
Aaron,

Thank you very much for your help.

Peter


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

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