{"id":340,"date":"2006-07-31T21:44:53","date_gmt":"2006-07-31T20:44:53","guid":{"rendered":"http:\/\/www.zarrelli.org\/new_blog\/?p=340"},"modified":"2006-07-31T21:44:53","modified_gmt":"2006-07-31T20:44:53","slug":"ubuntu-dapper-xgl-compiz-ati-x1600","status":"publish","type":"post","link":"https:\/\/www.zarrelli.org\/blog\/ubuntu-dapper-xgl-compiz-ati-x1600\/","title":{"rendered":"Ubuntu Dapper + XGL + Compiz + ATI X1600"},"content":{"rendered":"<p><img decoding=\"async\" id=\"image373\" alt=\"compiz-1.png\" src=\"https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2006\/07\/compiz-1.png\" \/><\/p>\n<p>Seguendo il semplice tutorial fornito da <a target=\"_blank\" href=\"http:\/\/pollycoke.wordpress.com\/2006\/05\/18\/ubuntu-dapper-xgl-compiz\/\">Pollycoke<\/a>, ho provato a installare Xgl e Compiz su una Ubuntu Dapper messa in movimento da una scheda grafica ATI X1600, notando con mio sommo dispiacere che l&#8217;howto va leggermente modificato per venire incontro alle esigenze specifiche delle ATI. Ora, dato che da qui a due minuti mi scorder\u00f2 come ho fatto a mettere in piedi il tutto, meglio scrivere questo tutorial modificato in modo da tenermi un bigino utile alla prossima formattazione.<\/p>\n<p>Due o tre considerazioni preliminari:<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"http:\/\/www.novell.com\/linux\/xglrelease\/\">Xgl<\/a> (X Over OpenGL) \u00e8 un&#8217;architettura X server, sviluppata da Novell, che si avvale delle OpenGL per gestire al meglio il rendering 3D accelerato offerto dalle pi\u00f9 recenti schede video.<\/li>\n<li><a target=\"_blank\">Compiz<\/a> \u00e8 un window manager sviluppato da Novell, che sfrutta le OpenGL e le <a target=\"_blank\" href=\"http:\/\/www.freedesktop.org\/wiki\/Software\/CompositeExt\">estensioni composite<\/a> per gestire al meglio le potenzialit\u00e0 grafiche messe a disposizione dal server Xgl.<\/li>\n<\/ul>\n<p>Ok, here we go!<\/p>\n<p><strong>Prelevare i componenti<\/strong><\/p>\n<p>Il primo passo consiste nel rendere il pi\u00f9 semplice possibile il lavoro, inserendo in<\/p>\n<p><code>\/etc\/apt\/sources.list<\/code><\/p>\n<p>i seguenti repository:<\/p>\n<p><code><br \/>\ndeb http:\/\/www.beerorkid.com\/compiz\/ dapper main<br \/>\ndeb http:\/\/xgl.compiz.info\/ dapper main<br \/>\ndeb-src http:\/\/xgl.compiz.info\/ dapper main<br \/>\n<\/code><\/p>\n<p>Da qui verranno scaricati i pacchetti contenenti il server grafico, il window manager e le librerie e le utility che ci servireanno. Dato che non si tratta di pacchetti ufficiali, la loro firma non verr\u00e0 accettata, a meno di scaricane la chiave e aggiungerla al keyring usato da apt:<\/p>\n<p><code>sudo wget http:\/\/www.beerorkid.com\/compiz\/quinn.key.asc -O - | sudo apt-key add -<\/code><\/p>\n<p>Ora, non rimane che installare i pacchetti necessari a dare un po&#8217; di brio al desktop, iniziando con un aggiornamento della lista ottenuta dai depositi:<\/p>\n<p><code><br \/>\nsudo apt-get update<br \/>\nsudo apt-get dist-upgrade<br \/>\nsudo apt-get install xserver-xgl compiz-gnome libglitz-glx1 libgl1-mesa<br \/>\n<\/code><\/p>\n<p><strong>Configurare GDM<\/strong><\/p>\n<p>Sar\u00e0 GDM a occuparsi di lanciare Xgl quando sar\u00e0 il momento di accedere al sistema, quindi \u00e8 proprio questo componente che va configurato affinch\u00e9 possa prendersi carico del lavoro.<\/p>\n<p>Se provenite da Kubuntu, vi converr\u00e0 installare Gnome e quindi accertarsi che GDM sia il display manager predefinito:<\/p>\n<p><code><br \/>\nsudo apt-get install gnome<br \/>\nsudo dpkg-reconfigure gdm<br \/>\n<\/code><\/p>\n<p><strong>Installare i driver ATI accelerati<\/strong><\/p>\n<p>Per poter sfruttare l&#8217;accelerazione grafica in 3D delle schede ATI \u00e8 necessario scaricare i driver proprietari direttamente dal sito del produttore e installarli sul proprio sistema.<\/p>\n<p>Al momento \u00e8 disponibile la versione <a target=\"_blank\" href=\"https:\/\/a248.e.akamai.net\/f\/674\/9206\/0\/www2.ati.com\/drivers\/linux\/ati-driver-installer-8.27.10-x86.run\">8.27.10<\/a>, di cui consiglio l&#8217;utilizzo, avendo sperimentato diversi crash con la versione 8.25.<\/p>\n<p>Scaricati i driver, non rimane che lanciare l&#8217;installer che li racchiude, facendo in modo che generi i pacchetti .deb utili a razionalizzare l&#8217;installazione:<\/p>\n<p><code><br \/>\nsudo chmod +x ati-driver-installer-8.27.10-x86.run<br \/>\nsudo .\/ati-driver-installer-8.27.10-x86.run --buildpkg Ubuntu\/dapper<br \/>\nCreating directory fglrx-install<br \/>\nVerifying archive integrity... All good.<br \/>\nUncompressing ATI Proprietary Linux Driver-8.27.10......<br \/>\n==================================================<br \/>\nATI Technologies Linux Driver Installer\/Packager<br \/>\n==================================================<br \/>\nGenerating package: Ubuntu\/dapper<br \/>\n\/tmp\/fglrx.E0RA9n \/usr\/src\/ati\/fglrx-install<br \/>\nPackage \/usr\/src\/ati\/xorg-driver-fglrx_8.27.10-1_i386.deb has been successfully generated<br \/>\nPackage \/usr\/src\/ati\/xorg-driver-fglrx-dev_8.27.10-1_i386.deb has been successfully generated<br \/>\nPackage \/usr\/src\/ati\/fglrx-kernel-source_8.27.10-1_i386.deb has been successfully generated<br \/>\nPackage \/usr\/src\/ati\/fglrx-control_8.27.10-1_i386.deb has been successfully generated<br \/>\nPackage \/usr\/src\/ati\/fglrx-sources_8.27.10-1_i386.deb has been successfully generated<br \/>\n\/usr\/src\/ati\/fglrx-install<br \/>\nRemoving temporary directory: fglrx-install<br \/>\n<\/code><\/p>\n<p>Ora vi trovate con una serie di pacchetti, pronti per l&#8217;installazione, fra questi, tra l&#8217;altro, anche i sorgenti dei moduli del kernel deputati all&#8217;accelerazione della scheda grafica.<\/p>\n<p>Installiamo i driver:<\/p>\n<p>sudo dpkg -i *.deb<code \/><\/p>\n<p>I sorgenti del modulo fglrx, che si occupa dell'accelerazione 3D della scheda video, sono installati. Non rimane che compilarli ma, volendo semplificare il lavoro, meglio farsi aiutare da un'ottima utility, ovvero module assistant. Installiamola:<\/p>\n<p><code>sudo apt-get install module-assistant<\/code><\/p>\n<p>E ora, un attimo di attenzione. Se avete gi\u00e0 utilizzato module-assistant per creare il modulo fglrx in una versione adatta a un driver xorg precedente, semplicemente installare i nuovi sorgenti e lanciare la compilazione non dar\u00e0 i risultati sperati: si rimarr\u00e0 con il vecchio modulo fra le mani e un errore che viene mostrato solo nel log di Xorg e dal comando<\/p>\n<p><code>fglrxinfo<\/code><\/p>\n<p>che dir\u00e0, molto cripticamente, che si stanno utilizzando le libreria Mesa per l'accelerazione grafica non hardware.<\/p>\n<p>E' necessario, in questo caso, ripulire la directory di compilazione del modulo del kernel. Ma ci sono moduli fglrx compilati sul sistema?<\/p>\n<p><code><br \/>\nsudo module-assistant search fglrx<\/code><\/p>\n<p>fglrx-kernel-source (source package not installed):<br \/>\n-- Binary package(s) for kernel(s):<br \/>\n+ (2.6.17.3): fglrx-kernel-2.6.17.3_8.27.10-1+10.00.Custom_i386.deb<br \/>\nBeh, direi proprio di si. Nel mio caso, si tratta del pacchetto fglrx nuovo, dato che ho lanciato il comando dopo la sua compilazione e la sua installazione. Nel caso voi abbiate compilato un vecchio modulo fgrlx, troverete indicato il numero di versione corrispondente.<\/p>\n<p>E' tempo di fare un po' di pulizia, per evitare problemi di compilazione:<\/p>\n<p><code>sudo module-assistant clean fglrx<\/code><\/p>\n<p>E ora si pu\u00f2 passare alla vera e propria compilazione, installazione del pacchetto e rigenerazione delle dipendenze:<\/p>\n<p><code><br \/>\nsudo module-assistant prepare<br \/>\nsudo module-assistant update<br \/>\nsudo module-assistant build fglrx<br \/>\nsudo module-assistant install fglrx<br \/>\nsudo depmod -a<br \/>\n<\/code><\/p>\n<p>Con i moduli abbiamo finito, \u00e8 tempo di mettere le mani sul file di configurazione di Xorg.<\/p>\n<p><strong>Il file di configurazione di Xorg<\/strong><\/p>\n<p>Dato che Xgl funziona sull'architettura di Xorg, andr\u00e0 modificato quest'ultimo affinch\u00e9 fornisca l'accelerazione necessaria a sfruttare la ricchezza grafica offerta dal primo. Lasicamo, per\u00f2, che sia l'utility aticonfig a eseguire le prime modifiche sul file si configurazione di Xorg<\/p>\n<p><code>\/etc\/X11\/xorg.conf<\/code><\/p>\n<p>Semplicemente, baster\u00e0 lanciare<\/p>\n<p><code><br \/>\nsudo aticonfig --initial<br \/>\nsudo aticonfig --overlay-type=Xv<br \/>\n<\/code><\/p>\n<p>Aprite il file di configurazione<\/p>\n<p><code>\/etc\/X11\/xorg.conf<\/code><\/p>\n<p>e assicuratevi che le parti evidenziate siano presenti cos\u00ec come le vedete scritte. In caso contrario, copiate dall'esempio qui riportato, rispettando le sezioni di appartenenza:<\/p>\n<p><code \/><\/p>\n<p># \/etc\/X11\/xorg.conf (xorg X Window System server configuration file)<br \/>\n#<br \/>\n# This file was generated by dexconf, the Debian X Configuration tool, using<br \/>\n# values from the debconf database.<br \/>\n#<br \/>\n# Edit this file with caution, and see the \/etc\/X11\/xorg.conf manual page.<br \/>\n# (Type \"man \/etc\/X11\/xorg.conf\" at the shell prompt.)<br \/>\n#<br \/>\n# This file is automatically updated on xserver-xorg package upgrades *only*<br \/>\n# if it has not been modified since the last upgrade of the xserver-xorg<br \/>\n# package.<br \/>\n#<br \/>\n# If you have edited this file but would like it to be automatically updated<br \/>\n# again, run the following command:<br \/>\n#   sudo dpkg-reconfigure -phigh xserver-xorg<\/p>\n<p><strong><br \/>\n#Section \"InputDevice\"<br \/>\n#  Driver        \"wacom\"<br \/>\n#  Identifier    \"stylus\"<br \/>\n#  Option        \"Device\"        \"\/dev\/wacom\"          # Change to<br \/>\n#                                                      # \/dev\/input\/event<br \/>\n#                                                      # for USB<br \/>\n#  Option        \"Type\"          \"stylus\"<br \/>\n#  Option        \"ForceDevice\"   \"ISDV4\"               # Tablet PC ONLY<br \/>\n#EndSection<br \/>\n#<br \/>\n#Section \"InputDevice\"<br \/>\n#  Driver        \"wacom\"<br \/>\n#  Identifier    \"eraser\"<br \/>\n#  Option        \"Device\"        \"\/dev\/wacom\"          # Change to<br \/>\n#                                                      # \/dev\/input\/event<br \/>\n#                                                      # for USB<br \/>\n#  Option        \"Type\"          \"eraser\"<br \/>\n#  Option        \"ForceDevice\"   \"ISDV4\"               # Tablet PC ONLY<br \/>\n#EndSection<br \/>\n#<br \/>\n#Section \"InputDevice\"<br \/>\n#  Driver        \"wacom\"<br \/>\n#  Identifier    \"cursor\"<br \/>\n#  Option        \"Device\"        \"\/dev\/wacom\"          # Change to<br \/>\n# \/dev\/input\/event<br \/>\n#                                                      # for USB<br \/>\n#  Option        \"Type\"          \"cursor\"<br \/>\n#  Option        \"ForceDevice\"   \"ISDV4\"               # Tablet PC ONLY<br \/>\n#EndSection<br \/>\n<\/strong><\/p>\n<blockquote><p>Se non avete tavolette grafiche o altre amenit\u00e0 del genere, assicuratevi che il blocco evidenziato qui sopra sia commentato. Ci\u00f2 vi eviter\u00e0 di osservare una gran quantit\u00e0 di errori nel file di log, relativi a queste periferiche non rilevate, sebbene erroneamente abilitate<\/p><\/blockquote>\n<p>Section \"ServerLayout\"<\/p>\n<p><strong><br \/>\n#\tInputDevice     \"stylus\" \"SendCoreEvents\"<br \/>\n#\tInputDevice     \"cursor\" \"SendCoreEvents\"<br \/>\n#\tInputDevice     \"eraser\" \"SendCoreEvents\"<br \/>\n<\/strong><\/p>\n<blockquote><p>Per la stessa ragione, va commentato il blocco appena visto.<\/p><\/blockquote>\n<p>Identifier     \"Default Layout\"<br \/>\nScreen         \"Default Screen\" 0 0<br \/>\nInputDevice    \"Generic Keyboard\"<br \/>\nInputDevice    \"Configured Mouse\"<br \/>\nInputDevice    \"Synaptics Touchpad\"<br \/>\nEndSection<\/p>\n<p>Section \"Files\"<\/p>\n<p># path to defoma fonts<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/misc\"<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/cyrillic\"<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/100dpi\/:unscaled\"<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/75dpi\/:unscaled\"<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/Type1\"<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/100dpi\"<br \/>\nFontPath     \"\/usr\/share\/X11\/fonts\/75dpi\"<br \/>\nFontPath     \"\/var\/lib\/defoma\/x-ttcidfont-conf.d\/dirs\/TrueType\"<br \/>\nEndSection<\/p>\n<p>Section \"Module\"<br \/>\nLoad  \"bitmap\"<br \/>\nLoad  \"ddc\"<br \/>\n<strong>Load  \"dri\"<\/strong><br \/>\nLoad  \"extmod\"<br \/>\nLoad  \"freetype\"<br \/>\n<strong>Load  \"glx\"<\/strong><br \/>\nLoad  \"int10\"<br \/>\nLoad  \"type1\"<br \/>\nLoad  \"v4l\"<br \/>\nLoad  \"vbe\"<br \/>\nEndSection<\/p>\n<blockquote><p>Da non dimenticare l'abilitazione dell'accelerazione grafica...<\/p><\/blockquote>\n<p>Section \"InputDevice\"<br \/>\nIdentifier  \"Generic Keyboard\"<br \/>\nDriver      \"kbd\"<br \/>\nOption\t    \"CoreKeyboard\"<br \/>\nOption\t    \"XkbRules\" \"xorg\"<br \/>\nOption\t    \"XkbModel\" \"pc105\"<br \/>\nOption\t    \"XkbLayout\" \"it\"<br \/>\nEndSection<\/p>\n<p>Section \"InputDevice\"<br \/>\nIdentifier  \"Configured Mouse\"<br \/>\nDriver      \"mouse\"<br \/>\nOption\t    \"CorePointer\"<br \/>\nOption\t    \"Device\" \"\/dev\/input\/mice\"<br \/>\nOption\t    \"Protocol\" \"ExplorerPS\/2\"<br \/>\nOption\t    \"ZAxisMapping\" \"4 5\"<br \/>\nOption\t    \"Emulate3Buttons\" \"true\"<br \/>\nEndSection<\/p>\n<p>Section \"InputDevice\"<br \/>\nIdentifier  \"Synaptics Touchpad\"<br \/>\nDriver      \"synaptics\"<br \/>\nOption\t    \"SendCoreEvents\" \"true\"<br \/>\nOption\t    \"Device\" \"\/dev\/psaux\"<br \/>\nOption\t    \"Protocol\" \"auto-dev\"<br \/>\nOption\t    \"HorizScrollDelta\" \"0\"<br \/>\nEndSection<\/p>\n<p>Section \"Monitor\"<br \/>\nIdentifier   \"Monitor Generico\"<br \/>\nHorizSync    28.0 - 72.0<br \/>\nVertRefresh  43.0 - 60.0<br \/>\nOption\t    \"DPMS\"<br \/>\nEndSection<\/p>\n<p>Section \"Device\"<br \/>\nIdentifier  \"ATI Technologies, Inc. ATI Default Card\"<br \/>\n<strong>Driver      \"fglrx\"<br \/>\nOption\t    \"VideoOverlay\" \"on\"<br \/>\nOption\t    \"OpenGLOverlay\" \"off\"<br \/>\nOption\t    \"AGPMode\" \"4\"<br \/>\nOption\t    \"AGPFastWrite\" \"True\"<br \/>\nOption\t    \"EnablePageFlip\" \"True\"<\/strong><br \/>\nBusID       \"PCI:6:0:0\"<br \/>\nEndSection<\/p>\n<blockquote><p>Le opzioni appena viste fanno un po' di tutto, dal caricamento del driver fglrx a qualche ottimizzazione per aumentare la velocit\u00e0 di calcolo.<\/p><\/blockquote>\n<p>Section \"Screen\"<br \/>\nIdentifier \"Default Screen\"<br \/>\nDevice     \"ATI Technologies, Inc. ATI Default Card\"<br \/>\nMonitor    \"Monitor Generico\"<br \/>\nDefaultDepth     24<br \/>\nSubSection \"Display\"<br \/>\nDepth     1<br \/>\nModes    \"1440x900\"<br \/>\nEndSubSection<br \/>\nSubSection \"Display\"<br \/>\nDepth     4<br \/>\nModes    \"1440x900\"<br \/>\nEndSubSection<br \/>\nSubSection \"Display\"<br \/>\nDepth     8<br \/>\nModes    \"1440x900\"<br \/>\nEndSubSection<br \/>\nSubSection \"Display\"<br \/>\nDepth     15<br \/>\nModes    \"1440x900\"<br \/>\nEndSubSection<br \/>\nSubSection \"Display\"<br \/>\nDepth     16<br \/>\nModes    \"1440x900\"<br \/>\nEndSubSection<br \/>\nSubSection \"Display\"<br \/>\nDepth     24<br \/>\nModes    \"1440x900\"<br \/>\nEndSubSection<br \/>\nEndSection<\/p>\n<p><strong><br \/>\nSection \"DRI\"<br \/>\nMode         0666<br \/>\nEndSection<br \/>\n<\/strong><br \/>\n<img decoding=\"async\" id=\"image375\" alt=\"compiz-3.png\" src=\"https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2006\/07\/compiz-3.png\" \/><\/p>\n<p>Fatto questo, \u00e8 tempo di modificare i file di configurazione di GDM.<\/p>\n<p><strong>GDM<\/strong><\/p>\n<p>Il primo file a essere leggermente cambiato \u00e8 proprio<\/p>\n<p><code>\/etc\/gdm\/gdm.conf<\/code><\/p>\n<p>In questo file, cercate nella sezione<\/p>\n<p><code>[servers]<\/code><\/p>\n<p>modificate la riga<\/p>\n<p><code>0=Standard<\/code><\/p>\n<p>in<\/p>\n<p><code>1=Standard<\/code><\/p>\n<p>E commentate tutto ci\u00f2 che inizia per 0, fino in fondo. In pratica, dovrete avere il seguente blocco:<\/p>\n<p><code><br \/>\n[servers]<br \/>\n# These are the standard servers.  You can add as many you want here and they<br \/>\n# will always be started.  Each line must start with a unique number and that<br \/>\n# will be the display number of that server.  Usually just the 0 server is<br \/>\n# used.<br \/>\n1=Standard<br \/>\n#1=Standard<br \/>\n# Note the VTAllocation and FirstVT keys on Linux and FreeBSD.  Don't add any<br \/>\n# vt arguments if VTAllocation is on, and set FirstVT to be the first<br \/>\n# vt available that your gettys don't grab (gettys are usually dumb and grab<br \/>\n# even a vt that has already been taken).  Using 7 will work pretty much for<br \/>\n# all Linux distributions.  VTAllocation is not currently implemented on<br \/>\n# anything but Linux and FreeBSD.  Feel free to send patches.  X servers will<br \/>\n# just not get any extra arguments then.<br \/>\n#<br \/>\n# If you want to run an X terminal you could add an X server such as this:<br \/>\n#0=Terminal -query serverhostname<br \/>\n# or for a chooser (optionally serverhostname could be localhost):<br \/>\n#0=Terminal -indirect serverhostname<br \/>\n#<br \/>\n# If you wish to run the XDMCP chooser on the local display use the following<br \/>\n# line<br \/>\n#0=Chooser<\/code><\/p>\n<p>## Note:<br \/>\n# is your X server not listening to TCP requests?  Perhaps you should look at<br \/>\n# the security\/DisallowTCP setting!<\/p>\n<p># Definition of the standard X server.<br \/>\n[server-Standard]<br \/>\nname=Standard server<br \/>\ncommand=\/usr\/bin\/X -br -audit 0<br \/>\nflexible=true<br \/>\n# Indicates that the X server should be started at a different process<br \/>\n# priority.  Values can be any integer value accepted by the setpriority C<br \/>\n# library function (normally between -20 and 20) with 0 being the default. For<br \/>\n# highly interactive applications, -5 yields good responsiveness. The default<br \/>\n# value is 0 and the setpriority function is not called if the value is 0.<\/p>\n<p>#priority=0<\/p>\n<p># To use this server type you should add -query host or -indirect host to the<br \/>\n# command line.<br \/>\n[server-Terminal]<br \/>\nname=Terminal server<br \/>\n# Add -terminate to make things behave more nicely<br \/>\ncommand=\/usr\/bin\/X -br -audit 0 -terminate<br \/>\n# Make this not appear in the flexible servers (we need extra params anyway,<br \/>\n# and terminate would be bad for xdmcp choosing).  You can make a terminal<br \/>\n# server flexible, but not with an indirect query.  If you need flexible<br \/>\n# indirect query server, then you must get rid of the -terminate and the only<br \/>\n# way to kill the flexible server will then be by Ctrl-Alt-Backspace.<br \/>\nflexible=false<br \/>\n# Not local, we do not handle the logins for this X server.<br \/>\nhandled=false<\/p>\n<p># To use this server type you should add -query host or -indirect host to the<br \/>\n# command line.<br \/>\n[server-Chooser]<br \/>\nname=Chooser server<br \/>\ncommand=\/usr\/bin\/X -br -audit 0<br \/>\n# Make this not appear in the flexible servers for now, but if you wish to<br \/>\n# allow a chooser server then make this true.  This is the only way to make a<br \/>\n# flexible chooser server that behaves nicely.<br \/>\nflexible=false<br \/>\n# Run the chooser instead of the greeter.  When the user chooses a machine they<br \/>\n# will get this same server but run with \"-terminate -query hostname\".<br \/>\nchooser=true<br \/>\nA dire il vero, basterebbe anche solo la modifica da 0 a 1 nella prima riga per impedire che venga lanciato l'Xserver standard, ma meglio andarci con i piedi di piombo fino a quando non avr\u00f2 sperimentato delle configurazioni ottimizzate.<\/p>\n<p>Ora \u00e8 il turno del file<\/p>\n<p><code>\/etc\/gdm\/gdm.conf-custom<\/code><\/p>\n<p>Apritelo e inserite le seguenti istruzioni:<\/p>\n<p><code><br \/>\n[servers]<br \/>\n1=Xgl<\/code><\/p>\n<p>[server-Xgl]<br \/>\nname=Xgl server<br \/>\n#la prima riga va bene per schede ATI<br \/>\n#la seconda va bene per schede nVidia<br \/>\ncommand=\/usr\/bin\/Xgl :1 -fullscreen -ac -accel glx:fbo -accel xv:fbo<br \/>\n#command=\/usr\/bin\/Xgl -ac -accel glx:pbuffer -accel xv:fbo<br \/>\nflexible=true<br \/>\nIl contenuto di questo secondo file dovrebbe eseguire un override sulle impostazioni del primo. In effetti non \u00e8 cos\u00ec o, almeno, non lo \u00e8 sempre: senza aggiungere 1=Xgl anche in gdm.conf il gioco non funziona, nel mio caso.<\/p>\n<p><strong>Configurare Gnome<\/strong><\/p>\n<p>Non rimane che configurare Gnome affinch\u00e9 lanci cgwd, il window decorator e compiz. Pr fare ci\u00f2, baster\u00e0 accedere al menu<\/p>\n<p><code>Sistema -> Preferenze -> Sessioni<\/code><\/p>\n<p>e quindi selezionare l'etichetta<\/p>\n<p><code>Avvio Programmi<\/code><\/p>\n<p>Qui aggiungete queste due stringhe, una alla volta:<\/p>\n<p><code><br \/>\ncgwd --replace<\/p>\n<p>compiz --replace gconf --sm-disable<br \/>\n<\/code><\/p>\n<p>Finito. Non rimane che riavviare il sistema e godersi i nuovi effetti grafici con finestre elastiche, ombreggiature diffuse e il famigerato cubo, che potrete ruotare tenendo premuti contemporaneamente<\/p>\n<p>CTRL + ALT + Frecce<\/p>\n<p>oppure, sempre tenendo premuti CTRL + ALT, provate a trascinare il desktop a destra e a sinistra, oppure date un'occhiata all'effetto Expos\u00e8, per passare da un'applicazione all'altra, abilitato tramite il tasto<\/p>\n<p>F12<\/p>\n<p>Ma anche ALT + TAB non \u00e8 da meno...<\/p>\n<p><img decoding=\"async\" id=\"image374\" alt=\"compiz-2.png\" src=\"https:\/\/www.zarrelli.org\/blog\/wp-content\/uploads\/2006\/07\/compiz-2.png\" \/><\/p>\n<p>Link:<\/p>\n<p><a target=\"_blank\" href=\"http:\/\/pollycoke.wordpress.com\/2006\/05\/18\/ubuntu-dapper-xgl-compiz\/\">Pollycoke Ubuntu Dapper + XGL + Compiz Guide<\/a><br \/>\n<a target=\"_blank\" href=\"http:\/\/wiki.cchtml.com\/index.php\/Ubuntu_Dapper_Installation_Guide\">Ubuntu Dapper Installation Guide<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seguendo il semplice tutorial fornito da Pollycoke, ho provato a installare Xgl e Compiz su una Ubuntu Dapper messa in movimento da una scheda grafica ATI X1600, notando con mio sommo dispiacere che l&#8217;howto va leggermente modificato per venire incontro alle esigenze specifiche delle ATI. Ora, dato che da qui a due minuti mi scorder\u00f2 &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,62],"tags":[106,134,469,472,137,139,104,105,89,126,120,130,488,490],"class_list":["post-340","post","type-post","status-publish","format-standard","hentry","category-gnulinux","category-sysadmin","tag-acer","tag-amenita","tag-compiz","tag-fon","tag-hardware","tag-linux","tag-mac","tag-pc","tag-search","tag-security","tag-shell","tag-software","tag-ubuntu","tag-wordpress","without-featured-image"],"_links":{"self":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/comments?post=340"}],"version-history":[{"count":0,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/340\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/media?parent=340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/categories?post=340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/tags?post=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}