lunedì 13 novembre 2006

Beryl e Debian

Finalmente.

Dopo qualche tentativo fallito col fisso (Ati Radeon 9200 non perfettamente funzionante) sono riuscito a far partire Beryl sul mio portatile (Acer Aspire 1692 WLMI, Intel Centrino 1.73 Ghz con scheda grafica Ati Mobility Radeon X700 e 512Mb di Ram) che monta una Debian Testing (Etch).

Avevo già settato AIGLX per Compiz, che funzionava abbastanza bene, se non che ogni tanto mi freezava tutto!

Per settare AIGLX con Compiz: bisogna mettere il driver open source 'radeon' nella sezione Device del file /etc/X11/xorg.conf:

Section Device

Driver "radeon"

...

EndSection

aggiungere la riga

Option "XAANoOffscreenPixmaps" "true"

nella Section Device

e poi aggiungere la sezione Extensions:

Section Extensions

Option "Composite" "enable"

EndSection



qui di seguito posto il mio xorg.conf per esteso:

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "dbe"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "record"
Load "drm"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility X700 (PCIE)"
Driver "radeon"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps" "true"
# Option "AGPMode" "8"
# Option "AGPFastWrite" "1"
# Option "MergedFB" "1"
# Option "EnablePageFlip" "on"
# Option "AccelMethod" "EXA"
# Option "AccelDFS" "1"
# Option "BIOSHotkeys "1"
Option "GARTSize" "64"
# Option "ColorTiling" "1"
Option "MonitorLayout" "LVDS,AUTO"
# Option "BusType" "PCI"
EndSection

Section "Monitor"
Identifier "Monitor Generico"
Option "DPMS"
HorizSync 31-50
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility X700 (PCIE)"
Monitor "Monitor Generico"
DefaultDepth 24
# Option "XAANoOffscreenPixmaps" "true"
# Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Option "AIGLX" "on"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection



Riavviate GDM e controllate che AIGLX sia caricato correttamente tramite il comando 'cat /var/log/Xorg.0.log | grep AIGLX'

Infine è sufficiente scaricare ed installare tutti i seguenti pacchetti

beryl
beryl-core
beryl-dbus
beryl-dev
beryl-manager
beryl-plugins-data
beryl-plugins
beryl-settings
emerald
emerald-themes

scaricabili dal sito http://www.beerorkid.com/compiz/

per lanciare Beryl è sufficiente lanciare il comando beryl-manager da terminale.

Buon divertimento

Nessun commento: