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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-11-09, 06:57 AM   #1
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default How to execute a script when performance level changes?

Can the nvidia driver be configured to call a user definable script when
it changes the performance level?


Background:

For noise reduction, i purchased a case with a huge fan
http://txetxusoft.es/tienda/images/Sagitta-II_2.jpg

Unfortunately, it seems that this fan is doing it's job way
"too good". Means: the card stays cool on the outside
so that the GPU fan doesn't ramp up. As a consequence,
the GPU gets so hot in the inside so that after a while of 3D
operation, the DVI outputs shut down (black screen). When then
switching to a text console and waiting for a while then the card
typically cools down and the output recovers.

When removing the big fan, then the GPU fan ramps up, providing
enough cooling, but then there is pretty much no noise reduction.

So my idea now is to program a fixed 35% PWM duty cycle
(with nvclock) when the system is in "Desktop Mode" and 100%
when in 3D Mode (since I'm using a head-set, the noise is less of
a problem while gaming) .

I guess the switch could be somehow detected by polling
GPUCurrentPerfLevel with nvidia-settings and setting the fan
speed accordingly. However, there are two issues: first polling
is not a nice mechanism. It would be better if the driver calls
a user-definable script whenever configurable states change.

The other problem for me is that GPUCurrentPerfLevel is always "2"
(highest) for me, no matter if there are any 3D applications running or not.

Any feedback is highly appreciated!

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 05-11-09, 01:51 PM   #2
castor
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: How to execute a script when performance level changes?

Wouldn't it be enough to script a "launcher" for the game? So that switching between 35/100% modes is done when the game starts/exits.
castor is offline   Reply With Quote
Old 05-11-09, 06:28 PM   #3
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: How to execute a script when performance level changes?

Quote:
Originally Posted by castor View Post
Wouldn't it be enough to script a "launcher" for the game?
Thanks for the feedback!

I was certainly thinking about this solution, too, but first of all, i would need to modify
all game launchers scripts and second, if you start two 3D applications and then
stopping one will reduce the fan speed while the other application is still running.
(means, fan speed and performance level would be inconsistent). I guess it would
be possible by some kind of persistent counter ( dc=(cnt!=0?) 100:35; ), but this just
make things even more complicate ...

So I think it would be by far more elegant if there would be some sort of
callback scripts for performance level changes.

regards

Bernhard
JaXXoN 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
Boost Your Performance Goals 10x ' This Week on inside* Publications News Archived News Items 0 05-13-12 05:20 PM
How to make the GPU stay in Performance Level 2 on battery? pjman NVIDIA Linux 0 05-12-12 12:33 AM
NVIDIA Unleashes the GeForce GTX 670 Graphics Card ' Performance Perfected (WCCFTECH) News GeForce GTX 670 Reviews 0 05-10-12 08:40 AM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM
Linux performance of ut2003 Please Read... Linewbie NVIDIA Linux 17 09-23-02 09:02 AM

All times are GMT -5. The time now is 03:37 PM.


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