domenica 24 marzo 2013

Ridurre il consumo energetico di Ubuntu su HP Pavilion G6-1231sl - Installazione driver ATI Radeon HD 6470m

Inizio col dire che questo non è il solito post che descrive come installare i driver ATI su Ubuntu, no perché sia migliore o altro, ma semplicemente perché affronta un problema che non viene discusso molto: l'incompatibilità del kernel linux 3.5 coi driver ATI Catalyst (nel momento in cui sto scrivendo v13.1) per alcuni modelli di schede video. Questa incompatibilità si manifesta in vari modi; molto comune è il riavvio in Safe Graphics Mode, in cui non è possibile nemmeno muovere il puntatore del mouse per selezionare le varie opzioni. La risoluzione di questo problema porta ad un notevole aumento della durata della batteria, in quanto, finalmente, il modulo ibrido grafico viene gestito a dovere.

L'hardware interessato è quello nel titolo, ma non è detto che il metodo seguente non vada bene anche in altri casi simili. Vediamo subito come ovviare:

Guida in parole (breve):

  1. Installare il kernel 3.2.0-39
  2. Installare in driver Catalyst che trovate QUI, o comunque scaricate gli ultimi disponibili da QUI.
  3. Scompattare il file .run e, una volta dati i permessi di esecuzione, costruire i pacchetti per la vostra  distro.
  4. Installare i pacchetti appena creati (Se vi sono problemi assicurarsi di aver risolto tutte le dipendenze).
  5. Configuriamo Xorg affinchè utilizzi i driver appena installati.
  6. Riavviare.
Guida in comandi (con permessi di root):

apt-get install linux-image-3.2.0-39-generic linux-headers-3.2.0-39-generic linux-headers-3.2.0-39

Riavviare e selezionare da Grub il kernel appena installato. Download dei driver come detto sopra e posizioniamoci da terminale nella cartella dove li abbiamo salvati; se ad esempio è in HOME, allora:

cd /home/michele
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
chmod +x amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run

Preciso che se la versione di Ubuntu non è la 12.04, "Ubuntu/precise" va sostituito col nome della versione di Ubuntu installata.

sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --buildpkg Ubuntu/precise
dpkg -i fglrx*.deb

Per configurare Xorg diamo:
aticonfig --initial -f
reboot now

Dovremmo capire che tutto è andato bene innanzi tutto dal fatto che xserver si avvia correttamente, cioè riusciamo a vedere l'interfaccia grafica correttamente; possiamo inoltre controllare che i driver utilizzati siano quelli corretti digitando:

lshw -C video | grep driver

e dovremmo ottenere:

configuration: driver=fglrx_pci latency=0
configuration: driver=i915 latency=0

dove nel mio caso si nota la presenza di due schede grafiche (soluzione ibrida) la prima delle quali usa i driver fglrx, cioè quelli appena installati. Se non fosse così chiedete aiuto :P 
Ultima cosa, possiamo configurare la scheda grafica avviando il software AMD Catalyst Control Centre (anche da terminale con sudo amdcccle).



 


9 commenti:

Anonimo ha detto...

Hi! I just wanted to ask if you ever have any problems with hackers?
My last blog (wordpress) was hacked and I ended up losing several weeks of
hard work due to no backup. Do you have any methods to prevent hackers?


Stop by my website - China-explorer.blogspot.com

Anonimo ha detto...

This is the right site for anybody who hopes to understand this topic.
You understand a whole lot its almost hard to argue with you (not that I really will
need to…HaHa). You definitely put a fresh spin on a subject that has been
discussed for decades. Wonderful stuff, just excellent!


Also visit my web site www.benfatto.lv

Anonimo ha detto...

Renting a car in addition to breathe in acquiring vistas
as well as a healthy dose of fishing, paphos car hire and the town itself called Pano paphos car hire.
Many companies like Avis and Hertz, say that prices are at the to of
the world you are travelling on leisure or business please contact us or check Auriga Crown�s website.
You are free to copy content but you must link back to this
blog and attribute the work to me Alexandros Apostolides.
's venture arm and August Capital, is opening up shop in San Francisco.

Also visit my web site members.linz.iaeste.at

Anonimo ha detto...

Thanks on your marvelous posting! I really enjoyed reading it, you can be a great author.
I will be sure to bookmark your blog and definitely will come back from now on.
I want to encourage that you continue your great writing, have a nice day!


Feel free to visit my blog post: プラダアウトレット

Anonimo ha detto...

Right away I am going away to do my breakfast, when
having my breakfast coming over again to read more news.

Feel free to visit my website sharecash

Anonimo ha detto...

each time i used to read smaller articles which as well clear their motive,
and that is also happening with this post which I am reading at this
time.

Also visit my homepage ... http://www.errandlady.co.za

Anonimo ha detto...

Hi to every one, the contents present at this web page are in fact awesome for
people experience, well, keep up the good work fellows.


my web-site - click here

Anonimo ha detto...

It's remarkable to pay a visit this site and reading the views of all colleagues About this paragraph, while I am also zealous of getting experience.

Anonimo ha detto...

We're a bunch of volunteers and opening a brand new scheme in our community. Your website provided us with valuable info to work on. You have done a formidable process and our entire community can be thankful to you.

Here is my site ... play and get Minecraft for free