<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Spina</id>
	<title>cchtml.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Spina"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/Spina"/>
	<updated>2026-04-30T12:53:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Category:Distributions&amp;diff=8979</id>
		<title>Category:Distributions</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Category:Distributions&amp;diff=8979"/>
		<updated>2012-09-02T13:41:57Z</updated>

		<summary type="html">&lt;p&gt;Spina: Reverted edits by 23.21.117.82 (talk) to last revision by Mooninite&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The list of GNU/Linux flavors that are documented for the ATI Linux driver.&lt;br /&gt;
&lt;br /&gt;
Although ATI can only actively support a small number of distributions, distribution vendors are encouraged to work with ATI to ensure that native packages can be created for their distribution. The current actively supported distributions are the Red Hat Enterprise Linux and Novell/SuSE suite of products.&lt;br /&gt;
&lt;br /&gt;
Also note that the End User License Agreement explicitly provides for repackaging and redistribution of ATI&#039;s drivers. If your favourite distribution is not listed below, please work with them to contact ATI and either get support in the installer, or natively in the distribution.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Category:Distributions&amp;diff=8978</id>
		<title>Category:Distributions</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Category:Distributions&amp;diff=8978"/>
		<updated>2012-09-02T13:40:21Z</updated>

		<summary type="html">&lt;p&gt;Spina: Undo revision 8977 by 23.21.117.82 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Забавно, тоже держу панель actions внизу прикрепленной, если что-то делаю в Flash IDE. Вообще, имхо, CS4 опять рассчитан только на аниматаров и дизайнеров. С редактором кода все обстоит по-прежнему ужасно. Причем, зачем-то добавили нормальный Project Panel  видимо, раньше чем в CS6 нам нормального редактора кода не дождаться.Кстати, а под Маком Вы на чем пишете классы? TextMate? Flex Builder?&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=7973</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=7973"/>
		<updated>2012-01-22T16:34:00Z</updated>

		<summary type="html">&lt;p&gt;Spina: Undo revision 7972 by 66.41.99.209 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione &amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;, anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
