UbuntuHelp:Beryl/ATI/Feisty
来自Ubuntu中文
BERYL IS OBSOLETE, use CompizFusion
目录
Introduction
- A computer running an ATI card may have problem in 3D effects on Feisty Fawn.
- The trick is that you have to force bery-core to use 0.2.0~0beryl1 because latter versions don't work with Xgl.
- This guide is from [[1]] weblog
Check ATI Driver
- Install your ATI card driver (System-->Administration-->Restricted Driver Manager)
- Restart your computer
- In a terminal type:
$ fglrxinfo
You should see this ouputed on your terminal window like:
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON XPRESS Series OpenGL version string: 2.0.6334 (8.34.8)
Radeon 9700
If when you login, 'grep EE /var/log/Xorg.0.log', returns:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727) (EE) AIGLX: reverting to software rendering
You can fix this by adding at the bottom of /etc/X11/xorg.conf
Section "ServerFlags" Option "AIGLX" "off" EndSection
Install Xgl & Beryl
Add the Beryl repositories to your source list. In a terminal type:
gksudo gedit /etc/apt/sources.list
Add this line to Your Source Lists
deb http://ubuntu.beryl-project.org/ feisty main
save and close file Grab the Key for the repository, in a terminal type:
sudo wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
Update Your System. In a terminal type:
sudo apt-get update
Now install Xgl & Beryl; In a terminal type:
sudo apt-get install xserver-xgl beryl-ubuntu beryl-manager
Setting Up XGL
In a terminal type:
gksudo gedit /usr/local/bin/startxgl.sh
and this to the file:
#!/bin/sh Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer & DISPLAY=:1 cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)" xauth -i add :1 . "$cookie" exec dbus-launch --exit-with-session gnome-session
save and close file Then make the xgl script executable by entering this into a terminal:
sudo chmod a+x /usr/local/bin/startxgl.sh
Creating a XGL Login
Make the script, by typing this into a terminal:
gksudo gedit /usr/share/xsessions/xgl.desktop
add this text to the file:
[Desktop Entry] Encoding=UTF-8 Name=Xgl Comment=Start an Xgl Session Exec=/usr/local/bin/startxgl.sh Icon= Type=Application
save and close file
Change Your Repository Settings
In a terminal type:
gksudo gedit /etc/apt/preferences
Then add this ext to the file
Package: * Pin: release o=lupine Pin-Priority: 1000
save and close file Update Your System. In a terminal type:
sudo apt-get update
Roll Back Beryl-Core
Downgrade beryl- core to a version that works with Xgl. In a terminal type:
sudo apt-get install beryl-core=0.2.0~0beryl1
Now You Just have to Log off and Log into your XGL session and run beryl (Applications-->System Tools-->Beryl Manager).
Check package versions
Once you've made this changes, run
dpkg -l beryl beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings beryl-settings-bindings emerald emerald-themes libberyldecoration0 libberylsettings0 libemeraldengine0 linux-restricted-modules-common restricted-manager ubuntu-restricted-extras xorg-driver-fglrx xserver-xgl xserver-xorg-video-ati
Displayed versions should read as:
ii beryl 0.2.0~0beryl1 Compositing window manager, decorator and theme support - Beryl ii beryl-core 0.2.0~0beryl1 Compositing window manager - Beryl Project ii beryl-manager 0.2.0~0beryl1 Tray application launcher tool - Beryl Project ii beryl-plugins 0.2.0~0beryl1 Collection of plugins for Beryl ii beryl-plugins-data 0.2.1-0ubuntu2 Plugins data - Beryl Project pi beryl-settings 0.2.0~0beryl1 Plugin and configuration tool - Beryl Project ii beryl-settings-bindings 0.2.1-0ubuntu1 Plugin and configuration tool - Beryl Project ii emerald 0.2.0~0beryl1 Decorator for beryl ii emerald-themes 0.2.0~0beryl1 Package of themes for Emerald ii libberyldecoration0 0.2.0~0beryl1 Settings library for plugins - Beryl Project ii libberylsettings0 0.2.1.dfsg+git20070318-0ubuntu2 Settings library for plugins - Beryl Project ii libemeraldengine0 0.2.0~0beryl1 Decoration engines for beryl ii linux-restricted-modules-common 2.6.20.5-16.29 Non-free Linux 2.6.20 modules helper script ii restricted-manager 0.20 manage non-free hardware drivers ii ubuntu-restricted-extras 2.2 Commonly used restricted packages ii xorg-driver-fglrx 7.1.0-8.34.8+2.6.20.5-16.29 Video driver for ATI graphics accelerators ii xserver-xgl 7.2.0.git.20070224-0ubuntu3 GL-based X server ii xserver-xorg-video-ati 6.6.3-2ubuntu6 X.Org X server -- ATI display driver
Notice the version of libberylsettings0 (0.2.1) and beryl-plugins-data (0.2.1) are still wrong. Any comments how to fix this welcome.
References pages
http://ubuntu1501.blogspot.com/2007/04/beryl-in-feisty-with-xgl.html