Go Back   Rage3D » Rage3D Discussion Area » Archived Discussions » Linux
Rage3D Subscribe Register FAQ Members List Calendar

Linux Forum to discuss the popular Open Source operating system, plus other *NIX derivatives. Discussions about AMD Catalyst drivers can be had in the relevant subforum.

 
 
Thread Tools Display Modes
Old Mar 13, 2007, 07:12 PM   #1
Advertisement (Guests Only)

Login or Register to remove this ad
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default Controlling Fan Speed for ATI Cards

Is there something similar to ATI Tool for controlling the fan speed with Linux - cause after about 5 minutes the fan speed goes up to maximum and thats anoying/too loud. (Not just when needed to cool down when i play e.g. CS:S with wine )

regards
truthy
truthy is offline  
Old Mar 14, 2007, 11:25 AM   #2
nonnii
Newbie
 
Join Date: Feb 2006
Location: Finland Finland
Posts: 8
nonnii is still being judged by the masses


Default

Use "aticonfig"

POWERplay Options:
Following options will not change the config file.
These options will be effective immediately. Other options on
the same command line will be ignored.
--lsp, --list-powerstates
Print information about power states and exit.
--set-powerstate=NUMBER
Set a power state listed by --list-powerstates.

I for my self used to manually run "aticonfig --set-powerstate=1" and now I have a small script to run it at the start of kde. It really does not control the fan, but results to the wanted effect.
nonnii is offline  
Old Mar 14, 2007, 11:56 AM   #3
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

thx for your answer - the bad thing is - i only have 1 powerstate.

aticonfig --lsp or --list-powerstates shows:
Code:
core/mem      [flags]
-----------------
* 1: 581/699 MHz  [default state]
any idea how to configure another one ...

system-info:
ATI Radeon X1950 Pro 512MB AGP (Sapphire)
Mandriva Linux 2007.0 Power Pack
Kernel: 2.6.17.8mdv
X Window System Version 7.1.1
ati-proprietary-driver version 8.34.8
truthy is offline  
Advertisement (Guests Only)
Login or Register to remove this ad
Old Mar 14, 2007, 12:12 PM   #4
nonnii
Newbie
 
Join Date: Feb 2006
Location: Finland Finland
Posts: 8
nonnii is still being judged by the masses


Default

In that case I don't know how to help you, sry.
nonnii is offline  
Old Mar 14, 2007, 03:28 PM   #5
mlau
Newbie
 
Join Date: Dec 2004
Posts: 497
mlau is still being judged by the masses


Default

How do the windows tools control fanspeed? I suppose it's just a simple
PWM controlled via a software-bitbanged I2C bus?
Maybe one of the tool writers can give information about that, writing
a simple test app shouldn't be too difficult (provided it's not required
to write to some chip-specific registers to access pwm controls)
__________________
*Microsoft, developing tools for the clueless masses so that they may
maintain that delightful state of cluelessness.
mlau is offline  
Old Mar 16, 2007, 07:49 PM   #6
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

well, I have to say that I have no idea of PWM or how the windows tool controls fanspeed ... but i found something here

i think i didn't explain my problem quite well - so heres another try:

under windows xp without anything like ATI Tool - just with the Catalyst Control Center (Windows Driver) - the fan speed is ok/acceptable (it just raises when i play games etc. - like it should be)
but under linux - when i do nothing and wait about 5 minutes - the fan speed goes up to maximum without any reason.

so is there a way/program to somehow control that - cause I don't know how to write a simple test app ...
or should I write a mail to the developers of ati tool and ask about that - the tool is used more for overclocking than for fan controll ...
truthy is offline  
Old Mar 18, 2007, 10:15 AM   #7
Postmortem
Newbie
 
Join Date: Apr 2002
Location: Iowa the corn state
Posts: 21
Postmortem is still being judged by the masses


Default

Quote:
Originally Posted by truthy View Post
well, I have to say that I have no idea of PWM or how the windows tool controls fanspeed ... but i found something here

i think i didn't explain my problem quite well - so heres another try:

under windows xp without anything like ATI Tool - just with the Catalyst Control Center (Windows Driver) - the fan speed is ok/acceptable (it just raises when i play games etc. - like it should be)
but under linux - when i do nothing and wait about 5 minutes - the fan speed goes up to maximum without any reason.

