个人工具

“UbuntuHelp:Beryl/ATI/Feisty”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:Beryl/ATI/Feisty}}
 
{{Languages|UbuntuHelp:Beryl/ATI/Feisty}}
 
== Introduction ==
 
== Introduction ==
 
 
*A computer running an ATI card may have problem in 3D effects on Feisty Fawn.
 
*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.  
 
*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 [http://ubuntu1501.blogspot.com/2007/04/beryl-in-feisty-with-xgl.html redDEAD's] weblog
 
*This guide is from [http://ubuntu1501.blogspot.com/2007/04/beryl-in-feisty-with-xgl.html redDEAD's] weblog
 
 
== Check ATI Driver ==
 
== Check ATI Driver ==
 
*Install your ATI card driver (System-->Administration-->Restricted Driver Manager)
 
*Install your ATI card driver (System-->Administration-->Restricted Driver Manager)
第21行: 第19行:
 
OpenGL version string: 2.0.6334 (8.34.8)
 
OpenGL version string: 2.0.6334 (8.34.8)
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Radeon 9700 ===
 
=== Radeon 9700 ===
 
 
If when you login, 'grep EE /var/log/Xorg.0.log', returns:
 
If when you login, 'grep EE /var/log/Xorg.0.log', returns:
 
<pre><nowiki>
 
<pre><nowiki>
第29行: 第25行:
 
(EE) AIGLX: reverting to software rendering
 
(EE) AIGLX: reverting to software rendering
 
</nowiki></pre>
 
</nowiki></pre>
 
 
You can fix this by adding at the bottom of /etc/X11/xorg.conf
 
You can fix this by adding at the bottom of /etc/X11/xorg.conf
 
<pre><nowiki>
 
<pre><nowiki>
第36行: 第31行:
 
EndSection  
 
EndSection  
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== Install Xgl & Beryl ==
 
== Install Xgl & Beryl ==
 
Add the Beryl repositories to your source list.
 
Add the Beryl repositories to your source list.
第43行: 第37行:
 
gksudo gedit /etc/apt/sources.list
 
gksudo gedit /etc/apt/sources.list
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Add this line to Your Source Lists
 
Add this line to Your Source Lists
 
<pre><nowiki>
 
<pre><nowiki>
第49行: 第42行:
 
</nowiki></pre>
 
</nowiki></pre>
 
save and close file
 
save and close file
 
 
Grab the Key for the repository, in a terminal type:
 
Grab the Key for the repository, in a terminal type:
 
<pre><nowiki>
 
<pre><nowiki>
第64行: 第56行:
 
sudo apt-get install xserver-xgl beryl-ubuntu beryl-manager
 
sudo apt-get install xserver-xgl beryl-ubuntu beryl-manager
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== Setting Up XGL ==
 
== Setting Up XGL ==
 
In a terminal type:
 
In a terminal type:
第80行: 第71行:
 
</nowiki></pre>
 
</nowiki></pre>
 
save and close file
 
save and close file
 
 
Then make the xgl script executable by entering this into a terminal:
 
Then make the xgl script executable by entering this into a terminal:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo chmod a+x /usr/local/bin/startxgl.sh
 
sudo chmod a+x /usr/local/bin/startxgl.sh
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== Creating a XGL Login ==
 
== Creating a XGL Login ==
 
Make the script, by typing this into a terminal:
 
Make the script, by typing this into a terminal:
第91行: 第80行:
 
gksudo gedit /usr/share/xsessions/xgl.desktop
 
gksudo gedit /usr/share/xsessions/xgl.desktop
 
</nowiki></pre>
 
</nowiki></pre>
 
 
add this text to the file:
 
add this text to the file:
 
<pre><nowiki>
 
<pre><nowiki>
第103行: 第91行:
 
</nowiki></pre>
 
</nowiki></pre>
 
save and close file
 
save and close file
 
 
== Change Your Repository Settings ==
 
== Change Your Repository Settings ==
 
In a terminal type:
 
In a terminal type:
第109行: 第96行:
 
gksudo gedit /etc/apt/preferences
 
gksudo gedit /etc/apt/preferences
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Then add this ext to the file
 
Then add this ext to the file
 
<pre><nowiki>
 
<pre><nowiki>
第117行: 第103行:
 
</nowiki></pre>
 
</nowiki></pre>
 
save and close file
 
save and close file
 
 
Update Your System.
 
Update Your System.
 
In a terminal type:
 
In a terminal type:
第123行: 第108行:
 
sudo apt-get update
 
sudo apt-get update
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== Roll Back Beryl-Core ==
 
== Roll Back Beryl-Core ==
 
Downgrade beryl- core to a version that works with Xgl.
 
Downgrade beryl- core to a version that works with Xgl.
第131行: 第115行:
 
</nowiki></pre>
 
</nowiki></pre>
 
Now You Just have to Log off and Log into your XGL session and run beryl (Applications-->System Tools-->Beryl Manager).
 
Now You Just have to Log off and Log into your XGL session and run beryl (Applications-->System Tools-->Beryl Manager).
 
 
== Check package versions ==
 
== Check package versions ==
 
 
Once you've made this changes, run
 
Once you've made this changes, run
 
<pre><nowiki>
 
<pre><nowiki>
 
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
 
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
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Displayed versions should read as:
 
Displayed versions should read as:
 
<pre><nowiki>
 
<pre><nowiki>
第160行: 第141行:
 
ii  xserver-xorg-video-ati            6.6.3-2ubuntu6                    X.Org X server -- ATI display driver
 
ii  xserver-xorg-video-ati            6.6.3-2ubuntu6                    X.Org X server -- ATI display driver
 
</nowiki></pre>
 
</nowiki></pre>
 
 
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.
 
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 ==
 
== References pages ==
 
http://ubuntu1501.blogspot.com/2007/04/beryl-in-feisty-with-xgl.html
 
http://ubuntu1501.blogspot.com/2007/04/beryl-in-feisty-with-xgl.html
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 16:15的版本


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 redDEAD's 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 <u>driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: </u>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/[email protected] -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