Beryl/Compiz und Xinerama

M

miketech

Routinier
Hi zusammen,

weiß jemand, ob Beryl und Compiz mit Xinerama laufen? Möchte gerne meinen Desktop auf 2 Monitore erweitern, also nicht, dass ich einen großen Desktop über beide Monitore habe, sondern zwei getrennte, dass man aber trotzdem Fenster hin und herschieben kann. Ihr wisst, was ich meine :)

Frage ist nur: Geht das auch noch mit Beryl/Compiz? Oder fliegt mir das dann um die Ohren? Hab ja keine Ahnung, was da passiert, wenn man z.B. Expose oder den Cube aktiviert. Drehen sich dann beide Desktops? Oder geht das halt einfach nicht?

Gruß

Mike
 
Laufen soll es wohl schon - aber k.A. ob du die Config dazu hinbekommst ;)
 
offtopic:
diese "abbrennen" des fensters ... ist das ein effekt von beryl? :think:
 
ja das abbrennen der Fenster ist einer von vielen schönen Effekten von Beryl :-)
 
Hi,

danke für Eure Antworten. Sieht ja schonmal nett aus. Wisst ihr zufällig ob die Desktops dafür dieselbe Auflösung haben müssen, wie in dem Beispiel? Oder kann ich auch einen mit z.B. 1280x1024 und einen mit 1024x768 betreiben?

Gruß

Mike
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

BTW: Auch nett:

http://www.youtube.com/watch?v=ALqduQfm09c

Mike
 
Zuletzt bearbeitet:
so gehts...

hi,
bei mir läuft xinerama mit beryl recht gut. mein system:

Software:

kubuntu feisty fawn
beryl-core 0.2.1
xorg 7.2.0
nvidia treiber 1.0.9755 (installer von nvidia)

installierte packete:
Code:
dpkg -l|grep beryl
ii  beryl                                      0.2.1.dfsg+git20070318-0ubuntu2        Compositing window manager, decorator and th
ii  beryl-core                                 0.2.1.dfsg+git20070318-0ubuntu2        Compositing window manager - Beryl Project
ii  beryl-kubuntu                              0.2.1+git20070318-0ubuntu2             Simplified Plugin and configuration tool - B
ii  beryl-manager                              0.2.1-0ubuntu1                         Tray application launcher tool - Beryl Proje
ii  beryl-plugins                              0.2.1-0ubuntu2                         Collection of plugins for Beryl
ii  beryl-plugins-data                         0.2.1-0ubuntu2                         Plugins data - Beryl Project
ii  beryl-plugins-unsupported                  0.2.1-0ubuntu1                         Collection of extra plugins for Beryl
ii  beryl-plugins-unsupported-data             0.2.1-0ubuntu1                         Unsupported Plugins Data
ii  beryl-settings                             0.2.1-0ubuntu1                         Plugin and configuration tool - Beryl Projec
ii  beryl-settings-bindings                    0.2.1-0ubuntu1                         Plugin and configuration tool - Beryl Projec
ii  beryl-settings-simple                      0.2.1+git20070318-0ubuntu2             Simplified Plugin and configuration tool - B
ii  emerald                                    0.2.1-0ubuntu1                         Decorator for beryl
ii  libberyldecoration0                        0.2.1.dfsg+git20070318-0ubuntu2        Settings library for plugins - Beryl Project
ii  libberylsettings0                          0.2.1.dfsg+git20070318-0ubuntu2        Settings library for plugins - Beryl Project
ii  libemeraldengine0                          0.2.1-0ubuntu1                         Decoration engines for beryl

sowie

Code:
ii  aquamarine                                 0.2.1.dfsg+git20070318-0ubuntu2        Aquamarine window decorator and libraries fo
ii  emerald                                    0.2.1-0ubuntu1                         Decorator for beryl
ii  emerald-themes                             0.2.1-0ubuntu1                         Package of themes for Emerald
ii  libemeraldengine0                          0.2.1-0ubuntu1                         Decoration engines for beryl

Hardware:
nvidia 6600gt, agp
amd 3700+

monitor 1:
19" widescreen tft, 1440x900
monitor 2:
19" Röhre, 1280x1024

Config:

xorg.conf:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:39:38 PST 2007

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

#Section "ServerFlags"
 #   Option         "Xinerama" "0"
#EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ACI ASUS VW192S??"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600 GT"
    Option "RenderAccel" "true" 
    Option "AllowGLXWithComposite" "true" 
    Option "backingstore" "true" 
    Option "TripleBuffer" "true" 
    Option "AddARGBGLXVisuals" "True" 

Option "DisableGLXRootClipping" "True" 

EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "CRT-0: 1440x900_60 +1280+0, CRT-1: 1280x1024 +0+0
 
# CRT-0: 1440x900 +1280+0, CRT-1: 1024x768 +0+0; CRT-0: 1024x768 +1280+0, CRT-1: 832x624 +0+0; CRT-0: 832x624 +1280+0, CRT-1: 800x600 +0+0; CRT-0: 800x600 +1280+0, CRT-1: 720x400 +0+0; CRT-0: 640x480 +1280+0, CRT-1: 640x480 +0+0"

    SubSection     "Display"
        Depth       24
        Modes      "1440x900" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Xorg.0.log:

