How to enable Intel SNA acceleration in Ubuntu

SNA is an architecture of 2D acceleration open source Linux for graphics driver Intel which offers improved performance of the X.Org driver, and therefore a better user experience.

The name comes from the English "Sandy New Bridge Acceleration" and contrary to its name, it not only works for Sandy Bridge, but also for previous generations of hardware.


According to wiki x.org, SNA should work on the Intel i830-I865G chipset and later.

Activate SNA in Ubuntu 12.10

Intel SNA is available in Ubuntu 12.10 without the need to install any additional packages, but it is not enabled by default.

To enable SNA create a file /etc/X11/xorg.conf:

sudo gedit /etc/X11/xorg.conf

Paste the following code and save it:

Section "Device"
Identifier "intel"
Driver "intel"
Option "AccelMethod" "sna"
EndSection

Reboot.

If you want to revert the changes, remove the xorg.conf file:

sudo rm /etc/X11/xorg.conf

Enable Intel SNA on Ubuntu 12.04 (alternative method for Ubuntu 12.10)

For Ubuntu 12.04 (or for Ubuntu 12.10, if the above method didn't work properly), you can use the Xorg Edgers PPA which offers packages with SNA enabled by default for Intel devices.

Warning: this PPA uses Xorg packages for GIT and although I did not run into any problems (I have used it for Ubuntu 12.04 and I am using it now on Ubuntu 12.10), it may crash. Use it at your own risk!

Add the Xorg Edgers PPA with the following command:

sudo add-apt-repository ppa: xorg-edgers / ppa

Next, start the Update Manager (now called Software Updater in Ubuntu 12.10) and update the system. Once the update is complete, log out and log back in or better yet, restart Ubuntu.

If you want to revert the changes and go back to the drivers available in the official Ubuntu repositories, I opened a terminal and wrote:

sudo apt-get install ppa-purge sudo ppa-purge ppa: xorg-edgers / ppa

How to know if the ANS is active

Use this command to see if SNA is active:

grep -i SNA /var/log/Xorg.0.log

If this returns nothing, SNA is not active. If it returns a result then you are in luck. 🙂

I recommend those who use Arch and derivatives to consult the Wiki to activate SNA.

Source: WebUpd8 & Taringa


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Benji sandoval said

    Hello, I already tried it and I just want to point out that in Ubuntu 12.10 when you activate the "expose" (click on the bread icon with two or more windows) there is a graphical error with the close buttons (the new function of Ubuntu 12.10, close windows from expose). Does anyone else have this problem?

  2.   LinezLinux said

    The ppa that you mention does not have packages for Quantal, the Intel driver it provides is the one that comes by default in Ubuntu 12.10.
    Anyway thanks for the input.

  3.   LinezLinux said

    I have been using my hp mini with SNA acceleration for a few days and I have to say that the performance of the equipment has improved ostensibly, games like open arena now work with the graphics at full speed, before halfway and I was limping.

  4.   Let's use Linux said

    Very strange… you say that when activating SNA you disabled the proprietary Wi-Fi drivers?
    Cheers! Paul.

    2012/11/6

  5.   mansanken said

    Good people, I tell you that I did it on my Ubuntu 12.04 and everything but fine but I find that it does not allow me to activate the proprietary drivers of the Wi-Fi card. Can you give me a solution?

  6.   Juan said

    The source in SPANISH is not WebUpd8, it is this and it is translated by me ...

    http://www.taringa.net/posts/linux/15808029/Como-habilitar-aceleracion-SNA-Intel-en-Ubuntu-12_04-o-Sup.html

    A greeting.

  7.   gus malav said

    With the instability of Ubuntu 12.04 And are we going to add an unstable PPA?

  8.   Fernando Munbach said

    No. AMD is a completely different processor brand. This applies only to Intel.

  9.   gmm said

    Thanks for your answer, but what I wanted to say is that the processors of the Intel i5 or i7 family (my laptop has an i5) have a graphics card included in the processor that is used when the graphic requirements are not very great. My question is if this from the SNA would apply to that graphics card included in the processor.

  10.   Lipe Gutierrez Cotapos said

    Adding the ppa in Ubuntu 12.04 and opening the update gesture brings out updates to the 3.5 kernel. Will it not give problems when updating to this version of the kernel being on 12.04?

  11.   Lipe Gutierrez Cotapos said

    The same here.

  12.   Fernando Munbach said

    My result:

    intel (0): SNA initialized with SandyBridge backend

    For now, except for Chrome a bit faster, I don't notice anything (I just restarted X).

  13.   gmm said

    My laptop has an Intel card integrated in a chipset plus AMD Radeon HD 6490M and it is assumed that it uses one or the other according to the graphic requirements at all times. Does what you say in this news also work for me?

  14.   dinpel said

    Thanks I get this I suppose it will be activated.

    sergi @ sergi-portable: ~ $ grep -i SNA /var/log/Xorg.0.log
    [13.420] (II) intel (0): SNA compiled: xserver-xorg-video-intel 2: 2.20.9-0ubuntu2 (Timo Aaltonen)
    [13.420] (**) intel (0): Option "AccelMethod" "sna"
    [14.182] (II) intel (0): SNA initialized with Broadwater backend
    sergi @ sergi-laptop: ~ $

    Greetings.

  15.   John Manuel Aguero said

    I would like to add that this is the best advice I have gotten anywhere on the internet to solve the problem of resolutions and also the frequency of updates, especially for gamers who need a good optimization in games so much !!! Thank you very much for your tremendous contribution to me it worked excellently !!! I hope others too !!!

  16.   Marvin said

    it worked for me on Linux Mint 14 using the method for 12.10 since this is the distribution is the base of my mint distribution

    marvin @ host ~ / Documents $ grep -i SNA /var/log/Xorg.0.log
    [20.494] (II) intel (0): SNA compiled: xserver-xorg-video-intel 2: 2.20.12-0ubuntu0 ~ quantal (Rodrigo Moya)
    [20.494] (**) intel (0): Option "AccelMethod" "sna"
    [20.791] (II) intel (0): SNA initialized with Ironlake backend