so is there a way/program to somehow control that - cause I don't know how to write a simple test app ...
or should I write a mail to the developers of ati tool and ask about that - the tool is used more for overclocking than for fan controll ...
I can confirm this problem, and it manifests on my X1950 with latest (Feb 21) driver ONLY...so far it manifests both on FC6 and opensuse10.2.
Postmortem is offline  
Old Mar 18, 2007, 03:52 PM   #8
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

and ... did you find a way to solve it?
is it possible to add another powerstate and to set it with aticonfig
(could be the easiest way if its possible ...)

and do you know if this is a driver related problem or a hardware related problem? Cause if its a driver related problem we could write it to the ATI/AMD Linux Driver Crew and wait for a new driver version where it might get solved ...

another way might be to write a simple test app like mlau suggested, but i have to say i am too dumm to do that (never was quite fond of programming anyway)

i will write an email to the developers of ati tool and ask them for linux support/info - i will inform you when i get an answer.

regards

edit:
the fan speed under windows normally is 40% ... and raises if needed - temperature
so the question is how to set 2 powerstages - one with 40 % fan speed and the other one with 100% fan speed
or how to get the card to watch for the temperature and automatically adjust the fan speed
but that just is like that for the X1950 Pro if you have the Sapphire version (they have their own 'special' fan) - the fan speed for the GeCube, the MSI or the PowerColor version could be different!

Last edited by truthy : Mar 18, 2007 at 04:34 PM.
truthy is offline  
Old Mar 18, 2007, 10:52 PM   #9
Postmortem
Newbie
 
Join Date: Apr 2002
Location: Iowa the corn state
Posts: 21
Postmortem is still being judged by the masses


Default

Quote:
Originally Posted by truthy View Post
and ... did you find a way to solve it?
is it possible to add another powerstate and to set it with aticonfig
(could be the easiest way if its possible ...)

and do you know if this is a driver related problem or a hardware related problem? Cause if its a driver related problem we could write it to the ATI/AMD Linux Driver Crew and wait for a new driver version where it might get solved ...

another way might be to write a simple test app like mlau suggested, but i have to say i am too dumm to do that (never was quite fond of programming anyway)

i will write an email to the developers of ati tool and ask them for linux support/info - i will inform you when i get an answer.

regards

edit:
the fan speed under windows normally is 40% ... and raises if needed - temperature
so the question is how to set 2 powerstages - one with 40 % fan speed and the other one with 100% fan speed
or how to get the card to watch for the temperature and automatically adjust the fan speed
but that just is like that for the X1950 Pro if you have the Sapphire version (they have their own 'special' fan) - the fan speed for the GeCube, the MSI or the PowerColor version could be different!
Well it could be hardware issue as well, I think i didn't have this with January drivers. Card's BIOS does fan management, driver isn't needed... my guess is that driver might be overriding it, or there's some bug in driver that makes it heat up fairly quickly. So BIOS has fan speed table, meaning for every temperature there's fan's duty cycle %.

GeCube's fan runs at 100% all the time, as well as VisionTek's, so it could be even worse.
Postmortem is offline  
Old Mar 19, 2007, 01:40 AM   #10
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

mhm ... i think i found something
we could write an acpi fan control script to override the 'normal' fan speed, which if you ask me is already overwritten cause otherwise it would adjust to the system/gpu temperature - or acpi doesn't work correctly.
but thats a little bit risky - you have to watch the temperatures after trying it out or your hardware might get damaged - i will try it out anyway ...

i think the temperature thing doesn't work cause we both have 3rd party boards which aren't supported - maybe with an original ati x1950pro the powerstates might work - if there is an ati card at all *g*

as far as i need it - i will create 2 scripts
1 for the 100% fan speed for gaming - and 1 with 40% fan speed for the 'normal' use.
maybe we might even get it to work according to the gpu temperature - but for that i am not sure - this card is still too new and i have a XPC/Shuttle with an Intel 865/848 (Springdale) Chipset - but overwriting the speed works (tried it out under windows with the ati-tool)

every info can be found here - (thinkwiki.org - it was written for laptops ThinkPads - but i think we can adjust it to fit to our system) i will make a script as soon as i have time to read into the topic a little bit ...

this howto seems important too.