Code:
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux ente 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686
Build Date: 04 April 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun  4 17:56:37 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Videocard0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(**) RgbPath set to "/usr/lib/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81c92e0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 1.1
	X.Org XInput driver : 0.7
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.1
(++) using VT number 7

*** gekürzt ***

(--) PCI:*(1:0:0) nVidia Corporation NV43 [GeForce 6600/GeForce 6600 GT] rev 162, Mem @ 

*** gekürzt ***

(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/lib/xorg/modules//fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.0.2
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 7.2.0, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.9755
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.9755
	Module class: X.Org Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.1.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.1.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.7
(II) NVIDIA dlloader X Driver  1.0-9755  Mon Feb 26 23:23:13 PST 2007
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="NVIDIA Corporation"
	compiled for 7.1.99.2, module version = 1.0.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/xorg/modules//libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 0.1.0
	ABI class: X.Org Video Driver, version 1.1
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)

*** gekürzt ***

(II) resource ranges after probing:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)

*** gekürzt ***

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "RenderAccel" "true"
(**) NVIDIA(0): Option "TwinView" "1"
(**) NVIDIA(0): Option "MetaModes" "CRT-0: 1440x900_60 +1280+0, CRT-1: 1280x1024 +0+0"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "true"
(**) NVIDIA(0): Option "TripleBuffer" "true"
(**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
(**) NVIDIA(0): Option "DisableGLXRootClipping" "True"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): TwinView enabled
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 6600 GT at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 05.43.02.46.00
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 6600 GT at PCI:1:0:0:
(--) NVIDIA(0):     ACI ASUS VW192S?? (CRT-0)
(--) NVIDIA(0):     Iiyama (CRT-1)
(--) NVIDIA(0): ACI ASUS VW192S?? (CRT-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): Iiyama (CRT-1): 400.0 MHz maximum pixel clock
(II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-0, CRT-1
(II) NVIDIA(0): Assigned Display Devices: CRT-0, CRT-1
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "CRT-0:1440x900_60+1280+0,CRT-1:1280x1024+0+0"
(II) NVIDIA(0): Virtual screen size determined to be 2720 x 1024
(--) NVIDIA(0): DPI set to (85, 84); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xf3000000 - 0xf3ffffff (0x1000000) MX[B]

*** gekürzt ***

(II) NVIDIA(0): Setting mode "CRT-0:1440x900_60+1280+0,CRT-1:1280x1024+0+0"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): Option "BackingStore" "true"
(**) NVIDIA(0): Backing store enabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/psaux"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded

Anmerkung:

zuerst mal muss der nvidia treiber drauf. neuerdings ist das wohl ein problem, denn nach jedem neustart wurde das nvidia modul nicht geladen. ich hab dann mit dem envy installer alles gelöscht, was nach nvidia und mit aptitude alles, was nach restricted roch. danach hab ich den installer von nvidia verwendet und die notwendigen packete für beryl installiert.

anschliessend erfolgte die übliche config von xinerama. in x hab ich dann nvidia server settings gestartet und xinerama deaktiviert bzw. twinview aktiviert. die vorschau der xorg.conf war dann meine vorlage für die neue xorg.conf. in der wurde dann der xinerama eintrag auskommentiert oder gelöscht, die richtigen auflösungen der beiden monitore angepasst und folgende einträge hinzugefügt (siehe auch oben):
Code:
 Option "RenderAccel" "true" 
    Option "AllowGLXWithComposite" "true" 
    Option "backingstore" "true" 
    Option "TripleBuffer" "true" 
    Option "AddARGBGLXVisuals" "True" 
    Option "DisableGLXRootClipping" "True"

der eigentliche trick an der sache ist, das wohl nvidia mit dieser config automatisch xinerama aktiviert, obwohl es in der config nicht angegeben ist.
in beryl settings kann man dann noch von "on big cube" auf "mulitcube" schalten und man kann wie gewohnt mit xinerama weiterarbeiten.

kann sein, das das mit compiz genauso geht, weiss es aber nicht. wer weiss es?

positiv:
-sauschnell
-super effekte
-nur geil ;)

negativ:
-beryl scheint noch etwas buggy und hat noch ein paar fehlerchen... aber das wird sicher noch... (man muss es ja nicht immer starten)

starte dann beryl mit:
beryl --no-context-share &

das config tool mit:
beryl-settings

und als fensterersatz:
aquamarine --replace &

das geht auch alles mit den entsprechenden icons im startmenu.

viel erfolg! es lohnt sich!!!!!!!!!!
 
habs inzwischen auch mit kubuntu feisty fawn amd64 und nvidia-glx-new getestet. kein problem.
 

Ähnliche Themen

Xinerama - Vollbild

Ati Radeon X1300 und Xinerama mit XGL?

Notebook, ATI und zweiter Screen - ich verzweifle

Zurück
Oben