Troubleshooting Sony Vaio overheating in Ubuntu

Note: This is a techy post, and may not be of interest to most of the readers. If you're having a laptop and is facing overheating/fan-control problems in Ubuntu, read on.

About two months of hacking into my new Sony Vaio, and the girl is still HOT. Literally. :|

The problem
Performance of Vaio in Ubuntu 10.04 lucid and Windows 7 Home Basic had their inherent differences. One thing that riddled me from the beginning was the overheating while working in Ubuntu.
On battery power, Windows gives a fair 4 hours time, whereas Ubuntu cuts it down to less than 2.5 hours. The CPU fan seems to be restless in Ubuntu even when the laptop is pretty idle, while Windows keeps it calm and cool.

So after Ubuntu started making much noise last day, I went deeper into the topic.
The CPU temperature in Windows can be checked using Core Temp. Windows managed to keep it around 45°C.

To check temperature in Ubuntu we can install lm-sensors. It even provides us with a panel applet. To my surprise, Ubuntu started out with a temperature of 50°C and it never went lower than this. Rather, in a short while it went up to 55°C. Rebooting the Vaio to Windows dramatically cooled down the CPU. Now there's a bit of trouble!

Sensors applet in Ubuntu - before

One of my friends has a Dell laptop, and he said that the situation is just the opposite for him, where Ubuntu is cooler and gives more time on battery. A bit of Googling pointed to more people suffering from the same problem with Vaio and Ubuntu. Obviously I ruled out the situation as a Vaio-Ubuntu thing.

But then a spontaneous thought popped in my mind. There was yet another difference between our laptops - I had a premium graphics card (ATI Radeon HD 5145). A little bit of analysis proved that the problem lies in the driver for the graphics card. We just need to install proprietary drivers rather than open-source ones.

I had installed ATI proprietary drivers as mentioned here in the last part. But the lsmod command showed the radeon module in the list, which meant: Ubuntu is still using the built-in open source radeon module. Which also meant that the above method I used for installing proprietary drivers didn't work correctly - the kernel modules weren't properly installed.
After some trial and error, I figured out how the drivers from ATI can be installed correctly.

Installing proprietary radeon drivers - the proper way
Provided you have downloaded the drivers from the official website, run the following commands:

$ sudo chmod a+x ./
$ sudo ./

In the installer window, select Install drivers option, and then Automatic option. After this, run the following commands:

$ sudo aticonfig --initial -f
$ sudo aticonfig --input=/etc/X11/xorg.conf --tls=1

After this, running the lsmod command should give you a list with the fglrx module.

The result
After the proprietary drivers are installed, the graphics during boot are bigger and kind of distorted. But after booting up, everything looks normal. Most importantly, the temperature problem seems to be solved! The starting temperature is now around 40°C :)

Sensors applet in Ubuntu - after

Was this post useful to you ? Let us know ^_^


Windows is still more efficient in power saving than Ubuntu, as far as Vaio is concerned. The problem lies with the power and temperature management in the GPU, rather than the CPU. For this, we can only hope for the day when hardware driver manufacturers show more support towards Ubuntu.


  1. Phew!!! Vaio does generate a bit more heat. So take care. Have sufficient space for ventilation.

  2. @ Insignia
    Ah, the inevitable tensions of family life! Being single was awesome, though lonely ;)

  3. i have similar problems with ubuntu on my hp dv6. but since i don't use too much ubuntu i've ignored this for a while. Now i'm planning on installing ubuntu on my dell... i hope it won't be a problem...

  4. I would happily admit that I have no idea what you are talking about :D

    But I know Deepavali is approaching and I am wishing you Happy Dewali!

    Wa ha ha ha ha ha!

  5. @ NIM
    As I said in the post, Ubuntu seems to be working really good with dell. Again, the overheating and stuff would be related to the graphics card. In that case, you can quite simply install proprietary drivers using :
    System -> Administration -> Hardware drivers

    Simple & intuitive! And lets hope for the best.

  6. @ Shadow
    Oh you're keeping an eye on the festivals dates in India? Nice!
    Actually Diwali is not extensively celebrated around my state. But thanks anyhow :)

  7. Hey iv got the same laptop..
    and a similar problem..
    over heating..
    Im on Ubuntu 11.04 And it scares me with the loud fan speeds and heat waves.
    iv read ur post on heating .. but can you link me to the drivers that i have to install ? .. i cudnt find them on AMD website

  8. @david
    I have updated the 'official website' link in above post. Check it out from that page

  9. Hey ..i got the file..
    downloaded it .. but when i try to install it .. the installer fonts are not visible :(

  10. I followed those steps, and yes I got the exact same result when it comes to distorted and huge font at boot uptime. And the laptop heating problem seems to have been sorted somwhat but not completely.
    A standard solution by Ubuntu devers is here,
    which works fine too.
    They are pretty specific when they say no-one will be able to help you after you install it though.. a little scary.
    I fear irreversible change.. is having permanent damage worth the effort to solve an overheating issue?

    I thank you for all your effort, and it was a great experience trying out your solution for an amateur like me.

  11. Thanks a lot, it really helped
    Now I'm able to "hear" my thoughts and not only the fan.

  12. Could you please try to update this stuff with the latest drivers available, After downloading I get a file with a different name and running the aticonfig command says "command not found"

  13. I have the same problem,even this problem is with sony-VAIO and Linux. i installed the fedora 16 and had the same overheating issue. but now i should follow this post to get rid of this problem.
    And yes is that drivers are available for Fedora too. if yes then please give the links and commands.

    Juned Khan