L&#039;installer pu&amp;amp;ograve; essere scaricato direttamente dal [http://support.amd.com/us/gpudownload/Pages/index.aspx sito ufficiale].&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit (Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario avere anche i sorgenti del kernel attualmente in uso.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per questi driver lo SlackBuild produce due pacchetti (vedere [[#Cosa contengono i pacchetti creati?]]).&lt;br /&gt;
=== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ===&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ===&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta eseguire:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti, basta un semplice:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si pu&amp;amp;ograve; usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
=== Cosa contengono i pacchetti creati? ===&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata. In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-module ====&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-x ====&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
A partire da questi driver lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; produce un solo pacchetto, chiamato &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, che pu&amp;amp;ograve; essere creato con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Si pu&amp;amp;ograve; anche creare ed installare direttamente il pacchetto con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Nota|Il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --initial&lt;br /&gt;
pu&amp;amp;ograve; essere di aiuto. Eseguire &#039;&#039;&#039;aticonfig&#039;&#039;&#039; senza opzioni per maggiori informazioni}}&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Durante l&#039;installazione del pacchetto &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; alcune librerie che sarebbero sovrascritte vengono rinominate in FGL.renamed.nome_libreria. Per disinstallare il pacchetto in maniera &amp;quot;pulita&amp;quot; si dovrebbe eseguire il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
oppure direttamente lo script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
o, ancora, con un qualsiasi installer &amp;gt;= 11.3, con:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Dopo di ci&amp;amp;ograve; rimarr&amp;amp;agrave; solo la directory &#039;&#039;/etc/ati&#039;&#039; con i file di configurazione dei driver.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch baster&amp;amp;agrave; quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem. Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accadere che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;edit by 414N&amp;gt;&amp;gt;: Questo problema può presentarsi anche in caso di kernel ricompilati manualmente ai quali si è aggiunta una qualche tag in fase di configurazione.&lt;br /&gt;
Per risolvere è sufficiente un make prepare nella directory dei sorgenti del kernel in uso, in modo da avere gli header necessari allo script (make andrebbe a compilare tutto il kernel).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Ringraziamenti =&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild. Vorrei anche ringraziare tutti gli utenti della community [http://www.slacky.eu Slacky] per i feedback e consigli.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=7969</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=7969"/>
		<updated>2012-01-22T16:03:24Z</updated>

		<summary type="html">&lt;p&gt;Spina: Undo revision 7968 by 200.176.13.217 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione &amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;, anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
L&#039;installer pu&amp;amp;ograve; essere scaricato direttamente dal [http://support.amd.com/us/gpudownload/Pages/index.aspx sito ufficiale].&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit (Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario avere anche i sorgenti del kernel attualmente in uso.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per questi driver lo SlackBuild produce due pacchetti (vedere [[#Cosa contengono i pacchetti creati?]]).&lt;br /&gt;
=== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ===&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ===&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta eseguire:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti, basta un semplice:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si pu&amp;amp;ograve; usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
=== Cosa contengono i pacchetti creati? ===&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata. In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-module ====&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-x ====&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
A partire da questi driver lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; produce un solo pacchetto, chiamato &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, che pu&amp;amp;ograve; essere creato con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Si pu&amp;amp;ograve; anche creare ed installare direttamente il pacchetto con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Nota|Il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --initial&lt;br /&gt;
pu&amp;amp;ograve; essere di aiuto. Eseguire &#039;&#039;&#039;aticonfig&#039;&#039;&#039; senza opzioni per maggiori informazioni}}&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Durante l&#039;installazione del pacchetto &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; alcune librerie che sarebbero sovrascritte vengono rinominate in FGL.renamed.nome_libreria. Per disinstallare il pacchetto in maniera &amp;quot;pulita&amp;quot; si dovrebbe eseguire il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
oppure direttamente lo script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
o, ancora, con un qualsiasi installer &amp;gt;= 11.3, con:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Dopo di ci&amp;amp;ograve; rimarr&amp;amp;agrave; solo la directory &#039;&#039;/etc/ati&#039;&#039; con i file di configurazione dei driver.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch baster&amp;amp;agrave; quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem. Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accadere che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;edit by 414N&amp;gt;&amp;gt;: Questo problema può presentarsi anche in caso di kernel ricompilati manualmente ai quali si è aggiunta una qualche tag in fase di configurazione.&lt;br /&gt;
Per risolvere è sufficiente un make prepare nella directory dei sorgenti del kernel in uso, in modo da avere gli header necessari allo script (make andrebbe a compilare tutto il kernel).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Ringraziamenti =&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild. Vorrei anche ringraziare tutti gli utenti della community [http://www.slacky.eu Slacky] per i feedback e consigli.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware_SlackBuild_esterno_(ITA)&amp;diff=7944</id>
		<title>Slackware SlackBuild esterno (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware_SlackBuild_esterno_(ITA)&amp;diff=7944"/>
		<updated>2012-01-22T12:44:46Z</updated>

		<summary type="html">&lt;p&gt;Spina: Ripristinata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Slackware: SlackBuild esterno (ITA)]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=7942</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=7942"/>
		<updated>2012-01-22T12:31:33Z</updated>

		<summary type="html">&lt;p&gt;Spina: Ripristinata la versione modificata da me in maniera anonima&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found, in italian, [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux here]).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
= Proprietary ATI Drivers and ATI Catalyst =&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
= Getting all the necessary =&lt;br /&gt;
The installer can be downloaded from the [http://ati.amd.com/support/driver.html official web site] directly.&lt;br /&gt;
{{Warning|Warning|If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.}}&lt;br /&gt;
{{Helpful Hint|Note|Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package creation process to choose the appropriate files.&lt;br /&gt;
This means that the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...).}}&lt;br /&gt;
&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source in use.&lt;br /&gt;
&lt;br /&gt;
= How to create Slackware packages =&lt;br /&gt;
== ATI Proprietary drivers or ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
For these drivers will be produced two packages (see [[#What do created packages contain?]]).&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
=== What do created packages contain? ===&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system. In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
==== Creating only fglrx-module package ====&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creating only fglrx-x package ====&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Since these drivers the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; make only one package, named &#039;&#039;fglrx-&amp;lt;version&amp;gt;-&amp;lt;architecture&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, that you can create with:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
You can also make and install the package directly with:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Minimal X.Org server configuration =&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Note|The command:&lt;br /&gt;
 #&amp;gt; aticonfig --initial&lt;br /&gt;
can help you. Do &#039;&#039;&#039;aticonfig&#039;&#039;&#039; without options for more infos.}}&lt;br /&gt;
&lt;br /&gt;
= Installation checking =&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Remove installed packages =&lt;br /&gt;
== ATI Proprietary drivers or ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
{{Be Careful|Be Careful|The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.}}&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
During installation of the package &#039;&#039;fglrx-&amp;lt;version&amp;gt;-&amp;lt;architecture&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; some libraries that would be overwritten are renamed as FGL.renamed.library_name. Due to remove this package &amp;amp;ldquo;cleanly&amp;amp;rdquo; you should do:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
or, directly with the script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
or, also with any installer &amp;gt;= 11.3, with:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Will remain only the directory &#039;&#039;/etc/ati&#039;&#039; with the configuration files.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 and kernel == 2.6.36.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
You need to enable the &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; in your kernel configuration. You find it under the &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039; menu. You can check if this option is enable with:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Acknowledgement =&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild. Thanks also at all the [http://www.slacky.eu/ Italian Slackware Community] users for their feedback and support.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=7940</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=7940"/>
		<updated>2012-01-22T12:25:01Z</updated>

		<summary type="html">&lt;p&gt;Spina: Rirpistinato il wiki all&amp;#039;ultima versione modificata da 414N&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione &amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;, anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
L&#039;installer pu&amp;amp;ograve; essere scaricato direttamente dal [http://support.amd.com/us/gpudownload/Pages/index.aspx sito ufficiale].&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit (Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario avere anche i sorgenti del kernel attualmente in uso.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per questi driver lo SlackBuild produce due pacchetti (vedere [[#Cosa contengono i pacchetti creati?]]).&lt;br /&gt;
=== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ===&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ===&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta eseguire:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti, basta un semplice:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si pu&amp;amp;ograve; usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
=== Cosa contengono i pacchetti creati? ===&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata. In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-module ====&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-x ====&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
A partire da questi driver lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; produce un solo pacchetto, chiamato &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, che pu&amp;amp;ograve; essere creato con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Si pu&amp;amp;ograve; anche creare ed installare direttamente il pacchetto con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Nota|Il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --initial&lt;br /&gt;
pu&amp;amp;ograve; essere di aiuto. Eseguire &#039;&#039;&#039;aticonfig&#039;&#039;&#039; senza opzioni per maggiori informazioni}}&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Durante l&#039;installazione del pacchetto &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; alcune librerie che sarebbero sovrascritte vengono rinominate in FGL.renamed.nome_libreria. Per disinstallare il pacchetto in maniera &amp;quot;pulita&amp;quot; si dovrebbe eseguire il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
oppure direttamente lo script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
o, ancora, con un qualsiasi installer &amp;gt;= 11.3, con:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Dopo di ci&amp;amp;ograve; rimarr&amp;amp;agrave; solo la directory &#039;&#039;/etc/ati&#039;&#039; con i file di configurazione dei driver.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch baster&amp;amp;agrave; quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem. Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accadere che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;edit by 414N&amp;gt;&amp;gt;: Questo problema può presentarsi anche in caso di kernel ricompilati manualmente ai quali si è aggiunta una qualche tag in fase di configurazione.&lt;br /&gt;
Per risolvere è sufficiente un make prepare nella directory dei sorgenti del kernel in uso, in modo da avere gli header necessari allo script (make andrebbe a compilare tutto il kernel).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Ringraziamenti =&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild. Vorrei anche ringraziare tutti gli utenti della community [http://www.slacky.eu Slacky] per i feedback e consigli.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=User:Spina&amp;diff=6451</id>
		<title>User:Spina</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=User:Spina&amp;diff=6451"/>
		<updated>2011-02-27T23:14:57Z</updated>

		<summary type="html">&lt;p&gt;Spina: Created page with &amp;#039;Emanuele Tomasi &amp;lt;tomasiATcli.di.unipi.it&amp;gt;&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Emanuele Tomasi &amp;lt;tomasiATcli.di.unipi.it&amp;gt;&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6450</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6450"/>
		<updated>2011-02-27T23:12:15Z</updated>

		<summary type="html">&lt;p&gt;Spina: Updated for 11.3 Catalyst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found, in italian, [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux here]).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
= Proprietary ATI Drivers and ATI Catalyst =&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
= Getting all the necessary =&lt;br /&gt;
The installer can be downloaded from the [http://ati.amd.com/support/driver.html official web site] directly.&lt;br /&gt;
{{Warning|Warning|If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.}}&lt;br /&gt;
{{Helpful Hint|Note|Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package creation process to choose the appropriate files.&lt;br /&gt;
This means that the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...).}}&lt;br /&gt;
&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source in use.&lt;br /&gt;
&lt;br /&gt;
= How to create Slackware packages =&lt;br /&gt;
== ATI Proprietary drivers or ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
For these drivers will be produced two packages (see [[#What do created packages contain?]]).&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
=== What do created packages contain? ===&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system. In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
==== Creating only fglrx-module package ====&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creating only fglrx-x package ====&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Since these drivers the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; make only one package, named &#039;&#039;fglrx-&amp;lt;version&amp;gt;-&amp;lt;architecture&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, that you can create with:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
You can also make and install the package directly with:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Minimal X.Org server configuration =&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Note|The command:&lt;br /&gt;
 #&amp;gt; aticonfig --initial&lt;br /&gt;
can help you. Do &#039;&#039;&#039;aticonfig&#039;&#039;&#039; without options for more infos.}}&lt;br /&gt;
&lt;br /&gt;
= Installation checking =&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Remove installed packages =&lt;br /&gt;
== ATI Proprietary drivers or ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
{{Be Careful|Be Careful|The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.}}&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
During installation of the package &#039;&#039;fglrx-&amp;lt;version&amp;gt;-&amp;lt;architecture&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; some libraries that would be overwritten are renamed as FGL.renamed.library_name. Due to remove this package cleanly you should do:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
or, directly with the script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
or, also with any installer &amp;gt;= 11.3, with:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Will remain only the directory &#039;&#039;/etc/ati&#039;&#039; with the configuration files.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;version&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 and kernel == 2.6.36.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
You need to enable the &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; in your kernel configuration. You find it under the &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039; menu. You can check if this option is enable with:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Acknowledgement =&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild. Thanks also at all the [http://www.slacky.eu/ Italian Slackware Community] users for their feedback and support.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6449</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6449"/>
		<updated>2011-02-27T23:11:10Z</updated>

		<summary type="html">&lt;p&gt;Spina: Aggiunto l&amp;#039;uso del comando &amp;#039;aticonfig&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione &amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;, anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
L&#039;installer pu&amp;amp;ograve; essere scaricato direttamente dal [http://support.amd.com/us/gpudownload/Pages/index.aspx sito ufficiale].&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit (Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario avere anche i sorgenti del kernel attualmente in uso.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per questi driver lo SlackBuild produce due pacchetti (vedere [[#Cosa contengono i pacchetti creati?]]).&lt;br /&gt;
=== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ===&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ===&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta eseguire:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti, basta un semplice:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si pu&amp;amp;ograve; usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
=== Cosa contengono i pacchetti creati? ===&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata. In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-module ====&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-x ====&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
A partire da questi driver lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; produce un solo pacchetto, chiamato &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, che pu&amp;amp;ograve; essere creato con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Si pu&amp;amp;ograve; anche creare ed installare direttamente il pacchetto con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Nota|Il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --initial&lt;br /&gt;
pu&amp;amp;ograve; essere di aiuto. Eseguire &#039;&#039;&#039;aticonfig&#039;&#039;&#039; senza opzioni per maggiori informazioni}}&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Durante l&#039;installazione del pacchetto &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; alcune librerie che sarebbero sovrascritte vengono rinominate in FGL.renamed.nome_libreria. Per disinstallare il pacchetto in maniera &amp;quot;pulita&amp;quot; si dovrebbe eseguire il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
oppure direttamente lo script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
o, ancora, con un qualsiasi installer &amp;gt;= 11.3, con:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Dopo di ci&amp;amp;ograve; rimarr&amp;amp;agrave; solo la directory &#039;&#039;/etc/ati&#039;&#039; con i file di configurazione dei driver.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch baster&amp;amp;agrave; quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem. Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Ringraziamenti =&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild. Vorrei anche ringraziare tutti gli utenti della community [http://www.slacky.eu Slacky] per i feedback e consigli.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6448</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6448"/>
		<updated>2011-02-27T23:03:28Z</updated>

		<summary type="html">&lt;p&gt;Spina: Aggiornato per i Catalyst 11.3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione &amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;, anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
L&#039;installer pu&amp;amp;ograve; essere scaricato direttamente dal [http://support.amd.com/us/gpudownload/Pages/index.aspx sito ufficiale].&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit (Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario avere anche i sorgenti del kernel attualmente in uso.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per questi driver lo SlackBuild produce due pacchetti (vedere [[#Cosa contengono i pacchetti creati?]]).&lt;br /&gt;
=== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ===&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-1.1.9-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
=== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ===&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta eseguire:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti, basta un semplice:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
=== Cosa contengono i pacchetti creati? ===&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata. In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-module ====&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
==== Creare solo il pacchetto fglrx-x ====&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
A partire da questi driver lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; produce un solo pacchetto, chiamato &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039;, che può essere creato con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildpkg&lt;br /&gt;
Si può anche creare ed installare direttamente il pacchetto con:&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
== ATI Proprietary Driver o ATI Catalyst &amp;lt; 11.3 ==&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
== ATI Catalyst &amp;gt;= 11.3 ==&lt;br /&gt;
Durante l&#039;installazione del pacchetto &#039;&#039;fglrx-&amp;lt;versione&amp;gt;-&amp;lt;architettura&amp;gt;-&amp;lt;release&amp;gt;.tgz&#039;&#039; alcune librerie che sarebbero sovrascritte vengono rinominate in FGL.renamed.nome_libreria. Per disinstallare il pacchetto in maniera &amp;quot;pulita&amp;quot; si dovrebbe eseguire il comando:&lt;br /&gt;
 #&amp;gt; aticonfig --uninstall&lt;br /&gt;
oppure direttamente lo script:&lt;br /&gt;
 #&amp;gt; /usr/share/ati/amd-uninstall.sh&lt;br /&gt;
o, ancora, con un qualsiasi installer &amp;gt;= 11.3, con:&lt;br /&gt;
 #&amp;gt; ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run --uninstall&lt;br /&gt;
Dopo di ci&amp;amp;ograve; rimarr&amp;amp;agrave; solo la directory &#039;&#039;/etc/ati&#039;&#039; con i file di configurazione dei driver.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh ati-driver-installer-&amp;lt;versione&amp;gt;-x86.x86_64.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem. Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.x.org/wiki/radeon&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Ringraziamenti =&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild. Vorrei anche ringraziare tutti gli utenti della community [http://www.slacky.eu Slacky] per i feedback e consigli.&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware&amp;diff=6447</id>
		<title>Slackware</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware&amp;diff=6447"/>
		<updated>2011-02-27T22:05:36Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;br /&gt;
Welcome. This bare-bone little FAQ details how to get fglrx working on Slackware, Slackware64 and 64 bit porting.&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
*[[Slackware: ATI SlackBuild (ENG)|ATI SlackBuild (ENG)]]&lt;br /&gt;
*[[Slackware: ATI SlackBuild (ITA)|ATI SlackBuild (ITA)]]&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_external_SlackBuild_(ENG)&amp;diff=6446</id>
		<title>Slackware: external SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_external_SlackBuild_(ENG)&amp;diff=6446"/>
		<updated>2011-02-27T22:04:11Z</updated>

		<summary type="html">&lt;p&gt;Spina: Replaced content with &amp;#039;{{Warning|Attenzione|This wiki has been moved  here}}

Spina&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Warning|Attenzione|This wiki has been moved [[Slackware:_ATI_SlackBuild_(ENG) | here]]}}&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_internal_SlackBuild_(ENG)&amp;diff=6445</id>
		<title>Slackware: internal SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_internal_SlackBuild_(ENG)&amp;diff=6445"/>
		<updated>2011-02-27T22:03:53Z</updated>

		<summary type="html">&lt;p&gt;Spina: moved Slackware: internal SlackBuild (ENG) to Slackware: ATI SlackBuild (ENG)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Slackware: ATI SlackBuild (ENG)]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6444</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6444"/>
		<updated>2011-02-27T22:03:53Z</updated>

		<summary type="html">&lt;p&gt;Spina: moved Slackware: internal SlackBuild (ENG) to Slackware: ATI SlackBuild (ENG)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_internal_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found here).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
== Proprietary ATI Drivers and ATI Catalyst ==&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
== Getting all the necessary ==&lt;br /&gt;
The proprietary ATI drivers can be downloaded from the [http://ati.amd.com/support/driver.html  official web site], after selecting the Linux x86 operating system  (or Linux x86_64) and selecting your video card, pressing the “go” button takes you directly into the download page from which you can download the installer (which henceforth we call installer.run).&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source currently installed in the system as well.&lt;br /&gt;
&lt;br /&gt;
{{Helpful Hint|Note|Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package creation process to choose the appropriate files.&lt;br /&gt;
This means that &#039;&#039;&#039;the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...)&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Warning|If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.}}&lt;br /&gt;
&lt;br /&gt;
== How to create Slackware packages ==&lt;br /&gt;
The packages creation follows two different ways depending on whether you use the official driver version &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;= 8.37.6&#039;&#039;&#039; or new &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
The first way uses what is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; while the second way what we will call &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
In both cases the two packages will be created and they can be installed by Slackware &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility.&lt;br /&gt;
So let&#039;s see the two cases saying that the program that here is called installer.run is the installer downloaded from ATI web site.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Note|The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; use is limited to the driver &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; since from new &#039;&#039;&#039;Catalyst 8.11&#039;&#039;&#039; you can pass the patches at the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh installer.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
== What do created packages contain? ==&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system.&lt;br /&gt;
In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-module package ===&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-x package ===&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh installer.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== Minimal X.Org server configuration ==&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
== Installation checking ==&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
== Remove installed packages ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
{{Be Careful|Be Careful|The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.}}&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 and kernel == 2.6.36.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
You need to enable the &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; in your kernel configuration. You find it under the &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039; menu. You can check if this option is enable with:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the&lt;br /&gt;
kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
Proprietary ATI drivers for many modern desktop and notebook PC seems are almost the only alternative to the use of 3d acceleration with linux. Unfortunately ATI developers don&#039;t make back porting and then users using drivers&#039; version older than 8.37.6 will never go to X.Org server version 7.2 (alias 1.3) or later. Let&#039;s hope that Mesa drivers can also be used for these cards.&lt;br /&gt;
&lt;br /&gt;
Also, It could happen that the module compilation fails. If so, feel free to write me at &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; posting me the output generated by Only_Module option.&lt;br /&gt;
&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_esterno_(ITA)&amp;diff=6443</id>
		<title>Slackware: SlackBuild esterno (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_esterno_(ITA)&amp;diff=6443"/>
		<updated>2011-02-27T22:01:13Z</updated>

		<summary type="html">&lt;p&gt;Spina: Replaced content with &amp;#039;{{Warning|Attenzione|Il wiki &amp;amp;egrave; stato spostato  qui}}

~~~&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Warning|Attenzione|Il wiki &amp;amp;egrave; stato spostato [[Slackware:_ATI_SlackBuild_(ITA) | qui]]}}&lt;br /&gt;
&lt;br /&gt;
[[User:Spina|Spina]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_interno_(ITA)&amp;diff=6442</id>
		<title>Slackware: SlackBuild interno (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_interno_(ITA)&amp;diff=6442"/>
		<updated>2011-02-27T22:00:40Z</updated>

		<summary type="html">&lt;p&gt;Spina: moved Slackware: SlackBuild interno (ITA) to Slackware: ATI SlackBuild (ITA)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Slackware: ATI SlackBuild (ITA)]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6441</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6441"/>
		<updated>2011-02-27T22:00:40Z</updated>

		<summary type="html">&lt;p&gt;Spina: moved Slackware: SlackBuild interno (ITA) to Slackware: ATI SlackBuild (ITA)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_interno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
(Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utility &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Nota|L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.}}&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware&amp;diff=6440</id>
		<title>Slackware</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware&amp;diff=6440"/>
		<updated>2011-02-27T21:55:37Z</updated>

		<summary type="html">&lt;p&gt;Spina: Removed link for external SlackBuild&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[Slackware: internal SlackBuild (ENG)|ATI SlackBuild (ENG)]]&lt;br /&gt;
*[[Slackware: SlackBuild interno (ITA)|ATI SlackBuild (ITA)]]&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Useful_Information&amp;diff=6439</id>
		<title>Template:Useful Information</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Useful_Information&amp;diff=6439"/>
		<updated>2011-02-27T19:35:39Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php?title=Template:Useful_Information --&amp;gt;&lt;br /&gt;
{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #E0EFFF; border: solid 1px #9EB6D4; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6438</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6438"/>
		<updated>2011-02-27T19:34:42Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint --&amp;gt;&lt;br /&gt;
{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Be_Careful&amp;diff=6437</id>
		<title>Template:Be Careful</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Be_Careful&amp;diff=6437"/>
		<updated>2011-02-27T19:33:44Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php?title=Template:Be_Careful --&amp;gt;&lt;br /&gt;
{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #FFFFDD; border: solid 1px #F7DF92; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Warning&amp;diff=6436</id>
		<title>Template:Warning</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Warning&amp;diff=6436"/>
		<updated>2011-02-27T19:32:33Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php?title=Template:Warning --&amp;gt;&lt;br /&gt;
{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #FFE7E7; border: solid 1px #DF9898; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_external_SlackBuild_(ENG)&amp;diff=6435</id>
		<title>Slackware: external SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_external_SlackBuild_(ENG)&amp;diff=6435"/>
		<updated>2011-02-27T19:29:50Z</updated>

		<summary type="html">&lt;p&gt;Spina: Used templates Warning.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_external_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
Starting with version 8.37.6, ATI proprietary drivers are able to create Slackware packages through an internal SlackBuild. To use this SlackBuild just run the driver&#039;s installer, the .run file that is possible to download from [http://ati.amd.com/support/driver.html ATI&#039;s official website], with the option:&lt;br /&gt;
 --buildpkg Slackware/All&lt;br /&gt;
The page you&#039;re visiting is about the &amp;amp;ldquo;twin&amp;amp;rdquo; version of SlackBuild, which in the [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. official wiki (ITA)] is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This SlackBuild deals with building Slackware packages of the ATI proprietary drivers, both versions before 8.37.6, in which the internal SlackBuild does not exist, and next versions, working just like internal SlackBuild, with the advantage that it is usually more powerful than his &amp;amp;ldquo;brother&amp;amp;rdquo;. In fact, many patches to drivers are discovered only after the official release, this means that the internal SlackBuild may not apply them while the external, which is updated very often and whenever is needed, can do that.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Warning|Since Catalyst 8.11 the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; is&#039;t deprecated in favor to patch for &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
The use of the external SlackBuild is very easy, once downloaded and installed using the &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility, simply run the ATI&#039;s installer driver with the following option:&lt;br /&gt;
 --buildpkg custom-package/All&lt;br /&gt;
What happens is exactly the same as the internal SlackBuild, and It&#039;s described in the&lt;br /&gt;
[http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. official wiki (ITA)].&lt;br /&gt;
&lt;br /&gt;
== News ==&lt;br /&gt;
Currently the external SlackBuild is able to create Slackware packages for driver version &amp;lt;8.37.6 applying the patch for the new kernel series 2.6.2x. The ATI drivers version &amp;lt;8.37.6 weren&#039;t designed to run on these kernel and therefore they require a small patch that is applied by external SlackBuild.&lt;br /&gt;
&lt;br /&gt;
* 16/01/08: added new mantainers&#039; names, Ezio and Federico (See [[ATI Slack-Packager (ENG)#Contacts|Contacts]])&lt;br /&gt;
* 12/01/08: file &#039;&#039;amdpcsdb.default&#039;&#039; inserted in &#039;&#039;/etc/ati&#039;&#039;, file needed for next driver version.&lt;br /&gt;
* 21/11/07: Small update to reflect the next official driver version.&lt;br /&gt;
* 03/08/07: Small update to reflect the next official driver version. &#039;&#039;/etc/ati/fglrxprofiles.csv&#039;&#039; and &#039;&#039;/etc/ati/fglrxrc&#039;&#039; are no longer distributed.&lt;br /&gt;
* 28/07/07:&lt;br /&gt;
** Fixed permissions in the fglrx driver configuration file, in &#039;&#039;/etc/ati&#039;&#039; directory. In addition, some files in this directory are considered administrator&#039;s &amp;amp;ldquo;personal&amp;amp;rdquo; configuration, and for these files has been created a .new file, which is created only if the original (the one without .new extension) does not exist. If the source exists and is equal to .new, the .new file is removed to avoid redundancy.&lt;br /&gt;
** The README file is moved from &#039;&#039;/etc/ati&#039;&#039; to &#039;&#039;/etc/ati/custom-package&#039;&#039;.&lt;br /&gt;
* 27/07/07: Fixed bug in driver version 8.39.4 showing a logo in the bottom right corner of the screen.&lt;br /&gt;
* 07/09/07:&lt;br /&gt;
** Added links to libraries like .so.&lt;br /&gt;
** Based on users&#039; reports, I have applied a driver patch in order to cancel the &amp;amp;ldquo;error&amp;amp;rdquo;:&lt;br /&gt;
make.sh: line xxx: [: =: unary operator expected&lt;br /&gt;
: when It compiles the fglrx kernel module (which is part of the fglrx-module package). I would like to underline that &amp;amp;ldquo;bugs&amp;amp;rdquo; isn&#039;t in SlackBuild, but into ATI&#039;s drivers. I submitted the bug to ATI also sending the small patches to solve it, but... I&#039;m waiting yet :).&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
The latest SlackBuild version released is [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz 1.1.9].&lt;br /&gt;
&lt;br /&gt;
== Patch ==&lt;br /&gt;
Here are some patches that can be applied to the external SlackBuild, these patches are considered illegal and therefore are not issued in the official version. I do not take any responsibility about the use of these patches, I have written them only for culture and put online for the same reason, &amp;lt;u&amp;gt;I do not use them and I discourage their use&amp;lt;/u&amp;gt;.&lt;br /&gt;
To apply the patch just copy them in &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory, while in order to uninstall them just remove them.&lt;br /&gt;
&lt;br /&gt;
* [http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch].This patch modifies the ATI drivers in order to have a GPL license so to be able to use drivers with a kernel that has the para virtualization active. The preferable alternative is to disable the kernel para virtualization as explained [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild.#Disabilitare_la_paravirtualizzazione_nel_kernel here (ITA)].&lt;br /&gt;
&lt;br /&gt;
== Acknowledgments ==&lt;br /&gt;
I would like to thank all the [http://www.slacky.eu/ Italian Slackware Community] users for their feedback and support, especially (in alphabetical order, not certainly for importance):&lt;br /&gt;
* Ezio (alias ekxius),author, of an interesting [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux wiki (ITA)] about installation and configuration of ATI drivers (open and proprietary).&lt;br /&gt;
* Federico (alias stan), always ready to give me advice and letting me believe more and more on the importance of the project.&lt;br /&gt;
&lt;br /&gt;
== Contacts ==&lt;br /&gt;
Original author:&lt;br /&gt;
&lt;br /&gt;
Emanuele Tomasi &amp;amp;lt; tomasiATcliDOTdiDOTunipiDOTit &amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_esterno_(ITA)&amp;diff=6434</id>
		<title>Slackware: SlackBuild esterno (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_esterno_(ITA)&amp;diff=6434"/>
		<updated>2011-02-27T19:28:37Z</updated>

		<summary type="html">&lt;p&gt;Spina: Usati il template Warning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_esterno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cosa fa ==&lt;br /&gt;
A partire dalla versione 8.37.6, i driver proprietari ATI hanno la possibilità di creare dei pacchetti Slackware grazie ad uno SlackBuild interno. Per usare questo SlackBuild basta lanciare l&#039;installer dei driver, il file .run che è possibile scaricarare dal [http://ati.amd.com/support/driver.html sito ufficiale ATI], tramite l&#039;opzione:&lt;br /&gt;
 --buildpkg Slackware/All&lt;br /&gt;
La pagina che state visitando parla della versione &amp;amp;ldquo;gemella&amp;amp;rdquo; dello SlackBuild interno, che nel [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. wiki] ufficiale viene chiamato &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Questo SlackBuild si occupa di creare dei pacchetti Slackware dei driver proprietari ATI, sia per le versioni precedenti alla 8.37.6, nei quali lo SlackBuild interno non esiste, sia per le versioni successive, agendo esattamente come lo SlackBuild interno, con il vantaggio che generalmente è più potente del &amp;amp;ldquo;fratello&amp;amp;rdquo;. Infatti molte patch ai driver vengono scoperte solo dopo il rilascio della versione ufficiale, questo vuol dire che lo SlackBuild interno non può applicarle mentre quello esterno, che viene aggiornato con molta frequenza ed ogni volta che ce ne è bisogno, può.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Attenzione|A partire dai Catalyst 8.11 lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; stato deprecato in favore delle patch per lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
== Come si usa ==&lt;br /&gt;
L&#039;uso dello SlackBuild esterno è molto semplice, una volta scaricato ed installato tramite l&#039;utility &#039;&#039;&#039;installpkg&#039;&#039;&#039;, basta lanciare l&#039;installer dei driver ATI con la seguente opzione:&lt;br /&gt;
 --buildpkg custom-package/All&lt;br /&gt;
Quello che accade è esattamente quello che accade con lo SlackBuild interno, e viene descritto nel&lt;br /&gt;
[http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. wiki] ufficiale.&lt;br /&gt;
&lt;br /&gt;
== Novità ==&lt;br /&gt;
Attualmente lo SlackBuild esterno è in grado di creare i pacchetti Slackware dei driver versione &amp;lt; 8.37.6 applicando la patch per il nuovo kernel della serie 2.6.2x. I driver ATI versione &amp;lt; 8.37.6 non erano stati concepiti per girare con questi kernel e quindi necessitano di una piccola patch che viene applicata dallo SlackBuild esterno.&lt;br /&gt;
&lt;br /&gt;
* 16/01/08: Aggiunto il nome dei nuovi maintainer, Ezio e Federico (si veda [[ATI Slack-Packager (ITA)#Contatti|Contatti]])&lt;br /&gt;
* 12/01/08: Viene inserito nella directory &#039;&#039;/etc/ati&#039;&#039;, il file &#039;&#039;amdpcsdb.default&#039;&#039;, necessario per la prossima versione dei driver.&lt;br /&gt;
* 21/11/07: Piccolo aggiornamento per rispecchiare la prossima versione ufficiale dei driver.&lt;br /&gt;
* 03/08/07: Piccolo aggiornamento per rispecchiare la prossima versione ufficiale dei driver. I file &#039;&#039;/etc/ati/fglrxprofiles.csv&#039;&#039; e &#039;&#039;/etc/ati/fglrxrc&#039;&#039; non sono più distribuiti.&lt;br /&gt;
* 28/07/07:&lt;br /&gt;
** Aggiustato i permessi nei file di configurazione del driver fglrx nella directory &#039;&#039;/etc/ati&#039;&#039;. Inoltre alcuni file nella stessa directory sono considerati di configurazione &amp;amp;ldquo;personale&amp;amp;rdquo; dell&#039;amministratore, per questi file è stato creato un nuovo file .new che viene installato solo se l&#039;originale (quello senza il .new) non esiste. Se l&#039;originale esiste ed è uguale al .new, il .new viene rimosso per evitate la ridondanza.&lt;br /&gt;
** Il file README è stato spostato, dalla directory &#039;&#039;/etc/ati&#039;&#039; nella directory &#039;&#039;/etc/ati/custom-package&#039;&#039;.&lt;br /&gt;
* 27/07/07: Corretto il &amp;amp;ldquo;bug&amp;amp;rdquo; della versione 8.39.4 dei driver che mostra un logo nella parte inferiore destra dello schermo.&lt;br /&gt;
* 07/09/07:&lt;br /&gt;
** Aggiunti i link alle librerie come .so.&lt;br /&gt;
** Su segnalazione di molti utenti ho applicato una patch ai driver in modo da eliminare l&#039;&amp;amp;ldquo;errore&amp;amp;rdquo;:&lt;br /&gt;
 make.sh: line xxx: [: =: unary operator expected&lt;br /&gt;
:quando viene compilato il modulo per il kernel fglrx (che fa parte del pacchetto fglrx-module). Tengo a precisare che il &amp;amp;ldquo;bug&amp;amp;rdquo; non è nello SlackBuild, ma nei driver ATI. Ho segnalato il &amp;amp;ldquo;bug&amp;amp;rdquo; alla ATI inviando anche la piccola patch per risolverlo ma...aspetto ancora :).&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
L&#039;ultima versione dello SlackBuild esterno è la [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz 1.1.9]&lt;br /&gt;
&lt;br /&gt;
== Patch ==&lt;br /&gt;
Di seguito ci sono alcune patch che si possono applicare allo SlackBuild esterno, queste patch sono ritenute illegali e pertanto non vengono rilasciate nella versione ufficiale. Non mi prendo nessuna responsabilità sull&#039;uso di queste patch, le ho scritte solo per cultura e le metto online per lo stesso motivo, &amp;lt;u&amp;gt;non le uso e ne sconsiglio l&#039;uso&amp;lt;/u&amp;gt;.&lt;br /&gt;
Per applicare le patch basta copiarle nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;, mentre per disinstallarle basta rimuoverle.&lt;br /&gt;
&lt;br /&gt;
* [http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch].Questa patch modifica i driver ATI in modo che presentino una licenza GPL cossicché da poter usare i driver con un kernel che ha la paravirtualizzazione attiva. L&#039;alternativa preferibile è di disabilitare la paravirtualizzazione del kernel come spiegato [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild.#Disabilitare_la_paravirtualizzazione_nel_kernel qui].&lt;br /&gt;
&lt;br /&gt;
== Ringraziamenti ==&lt;br /&gt;
Ringrazio tutti gli utenti dell&#039; [http://www.slacky.eu/ Italian Slackware Community] per il loro feedback e il loro appoggio morale, in particolare ringrazio (in ordine alfabetico, non certo per importanza):&lt;br /&gt;
* Ezio (alias ekxius), autore, tra l&#039;altro di un interessante [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux wiki] sull&#039;installazione e configurazione dei driver ATI (open e proprietari).&lt;br /&gt;
* Federico (alias stan), che è sempre pronto a darmi consigli facendomi credere sempre di più nell&#039;importanza del progetto.&lt;br /&gt;
&lt;br /&gt;
== Contatti ==&lt;br /&gt;
Autore originale:&lt;br /&gt;
&lt;br /&gt;
Emanuele Tomasi &amp;amp;lt; tomasiATcliDOTdiDOTunipiDOTit &amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6433</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6433"/>
		<updated>2011-02-27T19:25:51Z</updated>

		<summary type="html">&lt;p&gt;Spina: Used templates Useful_Information, Helpful_Hint, Warning, Be Careful.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_internal_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found here).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
== Proprietary ATI Drivers and ATI Catalyst ==&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
== Getting all the necessary ==&lt;br /&gt;
The proprietary ATI drivers can be downloaded from the [http://ati.amd.com/support/driver.html  official web site], after selecting the Linux x86 operating system  (or Linux x86_64) and selecting your video card, pressing the “go” button takes you directly into the download page from which you can download the installer (which henceforth we call installer.run).&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source currently installed in the system as well.&lt;br /&gt;
&lt;br /&gt;
{{Helpful Hint|Note|Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package creation process to choose the appropriate files.&lt;br /&gt;
This means that &#039;&#039;&#039;the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...)&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Warning|If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.}}&lt;br /&gt;
&lt;br /&gt;
== How to create Slackware packages ==&lt;br /&gt;
The packages creation follows two different ways depending on whether you use the official driver version &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;= 8.37.6&#039;&#039;&#039; or new &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
The first way uses what is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; while the second way what we will call &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
In both cases the two packages will be created and they can be installed by Slackware &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility.&lt;br /&gt;
So let&#039;s see the two cases saying that the program that here is called installer.run is the installer downloaded from ATI web site.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Note|The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; use is limited to the driver &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; since from new &#039;&#039;&#039;Catalyst 8.11&#039;&#039;&#039; you can pass the patches at the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh installer.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
== What do created packages contain? ==&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system.&lt;br /&gt;
In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-module package ===&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-x package ===&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh installer.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== Minimal X.Org server configuration ==&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
== Installation checking ==&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
== Remove installed packages ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
{{Be Careful|Be Careful|The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.}}&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 and kernel == 2.6.36.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
You need to enable the &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; in your kernel configuration. You find it under the &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039; menu. You can check if this option is enable with:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the&lt;br /&gt;
kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
Proprietary ATI drivers for many modern desktop and notebook PC seems are almost the only alternative to the use of 3d acceleration with linux. Unfortunately ATI developers don&#039;t make back porting and then users using drivers&#039; version older than 8.37.6 will never go to X.Org server version 7.2 (alias 1.3) or later. Let&#039;s hope that Mesa drivers can also be used for these cards.&lt;br /&gt;
&lt;br /&gt;
Also, It could happen that the module compilation fails. If so, feel free to write me at &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; posting me the output generated by Only_Module option.&lt;br /&gt;
&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6432</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6432"/>
		<updated>2011-02-27T19:20:34Z</updated>

		<summary type="html">&lt;p&gt;Spina: Usati i template Useful_Information, Helpful_Hint, Warning, Be Careful.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_interno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
{{Helpful Hint|Nota|I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
(Slamd64, Bluewhite64, etc...).}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Attenzione|Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con il server X.Org 7.2 (o 1.3) o successivi.}}&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utility &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
{{Useful Information|Nota|L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.}}&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utility &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
{{Be Careful|Occhio|La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.}}&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 ho inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Be_Careful&amp;diff=6431</id>
		<title>Template:Be Careful</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Be_Careful&amp;diff=6431"/>
		<updated>2011-02-27T19:06:59Z</updated>

		<summary type="html">&lt;p&gt;Spina: Created page with &amp;#039;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #FFFFDD; border: solid 1px #F7DF92; -moz-border-radius: 5px&amp;quot; |&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;{{{1}}}:&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;&amp;lt;/font…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #FFFFDD; border: solid 1px #F7DF92; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Warning&amp;diff=6430</id>
		<title>Template:Warning</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Warning&amp;diff=6430"/>
		<updated>2011-02-27T19:05:03Z</updated>

		<summary type="html">&lt;p&gt;Spina: Created page with &amp;#039;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #FFE7E7; border: solid 1px #DF9898; -moz-border-radius: 5px&amp;quot; |&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;{{{1}}}:&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;&amp;lt;/font…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #FFE7E7; border: solid 1px #DF9898; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Useful_Information&amp;diff=6429</id>
		<title>Template:Useful Information</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Useful_Information&amp;diff=6429"/>
		<updated>2011-02-27T19:03:31Z</updated>

		<summary type="html">&lt;p&gt;Spina: Created page with &amp;#039;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #E0EFFF; border: solid 1px #9EB6D4; -moz-border-radius: 5px&amp;quot; |&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;{{{1}}}:&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;&amp;lt;/font…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #E0EFFF; border: solid 1px #9EB6D4; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Note&amp;diff=6428</id>
		<title>Template:Note</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Note&amp;diff=6428"/>
		<updated>2011-02-27T19:00:26Z</updated>

		<summary type="html">&lt;p&gt;Spina: moved Template:Note to Template:Helpful Hint&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Template:Helpful Hint]]&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6427</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6427"/>
		<updated>2011-02-27T19:00:26Z</updated>

		<summary type="html">&lt;p&gt;Spina: moved Template:Note to Template:Helpful Hint&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6426</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6426"/>
		<updated>2011-02-27T18:59:13Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F; -moz-border-radius: 5px&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6425</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6425"/>
		<updated>2011-02-27T18:50:19Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F;&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;&#039;&#039;&#039;{{{1}}}:&#039;&#039;&#039;&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6424</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6424"/>
		<updated>2011-02-27T18:48:01Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F;&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;{{{1}}}&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6423</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6423"/>
		<updated>2011-02-27T18:44:42Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;100%&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F;&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;{{{1}}}&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6422</id>
		<title>Template:Helpful Hint</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Helpful_Hint&amp;diff=6422"/>
		<updated>2011-02-27T18:42:06Z</updated>

		<summary type="html">&lt;p&gt;Spina: Created page with &amp;#039;{| WIDTH=&amp;quot;75%&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F;&amp;quot; |&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;{{{1}}}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/font&amp;gt; |- | {{{2}}} |}&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| WIDTH=&amp;quot;75%&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: #DDFADE; border: solid 1px #9EC49F;&amp;quot;&lt;br /&gt;
|&amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;{{{1}}}&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{{2}}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6297</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6297"/>
		<updated>2011-01-11T16:56:03Z</updated>

		<summary type="html">&lt;p&gt;Spina: /* error: implicit declaration of function &amp;#039;lock_kernel&amp;#039; and error: implicit declaration of function &amp;#039;unlock_kernel&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_interno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe&lt;br /&gt;
 le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
 Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
 (Slamd64, Bluewhite64, etc...).&lt;br /&gt;
&lt;br /&gt;
= Nota IMPORTANTE =&lt;br /&gt;
Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con&lt;br /&gt;
il server X.Org 7.2 (o 1.3) o successivi.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utiliti &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utiliti &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 abbiamo inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nella vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6296</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6296"/>
		<updated>2011-01-11T16:54:51Z</updated>

		<summary type="html">&lt;p&gt;Spina: Big Kernel Lock&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_interno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe&lt;br /&gt;
 le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
 Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
 (Slamd64, Bluewhite64, etc...).&lt;br /&gt;
&lt;br /&gt;
= Nota IMPORTANTE =&lt;br /&gt;
Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con&lt;br /&gt;
il server X.Org 7.2 (o 1.3) o successivi.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utiliti &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utiliti &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 abbiamo inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
Dovete abilitare l&#039;opzione &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; nela vostra configurazione del kernel. La voce si trova nel men&amp;amp;ugrave; &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039;. Per controllare se questa opzione &amp;amp;egrave; abilitata potete fare:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6295</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6295"/>
		<updated>2011-01-11T16:53:42Z</updated>

		<summary type="html">&lt;p&gt;Spina: Big Kernel Lock&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_internal_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found here).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
== Proprietary ATI Drivers and ATI Catalyst ==&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
== Getting all the necessary ==&lt;br /&gt;
The proprietary ATI drivers can be downloaded from the [http://ati.amd.com/support/driver.html  official web site], after selecting the Linux x86 operating system  (or Linux x86_64) and selecting your video card, pressing the “go” button takes you directly into the download page from which you can download the installer (which henceforth we call installer.run).&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source currently installed in the system as well.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package&lt;br /&gt;
 creation process to choose the appropriate files.&lt;br /&gt;
 This means that &#039;&#039;&#039;the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Important notice ==&lt;br /&gt;
If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.&lt;br /&gt;
&lt;br /&gt;
== How to create Slackware packages ==&lt;br /&gt;
The packages creation follows two different ways depending on whether you use the official driver version &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;= 8.37.6&#039;&#039;&#039; or new &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
The first way uses what is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; while the second way what we will call &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
In both cases the two packages will be created and they can be installed by Slackware &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility.&lt;br /&gt;
So let&#039;s see the two cases saying that the program that here is called installer.run is the installer downloaded from ATI web site.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; use is limited to the driver &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; since from new &#039;&#039;&#039;Catalyst 8.11&#039;&#039;&#039; you can pass the patches at the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh installer.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
== What do created packages contain? ==&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system.&lt;br /&gt;
In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-module package ===&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-x package ===&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh installer.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== Minimal X.Org server configuration ==&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
== Installation checking ==&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
== Remove installed packages ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 and kernel == 2.6.36.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== error: implicit declaration of function &#039;lock_kernel&#039; and error: implicit declaration of function &#039;unlock_kernel&#039; ==&lt;br /&gt;
You need to enable the &#039;&#039;&#039;Big Kernel Lock&#039;&#039;&#039; in your kernel configuration. You find it under the &#039;&#039;&#039;Kernel hacking&#039;&#039;&#039; menu. You can check if this option is enable with:&lt;br /&gt;
 $&amp;gt; zcat /proc/config.gz | grep BKL&lt;br /&gt;
 CONFIG_BKL=y&lt;br /&gt;
&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the&lt;br /&gt;
kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
Proprietary ATI drivers for many modern desktop and notebook PC seems are almost the only alternative to the use of 3d acceleration with linux. Unfortunately ATI developers don&#039;t make back porting and then users using drivers&#039; version older than 8.37.6 will never go to X.Org server version 7.2 (alias 1.3) or later. Let&#039;s hope that Mesa drivers can also be used for these cards.&lt;br /&gt;
&lt;br /&gt;
Also, It could happen that the module compilation fails. If so, feel free to write me at &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; posting me the output generated by Only_Module option.&lt;br /&gt;
&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6294</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6294"/>
		<updated>2011-01-09T17:15:06Z</updated>

		<summary type="html">&lt;p&gt;Spina: Added patch for Catalyst 10.10-12 and kernel 2.6.37.x&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_internal_SlackBuild_(ENG) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found here).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
== Proprietary ATI Drivers and ATI Catalyst ==&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
== Getting all the necessary ==&lt;br /&gt;
The proprietary ATI drivers can be downloaded from the [http://ati.amd.com/support/driver.html  official web site], after selecting the Linux x86 operating system  (or Linux x86_64) and selecting your video card, pressing the “go” button takes you directly into the download page from which you can download the installer (which henceforth we call installer.run).&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source currently installed in the system as well.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package&lt;br /&gt;
 creation process to choose the appropriate files.&lt;br /&gt;
 This means that &#039;&#039;&#039;the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Important notice ==&lt;br /&gt;
If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.&lt;br /&gt;
&lt;br /&gt;
== How to create Slackware packages ==&lt;br /&gt;
The packages creation follows two different ways depending on whether you use the official driver version &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;= 8.37.6&#039;&#039;&#039; or new &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
The first way uses what is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; while the second way what we will call &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
In both cases the two packages will be created and they can be installed by Slackware &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility.&lt;br /&gt;
So let&#039;s see the two cases saying that the program that here is called installer.run is the installer downloaded from ATI web site.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; use is limited to the driver &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; since from new &#039;&#039;&#039;Catalyst 8.11&#039;&#039;&#039; you can pass the patches at the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh installer.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
== What do created packages contain? ==&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system.&lt;br /&gt;
In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-module package ===&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-x package ===&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh installer.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== Minimal X.Org server configuration ==&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
== Installation checking ==&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
== Remove installed packages ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 and kernel == 2.6.36.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the&lt;br /&gt;
kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
Proprietary ATI drivers for many modern desktop and notebook PC seems are almost the only alternative to the use of 3d acceleration with linux. Unfortunately ATI developers don&#039;t make back porting and then users using drivers&#039; version older than 8.37.6 will never go to X.Org server version 7.2 (alias 1.3) or later. Let&#039;s hope that Mesa drivers can also be used for these cards.&lt;br /&gt;
&lt;br /&gt;
Also, It could happen that the module compilation fails. If so, feel free to write me at &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; posting me the output generated by Only_Module option.&lt;br /&gt;
&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6293</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6293"/>
		<updated>2011-01-09T17:13:17Z</updated>

		<summary type="html">&lt;p&gt;Spina: Typo: /* ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_interno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe&lt;br /&gt;
 le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
 Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
 (Slamd64, Bluewhite64, etc...).&lt;br /&gt;
&lt;br /&gt;
= Nota IMPORTANTE =&lt;br /&gt;
Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con&lt;br /&gt;
il server X.Org 7.2 (o 1.3) o successivi.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utiliti &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utiliti &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 abbiamo inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6292</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6292"/>
		<updated>2011-01-09T17:06:56Z</updated>

		<summary type="html">&lt;p&gt;Spina: Patch per 10.10-10.12 e kernel 2.6.37.x&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com/index.php/Slackware:_SlackBuild_interno_(ITA) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe&lt;br /&gt;
 le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
 Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
 (Slamd64, Bluewhite64, etc...).&lt;br /&gt;
&lt;br /&gt;
= Nota IMPORTANTE =&lt;br /&gt;
Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con&lt;br /&gt;
il server X.Org 7.2 (o 1.3) o successivi.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utiliti &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utiliti &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 abbiamo inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e 10.12 e kernel == 2.6.37.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-12_with_2.6.37.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.12&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-12_with_2.6.37.x.diff /etc/ati/patch/patch-8.801-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6198</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6198"/>
		<updated>2010-11-29T12:47:17Z</updated>

		<summary type="html">&lt;p&gt;Spina: /* ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe&lt;br /&gt;
 le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
 Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
 (Slamd64, Bluewhite64, etc...).&lt;br /&gt;
&lt;br /&gt;
= Nota IMPORTANTE =&lt;br /&gt;
Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con&lt;br /&gt;
il server X.Org 7.2 (o 1.3) o successivi.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utiliti &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utiliti &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 abbiamo inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.10, 10.11 e kernel == 2.6.36.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.10-11_with_2.6.36.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.10&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.783-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-10-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.11&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.10-11_with_2.6.36.x.diff /etc/ati/patch/patch-8.791-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasi@cliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_external_SlackBuild_(ENG)&amp;diff=6156</id>
		<title>Slackware: external SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_external_SlackBuild_(ENG)&amp;diff=6156"/>
		<updated>2010-10-28T08:11:28Z</updated>

		<summary type="html">&lt;p&gt;Spina: Aggiornati link al slacky.eu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
Starting with version 8.37.6, ATI proprietary drivers are able to create Slackware packages through an internal SlackBuild. To use this SlackBuild just run the driver&#039;s installer, the .run file that is possible to download from [http://ati.amd.com/support/driver.html ATI&#039;s official website], with the option:&lt;br /&gt;
 --buildpkg Slackware/All&lt;br /&gt;
The page you&#039;re visiting is about the &amp;amp;ldquo;twin&amp;amp;rdquo; version of SlackBuild, which in the [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. official wiki (ITA)] is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This SlackBuild deals with building Slackware packages of the ATI proprietary drivers, both versions before 8.37.6, in which the internal SlackBuild does not exist, and next versions, working just like internal SlackBuild, with the advantage that it is usually more powerful than his &amp;amp;ldquo;brother&amp;amp;rdquo;. In fact, many patches to drivers are discovered only after the official release, this means that the internal SlackBuild may not apply them while the external, which is updated very often and whenever is needed, can do that.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; since Catalyst 8.11 the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; is&#039;t deprecated in favor to patch for &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
The use of the external SlackBuild is very easy, once downloaded and installed using the &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility, simply run the ATI&#039;s installer driver with the following option:&lt;br /&gt;
 --buildpkg custom-package/All&lt;br /&gt;
What happens is exactly the same as the internal SlackBuild, and It&#039;s described in the&lt;br /&gt;
[http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. official wiki (ITA)].&lt;br /&gt;
&lt;br /&gt;
== News ==&lt;br /&gt;
Currently the external SlackBuild is able to create Slackware packages for driver version &amp;lt;8.37.6 applying the patch for the new kernel series 2.6.2x. The ATI drivers version &amp;lt;8.37.6 weren&#039;t designed to run on these kernel and therefore they require a small patch that is applied by external SlackBuild.&lt;br /&gt;
&lt;br /&gt;
* 16/01/08: added new mantainers&#039; names, Ezio and Federico (See [[ATI Slack-Packager (ENG)#Contacts|Contacts]])&lt;br /&gt;
* 12/01/08: file &#039;&#039;amdpcsdb.default&#039;&#039; inserted in &#039;&#039;/etc/ati&#039;&#039;, file needed for next driver version.&lt;br /&gt;
* 21/11/07: Small update to reflect the next official driver version.&lt;br /&gt;
* 03/08/07: Small update to reflect the next official driver version. &#039;&#039;/etc/ati/fglrxprofiles.csv&#039;&#039; and &#039;&#039;/etc/ati/fglrxrc&#039;&#039; are no longer distributed.&lt;br /&gt;
* 28/07/07:&lt;br /&gt;
** Fixed permissions in the fglrx driver configuration file, in &#039;&#039;/etc/ati&#039;&#039; directory. In addition, some files in this directory are considered administrator&#039;s &amp;amp;ldquo;personal&amp;amp;rdquo; configuration, and for these files has been created a .new file, which is created only if the original (the one without .new extension) does not exist. If the source exists and is equal to .new, the .new file is removed to avoid redundancy.&lt;br /&gt;
** The README file is moved from &#039;&#039;/etc/ati&#039;&#039; to &#039;&#039;/etc/ati/custom-package&#039;&#039;.&lt;br /&gt;
* 27/07/07: Fixed bug in driver version 8.39.4 showing a logo in the bottom right corner of the screen.&lt;br /&gt;
* 07/09/07:&lt;br /&gt;
** Added links to libraries like .so.&lt;br /&gt;
** Based on users&#039; reports, I have applied a driver patch in order to cancel the &amp;amp;ldquo;error&amp;amp;rdquo;:&lt;br /&gt;
make.sh: line xxx: [: =: unary operator expected&lt;br /&gt;
: when It compiles the fglrx kernel module (which is part of the fglrx-module package). I would like to underline that &amp;amp;ldquo;bugs&amp;amp;rdquo; isn&#039;t in SlackBuild, but into ATI&#039;s drivers. I submitted the bug to ATI also sending the small patches to solve it, but... I&#039;m waiting yet :).&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
The latest SlackBuild version released is [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz 1.1.9].&lt;br /&gt;
&lt;br /&gt;
== Patch ==&lt;br /&gt;
Here are some patches that can be applied to the external SlackBuild, these patches are considered illegal and therefore are not issued in the official version. I do not take any responsibility about the use of these patches, I have written them only for culture and put online for the same reason, &amp;lt;u&amp;gt;I do not use them and I discourage their use&amp;lt;/u&amp;gt;.&lt;br /&gt;
To apply the patch just copy them in &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory, while in order to uninstall them just remove them.&lt;br /&gt;
&lt;br /&gt;
* [http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch].This patch modifies the ATI drivers in order to have a GPL license so to be able to use drivers with a kernel that has the para virtualization active. The preferable alternative is to disable the kernel para virtualization as explained [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild.#Disabilitare_la_paravirtualizzazione_nel_kernel here (ITA)].&lt;br /&gt;
&lt;br /&gt;
== Acknowledgments ==&lt;br /&gt;
I would like to thank all the [http://www.slacky.eu/ Italian Slackware Community] users for their feedback and support, especially (in alphabetical order, not certainly for importance):&lt;br /&gt;
* Ezio (alias ekxius),author, of an interesting [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux wiki (ITA)] about installation and configuration of ATI drivers (open and proprietary).&lt;br /&gt;
* Federico (alias stan), always ready to give me advice and letting me believe more and more on the importance of the project.&lt;br /&gt;
&lt;br /&gt;
== Contacts ==&lt;br /&gt;
Original author:&lt;br /&gt;
&lt;br /&gt;
Emanuele Tomasi &amp;amp;lt; tomasiATcliDOTdiDOTunipiDOTit &amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_esterno_(ITA)&amp;diff=6155</id>
		<title>Slackware: SlackBuild esterno (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_SlackBuild_esterno_(ITA)&amp;diff=6155"/>
		<updated>2010-10-28T08:08:50Z</updated>

		<summary type="html">&lt;p&gt;Spina: Aggiornati link al slacky.eu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cosa fa ==&lt;br /&gt;
A partire dalla versione 8.37.6, i driver proprietari ATI hanno la possibilità di creare dei pacchetti Slackware grazie ad uno SlackBuild interno. Per usare questo SlackBuild basta lanciare l&#039;installer dei driver, il file .run che è possibile scaricarare dal [http://ati.amd.com/support/driver.html sito ufficiale ATI], tramite l&#039;opzione:&lt;br /&gt;
 --buildpkg Slackware/All&lt;br /&gt;
La pagina che state visitando parla della versione &amp;amp;ldquo;gemella&amp;amp;rdquo; dello SlackBuild interno, che nel [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. wiki] ufficiale viene chiamato &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Questo SlackBuild si occupa di creare dei pacchetti Slackware dei driver proprietari ATI, sia per le versioni precedenti alla 8.37.6, nei quali lo SlackBuild interno non esiste, sia per le versioni successive, agendo esattamente come lo SlackBuild interno, con il vantaggio che generalmente è più potente del &amp;amp;ldquo;fratello&amp;amp;rdquo;. Infatti molte patch ai driver vengono scoperte solo dopo il rilascio della versione ufficiale, questo vuol dire che lo SlackBuild interno non può applicarle mentre quello esterno, che viene aggiornato con molta frequenza ed ogni volta che ce ne è bisogno, può.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; a partire dai Catalyst 8.11 lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; stato deprecato in favore delle patch per lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Come si usa ==&lt;br /&gt;
L&#039;uso dello SlackBuild esterno è molto semplice, una volta scaricato ed installato tramite l&#039;utility &#039;&#039;&#039;installpkg&#039;&#039;&#039;, basta lanciare l&#039;installer dei driver ATI con la seguente opzione:&lt;br /&gt;
 --buildpkg custom-package/All&lt;br /&gt;
Quello che accade è esattamente quello che accade con lo SlackBuild interno, e viene descritto nel&lt;br /&gt;
[http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild. wiki] ufficiale.&lt;br /&gt;
&lt;br /&gt;
== Novità ==&lt;br /&gt;
Attualmente lo SlackBuild esterno è in grado di creare i pacchetti Slackware dei driver versione &amp;lt; 8.37.6 applicando la patch per il nuovo kernel della serie 2.6.2x. I driver ATI versione &amp;lt; 8.37.6 non erano stati concepiti per girare con questi kernel e quindi necessitano di una piccola patch che viene applicata dallo SlackBuild esterno.&lt;br /&gt;
&lt;br /&gt;
* 16/01/08: Aggiunto il nome dei nuovi maintainer, Ezio e Federico (si veda [[ATI Slack-Packager (ITA)#Contatti|Contatti]])&lt;br /&gt;
* 12/01/08: Viene inserito nella directory &#039;&#039;/etc/ati&#039;&#039;, il file &#039;&#039;amdpcsdb.default&#039;&#039;, necessario per la prossima versione dei driver.&lt;br /&gt;
* 21/11/07: Piccolo aggiornamento per rispecchiare la prossima versione ufficiale dei driver.&lt;br /&gt;
* 03/08/07: Piccolo aggiornamento per rispecchiare la prossima versione ufficiale dei driver. I file &#039;&#039;/etc/ati/fglrxprofiles.csv&#039;&#039; e &#039;&#039;/etc/ati/fglrxrc&#039;&#039; non sono più distribuiti.&lt;br /&gt;
* 28/07/07:&lt;br /&gt;
** Aggiustato i permessi nei file di configurazione del driver fglrx nella directory &#039;&#039;/etc/ati&#039;&#039;. Inoltre alcuni file nella stessa directory sono considerati di configurazione &amp;amp;ldquo;personale&amp;amp;rdquo; dell&#039;amministratore, per questi file è stato creato un nuovo file .new che viene installato solo se l&#039;originale (quello senza il .new) non esiste. Se l&#039;originale esiste ed è uguale al .new, il .new viene rimosso per evitate la ridondanza.&lt;br /&gt;
** Il file README è stato spostato, dalla directory &#039;&#039;/etc/ati&#039;&#039; nella directory &#039;&#039;/etc/ati/custom-package&#039;&#039;.&lt;br /&gt;
* 27/07/07: Corretto il &amp;amp;ldquo;bug&amp;amp;rdquo; della versione 8.39.4 dei driver che mostra un logo nella parte inferiore destra dello schermo.&lt;br /&gt;
* 07/09/07:&lt;br /&gt;
** Aggiunti i link alle librerie come .so.&lt;br /&gt;
** Su segnalazione di molti utenti ho applicato una patch ai driver in modo da eliminare l&#039;&amp;amp;ldquo;errore&amp;amp;rdquo;:&lt;br /&gt;
 make.sh: line xxx: [: =: unary operator expected&lt;br /&gt;
:quando viene compilato il modulo per il kernel fglrx (che fa parte del pacchetto fglrx-module). Tengo a precisare che il &amp;amp;ldquo;bug&amp;amp;rdquo; non è nello SlackBuild, ma nei driver ATI. Ho segnalato il &amp;amp;ldquo;bug&amp;amp;rdquo; alla ATI inviando anche la piccola patch per risolverlo ma...aspetto ancora :).&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
L&#039;ultima versione dello SlackBuild esterno è la [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz 1.1.9]&lt;br /&gt;
&lt;br /&gt;
== Patch ==&lt;br /&gt;
Di seguito ci sono alcune patch che si possono applicare allo SlackBuild esterno, queste patch sono ritenute illegali e pertanto non vengono rilasciate nella versione ufficiale. Non mi prendo nessuna responsabilità sull&#039;uso di queste patch, le ho scritte solo per cultura e le metto online per lo stesso motivo, &amp;lt;u&amp;gt;non le uso e ne sconsiglio l&#039;uso&amp;lt;/u&amp;gt;.&lt;br /&gt;
Per applicare le patch basta copiarle nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;, mentre per disinstallarle basta rimuoverle.&lt;br /&gt;
&lt;br /&gt;
* [http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch].Questa patch modifica i driver ATI in modo che presentino una licenza GPL cossicché da poter usare i driver con un kernel che ha la paravirtualizzazione attiva. L&#039;alternativa preferibile è di disabilitare la paravirtualizzazione del kernel come spiegato [http://www.slacky.eu/wikislack/index.php?title=ATI_Proprietary_drivers._Ecco_uno_slackbuild.#Disabilitare_la_paravirtualizzazione_nel_kernel qui].&lt;br /&gt;
&lt;br /&gt;
== Ringraziamenti ==&lt;br /&gt;
Ringrazio tutti gli utenti dell&#039; [http://www.slacky.eu/ Italian Slackware Community] per il loro feedback e il loro appoggio morale, in particolare ringrazio (in ordine alfabetico, non certo per importanza):&lt;br /&gt;
* Ezio (alias ekxius), autore, tra l&#039;altro di un interessante [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux wiki] sull&#039;installazione e configurazione dei driver ATI (open e proprietari).&lt;br /&gt;
* Federico (alias stan), che è sempre pronto a darmi consigli facendomi credere sempre di più nell&#039;importanza del progetto.&lt;br /&gt;
&lt;br /&gt;
== Contatti ==&lt;br /&gt;
Autore originale:&lt;br /&gt;
&lt;br /&gt;
Emanuele Tomasi &amp;amp;lt; tomasiATcliDOTdiDOTunipiDOTit &amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6130</id>
		<title>Slackware: ATI SlackBuild (ITA)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ITA)&amp;diff=6130"/>
		<updated>2010-10-14T23:31:42Z</updated>

		<summary type="html">&lt;p&gt;Spina: /* ATI Catalyst 10.9 e Slackware64 13.1 e current */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduzione =&lt;br /&gt;
Questo wiki spiega come installare i driver propritari ATI con la distribuzione linux Slackware, creando, grazie ad uno SlackBuild, dei&lt;br /&gt;
pacchetti che possono essere installati tramite il comando &#039;&#039;&#039;installpkg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Il wiki NON spiega come migliorare le prestazioni. In particolare fornisce solo una descrizione minimale di come impostare il server X.Org&lt;br /&gt;
con l&#039;unico scopo di far funzionare i driver proprietari (una descrizione su come configurare il server X.Org per ottenere prestazioni&lt;br /&gt;
pi&amp;amp;ugrave; elevate la potete trovare [http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux qui]).&lt;br /&gt;
&lt;br /&gt;
Tutti i comandi che iniziano con un &#039;#&amp;gt;&#039; devono essere eseguiti con i diritti dell&#039;utente root, mentre quello che iniziano con &#039;$&amp;gt;&#039; possono&lt;br /&gt;
essere eseguiti anche da un utente senza tali diritti.&lt;br /&gt;
&lt;br /&gt;
= ATI Proprietary Driver e ATI Catalyst =&lt;br /&gt;
A partire dal 21 Novembre 2007 i driver ATI hanno cambiato nome e numero di versione. I nuovi driver, che prima venivano&lt;br /&gt;
indicati solo come &#039;&#039;&#039;ATI Proprietary Driver&#039;&#039;&#039;, ora si chiamano &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;. Non solo, il numero di versione&lt;br /&gt;
&amp;amp;egrave; passato da &#039;&#039;&#039;8.XX.X&#039;&#039;&#039; a &#039;&#039;&#039;7.XX&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quando in questo articolo si parler&amp;amp;agrave; dei driver &#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;, ci si riferir&amp;amp;agrave; implicitamente ai&lt;br /&gt;
vecchi driver, ovvero agli ATI Proprietary Driver, i nuovi ATI Catalyst sono da considerarsi &#039;&#039;versione &amp;gt;= 8.37.6&#039;&#039;,&lt;br /&gt;
anche se, ad esempio, hanno come numero di release 7.11.&lt;br /&gt;
&lt;br /&gt;
= Come ottenere tutto il software necessario =&lt;br /&gt;
I driver proprietari ATI possono essere scaricati dal sito ufficiale: http://ati.amd.com/support/driver.html, dopo aver selezionato il&lt;br /&gt;
sistema operativo Linux x86 (o Linux x86_64) e selezionato la propria scheda video, premendo il tasto &amp;quot;go&amp;quot; si arriva direttamente alla&lt;br /&gt;
pagina del download da cui bisogner&amp;amp;agrave; scaricare l&#039;installer (che d&#039;ora in poi chiameremo &#039;&#039;installer.run&#039;&#039;).&lt;br /&gt;
Dato che i driver contengono anche un modulo del kernel che verr&amp;amp;agrave; compilato direttamente sul vostro sistema, &amp;amp;egrave; necessario&lt;br /&gt;
avere anche i sorgenti del kernel attualmente installato sul sistema.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; I driver per le architetture x86 e x86_64 sono equivalenti. L&#039;installer infatti contiene i file per entrambe&lt;br /&gt;
 le architetture, sar&amp;amp;agrave; poi il processo di compilazione e creazione dei pacchetti che sceglier&amp;amp;agrave; i file adeguati.&lt;br /&gt;
 Questo vuol dire che lo SlackBuild andr&amp;amp;agrave; bene sia per la Slackware sia la Slackware64, sia per le varie versioni porting a 64 bit&lt;br /&gt;
 (Slamd64, Bluewhite64, etc...).&lt;br /&gt;
&lt;br /&gt;
= Nota IMPORTANTE =&lt;br /&gt;
Se la versione dei driver che si &amp;amp;egrave; scaricata &amp;amp;egrave; minore della 8.37.6 allora dovete sapere fin d&#039;ora che non funzioneranno con&lt;br /&gt;
il server X.Org 7.2 (o 1.3) o successivi.&lt;br /&gt;
&lt;br /&gt;
= Come creare i pacchetti per la Slackware =&lt;br /&gt;
La creazione dei pacchetti segue due strade differenti a seconda che si usino i driver ufficiali &#039;&#039;&#039;versione &amp;lt; 8.37.6&#039;&#039;&#039; oppure&lt;br /&gt;
&#039;&#039;&#039;versione &amp;gt;= 8.37.6 o nuovi ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
La prima strada fa uso di quello che chiameremo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; mentre la seconda di quello che chiameremo&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;.&lt;br /&gt;
In entrambi i casi verranno creati due pacchetti che potranno quindi essere installati tramite l&#039;utiliti &#039;&#039;&#039;installpkg&#039;&#039;&#039; della Slackware.&lt;br /&gt;
Quindi passiamo a vedere i due casi ricordando che il programma che qui chiamiamo &#039;&#039;installer.run&#039;&#039; &amp;amp;egrave; l&#039;installer che si &amp;amp;egrave;&lt;br /&gt;
scaricato dal sito della ATI.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) ==&lt;br /&gt;
Per questi tipi di driver ho creato uno &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; per la Slackware di cui ho fatto [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz questo pacchetto].&lt;br /&gt;
&lt;br /&gt;
Per creare i pacchetti Slackware basta eseguire:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; L&#039;uso dello &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; &amp;amp;egrave; limitato alla versione dei &#039;&#039;&#039;driver &amp;lt; 8.37.6&#039;&#039;&#039; visto che dai nuovi &#039;&#039;&#039; Catalyst 8.11&#039;&#039;&#039; si possono passare delle patch a quello interno.&lt;br /&gt;
&lt;br /&gt;
== Versione dei driver &amp;gt;= 8.37.6 o nuovi ATI Catalyst (SlackBuild interno) ==&lt;br /&gt;
Per questi driver lo SlackBuild l&#039;ho inviato direttamente alla ATI che ha provveduto ad inserirlo all&#039;interno dell&#039;installer, quindi basta&lt;br /&gt;
eseguire:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
o, se i driver sono abbastanza recenti (non ricordo la versione esatta), basta un semplice:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Oppure, per creare ed installare direttamente i pacchetti, si può usare (sempre con versioni recenti dei driver):&lt;br /&gt;
 #&amp;gt; sh intaller.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
= Cosa contengono i pacchetti creati? =&lt;br /&gt;
I due pacchetti creati dallo SlackBuild, che chiameremo &#039;&#039;fglrx-module&#039;&#039; e &#039;&#039;fglrx-x&#039;&#039;, contengono, rispettivamente, il modulo per il&lt;br /&gt;
kernel attualmente installato sul sistema, e i driver per la versione del server X.Org installata.&lt;br /&gt;
In questo modo, se si aggiorna il kernel oppure il server X.Org si pu&amp;amp;ograve; creare solo il relativo pacchetto.&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-module ==&lt;br /&gt;
Per creare solo il pacchetto contenente il modulo per il kernel attualmente installato, basta lanciare l&#039;installer con l&#039;opzione&lt;br /&gt;
&#039;&#039;Only_Module &#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Quindi, con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
== Creare solo il pacchetto fglrx-x ==&lt;br /&gt;
Per creare solo il pacchetto contenente i driver per il server X.Org attualmente installato sul sistema, basta lanciare l&#039;installer con&lt;br /&gt;
l&#039;opzione &#039;&#039;Only_X&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
Con lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
= Configurazione minimale del server X.Org =&lt;br /&gt;
Una volta installati i due pacchetti bisogna segnalare al server X.Org di usare i driver proprietari ATI, per fare questo bisogna&lt;br /&gt;
controllare che il file xorg.conf, che generalmente &amp;amp;egrave; situato nella directory /etc/X11/, contenga le seguenti voci:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Load	&amp;quot;dri&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 	Driver	&amp;quot;fglrx&amp;quot;&lt;br /&gt;
 	....&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group	0&lt;br /&gt;
 	Mode	0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
= Verifica =&lt;br /&gt;
Per verificare se i driver proprietari ATI sono stati correttamente installati si pu&amp;amp;ograve; eseguire il comando:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
Sulla mia macchina l&#039;output &amp;amp;egrave;:&lt;br /&gt;
 display: :0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
= Rimuovere i pacchetti installati =&lt;br /&gt;
Per rimuovere i pacchetti installati si pu&amp;amp;ograve; tranquillamente usare l&#039;utiliti &#039;&#039;&#039;removepkg&#039;&#039;&#039;. Ci sono per&amp;amp;ograve; aspetti che vanno&lt;br /&gt;
considerati:&lt;br /&gt;
* La rimozione dei pacchetti non elimina i file di configurazione del driver fglrx, questi file sono situati nella directory &#039;&#039;/etc/ati&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;NOTA:&#039;&#039;&#039; La directory &#039;&#039;/etc/ati/custom-package&#039;&#039; se esiste, contiene lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; e quindi non va cancellata.&lt;br /&gt;
*Il pacchetto &#039;&#039;fglrx-x&#039;&#039; contiene le librerie OpenGL della ATI, e queste librerie sono posizionate nella stessa directory di quelle Mesa, indi per cui quando si installa il pacchetto &#039;&#039;fglrx-x&#039;&#039; vengono sovrascritte le OpenGL Mesa. Per ripristinare la situazione si deve semplicemente reinstallare il pacchetto contenente queste librerie, ovvero il pacchetto:&lt;br /&gt;
::x11&lt;br /&gt;
:si usa la Slackware 11, oppure:&lt;br /&gt;
::mesa&lt;br /&gt;
:se si usa la Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patchare i driver =&lt;br /&gt;
I driver ATI sono noti per essere sempre in ritardo rispetto all&#039;aggiornamento del kernel linux. Spesso occorre quindi patchare i driver in modo tale che la creazione del modulo per il kernel abbia successo. A partire dagli ATI Catalist &amp;gt; 8.11 abbiamo inserito nello &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; la possibilit&amp;amp;agrave; di patchare i driver ATI prima che lo SlackBuild stesso esegua la compilazione del modulo per il kernel.&lt;br /&gt;
&lt;br /&gt;
Per fare questo basta creare (o scaricare da internet) una patch e dargli questo path:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
dove:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION deve essere uguale al risultato del comando:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
se la directory &#039;&#039;/et/ati/patch&#039;&#039; non esiste, va ovviamente creata.&lt;br /&gt;
&lt;br /&gt;
Quindi, ad esempio, se si il primo dei due comandi da come risultato &#039;&#039;&#039;8.56&#039;&#039;&#039; e il secondo &#039;&#039;&#039;2.6.27.6&#039;&#039;&#039;, la patch va chiamata: &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Lo &#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; automaticamente noter&amp;amp;agrave; la patch, e, se si &amp;amp;egrave; in possesso del programma &#039;&#039;&#039;patch&#039;&#039;&#039;, eseguir&amp;amp;agrave;:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Alcune patch ==&lt;br /&gt;
Di seguito alcune patch note e come usarle:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 e kernel == 2.6.33.x ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 e kernel == 2.6.34 ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi:&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* Per i &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 e Slackware64 13.1 o current ===&lt;br /&gt;
Scaricate la [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] nella directory &#039;&#039;/tmp&#039;&#039;, quindi fate:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
ad un certo punto l&#039;installazione chiede:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
quindi inserire:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
= Problemi noti =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
L&#039;errore accade in fase di compilazione del modulo ed &amp;amp;egrave; dovuto al fatto che il kernel &amp;amp;egrave; stato compilato con l&#039;opzione di&lt;br /&gt;
paravirtualizzazione attiva. Questa opzione tra le altre cose, impedisce di caricare, e quindi di compilare, moduli che non hanno la&lt;br /&gt;
licenza GPL. Visto che i driver ATI non hanno questo tipo di licenza, non vengono compilati.&lt;br /&gt;
&lt;br /&gt;
Per ovviare al problema si pu&amp;amp;ograve;:&lt;br /&gt;
=== Disabilitare la paravirtualizzazione nel kernel ===&lt;br /&gt;
L&#039;opzione di paravirtualizzazione si chiama &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; e generalmente si trova nel sottomen&amp;amp;ugrave; &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; del kernel.&lt;br /&gt;
=== Patchare i driver ATI ===&lt;br /&gt;
Questa operazione &amp;amp;egrave; illegale poich&amp;amp;egrave; si deve modificare il tipo di licenza rilasciata dalla ATI in GPL. Ho scritto la patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
di cui non mi prendo nessuna responsabilit&amp;amp;agrave;, io non la uso e ne sconsiglio l&#039;uso preferendo l&#039;alternativa di disabilitare la paravirtualizzazione del kernel.&lt;br /&gt;
Per usare questa patch bisogna:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039;:&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/custom-package/patch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SlackBuild interno&#039;&#039;&#039; (solo con ATI Catalist &amp;gt; 8.11):&lt;br /&gt;
* Copiare la patch nella directory &#039;&#039;/etc/ati/patch&#039;&#039; (se non esiste, va creata)&lt;br /&gt;
&lt;br /&gt;
Lo SlackBuild noter&amp;amp;agrave; la presenza della patch e la applicher&amp;amp;agrave;. Per disinstallare la patch basterà quindi cancellarla.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
Questo problema &amp;amp;egrave; dovuto alla mancanza nel sistema del filesystem SHM (oggi chiamato tmpfs), ovvero il virtual memory filesystem.&lt;br /&gt;
Per ovviare al problema si deve:&lt;br /&gt;
* Aggiungere al file &#039;&#039;/etc/fstab&#039;&#039; la seguente riga:&lt;br /&gt;
 shm	     	/dev/shm	       tmpfs		defaults	0	0&lt;br /&gt;
* Quindi montare il filesystem tramite:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Ovviamente il kernel deve essero predisposto al &amp;quot;montaggio&amp;quot; di questo filesystem, in particolare l&#039;opzione del kernel che deve essere&lt;br /&gt;
abilitata &amp;amp;egrave; &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; che generalmente &amp;amp;egrave; sistuata nel sottomen&amp;amp;ugrave; del kernel &#039;&#039;&#039;File systems --&amp;gt; Pseudo filesystems&#039;&#039;&#039;. C&#039;&amp;amp;egrave; da dire per&amp;amp;ograve; che tutti i kernel precompilati hanno generalmente questa opzione abilitata.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
L&#039;errore completo &amp;amp;egrave; qualcosa del genere:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
L&#039;errore, se pur spiegato pu&amp;amp;ograve; non essere chiaro. In pratica deriva dal fatto che i link simbolici:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
non puntano alla directory in cui sono inseriti i sorgenti del kernel attuale (che generalmente &amp;amp;egrave; /usr/src/linux-`uname -r`). Accade a coloro che usano uno dei kernel contenuto nella Slackware, per cui cercher&amp;amp;ograve; di spiegarlo in termini di &amp;quot;pacchetti&amp;quot; Slackware. Questo pu&amp;amp;ograve; succedere:&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti del kernel effettivamente non sono stati installati. In questo caso dovrebbe bastare installare il pacchetto dei sorgenti che si trova nella directory k/ della Slackware. Non &amp;amp;egrave; detto per&amp;amp;ograve; che il problema venga risolto, si veda il secondo motivo per cui sussiste l&#039;errore.&lt;br /&gt;
* O perch&amp;amp;egrave; i sorgenti (se pur installati) non rispecchiano le impostazioni dell&#039;attuale kernel. La nuova Slackware 12 ha al suo interno un p&amp;amp;ograve; di kernel precompilati (che vuol dire impostazioni differenti) mentre un solo pacchetto per i sorgenti (a meno di vedere nel ramo extra/). In particolare i sorgenti sono per un kernel SMP e quindi se si utilizza un kernel precompilato non SMP pu&amp;amp;ograve; accare che si verifichi l&#039;errore suddetto. Per ovviare basta fare quanto segue, dopo essersi assicurati che il pacchetto dei sorgenti &amp;amp;egrave; stato installato:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:eseguendo il make, oltre a compilare il kernel e relativi moduli (che poi non useremo), si rigenerano alcuni file headers che rispecchiano la configurazione del kernel (per come impostata nel file .config).&lt;br /&gt;
&lt;br /&gt;
== Logo nei driver 8.39.4 ==&lt;br /&gt;
Questo &amp;quot;bug&amp;quot; nei driver 8.39.4 deriva dal fatto che gli sviluppatori ATI non aggiornano i packager mantainer prima della release ufficiale. Sarebbe carino se facessero testare prima a noi le release ufficiali, in modo da certificare il corretto funzionamento degli script per creare i pacchetti. Per risolvere il problema si deve usare lo &#039;&#039;&#039;SlackBuild esterno&#039;&#039;&#039; come descritto [[#Versione dei driver &amp;lt; 8.37.6 (SlackBuild esterno) | qui]].&lt;br /&gt;
&lt;br /&gt;
== amdcccle non parte con la Slackware 12 ==&lt;br /&gt;
Molti utenti che utilizzano la versione del server X.Org 7.2 (o 1.3) non riescono a lanciare correttamente il Catalyst. Il comando per eseguire il Catalyst &amp;amp;egrave;:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
Per questo problema sembra non esserci ancora soluzione, ma stiamo lavorando per risolverlo.&lt;br /&gt;
&lt;br /&gt;
= Link utili =&lt;br /&gt;
Il thread di discussione da cui &amp;amp;egrave; stato tratto questo articolo:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
Un alternativa ai driver ufficiali ATI:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
Una guida su come installare e configurare i driver (open source e proprietary) ATI:&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusione =&lt;br /&gt;
I driver proprietari ATI per molti notebook e moderni PC fissi risultano essere quasi l&#039;unica alternativa per l&#039;uso dell&#039;accelerazione 3d con linux. Purtroppo gli sviluppatori ATI non effettuano il back porting e quindi gli utenti che fanno uso dei driver precedenti alla versione 8.37.6 non potranno mai passare alla versione 7.2 (o anche detto 1.3) o successive del server X.Org. Si spera quindi che ben presto i driver Mesa possano essere usati anche per queste schede video.&lt;br /&gt;
&lt;br /&gt;
Inoltre, pu&amp;amp;ograve; succedere che la compilazione del modulo non abbia successo. Se &amp;amp;egrave; il vostro caso, scrivetemi tranquillamente all&#039;indirizzo &#039;&#039;&#039;tomasi@cliDOTdiDOTunipiDOTit&#039;&#039;&#039; postandomi l&#039;output dell&#039;installer lanciato con l&#039;opzione &#039;&#039;Only_Module&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Ringrazio Ezio Ghibaudo e Federico Rota per aver iniziato questo wiki e per l&#039;aiuto che mi hanno dato con lo SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6129</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6129"/>
		<updated>2010-10-14T23:30:59Z</updated>

		<summary type="html">&lt;p&gt;Spina: /* ATI Catalyst 10.9 and Slackware64 13.1 e current */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found here).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
== Proprietary ATI Drivers and ATI Catalyst ==&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
== Getting all the necessary ==&lt;br /&gt;
The proprietary ATI drivers can be downloaded from the [http://ati.amd.com/support/driver.html  official web site], after selecting the Linux x86 operating system  (or Linux x86_64) and selecting your video card, pressing the “go” button takes you directly into the download page from which you can download the installer (which henceforth we call installer.run).&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source currently installed in the system as well.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package&lt;br /&gt;
 creation process to choose the appropriate files.&lt;br /&gt;
 This means that &#039;&#039;&#039;the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Important notice ==&lt;br /&gt;
If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.&lt;br /&gt;
&lt;br /&gt;
== How to create Slackware packages ==&lt;br /&gt;
The packages creation follows two different ways depending on whether you use the official driver version &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;= 8.37.6&#039;&#039;&#039; or new &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
The first way uses what is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; while the second way what we will call &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
In both cases the two packages will be created and they can be installed by Slackware &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility.&lt;br /&gt;
So let&#039;s see the two cases saying that the program that here is called installer.run is the installer downloaded from ATI web site.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; use is limited to the driver &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; since from new &#039;&#039;&#039;Catalyst 8.11&#039;&#039;&#039; you can pass the patches at the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh installer.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
== What do created packages contain? ==&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system.&lt;br /&gt;
In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-module package ===&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-x package ===&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh installer.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== Minimal X.Org server configuration ==&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
== Installation checking ==&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
== Remove installed packages ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 or current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the&lt;br /&gt;
kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
Proprietary ATI drivers for many modern desktop and notebook PC seems are almost the only alternative to the use of 3d acceleration with linux. Unfortunately ATI developers don&#039;t make back porting and then users using drivers&#039; version older than 8.37.6 will never go to X.Org server version 7.2 (alias 1.3) or later. Let&#039;s hope that Mesa drivers can also be used for these cards.&lt;br /&gt;
&lt;br /&gt;
Also, It could happen that the module compilation fails. If so, feel free to write me at &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; posting me the output generated by Only_Module option.&lt;br /&gt;
&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6128</id>
		<title>Slackware: ATI SlackBuild (ENG)</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware:_ATI_SlackBuild_(ENG)&amp;diff=6128"/>
		<updated>2010-10-14T23:29:57Z</updated>

		<summary type="html">&lt;p&gt;Spina: e -&amp;gt; and&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This wiki explains how to install the proprietary ATI drivers in a Slackware Linux distribution, creating, thanks to a SlackBuild, packages that can be installed through the &#039;&#039;&#039;installpkg&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
This wiki DOES NOT explain how to improve performance. In particular, It provides only a minimal description of how to set up the X.Org server with the only purpose of loading the proprietary drivers (a description on how to configure the X.Org server to increase performance can be found here).&lt;br /&gt;
&lt;br /&gt;
All commands starting with a &#039;#&amp;gt;&#039; must be executed with root rights, while commands beginning with &#039;$&amp;gt;&#039; can be performed by a user without such rights.&lt;br /&gt;
&lt;br /&gt;
== Proprietary ATI Drivers and ATI Catalyst ==&lt;br /&gt;
Since 21 November 2007, ATI drivers have changed the name and the number version. The new drivers, which were first mentioned only as Proprietary ATI Driver, are now called ATI Catalyst. Moreover, the version number has passed from 8.XX.X to 7.XX.&lt;br /&gt;
&lt;br /&gt;
When in this wiki we will talk about drivers version &amp;lt;8.37.6, we will refer implicitly to the old driver, such as Proprietary ATI Driver, while the new ATI Catalyst have a number version &amp;gt;= 8.37.6, even if, for instance, have a release number 7.11.&lt;br /&gt;
&lt;br /&gt;
== Getting all the necessary ==&lt;br /&gt;
The proprietary ATI drivers can be downloaded from the [http://ati.amd.com/support/driver.html  official web site], after selecting the Linux x86 operating system  (or Linux x86_64) and selecting your video card, pressing the “go” button takes you directly into the download page from which you can download the installer (which henceforth we call installer.run).&lt;br /&gt;
Since drivers also contain a kernel module which will be compiled directly on your system, you&#039;ll need the kernel source currently installed in the system as well.&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Drivers for x86 and x86_64 architectures are equivalent. The installer contains files for both architectures, then It will be the compilation process and the package&lt;br /&gt;
 creation process to choose the appropriate files.&lt;br /&gt;
 This means that &#039;&#039;&#039;the SlackBuild will be good for Slackware, Slackware64 and for Slackware 64-bit portings (Slamd64, Bluewhite64, etc. ...)&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Important notice ==&lt;br /&gt;
If the downloaded driver version is less than 8.37.6, then you need to know from now that it will not work onto X.Org 7.2 server (or 1.3) or later.&lt;br /&gt;
&lt;br /&gt;
== How to create Slackware packages ==&lt;br /&gt;
The packages creation follows two different ways depending on whether you use the official driver version &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;= 8.37.6&#039;&#039;&#039; or new &#039;&#039;&#039;ATI Catalyst&#039;&#039;&#039;.&lt;br /&gt;
The first way uses what is called &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; while the second way what we will call &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
In both cases the two packages will be created and they can be installed by Slackware &#039;&#039;&#039;installpkg&#039;&#039;&#039; utility.&lt;br /&gt;
So let&#039;s see the two cases saying that the program that here is called installer.run is the installer downloaded from ATI web site.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;lt; 8.37.6 (external SlackBuild) ===&lt;br /&gt;
For these types of drivers I&#039;ve created an &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; for Slackware and I made [http://www.slacky.eu/~spina/fglrx/ati-slack-packager-1.1.9-noarch-1.tgz this package].&lt;br /&gt;
&lt;br /&gt;
To create Slackware packages simply run:&lt;br /&gt;
 #&amp;gt; installpkg ati-slack-packager-current-noarch-1.tgz&lt;br /&gt;
 #&amp;gt; sh installer.run -- buildpkg custom-package/Slackware&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; use is limited to the driver &#039;&#039;&#039;&amp;lt; 8.37.6&#039;&#039;&#039; since from new &#039;&#039;&#039;Catalyst 8.11&#039;&#039;&#039; you can pass the patches at the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Drivers version &amp;gt;= 8.37.6 or new ATI Catalyst (internal SlackBuild) ===&lt;br /&gt;
For these drivers I&#039;ve sent the SlackBuild directly to ATI which inserted it into the installer, then simply run:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/All&lt;br /&gt;
or, if drivers are quite recent, it suffices:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg&lt;br /&gt;
Otherwise, in order to create and install directly the packages you can use (always with recent versions of the driver):&lt;br /&gt;
 #&amp;gt; sh installer.run --buildandinstallpkg&lt;br /&gt;
&lt;br /&gt;
此处的意思是：如果是新装的系统，直接运行本处的最后一个命令即可同时完成创建包和安装包的过程。&lt;br /&gt;
&lt;br /&gt;
== What do created packages contain? ==&lt;br /&gt;
The two packages created by SlackBuild, that we&#039;ll call &#039;&#039;fglrx-module&#039;&#039; and &#039;&#039;fglrx-x&#039;&#039; contain, respectively, the kernel module and the X.Org server driver currently installed in the system.&lt;br /&gt;
In this way, if you upgrade the kernel or the X.Org server, you can create only one package.&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-module package ===&lt;br /&gt;
To create just the package containing the kernel module for the currently installed kernel, simply run the installer with the &#039;&#039;Only_Module&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
So with &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_Module&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_Module&lt;br /&gt;
&lt;br /&gt;
=== Creating only fglrx-x package ===&lt;br /&gt;
To create just the package containing the X.Org driver currently installed in your system, simply run installer with &#039;&#039;Only_X&#039;&#039; option.&lt;br /&gt;
&lt;br /&gt;
With &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg custom-package/Only_X&lt;br /&gt;
With &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039;:&lt;br /&gt;
 #&amp;gt; sh installer.run --buildpkg Slackware/Only_X&lt;br /&gt;
&lt;br /&gt;
（如果进行了上一小节的 --buildandinstallpkg则本小节的命令可不必再执行）&lt;br /&gt;
&lt;br /&gt;
接下来，执行&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sh installer.run&lt;br /&gt;
&lt;br /&gt;
即可进入ATI配置的界面，完成显卡的简单配置。&lt;br /&gt;
&lt;br /&gt;
== Minimal X.Org server configuration ==&lt;br /&gt;
Once installed the two indicated packages, you must tell to the X.Org server to use ATI proprietary drivers, to do this we must check if the xorg.conf file, which is usually located in the &#039;&#039;/etc/X11/&#039;&#039; directory, contains the following items:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Load    &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load    &amp;quot;glx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
        Driver  &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        ...&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Group   0&lt;br /&gt;
        Mode    0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
== Installation checking ==&lt;br /&gt;
To see if proprietary ATI drivers are properly installed run the command:&lt;br /&gt;
 $&amp;gt; fglrxinfo&lt;br /&gt;
On my computer the output is:&lt;br /&gt;
 display::0.0  screen: 0&lt;br /&gt;
 OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
 OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
 OpenGL version string: 2.0.6650 (8.39.4)&lt;br /&gt;
&lt;br /&gt;
== Remove installed packages ==&lt;br /&gt;
To remove installed packages you can use the &#039;&#039;&#039;removepkg&#039;&#039;&#039; utility. However, there are aspects that should be considered:&lt;br /&gt;
* The packages&#039; removing don&#039;t delete fglrx&#039;s driver configuration files, these files are located in &#039;&#039;/etc/ati&#039;&#039; directory&lt;br /&gt;
 &#039;&#039;&#039;NOTE:&#039;&#039;&#039; The /etc/ati/custom-package directory, if exists, contains the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; and therefore should not be deleted.&lt;br /&gt;
* The fglrx-x package contains ATI&#039;s OpenGL libraries, and these libraries are located in the same directory of the Mesa libraries, so when you install the fglrx-x package Mesa OpenGL libraries are overridden. To restore the situation you should simply reinstall the package containing these libraries, like:&lt;br /&gt;
::x11&lt;br /&gt;
:for Slackware 11, or:&lt;br /&gt;
::mesa&lt;br /&gt;
:for Slackware 12.&lt;br /&gt;
&lt;br /&gt;
= Patching the drivers =&lt;br /&gt;
Ati drivers are usually not compatible with brand new version of kernel linux. You often need to patch the driver so that you can create the kernel module successfully. Since Ati Catalyst &amp;gt; 8.11 you can patch Ati drivers within the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; before that same SlackBuild compiles the kernel module.&lt;br /&gt;
&lt;br /&gt;
In order to do that, you just have to create (or download from the Internet) a patch and rename it like this:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;/etc/ati/patch/patch-ATI_DRIVER_VERSION-KERNEL_VERSION&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
ATI_DRIVER_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; sh installer.run -i | head -n1 | cut -d&#039;-&#039; -f2&lt;br /&gt;
KERNEL_VERSION must be equal to the output of:&lt;br /&gt;
 $&amp;gt; uname -r&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;/etc/ati/patch&#039;&#039; doesn&#039;t exist, it must be made.&lt;br /&gt;
&lt;br /&gt;
For example, if the former command outputs &amp;quot;8.55&amp;quot; and the latter &amp;quot;2.6.27.6&amp;quot;, you need to name the patch &#039;&#039;/etc/ati/patch/patch-8.56-2.6.27.6&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; will find the patch automatically and, if the command &#039;&#039;&#039;patch&#039;&#039;&#039; is installed, it will run:&lt;br /&gt;
 #&amp;gt; patch -p0 &amp;lt; /etc/ati/patch/patch-8.56-2.6.27.6&lt;br /&gt;
&lt;br /&gt;
== Patches ==&lt;br /&gt;
Here some patches and how to use there:&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.3, 10.4 and kernel == 2.6.33.x ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.3-4_with_2.6.33.x.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.3&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.712-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-3-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.3-4_with_2.6.33.x.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.4, 10.5 and kernel == 2.6.34 ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.4-5_with_2.6.34.diff patch] into &#039;&#039;/tmp&#039;&#039;, so:&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.4&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.723-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
* For &#039;&#039;&#039;Catalyst 10.5&#039;&#039;&#039; do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.4-5_with_2.6.34.diff /etc/ati/patch/patch-8.732-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-4-x86.x86_64.run --buildpkg&lt;br /&gt;
&lt;br /&gt;
=== ATI Catalyst 10.9 and Slackware64 13.1 e current ===&lt;br /&gt;
Download the [http://www.slacky.eu/~spina/fglrx/patch/fglrx_10.9_with_Slackware64-13.1.diff patch] into &#039;&#039;/tmp&#039;&#039;, so to do:&lt;br /&gt;
 #&amp;gt; mkdir -p /etc/ati/patch/&lt;br /&gt;
 #&amp;gt; mv /tmp/fglrx_10.9_with_Slackware64-13.1.diff /etc/ati/patch/patch-8.771-$(uname -r)&lt;br /&gt;
 #&amp;gt; sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg&lt;br /&gt;
at one point the installer asks:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
can&#039;t find file to patch at input line 4&lt;br /&gt;
Perhaps you should have used the -p or --strip option?&lt;br /&gt;
The text leading up to this was:&lt;br /&gt;
--------------------------&lt;br /&gt;
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile&lt;br /&gt;
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200&lt;br /&gt;
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200&lt;br /&gt;
--------------------------&lt;br /&gt;
File to patch:&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
insert:&lt;br /&gt;
 ./2.6.x/Makefile&lt;br /&gt;
&lt;br /&gt;
= Known problems =&lt;br /&gt;
== FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;paravirt_ops&#039; ==&lt;br /&gt;
The error occurs during module compilation and It&#039;s due to the fact that the kernel was compiled with the option of paravirtualization active. This option among other things, prevents to load, and then to compile, modules that do not have the GPL license. Since that ATI drivers don&#039;t have this type of license, they aren&#039;t compiled.&lt;br /&gt;
&lt;br /&gt;
To work around this problem you can:&lt;br /&gt;
==== Disable kernel paravirtualization option ====&lt;br /&gt;
The paravirtualization option is called &#039;&#039;&#039;CONFIG_PARAVIRT&#039;&#039;&#039; and generally is in the &#039;&#039;&#039;Processor type and features&#039;&#039;&#039; kernel submenu.&lt;br /&gt;
==== Patch ATI drivers ====&lt;br /&gt;
This operation is illegal because It changes the type of license issued by ATI in a GPL license. I wrote the patch:&lt;br /&gt;
&lt;br /&gt;
[http://www.slacky.eu/~spina/fglrx/patch/ati_to_gpl.patch ati_to_gpl.patch] (md5sum: 4207f41a71035dc2eed3ea9346b881bb)&lt;br /&gt;
&lt;br /&gt;
but I do not take any responsibility, I do not use It and I discourage the use in order to prefer the alternative to disable the paravirtualization kernel option. To use this patch You need to:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039;&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039; (only with Ati Catalyst &amp;gt; 8.11):&lt;br /&gt;
* Copy the patch in the &#039;&#039;/etc/ati/patch&#039;&#039; directory (if it doesn&#039;t exist you must create it)&lt;br /&gt;
&lt;br /&gt;
The SlackBuild will find and apply the patch automatically. In order to uninstall it you simply need to delete it. In order to uninstall the patch simply delete It from &#039;&#039;/etc/ati/custom-package/patch&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
== Using GLX_SGIX_pbuffer FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! ==&lt;br /&gt;
This problem is due to the lack of SHM filesystem (now called tmpfs), that is virtual memory filesystem. To work around this problem you must:&lt;br /&gt;
* Add into &#039;&#039;/etc/fstab&#039;&#039; file the following line:&lt;br /&gt;
 shm		/dev/shm		tmpfs		defaults	0	0&lt;br /&gt;
* Then mount the filesystem through:&lt;br /&gt;
 #&amp;gt; mount /dev/shm&lt;br /&gt;
Obviously the kernel must be predisposed for the &amp;quot;mounting&amp;quot; of this filesystem, in particular the&lt;br /&gt;
kernel option that must be enabled is &#039;&#039;&#039;CONFIG_TMPFS&#039;&#039;&#039; that is generally placed in &#039;&#039;&#039;File system --&amp;gt; Pseudo filesystems&#039;&#039;&#039; submenu. However all the compiled kernel generally have this option enabled.&lt;br /&gt;
&lt;br /&gt;
== kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel ==&lt;br /&gt;
The complete mistake is something like this:&lt;br /&gt;
&lt;br /&gt;
 Error:&lt;br /&gt;
 kernel includes at /lib/modules/`uname -r`/build/include do not match current kernel.&lt;br /&gt;
 they are versioned as &amp;quot;&amp;quot;&lt;br /&gt;
 instead of &amp;quot;`uname -r`&amp;quot;.&lt;br /&gt;
 you might need to adjust your symlinks:&lt;br /&gt;
 - /usr/include&lt;br /&gt;
 - /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
The error, also if explained, could be not clear. In practice It results from the fact that the symbolic link:&lt;br /&gt;
 /lib/modules/`uname -r`/source&lt;br /&gt;
 /lib/modules/`uname -r`/build&lt;br /&gt;
don&#039;t point to the directory where are inserted the current kernel sources (which is generally &#039;&#039;/usr/src/linux- &#039;uname-r&#039;&#039;&#039;). It happens to those who use a kernel contained in Slackware, so I will try to explain It in terms of Slackware &amp;quot;packages&amp;quot;. This can happen:&lt;br /&gt;
* because the kernel source were not installed. In this case should be enough to install the source package which can be found in Slackware k/ directory. However, It is not granted that the problem will be solved, You&#039;ll need to see the second reason why there is an error.&lt;br /&gt;
* because sources (also if installed) do not reflect the settings of the current kernel. The new Slackware 12 has some precompiled kernels (which means different settings), while just a single package for the sources (unless seeing the branch extra/). In particular, the sources are for the SMP kernel and so if you use a non-SMP kernel can appear this error. To avoid this, after making sure that the package source has been installed, do simply the following:&lt;br /&gt;
 #&amp;gt; cd /usr/src/linux&lt;br /&gt;
 #&amp;gt; cp /boot/config .config&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
:running make, in addition to compiling the kernel modules (which we will not use), some header files are regenerated, and they will reflect the kernel configuration (as it&#039;s set in the .config file).&lt;br /&gt;
&lt;br /&gt;
== Driver 8.39.4 logo ==&lt;br /&gt;
This &amp;quot;bug&amp;quot; in 8.39.4 drivers results from the fact that ATI developers don&#039;t update the packager maintainers before the official releases. It should be nice first if they did test us official releases in order to certify the proper functioning of the scripts for creating packages. To solve the problem it&#039;s necessary to use the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; as described here.&lt;br /&gt;
&lt;br /&gt;
== amdcccle don&#039;t start on Slackware 12 ==&lt;br /&gt;
Many users of the X.Org 7.2 (or 1.3) server version fail to start properly the Catalyst. The command to run the Catalyst is:&lt;br /&gt;
 #&amp;gt; amdcccle&lt;br /&gt;
For this problem it seems there is no solution yet, but we are working on to solve it.&lt;br /&gt;
&lt;br /&gt;
= Useful links =&lt;br /&gt;
The discussion thread from which it was derived this article:&lt;br /&gt;
http://www.slacky.eu/forum/viewtopic.php?t=18134&amp;amp;highlight=&lt;br /&gt;
&lt;br /&gt;
An alternative to official ATI drivers:&lt;br /&gt;
http://www.schneider-digital.de/&lt;br /&gt;
&lt;br /&gt;
A wiki in italian about installing and configuring ATI drivers (open source and proprietary):&lt;br /&gt;
http://www.slacky.eu/wikislack/index.php?title=Installazione_driver_ATI_su_Slackware_GNU/Linux&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
Proprietary ATI drivers for many modern desktop and notebook PC seems are almost the only alternative to the use of 3d acceleration with linux. Unfortunately ATI developers don&#039;t make back porting and then users using drivers&#039; version older than 8.37.6 will never go to X.Org server version 7.2 (alias 1.3) or later. Let&#039;s hope that Mesa drivers can also be used for these cards.&lt;br /&gt;
&lt;br /&gt;
Also, It could happen that the module compilation fails. If so, feel free to write me at &#039;&#039;&#039;tomasiATcliDOTdiDOTunipiDOTit&#039;&#039;&#039; posting me the output generated by Only_Module option.&lt;br /&gt;
&lt;br /&gt;
Thank you at Ezio Ghibaudo and Federico Rota who have started this wiki and for help with the SlackBuild.&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Slackware&amp;diff=6127</id>
		<title>Slackware</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Slackware&amp;diff=6127"/>
		<updated>2010-10-13T09:22:27Z</updated>

		<summary type="html">&lt;p&gt;Spina: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Per http://wiki.cchtml.com --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Distributions]]&lt;br /&gt;
Welcome. This bare-bone little FAQ details how to get fglrx working on Slackware, Slackware64 and 64 bit porting.&lt;br /&gt;
&lt;br /&gt;
You can use the &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; or the &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; in order to have fglrx packaged for Slackware.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;internal SlackBuild&#039;&#039;&#039; is distributed within the official ATI installer.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;external SlackBuild&#039;&#039;&#039; is for driver version &amp;lt; 8.37.6.&lt;br /&gt;
&lt;br /&gt;
You can find more detailed information about both of them on the following links.&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&#039;&#039;&#039;Internal SlackBuild&#039;&#039;&#039;&lt;br /&gt;
*[[Slackware: internal SlackBuild (ENG)|Wiki for internal SlackBuild (ENG)]]&lt;br /&gt;
*[[Slackware: SlackBuild interno (ITA)|Wiki per lo SlackBuild interno (ITA)]]&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;External SlackBuild&#039;&#039;&#039; (for driver version &amp;lt; 8.37.6)&lt;br /&gt;
*[[Slackware: external SlackBuild (ENG)|Wiki for external SlackBuild (ENG)]]&lt;br /&gt;
*[[Slackware: SlackBuild esterno (ITA)|Wiki per lo SlackBuild esterno (ITA)]]&lt;br /&gt;
&lt;br /&gt;
{{VCT}}&lt;/div&gt;</summary>
		<author><name>Spina</name></author>
	</entry>
</feed>