Search This Blog

Thursday, April 12, 2012

Ubuntu 11.10 and Sony Vaio SB

After more than 2 weeks of Internet searching, I can now say that the performance of my new Sony Vaio is acceptable with Ubuntu. I'm writing this blog to save time spread to inforamtion.


1. Low CPU Cycles even though the Processor is i5 2.4GHz with Turbo boost 3.0GHz
2. High Temperature (70 C) even though of light computations (firefox and banshee).
3. Scroll is not working in Ubuntu

Regarding the cycles:

     i5 has a stepping technology to control the power consumption with the utilization, the default frequency is 800 MHz. the problem that the default power plan (ondemand) increases the frequency at 95% utilization which quite late.


install the following packages

   sudo apt-get install cpufrequtils    

this will allow you to know/set the current CPU cycles for each core

to know the frequency write


You can do two things:

  • Change the plan from ondemand to performace, but this will increase the temperature and drain power faster.
    •    sudo cpufreq-set -g performance -r        
  • Decrease the threshold for stepping the frequency to 50% CPU utilization
    • # echo -n 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
      • to set this everytime Ubuntu starts add 'sleep 10;the above line' to /etc/rc.local before exit 0

Regarding the temperature:


The temperature of the laptop is always round 70 even with every low work load (firefox) and the fans are always work with a loud noise.
The laptop comes with 2 VGA cards (integrated Intel and an ATI Card).Windows is able to manage when to use each so using a word processor or writing this blog, it uses Intel. In 3D Games, it starts the ATI. Ubuntu is not as smart as Windows.

for best low heat production use: ATI propriety driver. In version 12 the driver is able to control the Intel card
  • Download the latest driver from AMD site.
  • Install it using the following command
    • sudo ./
    • For detailed instructions, visit this page
      • The most important steps are:
        • sudo /usr/lib/fglrx/switchlibGL amd
        • sudo aticonfig --initial -f --adapter=all 
        • remove the 'Device' section from /etc/X11/xorg.conf
        • to use integrated card:
          • aticonfig --px-igpu
        • to use dedicated card (ATi):
          • aticonfig --px-dgpu
        • edit /etc/modprobe.d/blacklist.conf
          • add 'blacklist radeon' to stop open source driver
        • sudo /etc/init.d/lightdm restart
Regarding scroll:

follow the instruction is this blog.

No comments:

Post a Comment