Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Windows 7, (when I was running it) I would play triple A games such as Star Wars the force unleashed, The Elder Scrolls Skyrim, etc etc, and never once did my GPU overheat. But when I installed Ubuntu 11.10, after prolonged use, without even playing a single game, my screen would go black, nothing would work (as far as input), and it would appear frozen, as if it was overheating. I hear it's the GPU overheating, but if it isn't, what could it be? And any way it can be prevented?
Is the bottom of the laptop hot to touch? My guess would be the cpu rather than the gpu, it is overheating because the kernel module to increase and decrease the cpus frequency isn't loaded or the cpu frequency governor isn't set to ondemande.
What cpu have to got? What is the output of lsmod?
Is the bottom of the laptop hot to touch? My guess would be the cpu rather than the gpu, it is overheating because the kernel module to increase and decrease the cpus frequency isn't loaded or the cpu frequency governor isn't set to ondemande.
What cpu have to got? What is the output of lsmod?
It is hot to the touch. It's a Intel® Core™2 Duo CPU P8700 @ 2.53GHz × 2. And you lost me after that haha
It is hot to the touch. It's a Intel® Core™2 Duo CPU P8700 @ 2.53GHz × 2. And you lost me after that haha
run the command "lsmod" in terminal, you may need to run it with sudo..as in "sudo lsmod". You should get an output similar to this: (copy and paste and post that here.)
It is hot to the touch. It's a Intel® Core™2 Duo CPU P8700 @ 2.53GHz × 2. And you lost me after that haha
run the command "lsmod" in terminal, you may need to run it with sudo..as in "sudo lsmod". You should get an output similar to the code below. (copy and paste and post that here.)
Also, is your fan running in the machine? You may consider turning it to always on in bios to keep the computer cooler.
run the command "lsmod" in terminal, you may need to run it with sudo..as in "sudo lsmod". You should get an output similar to the code below. (copy and paste and post that here.)
Also, is your fan running in the machine? You may consider turning it to always on in bios to keep the computer cooler.
Ok.. Good, now could you run the following and paste the output?
ls /lib/modules/$(uname -r)/kernel/drivers/cpufreq/
(you may have to install cpufrequtils package: ) cpufreq-info
Edit: Sorry dident see your last part, the data that is displayed is what modules the kernel currently has loaded. If you look and see for example mine has "acpi_cpufreq" (your intel should be using this or the speedstep-centrino module as far a I know), our suspicion is that either your freq settings are incorrect or...the modules are never loaded. If these modules are never loaded your kernel cannot communicate with the CPU to set frequencies "on demand"(meaning it stays at low speeds and will be sped up when the system needs it.) right now it seems that the cpu is set full blast all the time causing the computer to get very hot. In a windows comparison you could think of modules being the "Drivers" for Linux.
I see, all options are supported, cpu-freq see's the processor meaning you loaded the right modules. I'm assuming you loaded the cpufreq_ondemand module as well.
A more direct approach:
Code:
cpufreq-set -c 0 -g ondemand -u 1.60Ghz -d 200Mhz
check and see if that changes it under scaling_gov..
(Sets on the single processor you have , and also sets the highest and lowest paramaters to it..)
If that fails, change it directly using this command:
Code:
echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
you can watch and see if the frequency changes with this command as well..
It is hot to the touch. It's a Intel® Core™2 Duo CPU P8700 @ 2.53GHz × 2. And you lost me after that haha
LOL, sorry I was a bit terse As D-P has stated lsmod lists the modules currently within the kernel. The CPU needs to dynamically control its frequency to keep the temperature down but it can't do this unless the module/driver in running within the kernel. From your output of lsmod it doesn't look like the CPU driver is loaded in the kernel, thus you need to load it by doing, as root,
modprobe acpi_cpufreq
Also, you could try modprobe fan, for me that gets the fan to go on and off to keep the laptop quiet. Once the CPU module is loaded you need to make sure the governor, the code which decides how the CPU frequency will change, is set to ondemand. The simplest way to do this is in a terminal enter
If it says ondemand then everything should be fine.You can add an applet to your desktop to show the current CPU frequency, on gnome just right click and go Add to panel, then add the CPU frequency monitor. Keep an eye on the temperature of your laptop as excessive heat can really mess them up.
Pretty much expected that.
try and see setting it to another setting will work..(ie conservative)
Code:
cpufreq-set -r -g conservative
If that works and is in scaling_gov then we can assume that it is only ondemand that has the issue. If it doesn't, you could try another driver, or see if a gui program is setting it (see below)
You might want to check through dmesg
Code:
dmesg | grep ondemand
and see if you see something that looks like this:
Code:
kernel: [1601494.117402] ondemand governor failed, too long transition latency of HW, fallback to performance governor
The last idea I have is maybe there is a gui program that is setting these parameters. I would look through all settings in your Desktop Manager that deal with the processor or power saving settings...
In either case, you could try two things..
1. Try another driver...
Remove the current p4_clockmod from your modules..
Code:
modprobe -r p4_clockmod
and load the acpi_cpufreq driver..
Code:
modprobe acpi_cpufreq
This might fix your problem, p4-clockmod is known to have issues with ondemand..
2. Run user-land CPU control...
if you look at http://wiki.debian.org/HowTo/CpuFrequencyScaling, near the bottom you should see "The userland-based governors (cpufreqd, cpudyn, powersaved, powernowd ...) are usually not needed any more." You could try to use one of those to control the freq.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.