Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] new laptop
Date: Mon, 04 Feb 2008 14:21:35
Message-Id: d257c3560802040621h74272db2u14e3945765c0ef8e@mail.gmail.com
In Reply to: Re: [gentoo-amd64] new laptop by ionut cucu
1 2008/2/4, ionut cucu <cuciferus@×××××.com>:
2 >
3 > On Mon, 4 Feb 2008 09:26:57 +0000
4 > Beso <givemesugarr@×××××.com> wrote:
5 >
6 > > 2008/2/4, Beso <givemesugarr@×××××.com>:
7 > > >
8 > > >
9 > > >
10 > > > 2008/2/4, ionut cucu <cuciferus@×××××.com>:
11 > > > >
12 > > > > On Sun, 3 Feb 2008 15:49:47 +0000
13 > > > > Beso <givemesugarr@×××××.com> wrote:
14 > > > >
15 > > > > > 2008/2/3, ionut cucu <cuciferus@×××××.com>:
16 > > > > > >
17 > > > > > > On Sun, 3 Feb 2008 13:55:56 +0000
18 > > > > > > Beso <givemesugarr@×××××.com> wrote:
19 > > > > > >
20 > > > > > > > 2008/2/3, ionut cucu <cuciferus@×××××.com>:
21 > > > > > > > >
22 > > > > > > > > Hi List,
23 > > > > > > > > I've just bought a new laptop Acer 5715Z and I've have the
24 > > > > > > > > following issue the processor overheats until the laptop
25 > > > > > > > > closes(100 degrees Celsius). This happened when I had two
26 > > > > > > > > parallel emerges. So I went to the shop and changed it
27 > > > > > > > > with another one, same model. This one can hold up to 3
28 > > > > > > > > parallel emerges but it overheats when I'm watching a
29 > > > > > > > > movie, again it reaches the 100 degrees limit. I'm I
30 > > > > > > > > doing something wrong here? I'm I missing something (this
31 > > > > > > > > is the first laptop I have) ?. Or just by coincidence
32 > > > > > > > > this one is broken too. I've looked on the Internet but I
33 > > > > > > > > hadn't found any similar issues. Thanks! --
34 > > > > > > > > gentoo-amd64@l.g.o mailing list
35 > > > > > > > >
36 > > > > > > > > first: maybe the thermal isn't set right.
37 > > > > > > > what does cat /proc/acpi/thermal_zone/THRM/trip_points
38 > > > > > > > says?! mine is something like this:
39 > > > > > > >
40 > > > > > > > critical (S5): 105 C
41 > > > > > > > passive: 76 C: tc1=3 tc2=1 tsp=150
42 > > > > > > > devices=CPU0 active[0]: 67 C: devices= FN1
43 > > > > > > > active[1]: 57 C: devices= FN2
44 > > > > > > >
45 > > > > > > > you might have different values but at least you should
46 > > > > > > > have one active and one passive.
47 > > > > > > I have only the critical level set
48 > > > > > > > second: don't do parallel emerge if you're not sure that the
49 > > > > > > > packages from one emerge don't collide with the ones from
50 > > > > > > > the other. for example, knetworkmanager needs
51 > > > > > > > networkmanager which needs dhcdb which needs dhclient. if
52 > > > > > > > you emerge something that would emerge dhclient then you'd
53 > > > > > > > emerge 2 times dhclient or you might risk one of the 2
54 > > > > > > > emerges to fail because a dep hasn't yet been installed.
55 > > > > > > > you could push up the number of processes to be build
56 > > > > > > > together by increasing the makeopts for example to -j6 or
57 > > > > > > > more. increase the number and see your processors loads.
58 > > > > > > > the best number is the one that puts your processors to
59 > > > > > > > about 80% of cpu so that you'd still have 20% of cpu power
60 > > > > > > > to do other things. also add the niceness option so that
61 > > > > > > > you don't see slowdowns when you compile and use some other
62 > > > > > > > program.
63 > > > > > > Well the parallel emerges are done just to load the cpu,
64 > > > > > > after the main installation process, but thanks for the j6
65 > > > > > > idea
66 > > > > > > > third: have you installed acpi and acer-acpi?! i presume
67 > > > > > > > that you've done it and you're starting both acpi and
68 > > > > > > > acer-acpi at boot. anyway, the important thing is are the
69 > > > > > > > trip_points. if you don't have them then you might need to
70 > > > > > > > make a script to get the thermal temperature and to
71 > > > > > > > slowdown manually the processor when it pushes too much up
72 > > > > > > > the temperature.
73 > > > > > > acer_acpi refuses to compile with some file missing
74 > > > > > > error...will search the bugs later, but is it really
75 > > > > > > necessary? if so could you please elaborate a little because
76 > > > > > > I was under the impression that the fans were hardware
77 > > > > > > controlled by default --
78 > > > > > > gentoo-amd64@l.g.o mailing list
79 > > > > >
80 > > > > >
81 > > > > > acer-acpi is usually necessary for acer notebooks to work well.
82 > > > > > it is mandatory for hotkeys and other stuff and is necessary to
83 > > > > > correct some acer's modifications in the acpi. so for what i
84 > > > > > know acer-acpi is manadatory for acer notebooks as it is
85 > > > > > asus-acpi on asus notebooks. try to see if everything fixes
86 > > > > > after you install it (try unmasking newer versions if you
87 > > > > > cannot install stable ones). the fans are ususally board
88 > > > > > controlled as it is the passive mode that reduces the cpu
89 > > > > > speed, but they can be forced via scripts.
90 > > > > >
91 > > > > >
92 > > > > >
93 > > > > >
94 > > > > Unfortunately asus_acpi doesn't compile
95 > > > > (http://bugs.gentoo.org/show_bug.cgi?id=208577). So I'm just
96 > > > > asking for the cooling process is it mandatory. The issue here is
97 > > > > not some hotkeys but the temperature...I wish to know weather
98 > > > > this one is broken to or not. From what I've read on the
99 > > > > http://code.google.com/p/aceracpi/ this program/driver is mostly
100 > > > > for the lcd, battery lifetime etc. But being the second laptop
101 > > > > with the same issue makes me wonder...I wish i could compile
102 > > > > this.... --
103 > > > > gentoo-amd64@l.g.o mailing list
104 > > > >
105 > > > > well, we have a little problem about trip points, since the only
106 > > > indicated there is the critical one and you don't have passive ones.
107 > > > well, we'll need to do a little work on the manual scripts to have
108 > > > the fan work and to be sure that the thermal won't reach critical
109 > > > trip point where it would shutdown.
110 > > > i'll take a look and post some scripts that should help. you'll
111 > > > have to be sure that you have installed lm_sensors and cpufrequtils
112 > > > and that you have compiled the cpufreq modules into the kernel or
113 > > > as modules and you'll have them loaded at boot. we'll have to make
114 > > > the processor slow down when the thermal goes too high. also i'd
115 > > > like to know what are the capabilities of your processors:
116 > > > a cat on the /proc/cpuinfo and then on cat
117 > > > /proc/acpi/processor/CPU(x)/info where (x) is the number of the
118 > > > core to know what sort of management it can support. you should
119 > > > have cpu0 and cpu1 if you have a dualcore.
120 > > >
121 > > >
122 > > > --
123 > > > dott. ing. beso
124 > >
125 > > i forgot to mention the other files in the cpu and thermal directory.
126 > > they would help setting up the scripts. also you'll
127 > > need /dev/cpu/microcode, /dev/cpu/cpuid, /dev/cpu/msr, Intel MCE
128 > > features, Intel core2/ newer xeon compiled directly into the kernel
129 > > and not as modules. they're in the processor types and features of
130 > > the kernel. also you'll need the following from the power management
131 > > options:
132 > > - acpi support
133 > > ---> everything compiled into the kernel and not as modules with the
134 > > exception of dock, asus extras, toshiba extras, acpi container, smart
135 > > battery system which are not mandatory.
136 > > - cpu frequency scaling
137 > > │ │ [*] CPU Frequency
138 > > scaling
139 > > │ │
140 > > │ │ [*] Enable CPUfreq
141 > > debugging
142 > > │ │
143 > > │ │ <*> CPU frequency
144 > > translation statistics
145 > > │ │
146 > > │ │ [*] CPU frequency
147 > > translation statistics
148 > > details │ │
149 > > │ │ Default CPUFreq
150 > > governor (userspace) --->
151 > > │ │
152 > > │ │ <M> 'performance'
153 > > governor
154 > > │ │
155 > > │ │ <M> 'powersave'
156 > > governor
157 > > │ │
158 > > │ │ --- 'userspace' governor
159 > > for userspace frequency scaling
160 > > │ │
161 > > │ │ <M> 'ondemand' cpufreq
162 > > policy governor
163 > > │ │
164 > > │ │ <M> 'conservative' cpufreq
165 > > governor
166 > > │ │
167 > > │ │ --- CPUFreq processor
168 > > drivers
169 > > │ │
170 > > │ │ < > AMD Opteron/Athlon64
171 > > PowerNow!
172 > > │ │
173 > > │ │ <*> Intel Enhanced
174 > > SpeedStep (deprecated)
175 > > │ │
176 > > │ │ <*> ACPI Processor
177 > > P-States driver
178 > > │ │
179 > > │ │ --- shared
180 > > options
181 > > │ │
182 > > │ │ [*]
183 > > /proc/acpi/processor/../performance interface (deprecated)
184 > >
185 > > after controlling this and recompiling if necessary reboot (if you've
186 > > recompiled) and do another cat on the thermal trip points to see if
187 > > it shows also other states. if it doesn't we will really have to
188 > > impose the throttling manually when the temperature goes too high.
189 > > we'll use the cpufreq governor to impose the speed when needed and
190 > > then we'll impose throttling (processor suspension) when the thermal
191 > > temp goes too high with it. if your pc supports limits and other speq
192 > > steps we could have it lower the current state to a lower one to cool
193 > > off a bit. but for this there's the need to know what your processor
194 > > can do.
195 > I've just done what you've advised me and ...already my CPU is cooling
196 > down...but I've noticed the following: sensors only detects my CPU
197 > sensor(souldn't there be others?, and yes I've ran sensors-detect), I
198 > can;t seem to be able to to start fancontrol because pwmconfig can't
199 > gind any pwm sensors. Also on you config I seem not to be able to
200 > change my Cpu's freq with kLaptop.Thanks for the help so far!
201 > --
202 > gentoo-amd64@l.g.o mailing list
203 >
204 > what do the files inside /proc/acpi/thermal_zone/ and
205 /proc/acpi/processor/ contain?!
206 for klaptop, you have to first configure it. set everything to conservative,
207 it should raise your processor speed based on your needs. be sure also to
208 add cpufrequtils as a service at boot and to load the eventual modules at
209 boot time by adding them to the /etc/modules.autoload/kernel-2.6 so that
210 they load at boot. without cufrequtils and the modules (if you've build the
211 stuff as modules and you've done it if you've used my config) you won't be
212 able to switch. without rebooting you could open konsole and start
213 cpufrequtils with /etc/init.d/cpufrequtils start and then add it with
214 rc-update add cpufrequtils default and then modprobe cpufreq_powersave &&
215 modprobe cpufreq_conservative && modprobe cpufreq_performance. now you
216 should be able to switch them with klaptop. don't use kpowersaved since it
217 doesn't work anymore or at least on my pc it cannot find acpid started.
218 if you'd like a monitor for kde there are different solutions:
219 - one is superkaramba with some theme like aero-aio
220 - kima which is directly included into the kicker as an applet and can
221 monitor thermal, processor temp, processor load, uptime, battery and
222 processor and /proc speed. i prefer this solution since it's faster to see
223 and never gets covered by apps letting me see always the state of the
224 system.
225 for lm_sensors instead, is quite ok to not have fan control since the fan on
226 a notebook is not usually connected to some control sensor but is controlled
227 directly by acpi. on notebooks usually you might find some monitor for cpu
228 core, for some removable media like pccards and nand devices like mmd. the
229 only thing that is useful is the core processor monitor which gives you the
230 temp of the core(s) and it lets you have an idea of how your processor works
231 . remember that thermal temp might be different and usually is higher than
232 core temp.
233 also some helpful utils for kde are: klipper (fabulous klipboard); kompose
234 (osx kompose changer), ksynaptic (if you have synaptic or alps touchpads
235 that usually get installed in notebooks), knetworkmanager + networkmanager
236 and the new kde4 like kicker that includes a built-in search module that
237 improves usability of kde. other useful kicker applets are the shutdown and
238 block applets, the kmixer applet (this lets you remove from start kmix), the
239 show desktop applet and the trash can applet.
240 also for full kde experience i suggest kaffeine + xine (not 1.1.10 since it
241 has some problems with external linkage) and amarok + xine. install xft and
242 cairo with svg and pdf flags and search for the font antialiasing wiki that
243 was on xeffects if i remember right.
244 also ksplash-engine-moodin is wonderful for personalizing the ksplash and
245 oxy-cursors from flameeyes-overlay are wonderful cursor themes.
246 if you like osx be sure to search for a baghira how to and on how to make
247 kde identical to osx (don't use kxdocker, though). and before using compiz
248 be aware that ati drivers don't work well with it. for tuning ati drivers
249 visit phoronix forums and you'll have a lot of info about them.
250
251
252 --
253 dott. ing. beso

Replies

Subject Author
Re: [gentoo-amd64] new laptop ionut cucu <cuciferus@×××××.com>