Install Beryl on Debian
From Beryl Wiki
Jump to: navigation, search
Contents
[hide]
* 1 Beryl With AIGLX or without
o 1.1 Requirements
+ 1.1.1 Drivers
o 1.2 Required packages
o 1.3 Beryl Packages
o 1.4 Configure xorg.conf
* 2 Compiling Beryl for other non-Debian distributions
o 2.1 Getting the Sources
o 2.2 Requirements
o 2.3 Building
* 3 Beryl with XGL
o 3.1 Requirements
o 3.2 Drivers
o 3.3 Required Packages
o 3.4 Download Beryl's debs
o 3.5 XGL Download and Install
o 3.6 XORG.CONF
o 3.7 XGL with Xfce4 and Beryl
+ 3.7.1 Xgl symbolic link
+ 3.7.2 GDM with XGL
o 3.8 Other tutorial
* 4 SVN snapshots repository
[edit]
Beryl With AIGLX or without
[edit]
Requirements
* Debian unstable distribution. If you use testing, these will need to be downloaded from unstable.
* Debian Etch/Unstable Xorg 7.1
* Video card support under AIGLX ( ATI or Intel ) or NVIDIA Card with 9xxx drivers
[edit]
Drivers
* The ATI radeon r2xx,r3xx free driver works fine.
* The Intel i810 works fine [confirmed].
* The NVIDIA driver works fine
* S3 SuperSavage IX/C does not work. (AIGLX error "drmMap of framebuffer failed" shuts X down)
[edit]
Required packages
* Install the libxcomposite1 package from apt.
[edit]
Beryl Packages
* Download:
beryl
beryl-core
beryl-dbus
beryl-dev
beryl-manager
beryl-plugins-data
beryl-plugins
beryl-settings
For GNOME or KDE Users You can use the Emerald window decorator:
emerald
For KDE users you can use the new aquamarine window decorator:
aquamarine
Official Debian Unstable Repositories
Insert non-formatted text here===Debian Unstable distribution===
As of January 11th, 2007 beryl has been submitted for upload to Debian unstable. This will take a week to appear on the mirrors and will contain the beryl 0.1.4 release ONLY.
Unsupported Debian repositories
Packages are available from debian.beryl-project.org. To enable this repository, add the following two lines to /etc/apt/sources.list:
deb http://debian.beryl-project.org/ etch main
deb-src http://debian.beryl-project.org/ etch main
To avoid warnings about unauthenticated packages, you can import the archive's signing key by running
wget -O - http://debian.beryl-project.org/root@lupine.me.uk.gpg | sudo apt-key add -
* Latest and greatest builds, both daily and relatively stable. Amd64 included. Recently launched as of January 27th 2007.
http://shame.tuxfamily.org/repo/
* Repository Beryl-svn Debian Unstable only 386 (more information)
* Unofficial 0.1.3 debs for Debian Etch i386 (without XGL support) are availabe at this repository: (more information).
deb http://www.linux.lk/~anuradha/beryl/etch/ ./
Download them from http://www.beerorkid.com/compiz/ for 386 or amd64 (this is an ubuntu repository! doesn't work with apt )
Please for amd64 add this repository to your sources.list:
deb http://boisson.homeip.net/amd64/ beryl ./
and use apt-get install packages (please take care of a previous error on this link). Another faster repository for amd64 is
deb http://franboisson.free.fr/beryl/ ./
Or alternatively packages for unstable: get 'em here (doesn't work for all)
Install it in that order with dpkg -i:
beryl-core
beryl-plugins-data
beryl-plugins
emerald and or aquamarine
beryl-settings
beryl-manager
beryl
emerald-themes
[edit]
Configure xorg.conf
* Add these lines to your section "Device" in your xorg.conf:
Option "XAANoOffscreenPixmaps" "true"# Optional if NVIDIA drivers are used
Option "AddARGBGLXVisuals" "On"
Option "AllowGLXWithComposite" "true" # not work without it on NVidia GForgeMX400 for me
* Add these lines at the end of your xorg.conf:
Section "Extensions"
Option "Composite" "Enable"
EndSection
* Restart GDM
[edit]
Compiling Beryl for other non-Debian distributions
[edit]
Getting the Sources
Also see: Install Beryl on Debian from the SVN snapshots repository
The SVN repository is available at svn://svn.beryl-project.org/beryl. It can be checked out by using this command:
svn co svn://svn.beryl-project.org/beryl/trunk/ beryl
* Important When Compiling
Always remember to remove the old beryl installation if you have one and compile everything with the same prefix, the makeall script will do this for you.
Comment: The sources can also be found using trac, but what is the URL to the repos?
[edit]
Requirements
Read *.spec file in trunk/distro-specific-build-files directory. Example beryl-core.spec:
BuildRequires: X11-devel >= 1.0.0
BuildRequires: x11-util-macros >= 1.0.1
BuildRequires: x11-proto-devel
BuildRequires: libpng-devel
BuildRequires: libwnck-devel
BuildRequires: libgnome-window-settings-devel
BuildRequires: gnome-desktop-devel
BuildRequires: libxcomposite-devel
BuildRequires: libxdamage-devel
BuildRequires: intltool
[edit]
Building
Example for beryl-core:
In trunk directory:
cd /trunk
cp -r distro-specific-build-files/beryl-core/debian/ beryl-core/
cd beryl-core/
chmod +x autogen.sh
chmod +x debian/rules
./autogen.sh --prefix=/usr
dpkg-buildpackage -rfakeroot
Then you have beryl-core beryl-core-dev... Install them with dpkg.
The other packages depend on beryl-core and beryl-core-dev
example
....
BuildRequires: beryl-core-devel
Install nvidia beta drivers. Not you need XGL, your session runs and it executes beryl-manage
There's a tutorial in french and this man have made a script which auto-build packages and satisfy depends: http://forum.debian-fr.org/viewtopic.php?t=5254
Note: If libtool is not installed, autoconf might complaint.
I've written an alternative script in python to automate the build. Start with a fresh svn checkout, change to the beryl directory and run the script. I've also attempted to correct for bug #1261.
[edit]
Beryl with XGL
PLEASE Note: Debian Etch does not have XGL support. If your video card is not supported with AIGLX, you will have to get a custom XGL package compiled for Debian
[edit]
Requirements
1. Debian testing distribution or the unstable distribution (sid)
2. You should have Xorg 7.1
3. Video Card Support Under XGL http://gentoo-wiki.com/HARDWARE_Video_Card_Support_Under_XGL
[edit]
Drivers
* nvidia: http://www.nvidia.com/object/unix.html
* ati: http://ati.amd.com/support/driver.html
* intel: http://downloadcenter.intel.com/scripts-df-external/Support_Intel.aspx?lang=eng#
[edit]
Required Packages
* Make:
wajig install libdrm2 libpng3 libpng12-0 libpng12-dev \
libxdamage1 libxcomposite1 x11proto-core-dev x11proto-composite-dev \
x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev \
x11proto-render-dev x11proto-randr-dev
* and:
wajig install libcairo2 libcairo2-dev libcairomm-1.0-0 libcairo-perl \
python-cairo libgl1-mesa-dev libgl1-mesa-dri \
libgl1-mesa-glx libglu1-mesa libwxgtk2.4-1 libwxgtk2.6-0 \
mesa-common-dev mesa-utils libsvn1 libglitz1 libglitz-glx1 \
libxfont1 libfontenc1 libwnck-common libwnck18
[edit]
Download Beryl's debs
Depot : 1° deb http://ubuntu.beryl-project.org edgy main
2° deb-src http://ubuntu.beryl-project.org edgy main
* Download:
beryl
beryl-core
beryl-dbus
beryl-dev
beryl-manager
beryl-plugins
beryl-plugins-data
beryl-settings
emerald
emerald-themes
libberylsettings0
libberylsettings-dev
libemeraldengine0
libemeraldengine-dev
* Repository Beryl-svn Debian Unstable only 386 More informations
* Repository Beryl-svn Debian Unstable PowePC More informations
* You can find Beryl packages at: http://vally8.free.fr/coinprog/beryl/ (Pay attention to the dependencies and ensure they are met.)
* For amd64, beryl's packages: http://boisson.homeip.net/amd64/beryl/
Or for amd64 you can add deb http://boisson.homeip.net/amd64/beryl. to your sources.list,apt-get update and install with apt-get install name_of_the_package...
* In the directory where the packages are you make:
dpkg -i *.deb
[edit]
XGL Download and Install
* Download from http://www.beerorkid.com/compiz/ for 386 or amd64
xserver-xgl
* Then
dpkg -i xserver-xgl...
[edit]
XORG.CONF
NVIDIA xorg.conf file:
* In section modules
#Load "GLcore"
#Load "dri"
Load "glx"
* Add section:
Section "Extensions"
Option "Composite" "Enable"
EndSection
* In Section Device:
Driver "nvidia" # instead of nv
Option "RenderAccel" "true" # render accel is enabled by default
Option "AllowGLXWithComposite" "true"
* In section Screen:
Option "AddARGBGLXVisuals" "True"
* Other options: http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9742/README/appendix-d.html
ATI xorg.conf file:
* In Section Device:
Driver "fglrx"
* The next thing we need to do is disable Composition in our config file, this is done by adding these lines to the configuration file:
Section "Extensions"
Option "Composite" "0"
EndSection
INTEL xorg.conf file:
[edit]
XGL with Xfce4 and Beryl
* init-beryl.sh:
#!/bin/bash
#for nvidia card
Xgl :0 -ac -accel glx:fbo:0 -accel xv:fbo -fp /usr/share/fonts/X11/misc & sleep 5;
#run xfce4
DISPLAY=:0 xfce4-session &
DISPLAY=:0 beryl-xgl --replace dbus settings &
DISPLAY=:0 emerald –-replace
* For ati and intel cards, use xv:pbuffer.
[edit]
Xgl symbolic link
root# rm /usr/bin/X
root# ln -s /usr/bin/Xgl /usr/bin/X
* Undo:
root# rm /usr/bin/X
root# ln -s /usr/bin/Xorg /usr/bin/X
[edit]
GDM with XGL
In /etc/gdm/gdm.conf:
Add:
[servers]
0=Xgl # replace X by Xgl
[server-Xgl]
name=Xgl
command=/usr/X11R6/bin/Xgl :0 -fullscreen -fp /usr/share/fonts/X11/misc
-ac -accel glx:pbuffer -accel xv:fbo
* For ati and intel cards, use xv:pbuffer.
[edit]
Other tutorial
A tutorial in French: [ http://forum.debian-fr.org/viewtopic.php?t=4985&start=0 ]
[edit]
SVN snapshots repository
Instructions to use an Unofficial SVN snapshots repository can be found here.
Retrieved from "http://wiki.beryl-project.org/wiki/Install_Beryl_on_Debian"
Categories: Installation instructions | Debian
Printed copies available, email rbahaguejr [at] gmail [dot] com |
Sunday, March 11, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment