Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiz Fusion from desktop-effects overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Fri Nov 07, 2008 10:50 am    Post subject: Compiz Fusion from desktop-effects overlay Reply with quote

Hi all, I have tried to emerge Compiz Fusion from desktop-effects overlay. I get the following error,
Code:
if mkdir -p /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings && test -w /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings; then ( \
      /bin/sh ../../libtool --mode=install /usr/bin/install -c libcompiz.la \
      /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings \
      ); \
   fi
if mkdir -p /usr/share/applications && test -w /usr/share/applications; then ( \
      /usr/bin/install -c -m 644 compiz.desktop \
      /usr/share/applications \
      ); \
   fi
ACCESS DENIED  unlink:    /usr/share/applications/compiz.desktop
/usr/bin/install: cannot remove `/usr/share/applications/compiz.desktop': Permission denied
make[3]: *** [install-data-local] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: install: /usr/bin/install -c .libs/libcompiz.so /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings/libcompiz.so
libtool: install: /usr/bin/install -c .libs/libcompiz.lai /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings/libcompiz.la
libtool: install: /usr/bin/install -c .libs/libcompiz.a /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings/libcompiz.a
libtool: install: chmod 644 /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings/libcompiz.a
libtool: install: i686-pc-linux-gnu-ranlib /var/tmp/portage/x11-wm/compiz-9999/image//usr/lib/window-manager-settings/libcompiz.a
libtool: install: warning: remember to run `libtool --finish /usr/lib/window-manager-settings'
make[3]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz/gtk/gnome'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz/gtk/gnome'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/compiz-9999/work/compiz/gtk'
make: *** [install-recursive] Error 1
 *
 * ERROR: x11-wm/compiz-9999 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_install
 * environment, line 2776:  Called die
 * The specific snippet of code:
 * emake DESTDIR="${D}" install || die "emake install failed";
 * The die message:
 * emake install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-wm/compiz-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-wm/compiz-9999/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/desktop-effects/'
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-25071.log"

unlink:    /usr/share/applications/compiz.desktop
--------------------------------------------------------------------------------

>>> Failed to emerge x11-wm/compiz-9999, Log file:

>>>  '/var/tmp/portage/x11-wm/compiz-9999/temp/build.log'

