Wednesday, March 14, 2007

Beryl Intel and debian Linux

I installed the beryl on deban linux system in the following way. It's the easiest way that ever I found.
my graphic card drivers is Intel Corporation 82915G/GV/910GL Integrated Graphics Controller. First you should install the kernel header file to your computer using

apt-get update
apt-get install linux-headers-2.6.*-*-*

* Should be replaced by your kernel version, (take it using uname -r)

After that using modprobe command select your driver modules or go to the http://www.intel.com and find the Linux driver for your graphic card, it is a must, otherwise Beryl is not working. Xgl and other OpenGL libraries are prerequisites.

Then install Beryl using apt-get, put following in /etc/apt/source.list file and configure the xorg.conf file
deb http://debian.beryl-project.org etch main
deb-src http://debian.beryl-project.org etch main


Here is my xorg.conf

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "dbe"
Load "glcore"
Load "type1"
Load "v4l"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Intel Corporation 82915G/GV/910GL Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "RenderAccel" "true"
Option "backingstore" "true"
Option "EnablePageFlip" "true"
Option "AGPMode" "8"
Option "AGPFastWrite" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82915G/GV/910GL Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

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


Then you can download and install beryl or get using apt-get
finally you will get following window until that you must work hard.....
;-)



good luck....

some screen shots are here visit http://www.flickr.com/photos/nipuna/
References: http://en.wikipedia.org/wiki/Beryl_%28window_manager%29

2 comments:

  1. Hi,

    I have the same card, I using debian testing but Beryl isn't works. I used your xorg.conf file. I don't want to use Xgl. Beryl says:

    **************************************************************
    * Beryl system compatiblity check *
    *************************************************************

    Detected xserver : AIGLX

    Checking Display :0 ...

    Checking for XComposite extension : passed (v0.3)
    Checking for XDamage extension : passed
    Checking for RandR extension : passed
    Checking for XSync extension : passed

    Checking Screen 0 ...

    Checking for GLX_SGIX_fbconfig : passed
    Checking for GLX_EXT_texture_from_pixmap : passed
    Checking for non power of two texture support : passed
    Checking maximum texture size : passed (2048x2048)

    beryl: glXBindTexImageEXT is missing
    beryl: Failed to manage screen: 0
    beryl: No manageable screens found on display :0
    kwin: Fatal IO error: client killed

    Can you help me?

    ReplyDelete
  2. Visit following link, there may be some helpful tips for you.
    http://en.wikipedia.org/wiki/Beryl_(window_manager)

    ReplyDelete