Gå til innhold

Hvordan innstalere Beryl i Sabayon?


Anbefalte innlegg

Videoannonse
Annonse

Du har Internet tilgang og er sikker på at den ikke var nede akkurat da du kjørte scriptet?

 

Du kan laste ned:

http://autopackage.org/downloads/latest/autopackage.tar.bz2

og

http://autopackage.org/downloads/latest/autopackage-gtkfe

 

Og legge de i samme katalog som amsn.package og prøve på nytt, men velg offline installation.

 

Her er kanskje noen litt bedre instruksjoner enn hva jeg kan gi deg:

http://autopackage.org/docs/howto-install/

Lenke til kommentar

Etter å ha gjort dette:

Section "Extensions"
    Option  "Composite" "Disable"
EndSection

Section "ServerFlags"
    Option  "AIGLX" "off"
EndSection

 

xorg.conf:

Klikk for å se/fjerne innholdet nedenfor
Section "Files"


   #FontPath	"/usr/share/fonts/local/"
   FontPath	"/usr/share/fonts/misc/"
   FontPath	"/usr/share/fonts/Type1/"
   FontPath    "/usr/share/fonts/TTF/"
   FontPath	"/usr/share/fonts/75dpi/"
   FontPath	"/usr/share/fonts/100dpi/"
   FontPath  "/usr/share/fonts/corefonts"

EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"

   Load	"dbe"
   Load	"i2c"
   Load	"glx"
   Load	"ddc"
   Load	"type1"
   Load	"freetype"
   Load	"extmod"
   Load	"synaptics"
   Load	"vbe"
  Load        "dri"

EndSection

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"

    Option  "AllowMouseOpenFail" "true"
    Option  "AIGLX" "off"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
   Identifier  "Synaptics1"
   Driver  "synaptics"
   Option  "SendCoreEvents"	"true"
   Option  "Device"  "/dev/psaux"
   Option  "Protocol"  "auto-dev"
   Option  "HorizScrollDelta"	"0"
   Option  "SHMConfig"  "on"
   # For ALPS TouchPads
   Option  "MaxSpeed"  "0.7"
   Option  "MinSpeed"  "0.18"
   Option  "AccelFactor"  "0.08"
   Option  "TopEdge"  "120"
   Option  "LeftEdge"  "120"
   Option  "BottomEdge"  "830"
   Option  "RightEdge"  "650"
   Option  "FingerLow"  "25"
   Option  "FingerHigh"  "30"
   # Do you keep moving the mouse while typing? Try this trick.
   #synclient TouchpadOff=1 disable your synaptics touchpad
   #synclient TouchpadOff=0 enable your synaptics touchpad
EndSection


Section "InputDevice"

   Identifier	"Keyboard1"
   Driver	"kbd"
   
   Option	"AutoRepeat"	"500 5"
   Option      "XkbModel"	"pc105"
   Option	"XkbLayout"	"no"
   Option      "XkbRules"      "xorg"

EndSection


Section "InputDevice"
 Driver        "wacom"
 Identifier    "wacom1"
 Option        "Device"        "/dev/wacom"          # Change to 
                                                     # /dev/input/event
                                                     # for USB
 Option        "Type"          "stylus"
 Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver        "wacom"
 Identifier    "wacom2"
 Option        "Device"        "/dev/wacom"          # Change to 
                                                     # /dev/input/event
                                                     # for USB
 Option        "Type"          "eraser"
 Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver        "wacom"
 Identifier    "wacom3"
 Option        "Device"        "/dev/wacom"          # Change to 
                                                     # /dev/input/event
                                                     # for USB
 Option        "Type"          "cursor"
 Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

   Identifier	"Mouse1"
   Driver	"mouse"

   Option	"Device"	"/dev/psaux"
   Option	"Protocol"	"ImPS/2"
   Option "ZAxisMapping" "4 5"
    
EndSection

Section "InputDevice"
   Identifier	"Mouse2"
   Driver	"mouse"
   Option	"Protocol"	"ImPS/2"
   Option	"Device"	"/dev/input/mice"
   Option  "ZAxisMapping" "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

   Identifier	"Generic Monitor"
   #Option      "DPMS"

   VertRefresh 43 - 60
   HorizSync	28 - 80

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
   Identifier  "VESA"
   Driver      "fglrx" # do not remove vesa
   #Option "RenderAccel" "on"
   #Option "XAANoOffscreenPixmaps"
   #Option "BusType" "PCI"
   #Option "ColorTiling" "on"
   #Option "EnablePageFlip" "on"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

   Identifier	"Screen 1"
   Device	"VESA"
   Monitor	"Generic Monitor"
   #Option "AddARGBGLXVisuals" "true"

# The favoured Depth and/or Bpp may be specified here

   DefaultDepth 24

   SubSection "Display"
       Depth  8
       ViewPort	0 0
       Modes  "1024x768" "800x600" "640x480"
   EndSubsection

   SubSection "Display"
       Depth           16
       ViewPort        0 0
       Modes  "1024x768" "800x600" "640x480"
   EndSubsection

   SubSection "Display"
       Depth           24
       ViewPort        0 0
       Modes  "1024x768" "800x600" "640x480"
   EndSubsection


EndSection


Section "ServerLayout"
# The Identifier line must be present

   Identifier	"Main Layout"
   Screen 0  "Screen 1"
   InputDevice	"Mouse1" "CorePointer"
   InputDevice	"Mouse2" "SendCoreEvents"
   InputDevice "Synaptics1" "SendCoreEvents"
   #InputDevice "wacom1" "SendCoreEvents"
   #InputDevice "wacom2" "SendCoreEvents"
   #InputDevice "wacom3" "SendCoreEvents"
   InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
   Mode 0666
EndSection

Section "Extensions"
   Option  "Composite" "Disable"
EndSection

 

Kommer fortsatt:

 

$ beryl
**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension               : failed

No composite extension
beryl: No composite extension

 

$ ls -lh /usr/lib/xorg/modules | grep dri
lrwxrwxrwx 1 root root   12 2007-03-22 00:43 dri -> /usr/lib/dri
drwxr-xr-x 2 root root 4.0K 2007-03-22 03:19 drivers

$ glxinfo | grep rendering
direct rendering: Yes

$ cat /var/log/Xorg.*.log |grep "glx"
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"

$ ps ax | grep -i xgl
9995 pts/6    R+     0:00 grep --colour=auto -i xgl

Endret av Svedge
Lenke til kommentar

Bruker du faktisk den xorg.conf filen du postet der? Den mangler:

Section "ServerFlags"
   Option  "AIGLX" "off"
EndSection

 

Prøv å legg til det, kjør:

sudo /usr/sbin/accel-manager

Velg XGL.

 

Trykk Ctrl+Alt+Backspace (eller start maskinen på nytt).

 

Så trenger du ikke å starte beryl i Sabayon.

 

Når man starter beryl, bruker man vanligvis beryl-manager og ikke beryl.

 

Beryl-manager kjører vel allerede og ligger som et icon av en rød diamant oppe i høyre-hjørne (hvis du ikke har forandret på det da).

Lenke til kommentar

Du får fortsatt opp dette:

Detected xserver : AIGLX

 

Det virker derfor som x.org ikke registrerer at AIGLX ikke skal kjøre. Prøv å flytt den delen helt sist i xorg.conf og restart maskinen, kjør accel-manager velg xgl.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...