Code:
/usr/bin/install: cannot remove `/usr/share/applications/compiz.desktop': Permission denied

Weird :? Any idea?
_________________
:)
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Nov 07, 2008 12:59 pm    Post subject: Reply with quote

you could run emerge with FEATURES="-sandbox" for the time being, I haven't seen this sandbox violation but I haven't pulled these 9999 ebuilds in a couple days.

then again, this might not be a sandbox violation and this might not help.

what does an 'ls -lh' on the folder(and its parent) yield?
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Fri Nov 07, 2008 2:54 pm    Post subject: Reply with quote

Thanks for help, I emerged compiz-9999 sucessfully. Unfortunately I can't use Compiz Fusion. Start fusion icon end see a white screen.
Code:
purak@gentoobox ~ $ compiz --replace
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

this is my xorg.conf
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder57)  Thu Jul 17 18:39:19 PDT 2008

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "evdev"
    Option         "Device"      "/dev/input/event4"
    Option         "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier      "Synaptics1"
    Driver      "synaptics"
    Option      "SendCoreEvents"   "true"
    Option      "Device"      "/dev/psaux"
    Option      "Protocol"      "auto-dev"
    Option      "HorizScrollDelta"   "0"
    Option      "SHMConfig"      "true"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
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     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
        #Option     "DualHead"              # [<bool>]
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "G72M [Quadro NVS 110M/GeForce Go 7300]"
    Option      "AddARGBGLXVisuals" "true"
    Option      "UseEvents"   "false"
    Option      "RenderAccel" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    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
    EndSubSection
EndSection

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

any idea?
_________________
:)
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Nov 07, 2008 3:49 pm    Post subject: Reply with quote

what does emerge -av nvidia-drivers say?

GLX_EXT_texture_from_pixmap is a mandatory extension that needs to be exposed by the gfx drivers for compiz to work (it faciliates all the compiz compositing magic). personally i just use the ~ARCH nvidia-drivers but the ARCH package should expose this function too.

here is my relevant xorg.conf stuffs, device section:
Code:
Section "Device"
    Identifier  "Geforce 7950GT"
    Driver      "nvidia"
    Option      "NoLogo" "true"
    Option      "RenderAccel" "true"
    Option      "AllowGLXWithComposite" "true"
EndSection

screen section:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "Geforce 7950GT"
    Monitor     "SyncMaster"
    DefaultDepth 24

    # Enable 32-bit ARGB GLX Visuals
    Option "AddARGBGLXVisuals" "true"

    Option "PixmapCacheSize" "10000000"
    Option "AllowSHMPixmaps" "0"

    # If you are using an older version of compiz that
    # does not support rendering into the Composite
    # Overlay Window, you will need to disable clipping
    # of GLX rendering to the X Root window with this
    # option, or you will get a blank screen after
    # starting compiz:
    Option "DisableGLXRootClipping" "True"
... mode settings
EndSection

then at the very end of xorg.conf this section:
Code:
Section "Extensions"
    Option "Composite" "Enable"
EndSection
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Fri Nov 07, 2008 4:37 pm    Post subject: Reply with quote

I use this command,
Code:
eselect opengl set nvidia

After, re-compile compiz fusion from git and restart xorg-server. I don't see white screen anymore. But window borders still don't appear.
Code:
purak@gentoobox ~ $ compiz --replace
compiz (core) - Error: Couldn't load plugin 'yes'

Code:
[I] x11-drivers/nvidia-drivers
     Available versions:  71.86.06!s 96.43.07!s 100.14.09!s (~)100.14.11!s 100.14.19!s [M](~)100.14.23!s (~)169.07!s (~)169.09!s 169.09-r1!s (~)169.12!s [M](~)173.08!s (~)173.14.05!s 173.14.09!s (~)173.14.12!s [M](~)177.13!s [M](~)177.67!s [M](~)177.68!s [M](~)177.70!s (~)177.80!s {acpi custom-cflags gtk kernel_linux multilib}
     Installed versions:  177.80!s(18:11:46 07/11/08)(acpi gtk kernel_linux -custom-cflags -multilib)
     Homepage:            http://www.nvidia.com/
     Description:         NVIDIA X11 driver and GLX libraries

_________________
:)
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Nov 07, 2008 5:54 pm    Post subject: Reply with quote

if you start compiz manually (aka not using fusion-icon... which is a great app for handling compiz) you need to also manually start emerald

Code:
emerge --replace &
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Fri Nov 07, 2008 6:12 pm    Post subject: Reply with quote

jonnevers wrote:
if you start compiz manually (aka not using fusion-icon... which is a great app for handling compiz) you need to also manually start emerald

Code:
emerge --replace &

I started compiz manually and
Code:
purak@gentoobox ~ $ emerald --replace &
[1] 6250

nothing happen... window borders don't appear. i have used fusion icon as well but window border still don't appear.
_________________
:)
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Nov 07, 2008 7:07 pm    Post subject: Reply with quote

purak wrote:
jonnevers wrote:
if you start compiz manually (aka not using fusion-icon... which is a great app for handling compiz) you need to also manually start emerald

Code:
emerge --replace &

I started compiz manually and
Code:
purak@gentoobox ~ $ emerald --replace &
[1] 6250

nothing happen... window borders don't appear. i have used fusion icon as well but window border still don't appear.

well emerald is what actually draws the window borders.

you can try starting compiz and emerald with the '&' and see if they push out any worthwhile error messages.

i put emerge --replace, instead of emerald --replace... wow, sorry.
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Fri Nov 07, 2008 10:08 pm    Post subject: Reply with quote

Well when starting compiz manually while using flat-file backend, which is
default with compiz from the overlay if i am not mistaken, then you need to
also load the ccp plugin like this 'compiz --replace ccp'. This plugin will
enable ccsm 'compizconfig-settings-manager' to save your settings.

Now to get compiz to start your decorator when compiz is started, just
insert 'emerald' command in ccsm > window decoration > command = emerald

Since your not getting any output when trying to start the decorator
manually then i would suggest you verify that compiz is actually running.
If it is then i would next make sure that the Window Decoration plugin
is actually enabled in ccsm.

I would also ask, have you tried another window decorator? If using gnome
then 'gtk-window-decorator', if using kde 'kde-window-decorator'.

If you had an existing compiz configuration from a previous install i would
also try and rename/remove it and allow compiz to create a default
config. The config is found in ~/.config/compiz/compizconfig/Default.ini
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Fri Nov 07, 2008 11:41 pm    Post subject: Reply with quote

Thanks Jupiter1TX! I started ccsm and find window decorations section and click "enable window decoration" (sory for english :( ) Now, window border appears but effects don't work... :?
_________________
:)
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Sat Nov 08, 2008 1:04 am    Post subject: Reply with quote

purak wrote:
Thanks Jupiter1TX! I started ccsm and find window decorations section and click "enable window decoration" (sory for english :( ) Now, window border appears but effects don't work... :?


What effects?. Have you made sure the plugin for the effect you want is enabled?
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum