You are not logged in.

#1 2009-01-06 00:48:35

potzi
Member
Registered: 2009-01-05
Posts: 12

Compiz Fusion - No Window Borders

Hi everyone,

this is my first post so please forgive me if not all information is provided to help with my problem. I installed compiz fusion according to the ArchWiki via 'pacman -S compiz-fusion-kde' (I'm running KDEmod 3.5.10). When I start compiz with the fusion-icon command it starts fine except I don't have any window borders. I know there are quite a lot reasons which can lead to that problem and I searched around in this and other forums but couldn't find a solution to my problem. When I run the fusion-icon command on a Konsole I get the following error message:

[me@arch ~]$ fusion-icon
 * Detected Session: kde
 * Searching for installed applications...
 * No GLX_EXT_texture_from_pixmap with direct rendering context
 ... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
 * Using the GTK Interface
/usr/lib/python2.5/site-packages/FusionIcon/interface_gtk/main.py:207: GtkWarning: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
  icon = gtk.status_icon_new_from_icon_name('fusion-icon')
 * Starting Compiz
 ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering

(emerald:3023): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory

(emerald:3023): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory

(emerald:3024): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory

(emerald:3024): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory

I'm quite a newbie on Linux but to me the initial problem seems to be that 'No GLX...pimap with direct rendering context' ...and then linux trys a workaround with indirect rendering. However when I do 'glxinfo | grep rendering' I get the message 'direct rendering: Yes'. (please correct me if the error message and the glxinfo message aren't related at all).

Also I don't get why compiz wants to use the GTK interface. Can't it use the KDE/Qt interface? With the last part of the error message I think if I would install that libbonoboui file (whatever that is) it asks for compiz might work, but IMO that's not the right way to solve the problem (again correct me if I'm wrong). So I guess I have to adjust some parameter in my xorg.conf to get rid of this problem which I just cannot find.

Archlinux is running on an ASUS W3N Notebook with a ATI Mobility Radeon card with the open-source driver 'xf86-video-ati':

[me@arch ~]$ lspci -v | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller])

and here my xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "SendCoreEvents"
    InputDevice    "Touchpad" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option            "AIGLX" "true"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "xtrap"
    Load  "glx"
    Load  "dbe"
    Load  "dri"
    Load  "drm"
    Load  "freetype"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier    "Touchpad"
    Driver        "synaptics"
    Option    "SendCoreEvents"
    Option    "Device"    "/dev/psaux"
    Option    "Protocol"    "auto-dev"
    Option    "SHMConfig"    "false"
    Option    "LeftEdge"    "1700"
    Option    "RightEdge"    "5300"
    Option    "TopEdge"    "1700"
    Option    "BottomEdge"    "4200"
    Option    "FingerLow"    "25"
    Option    "FingerHigh"    "30"
    Option    "MaxTapTime"    "225"
    Option    "VertEdgeScroll" "true"
    Option    "MaxTapMove"    "225"
    Option    "VertScrollDelta" "100"
    #Option    "VertTwoFingerScroll" "true"
    Option    "MinSpeed"    "0.10"
    Option    "MaxSpeed"    "0.60"
    Option    "AccelFactos"    "0.0020"
    Option    "TapButton1"    "1"
    Option    "TapButton2"    "2"
    Option    "TapButton3"    "3"    
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync    30.0 - 130.0
    VertRefresh  50.0 - 100.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
         Option     "AGPMode"                  "4"
        #Option     "AGPFastWrite"           # "yes"
        #Option     "AGPSize"                # <i>
         Option     "GARTSize"                "64"
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
         Option     "EnablePageFlip"           "1"
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "DDCMode"                # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
         Option     "ColorTiling"              "1"
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        Option     "RenderAccel"             "true"
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
         Option     "AccelMethod"              "EXA"
      Option        "XaaNoOffscreenPixmaps"       "1"
         Option     "DRI"                      "true"
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV350 [Mobility Radeon 9600 M10]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1280x768"
    EndSubSection
EndSection

Section "Extensions"
    Option     "Composite"    "Enable"
EndSection

Section "DRI"
    Group 0
    Mode 0666
EndSection

...hope someone can help me here and I didn't miss the post where this issue was already solved.

cheers, potzi

Offline

#2 2009-01-06 14:11:58

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: Compiz Fusion - No Window Borders

Try this as root:

pacman -Sy libonoboui-2

Or make a copy of the existing libonoboui-2.* named after the one emerald wants.

# updatedb
$ locate libonoboui-2.so
# cp /usr/lib/libonoboui-2.so.*.* /usr/lib/libonoboui-2.so.0

urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#3 2009-01-06 18:28:16

thisperishedmin
Member
Registered: 2008-11-04
Posts: 164

Re: Compiz Fusion - No Window Borders

Are you using Emearld as a window decorator?  If not, I would suggest installing it and enabling window decoration from CCSM.  Ive had similiar no window border problems before, but always found installing Emerald was the easiest solution...plus you usually get cooler window borders that way tongue

If you already have emerald installed and configured...I'm not sure what else to advise.  Perhaps alt+f2 "compiz --replace" followed by "emerald --replace" just to see if it is requiring special execution or something goofy...


If im way off, my apologies tongue

Offline

#4 2009-01-07 00:48:17

potzi
Member
Registered: 2009-01-05
Posts: 12

Re: Compiz Fusion - No Window Borders

@ Lexion
The installation of libbonoboui did the trick, I got the window borders working. But it also installed a whole lot of other gnome-related files.
@ thisperishedmin
yeah i had emerald installed (came automatically with the compiz-fusion-kde package)

So the window-border problem is fixed but the actual thing I'd like to know is

a)
why does compiz-fusion not recognize the direct rendering when it's clearly available, according to 'glxinfo'?

* No GLX_EXT_texture_from_pixmap with direct rendering context
 ... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1

Is this an intrinsic bug in compiz / Xorg for my graphic card or am I missing just some Option setting in my xorg.conf?

b)
why is compiz then using the GTK-interface and not the Qt/KDE interface? Is this standard for compiz?

So thanks again for helping me getting the window-borders goin but it would be great if someone could explain to me why i get this error messages in the first place.

cheers

Offline

Board footer

Powered by FluxBB