View previous topic :: View next topic |
Author |
Message |
felysium n00b
Joined: 27 May 2002 Posts: 43 Location: Netherlands
|
Posted: Wed Jun 26, 2002 7:48 am Post subject: hard cooling for kt266(a) makes your CPU run cooler |
|
|
This article describes how to run your AMD cpu more cool:
http://www.viahardware.com/haltcooling.shtm
It works with linux too.
Just emerge pciutils and set the right command.
for me on a 266a chipset it was: setpci -s 0 95=1e
My athlon XP 1600 now runs 31C idle, before 42C.
Even when you fully load the cpu, it will be stilll some degrees colder.
UPDATE:
article is now located at: http://www.sudhian.com/showdocs.cfm?aid=94
Last edited by felysium on Sat Feb 08, 2003 10:16 am; edited 2 times in total |
|
Back to top |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Thu Jun 27, 2002 12:24 pm Post subject: |
|
|
This is from gentoo-sources-2.4.19-r7.ebuild:
Code: |
# from linux-2.4.18-wolk3.4-rc5-patchset (http://www.sourceforge.net/projects/wolk):
# 102_amd_lvcool.diff
# Allows slightly cooler running AMD Athlon CPUs in systems with VIA mobos |
I think this patch does the same.
Cheers,
A. |
|
Back to top |
|
|
mvo n00b
Joined: 16 Apr 2002 Posts: 49 Location: Frankfurt/Germany
|
Posted: Sun Jul 14, 2002 9:11 pm Post subject: |
|
|
Wow, thanks!
My Athlon 1400 runs idle 18C cooler than before! Seems it has no negative effect. I put this into my local.start. |
|
Back to top |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Mon Jul 15, 2002 2:19 am Post subject: |
|
|
how can i activate that patch? |
|
Back to top |
|
|
Jacaranda n00b
Joined: 10 Jul 2002 Posts: 17
|
Posted: Tue Jul 16, 2002 3:45 am Post subject: |
|
|
Anyone got any ideas on how to work out the registers on other vias?
eg. I'm getting a kt333 soon... _________________ Jac |
|
Back to top |
|
|
nsadhal n00b
Joined: 12 Jul 2002 Posts: 34 Location: Berkeley, CA
|
Posted: Tue Jul 16, 2002 8:06 pm Post subject: |
|
|
holy crap
as soon as i typed the setpci bit, i saw the temperature drop in gkrellm... right before my eyes... so far it's gone 5 degrees C... _________________ It makes me so mad I wanna grab my sawed off, and get some bodies hauled. |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Sat Sep 28, 2002 9:09 pm Post subject: |
|
|
I just wanted to report my findings... This works fine on Via KT333 chipsets as well.
My 2 thermometers were holding steady at 40C and 50C before I typed the setpci command (15-20 minutes ago). They are now recording 35C and 35.5C... Below body temperature!
Thanks, guys! |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 28, 2002 9:40 pm Post subject: |
|
|
Whoa. My XP 1900 was at 44C, then I typed the setpci command, and 30 seconds later it's at 36C. Thanks for that |
|
Back to top |
|
|
surak n00b
Joined: 10 May 2002 Posts: 56 Location: upper-right coast
|
Posted: Sat Sep 28, 2002 9:59 pm Post subject: |
|
|
I get the weirdest thing when I try that command.. my temps go down, but my sound (using ALSA) gets very crackly and distorted... sounds almost like tin foil being crinckled. The only time sound comes out right is if I'm compiling something and CPU usage is at 99%... Any ideas? |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Sat Sep 28, 2002 10:02 pm Post subject: |
|
|
Y'know, I was just noticing that with my sound too. I rebuilt my box (new hard drive, fresh install of Gentoo), so I wasn't sure yet what it was.
Perhaps processor cycling has a bad effect on alsa's audio on this hardware... |
|
Back to top |
|
|
ejwahl Tux's lil' helper
Joined: 27 May 2002 Posts: 107 Location: Rhode Island
|
Posted: Sun Sep 29, 2002 3:01 am Post subject: |
|
|
I have an Athlon XP 1800+ and ABIT KG7 (AMD761/VIA 686B chipset) and I've googled to find the correct settings for setpci but nothing seems to work. I've used lv_cool in the past but that eats up 100% CPU.
Can anyone point me in the right direction for this type of chipset?
Thanks! _________________ Erich J. Wahl
RLU 199500
ICQ 48100000 |
|
Back to top |
|
|
JohnnyGTO Tux's lil' helper
Joined: 20 Apr 2002 Posts: 91
|
Posted: Sun Sep 29, 2002 6:02 am Post subject: |
|
|
I run an app on XP ( ya yuck but all the severs are Gentoo) called VCool and had the same trouble.
enabling Master Read Caching in VCool solved the problem.
surak wrote: | I get the weirdest thing when I try that command.. my temps go down, but my sound (using ALSA) gets very crackly and distorted... sounds almost like tin foil being crinckled. The only time sound comes out right is if I'm compiling something and CPU usage is at 99%... Any ideas? |
|
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sun Sep 29, 2002 9:30 am Post subject: |
|
|
I have no problems with ALSA, using an Abit KR7A-RAID (KT266A). |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sun Sep 29, 2002 9:48 am Post subject: |
|
|
Correct link for the article It really stinks that Viahardware is no longer there IMHO
surak wrote: | I get the weirdest thing when I try that command.. my temps go down, but my sound (using ALSA) gets very crackly and distorted... sounds almost like tin foil being crinckled. The only time sound comes out right is if I'm compiling something and CPU usage is at 99%... Any ideas? |
That's a well-known side effect, nothin you can really do about it.
You mess with PCI latency timings.
According to the wpcredit data,
setpci -s 0 52=eb should work for VIA 686 a/b :
and it does; I go from 38 to 31 degrees celsius @ almost idle.
I also tried the wpcredit memory tweaks that work so well with windows to boost memory speed, but they have no effect at all under linux.
(that is, not on my KT133 box and in my hands) |
|
Back to top |
|
|
Selkie n00b
Joined: 15 Jul 2002 Posts: 27
|
Posted: Sun Sep 29, 2002 11:17 am Post subject: |
|
|
kt266a:
Set both Registers -> tmp from 38 -> 35 but sound cracking
Set Register 92 back -> no more cracking.
I'd say HLT is harmless but "Disc when STPGNT# Detect" leads to sound errors for me |
|
Back to top |
|
|
ejwahl Tux's lil' helper
Joined: 27 May 2002 Posts: 107 Location: Rhode Island
|
Posted: Sun Sep 29, 2002 12:38 pm Post subject: |
|
|
This worked on my ABIT KG7 (AMD761/VIA 686B chipset):
setpci -s 0:0.0 0x62=0xb7
CPU temp dropped from 109 to 88 F.
I found this here along with settings for other chipsets. _________________ Erich J. Wahl
RLU 199500
ICQ 48100000 |
|
Back to top |
|
|
nalin Apprentice
Joined: 27 Sep 2002 Posts: 172 Location: Long Beach
|
Posted: Mon Nov 11, 2002 6:33 pm Post subject: |
|
|
nsadhal wrote: | holy crap
as soon as i typed the setpci bit, i saw the temperature drop in gkrellm... right before my eyes... so far it's gone 5 degrees C... |
bit off topic but what plugin do you use to monitor cpu temp...? |
|
Back to top |
|
|
ejwahl Tux's lil' helper
Joined: 27 May 2002 Posts: 107 Location: Rhode Island
|
Posted: Mon Nov 11, 2002 7:32 pm Post subject: |
|
|
nalin wrote: | bit off topic but what plugin do you use to monitor cpu temp...? |
I use the builtin Sensors. _________________ Erich J. Wahl
RLU 199500
ICQ 48100000 |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Tue Nov 12, 2002 6:38 am Post subject: |
|
|
I encountered some lockups on my Epox 8KHAL and Athlon XP 1700+ so I don't use this trick anymore... |
|
Back to top |
|
|
Disquiet n00b
Joined: 14 Jun 2002 Posts: 48 Location: Christchurch, New Zealand
|
Posted: Tue Nov 12, 2002 11:19 pm Post subject: |
|
|
I've disabled this in linux as it makes xawtv run funny...like there's interference with the signal. turn it off and its crystal clear again.
Works in windoze ok though |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sun Nov 17, 2002 3:03 pm Post subject: |
|
|
I used this trick when I used to run win98SE, using the great program by the
Japanese gentleman. I'm still a little unclear as to how to implement this in
Linux. Could someone please illuminate me as to where I type the setpci
commands? Do I just create a file somewhere, or use a pre-existing linux config
file? Any special format I need to use? And what do the "enable" and "disable" lines in the spanish page link
refer to.
Thanks,
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.2 USE=experimental python3_11 |
|
Back to top |
|
|
ejwahl Tux's lil' helper
Joined: 27 May 2002 Posts: 107 Location: Rhode Island
|
Posted: Sun Nov 17, 2002 3:17 pm Post subject: |
|
|
wrc1944 wrote: | Could someone please illuminate me as to where I type the setpci
commands? Do I just create a file somewhere, or use a pre-existing linux config
file? Any special format I need to use? And what do the "enable" and "disable" lines in the spanish page link
refer to. |
I created a script in /etc/init.d called gencool:
#!/bin/bash
setpci -s 0:0.0 0x62=0xb7
Then: "rc-update add gencool default"
It now runs the command every time I boot up.
I believe the enable and disable lines simply mean that cooling is either enabled or disabled. _________________ Erich J. Wahl
RLU 199500
ICQ 48100000 |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sun Nov 17, 2002 7:09 pm Post subject: |
|
|
Thanks ejwahl. So do I assume this will work in any other distro, such as my current Mandrake 9.0? I'm still waiting for Gentoo 1.4 final, as I only have a dial-up connection at home, and have to download the iso's somewhere else.
I'm new to Linux, so can I test out this script by just opening a console, su to root, and run the setpci script, adjusting the values to suit my cpu? Then, if it works, put it in the /etc/init.d file as a shell script as you did? Call it cpucool, or whatever? Can it really be that simple, or am I missing something important? (BTW, my cpu is running at 34.5C. today, so I don't know if I even need it- but my room temps are pretty cool, so that must be it.)
Thanks
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.2 USE=experimental python3_11 |
|
Back to top |
|
|
Mirar n00b
Joined: 19 Nov 2002 Posts: 1
|
Posted: Tue Nov 19, 2002 12:58 pm Post subject: |
|
|
I wrote this script (/etc/init.d/coolbit):
#!/sbin/runscript
# This shell script takes care of starting and stopping the northbridge "cool" bits
start() {
ebegin "Starting KT333 NB cool bit"
setpci -H1 -s 0:0.0 70=86 >/dev/null &&
setpci -H1 -s 0:0.0 95=1e >/dev/null
eend $?
}
stop() {
ebegin "Resetting KT333 NB cool bit"
setpci -H1 -s 0:0.0 70=82 >/dev/null &&
setpci -H1 -s 0:0.0 95=1c >/dev/null
eend $?
}
I have an Asus A7V333. This worked on my previous Abit KR7A too, not as good though since I had to turn it off if I were going to use the TV card. |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Jan 22, 2003 5:54 pm Post subject: |
|
|
do you know what the setpci settings are for a kt400 chipset? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
|