edit:
i filled out the ATI/AMD Linux Driver Crew formula and sent it away - maybe they will correct the powerstates for our card in a future version - we'll see

Last edited by truthy : Mar 19, 2007 at 02:40 AM.
truthy is offline  
Old Mar 19, 2007, 02:44 AM   #11
mlau
Newbie
 
Join Date: Dec 2004
Posts: 497
mlau is still being judged by the masses


Default

Quote:
Originally Posted by truthy View Post
mhm ... i think i found something
we could write an acpi fan control script
ACPI won't help in this case; the bios makers would have to implement AML code
to control fan speeds for every conceivable card.

A better idea would be for the fglrx kernel module to provide a "cpufreq"-like sysfs
interface to get/set various powerplay states and fan speeds (and maybe access
to the i2c busses like the nvidia driver does).

A simple shell script could then set minimal powerplay state when running on
batteries or let the driver control it when running on AC, etc...

(any ati devs [besides Matthew Tippett] reading this forum?)
__________________
*Microsoft, developing tools for the clueless masses so that they may
maintain that delightful state of cluelessness.
mlau is offline  
Old Mar 19, 2007, 03:35 AM   #12
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

thx for the info - saved me much time of useless searching.

great idea to improve the fglrx kernel module, but there is no way i could do that i guess?

as you said if any ati devs might come across this thread please tell me if something like this will/could be possible in a newer driver version.

btw i stated the threads url in the support formula - maybe someone of them might read it ... if they could add it in a future version - that would be great - i have no rush - np if it takes them a few months more ...

Last edited by truthy : Mar 19, 2007 at 03:48 AM.
truthy is offline  
Old Mar 20, 2007, 03:48 AM   #13
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

isn't there any program similar to NVClock which would do the job if i had a NVIDIA Card.

Maybe we could create a program like that for ATI Cards?
truthy is offline  
Old Mar 21, 2007, 08:14 AM   #14
phial
no things
 
Join Date: May 2003
Posts: 16,110
phial is still being judged by the masses


Default

this is why i cant use linux yet , bah (lack of certain hardware support)
__________________
What you perceive to be, is your reality.
phial is offline  
Old Mar 21, 2007, 10:01 AM   #15
Lithorus
Rage3D Veteran
 
Join Date: Jan 2004
Posts: 1,411
Lithorus is still being judged by the masses


Default

Quote:
Originally Posted by phial View Post
this is why i cant use linux yet , bah (lack of certain hardware support)
I would put it another way :
That's why I don't use ATI hardware yet (lack of certain linux support)
__________________

Lithorus is offline  
Old Mar 23, 2007, 05:26 PM   #16
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

I will wait for the new proprietary driver to come out - maybe they fixed the powerstate issue - i will try it then and keep you up-to-date. I didn't get a reply from the mail I sent to the devs of ati-tool and I think I never will.

in the meantime i still have one question. can I edit the kernel-module in a way that what mlau suggessted will be possible - or can just the ati-devs do that?

Quote:
A better idea would be for the fglrx kernel module to provide a "cpufreq"-like sysfs
interface to get/set various powerplay states and fan speeds (and maybe access
to the i2c busses like the nvidia driver does).

A simple shell script could then set minimal powerplay state when running on
batteries or let the driver control it when running on AC, etc...
truthy is offline  
Old Mar 24, 2007, 03:19 AM   #17
mlau
Newbie
 
Join Date: Dec 2004
Posts: 497
mlau is still being judged by the masses


Default

Quote:
Originally Posted by truthy View Post
in the meantime i still have one question. can I edit the kernel-module in a way that what mlau suggessted will be possible - or can just the ati-devs do that?
Unless you have access to the Super Secret Chip Documentation(TM),
I think there's not much you can do.
__________________
*Microsoft, developing tools for the clueless masses so that they may
maintain that delightful state of cluelessness.
mlau is offline  
Old Mar 25, 2007, 01:08 PM   #18
mlau
Newbie
 
Join Date: Dec 2004
Posts: 497
mlau is still being judged by the masses


Default

I just had a look at the current drivers (8.34), you already can set
the powerstate with aticonfig tool:

