Beryl 설치하기

2007. 3. 23. 00:11

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.
Edgy is an "edgy" release... watch out!

This method should work for all users, but it may not. You may find help at #ubuntu-xgl 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

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.

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.

Option 1:

Add the repository:


 file.pngCode:
 deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable

Then, authenticate, update your repository listing, and install the driver:


file.pngCode:
wget http://nvidia.limitless.lupine.me.uk/ubuntu/root@lupine.me.uk.gpg -O- | sudo apt-key add - 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"


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 vidia-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-isuals 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.

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


ATI

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)

Install Beryl

Add the Beryl repository (System > Administration > Software Sources, or edit /etc/apt/sources.list):


file.png File:/etc/apt/sources.listdeb http://ubuntu.beryl-project.org/ edgy main

Run the command for authentication, update, then install Beryl:

file.pngCode:
sudo echo && wgethttp://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - sudo aptitude update sudo aptitude install beryl emerald-themes


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). Each user who wants to run Beryl at startup will need to have the commands added to their own accounts.

More Information

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




참고자료 :
http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Edgy_with_nVidia
http://doc.gwos.org/index.php/BerylOnEdgy

밥짓는아이 테크노트/Linux, Unix