Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Since installing Ubuntu 12.04, I am experiencing low performance on graphic programs, including video playbacks, etc.

As I have checked the intel driver of mine is already at its latest version. It's really occuring meanwhile playback of videos or web-flash videos (youtube, etc) OS is being logged out automatically and just display an error reporting of Xorg windows for me. I can not actually playback hd videos with the normal frame rate as well. here are some initiation of my graphic card details :

*-display:0             
   description: VGA compatible controller
   product: Mobile 4 Series Chipset Integrated Graphics Controller
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 07
   width: 64 bits
   clock: 33MHz
   capabilities: msi pm vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:45 memory:f6c00000-f6ffffff memory:e0000000-efffffff ioport:efe8(size=8)
*-display:1 UNCLAIMED
   description: Display controller
   product: Mobile 4 Series Chipset Integrated Graphics Controller
   vendor: Intel Corporation
   physical id: 2.1
   bus info: pci@0000:00:02.1
   version: 07
   width: 64 bits
   clock: 33MHz
   capabilities: pm bus_master cap_list
   configuration: latency=0
   resources: memory:f6b00000-f6bfffff

and the intel model:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

Edited: A little more information :

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.3 LTS
Release:    12.04
Codename:   precise

Username Info:

Linux amir-laptop 3.2.0-53-generic-pae #81-Ubuntu SMP Thu Aug 22 21:23:47 UTC 2013 i686 i686 i386 GNU/Linux

Xorg info :

ii  xserver-xorg-video-intel               2:2.17.0-1ubuntu4.4                       X.Org X server -- Intel i8xx, i9xx display driver
share|improve this question
    
How did you check that driver is the latest? –  Mitch Sep 6 '13 at 17:53
    
@Mitch, I used this (launchpad.net/~xorg-edgers/+archive/ppa) ppa to bring the latest intel-xorg driver and then I upgrade && update it –  Amir Sep 6 '13 at 18:06
    
If you're running 12.04 32bit, you may want to try the Intel Graphics Installer. –  Mitch Sep 6 '13 at 18:15
2  
I'm really sorry that that happened to you :( I just wish that you haven't tried to remove libglb and update it. Take a look at This, see if it helps you recover. Please let me know if you need anymore help. –  Mitch Sep 7 '13 at 19:28
1  
@Amir To fix the problem of many inadvertently removed packages, see Andrea Corbellini's answer to How to fix Ubuntu after accidentally uninstalling many packages?. (Of course this question is not a duplicate of that; that's just the solution to accidentally removing lots of packages.) –  Eliah Kagan Sep 7 '13 at 20:47
show 9 more comments

1 Answer

up vote 6 down vote accepted

