As we all know, one of the most common problems in Linux has to do with the graphic support of our cards. Many times we do not know whether to use the free drivers, or the owners provided by the manufacturers. Moreover, we often have problems with both types of drivers and here we no longer know very well where the problem comes from.
The fact is that many times the problem has to do with the graphic acceleration of our cards, A problem that usually affects some Intel graphics cards and their respective drivers, such as Intel 82,852 / 855GM. In this post we want to show you how you can speed up your Intel graphics card step by step and in a very simple way. Also, following the tutorial, you will be able to familiarize yourself with the use of the terminal, if you are still a little annoyed. Let’s get started.
First of all we need to be clear about how we will solve the problem. Basically, what we will do will be change the acceleration architecture from our SNA cards to UXA, the two latest graphics acceleration architectures developed by Intel.
What is UXA and SNA?
In 2009, Ubuntu began to use the graphics acceleration architecture UXA (UMA Acceleration Architecture) on its Intel cards to support Xorg, and later, this one was replaced for architecture SNA (Sandy Bridge’s New Acceleration). So the change we will see in this little tutorial is basically going back to the previous architecture. The truth is that it usually solves the most common graphics problems we usually have (slow video playback, rare color changes on the screen …). Well, there we go.
Switching from SNA to UXA
the first step, Or rather one of the previous steps, is know what kind of acceleration we have. To do this we can display the contents of the file Xorg.0.log within the directory / Var / log / through the program cat. Also, if we use pipes (like grep) We can filter the result and hit much finer what we really want to show. That is, to know the type of acceleration of our cards we just need to run:
cat /var/log/Xorg.0.log | grep -i sna
The output should be something like this:
Then we have to create a configuration file called xorg.conf within the directory / Etc / X11. To do this we can go to the directory in question through cd and then create an empty text file using touch. To do this we execute the following commands:
cd / etc / X11
The next step is write the corresponding content inside the file xorg.conf which we just created, which will change the acceleration architecture of our graphics cards from SNA to UXA. The content is as follows:
Identify “Intel Graphics”
“AccelMethod” option “UXA”
We can copy and paste it manually inside the file xorg.conf, Which is inside directory / Etc / X11 or vice versa, we can use the command I find i redirect your output to the file in question (Using>), which we can do by running the following command:
echo -e ‘Device section n Identify “Card0” n “Intel” driver n “UXA” “AccelMethod” option nEndSection’> /etc/X11/xorg.conf
Now all we have left is to save the file i restart the system. Once we log back in, we can see that the acceleration architecture of our graphics cards changed successfully. To do this we can use the command we executed at the beginning, but now instead of filtering the output by “sna”, we can filter it by “UXA” and so we see if it has changed or not, is to that is, we execute the following command:
cat /var/log/Xorg.0.log | grep -i UXA
Now we should see an output similar to the one we showed you in the initial screenshot, but instead of putting SNA in red we should see UXA. This means that our PC is already using this latest architecture.
Now, how can we reverse the changes? Well it’s very simple, just we delete the file xorg.conf and restart the system so that the configuration returns to its previous state. We can delete the running file rm (of remove), As follows:
If you had graphics issues that prevented your PC from working properly and maximizing your graphics potential, now these issues they should have already disappeared. In addition, all the steps that have been followed in the tutorial could also have been done graphically, using a file manager (such as Nautilus, for example) and doing everything manually (copy-paste, create-delete files …).
Despite this, the terminal is a very powerful tool and from Ubunlog we want to do everything possible so that you become familiar with it and understand that the control we can have over our PC through the terminal is very large. If you continue to have any issues after completing the tutorial, feel free to leave us your concerns in the comments section and we will do our best to help you.