BerylOnFeisty

摘自 http://doc.gwos.org/index.php/BerylOnFeisty

BerylOnFeisty

From Ubuntu Document Storage Facility

Contents

[hide]

<script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>

[ edit]

Introduction

Beryl is a set of packages which gives you a cool 3D desktop.

Check out this ubuntuforums.org thread for more guides on Beryl which may be more specific to your situation.

Warning:

Beryl is beta software!!! This means that it is full of bugs.
Feisty is currently a development release!!! This means that it is full of bugs.
This page is not necessarily correct, it is not recommended you follow this until this message is removed.

This method should work for all users, but it may not. You may find help at #ubuntu-xgl or #beryl (not ubuntu specific!) on irc.freenode.net if you have problems. As with all experimental software, though Beryl is relatively stable, it is best to back up all important data before installing.

Make sure your Ubuntu install is up to date before continuing:

file.pngCode:

sudo aptitude update
sudo aptitude dist-upgrade


[ edit]

Install graphics drivers

The graphics card drivers included by default are not capable of running an accelerated desktop and providing all the cool Beryl effects. You will need to install the proper drivers for your card.

[ edit]

nVidia

NOTE: From 97xx on, nVidia display drivers no longer support some graphics cards, such as the Geforce 4 MX. Tf your driver installation fails (the log file will read: "version 97xx will ignore this gpu"), use Option 2, go to "Archive" and download the latest 96xx driver.

WIRELESS NOTE: Installing the nVidia driver will remove the linux-restricted-modules. These are required for a number of wireless cards to function, though some still work properly without them. The Beryl project provides custom restricted modules in an attempt to fix this problem. Your mileage may vary.

[ edit]

Option 1:

A new enough driver is already in Feisty, so you can just:

file.pngCode:

sudo aptitude update
sudo aptitude install nvidia-glx


Configure X to use the new driver and enable fun eye candy graphics:

file.pngCode:

sudo nvidia-xconfig --add-argb-glx-visuals


NOTE: If X will not load after restarting, run the following command to restore your previous xorg.conf settings:

file.pngCode:

sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf


Restart X using CTRL+ALT+BACKSPACE. You should see an nVida splash on restart. If you would like to disable this splash, edit your /etc/X11/xorg.conf to include the following line in the "Device" section for you graphics card:

file.pngCode:

Option "NoLogo"


[ edit]

Option 2:

If you would prefer to install the nvidia drivers from nvidia's script, you may simply download the NVIDIA drivers from: http://www.nvidia.com/object/unix.html into your home folder.

Then:

file.pngCode:

sudo nano /etc/default/linux-restricted-modules-common

and make the bottom line look like

file.pngCode:

DISABLED_MODULES="nv"


You should do the following in a tty1 by a "ctrl+alt+F1"

file.pngCode:

sudo apt-get install linux-headers-`uname -r` build-essential gcc gcc-3.4 xserver-xorg-dev
sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-kernel-common
sudo rm /etc/init.d/nvidia-*
sudo /etc/init.d/gdm stop
sudo sh NVIDIA-Linux-x86-1.0-9629-pkg1.run
sudo nvidia-xconfig --add-argb-glx-visuals
sudo /etc/init.d/gdm start

And restart your computer. The Nvidia script should change your xorg.conf to enable nvidia drivers, so this will work without any previous nvidia drivers.

Remember that following this method requires a reinstillation of them every time the kernel changes.

[ edit]

Intel

Install 3D enabled drivers.

file.pngCode:

sudo nano /etc/X11/xorg.conf


Add to Section "Device":

file.png File:/etc/X11/xorg.conf

Option "XAANoOffscreenPixmaps" "true"

and at the end of the file:

file.png File:/etc/X11/xorg.conf

Section "Extensions"
Option "Composite" "true"
EndSection


[ edit]

ATI

[ edit]

Radeon Driver

Ensure you have the open source radeon drivers installed.

Edit the device section in your xorg.conf to be like this :

file.png File:/etc/X11/xorg.conf

Section "Device"
Identifier "{your card model}" <-do not edit this line in your xorg.conf
Driver "ati"
Option "DRI" "true"
Option "ColorTiling" "on"
Option "EnablePageFlip" "true"
## Some may experience very poor performance without hashing the following line.
Option "AccelMethod" "EXA"
## If above is hashed, change the following to "XAANoOffscreenPixmaps"
Option "EXANoOffscreenPixmaps"
Option "RenderAccel" "true"
#Option "AGPMode" "x" <- x may be 1, 2, 4, or 8 depending on your system
Option "AGPFastWrite" "on"
EndSection


Radeon 9200 owners
If direct rendering doesn't work and you see in your /var/log/Xorg.0.log:

 (WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.

You may need to add the following to your 'Section "Device"' block in your /etc/X11/xorg.conf to get Direct Rendering to work:

  Option "BusType" "PCI" 

(see https://bugs.freedesktop.org/show_bug.cgi?id=1700 for details about this bug)

[ edit]

Install Beryl

Beryl 0.2.1 is now in the Feisty repositories so you can just install:

file.pngCode:

sudo aptitude install beryl emerald-themes


[ edit]

Let's Go!

file.pngCode:

beryl-manager


Right-click on the Beryl icon in the tray to change themes and edit settings.

To start Beryl automatically with Gnome, go to System->Preference->Sessions. Under "Startup Programs" add 'beryl' and also 'emerald --replace' (without the quotes, obviously). Alternatively, you can just put beryl-manager in "Startup Programs". Each user who wants to run Beryl at startup will need to have the commands added to their own accounts.

[ edit]

More Information

For help, more detailed instructions, installation on other desktops, more options, artwork, troubleshooting, etc, head on over to the official Beryl wiki.

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值