aticonfig --set-powerstate=<x> --effective=now
__________________
*Microsoft, developing tools for the clueless masses so that they may
maintain that delightful state of cluelessness.
mlau is offline  
Old Mar 26, 2007, 12:22 AM   #19
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

Quote:
Originally Posted by mlau View Post
I just had a look at the current drivers (8.34), you already can set the powerstate with aticonfig tool:
aticonfig --set-powerstate=<x> --effective=now
well setting another powerstate isn't the problem. it would be exactly what i need, but like i said above, i only have 1 powerstate ... so i can't set another one i don't have.

Code:
core/mem      [flags]
-----------------
* 1: 581/699 MHz  [default state]
if you know how to add another powerstate (if thats possible) - would be very helpful.

Last edited by truthy : Mar 26, 2007 at 12:44 AM.
truthy is offline  
Old Mar 26, 2007, 08:50 AM   #20
mlau
Newbie
 
Join Date: Dec 2004
Posts: 497
mlau is still being judged by the masses


Default

Quote:
Originally Posted by truthy View Post
... i only have 1 powerstate ...
if you know how to add another powerstate (if thats possible) - would be very helpful.
IIRC the powerstates are defined in the card's BIOS. Bug your vendor?
(The mobility9700 in my lappo also advertises only 1 powerstate, and sony
support is a nightmare)
__________________
*Microsoft, developing tools for the clueless masses so that they may
maintain that delightful state of cluelessness.
mlau is offline  
Old Apr 17, 2007, 05:59 PM   #21
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

i tried out the new driver 8.35.5 - but it seems they didn't change that - still 1 powerstate.
at least the new control panel works now ...

changing the powerstates in the cards bios is too risky - i think it won't work properly under windows then. There are 2 powerstates under Windows - a 2D and a 3D powerstate.
http://www.sapphiretech.com/en/forum...ad.php?t=12196

Well, I guess I have to wait for a new driver where this issue will get solved.

btw - if anyone who has a X1950 Pro card has more than 1 powerstate - please let me know!

Last edited by truthy : Apr 18, 2007 at 01:14 AM.
truthy is offline  
Old Apr 18, 2007, 05:59 AM   #22
JonSvenJonsson
Radeon R520
 
Join Date: Mar 2004
Posts: 581
JonSvenJonsson is still being judged by the masses


Default

Quote:
Originally Posted by truthy View Post
i tried out the new driver 8.35.5 - but it seems they didn't change that - still 1 powerstate.
at least the new control panel works now ...

changing the powerstates in the cards bios is too risky - i think it won't work properly under windows then. There are 2 powerstates under Windows - a 2D and a 3D powerstate.
http://www.sapphiretech.com/en/forum...ad.php?t=12196

Well, I guess I have to wait for a new driver where this issue will get solved.

btw - if anyone who has a X1950 Pro card has more than 1 powerstate - please let me know!
Have you looked at this article ? maybe this helps
http://www.phoronix.com/scan.php?pag...item=675&num=1

cheers Jon
JonSvenJonsson is offline  
Old Apr 19, 2007, 02:44 PM   #23
truthy
Radeon R100
 
Join Date: Feb 2007
Posts: 29
truthy is still being judged by the masses


Default

thx for the hint but in my Xorg.0.log there is only 1 powerstate too.
Code:
(II) fglrx(0): POWERplay version 3.  1 power state available:
(II) fglrx(0):   1. 581/699MHz @ 0Hz [enable load balancing]
Do you have various powerstates with your X1950 XTX?
truthy is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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
fan speed control for BOTH cards with Vista64 bigbad Radeon Tweaking, Modding, and Overclocking 0 Dec 28, 2007 08:00 AM
Controlling fan speed in Vista therock16 Other Graphics Cards and 3D Technologies 2 Mar 16, 2007 01:53 PM
Controlling X800 Fan Speed question MSteve Radeon Tweaking, Modding, and Overclocking 7 Oct 13, 2005 11:19 PM
Controlling the speed of a Pentium M possible? 00ber_m00 General Hardware 1 Sep 4, 2005 08:10 PM
question about cards and processor speed bushwacked AMD Radeon Discussion and Support 2 May 1, 2003 12:02 AM


All times are GMT -5. The time now is 05:59 AM.



Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
All trademarks used are properties of their respective owners. Copyright ©1998-2011 Rage3D.com
Links monetized by VigLink