Follow these steps precisely!

  1. Run following command in terminal and tick all check boxes under Ubuntu Software and Updates tabs. If already ticked then leave it.

    sudo software-properties-gtk
    

    then update your repository:

    sudo apt-get update
    
  2. Install Linux Kernel 3.8.0 by selecting following packages in Synaptic:

    linux-generic-lts-raring
    linux-headers-3.8.0-30
    linux-headers-3.8.0-30-generic
    linux-headers-generic-lts-raring
    linux-image-3.8.0-30-generic
    linux-image-generic-lts-raring
    

    you can also install Kernel 3.8.x by executing following command:

    sudo apt-get install linux-generic-lts-raring linux-headers-3.8.0-30 linux-headers-3.8.0-30-generic linux-headers-generic-lts-raring linux-image-3.8.0-30-generic linux-image-generic-lts-raring
    

    Once installed execute following command to update-grub and reboot your system(be sure to select Kernel 3.8.0.30 from your grub menu):

    sudo update-grub && sudo reboot
    

    Before trying to 3rd step I just want you to try 4th step. If it fixes your problem then no need to install latest Xserver-Xorg packages so you can skip 3rd step.

  3. Install all -lts-raring packages for Xserver-Xorg using following command:

    sudo apt-get install libgl1-mesa-dri-lts-raring libxatracker1-lts-raring xserver-xorg-core-lts-raring xserver-xorg-input-all-lts-raring xserver-xorg-input-evdev-lts-raring xserver-xorg-input-mouse-lts-raring xserver-xorg-input-synaptics-lts-raring xserver-xorg-input-vmmouse-lts-raring xserver-xorg-input-wacom-lts-raring xserver-xorg-lts-raring xserver-xorg-video-all-lts-raring xserver-xorg-video-ati-lts-raring xserver-xorg-video-cirrus-lts-raring xserver-xorg-video-fbdev-lts-raring xserver-xorg-video-intel-lts-raring xserver-xorg-video-mach64-lts-raring xserver-xorg-video-mga-lts-raring xserver-xorg-video-modesetting-lts-raring xserver-xorg-video-neomagic-lts-raring xserver-xorg-video-nouveau-lts-raring xserver-xorg-video-openchrome-lts-raring xserver-xorg-video-r128-lts-raring xserver-xorg-video-radeon-lts-raring xserver-xorg-video-s3-lts-raring xserver-xorg-video-savage-lts-raring xserver-xorg-video-siliconmotion-lts-raring xserver-xorg-video-sis-lts-raring xserver-xorg-video-sisusb-lts-raring xserver-xorg-video-tdfx-lts-raring xserver-xorg-video-trident-lts-raring xserver-xorg-video-vesa-lts-raring xserver-xorg-video-vmware-lts-raring libxrandr-ltsq2 x11-xserver-utils-lts-raring xserver-common-lts-raring
    

    Why this list is so long because I ensure that you install all lts-raring packages for xserver-xorg. I recommend you to copy and paste it in terminal. It will remove already installed Xserver-Xorg packages which was meant for previous kernel. so press y when it prompts to remove such packages.. Run this command to ensure you installed all:

    sudo apt-get install --install-recommends xserver-xorg-lts-raring
    
  4. Now execute following commands:

    sudo apt-get autoremove
    sudo apt-get autoclean
    sudo dpkg-reconfigure -a
    sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep "^xserver" | tr '\n' ' ')
    

    If last step shows some error, then execute these commands sudo apt-get -f install, sudo apt-get --purge remove, sudo apt-get autoremove && sudo apt-get autoclean.

    Then again try to run the command that gives you error. If still it gives you the same error then replace that command with this one: sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep 'lts-raring' | tr '\n' ' ').

    Then continue to next:

    sudo update-initramfs -u
    

    Then restart your system again:

    sudo reboot
    
  5. After reboot your system should work great.

A short description of all steps mentioned above:

1st Step ensures that you'll able to download lts-raring packages.

In 2nd step you are installing a good stable kernel for your system, you are using so old kernel: 3.2.x.

3rd Step will install Xserver-Xorg packages including graphics card driver which is best supported by Kernel 3.8.0

4th Step is used to re-configure the packages installed in your system to latest kernel just you installed.

It is not that much tough, I did it without any problem. And my system works great now! If you get any problem or error at any particular step, just reply mentioning that command with the error. I'll be waiting for your reply..

share|improve this answer
    
I have reached till step 4, but I am receiving : "/usr/sbin/dpkg-reconfigure: xserver-xorg is broken or not fully installed" by executing the second dpkg-reconfigure command, what do you suggest ? –  Amir Sep 12 '13 at 13:33
    
Did you reach step 4 by completing step 3? It is important to know! and can you copy and paste the command here which gives you that message..? –  Saurav Kumar Sep 12 '13 at 13:36
    
Yes, I did them one by one sequentially. amir@amir-laptop:~$ sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep "^xserver" | tr '\n' ' ') /usr/sbin/dpkg-reconfigure: xserver-xorg is broken or not fully installed –  Amir Sep 12 '13 at 13:42
1  
Great! You are near to fix your problem!! :) run these commands in series: sudo apt-get -f install, sudo apt-get --purge remove, sudo apt-get autoremove && sudo apt-get autoclean. Then again try to run the command that gives you error. If still it gives you the same error then replace that command with this command: sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}' | grep 'lts-raring' | tr '\n' ' ') Then restart your system.. Hope after restarting your system.. Your problem would be solved.. and don't forget to execute command after that.. –  Saurav Kumar Sep 12 '13 at 13:50
1  
@Amir: If everything is working fine, then I recommend you not to create /etc/X11/xorg.conf. I've edited my answer verify it, and edit if I missed something.. –  Saurav Kumar Sep 12 '13 at 14:36
show 12 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.