LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiz-fusion has no borders (https://www.linuxquestions.org/questions/linux-software-2/compiz-fusion-has-no-borders-603911/)

oldsko0l 12-02-2007 07:35 AM

Compiz-fusion has no borders
 
Hello, I'm trying to get compiz-fusion (0.60 -> stable release) working but still have a problem. I'll try to give as many information as possible, because I really want this to work.

1.Some information
*I have xorg-server-1.3.0.0-r2
*I have xorg-x11-7.2
*I have nvidia-drivers-100.14.19
*I have gnome-2.20.1
*I use gentoo
*I have an amd64 & nvidia geforce 6600
*here is my xorg.conf
Code:

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

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath  "/usr/lib64/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  "record"
#      Load  "dri"
#      Load  "GLcore"
        Load  "xtrap"
        Load  "glx"
        Load  "extmod"
        Load  "dbe"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver    "keyboard"
        Option    "CoreKeyboard"
        Option    "XkbRules"  "xorg"
        Option    "XkbModel"  "pc105"
        Option    "XkbLayout" "be"
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"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName  "NV43 [GeForce 6600 PCIe]"
        BusID      "PCI:1:0:0"
        Option      "AddARGBGLXVisuals" "true"
        Option      "UseEvents"        "false"
        Option      "RenderAccel"      "true"

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
        EndSubSection
EndSection

Section "Extensions"
        Option      "Composite"  "enable"
EndSection

2.I added xeffects overlay
Code:

layman -a xeffects
& I put this in /etc/make.conf
Code:

PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/xeffects"
3.I installed Xgl
Code:

emerge -nav subversion
I added this to /etc/portage/package.keywords & /etc/portage/package.unmask (both)
Code:

# Dependencies
dev-util/git
media-libs/glitz
media-libs/mesa
x11-apps/mesa-progs
sys-apps/man
x11-libs/cairo
dev-python/pycairo
x11-libs/qt
x11-misc/util-macros
x11-proto/glproto
x11-apps/xvinfo
x11-apps/xlsclients
x11-libs/libwnck
x11-misc/xwinwrap
virtual/xft
gnome-base/gconf
gnome-base/libgnomeui
x11-libs/gtk+
dev-libs/glib
x11-libs/libdrm
x11-libs/pango

#XGL Package
x11-base/xgl

I added this to /etc/portage/package.use
Code:

x11-libs/cairo glitz svg X
& reinstalled cairo
Code:

emerge --ask --verbose cairo
I rebuilded pango and gtk+ against the newly built Cairo package.
Code:

emerge --ask --verbosglproto and libdrm are installede pango gtk+
I verified whether glproto and libdrm are installed

I installed Mesa & Xgl
Code:

emerge --ask --verbose --noreplace mesa
emerge --ask --verbose xgl

& reinstalled the nvidia-drivers
Code:

emerge nvidia-drivers
4.I installed compiz-fusion (0.60 -> stable)
I added the following lines to /etc/portage/package.keywords
Code:

dev-python/compizconfig-python
x11-wm/compiz
x11-wm/compiz-fusion
x11-plugins/compiz-fusion-plugins-main
x11-plugins/compiz-fusion-plugins-extra
x11-plugins/compiz-fusion-plugins-unsupported
x11-wm/emerald
x11-themes/emerald-themes
x11-apps/ccsm
x11-libs/libcompizconfig
x11-libs/compizconfig-backend-gconf
x11-libs/compizconfig-backend-kconfig
x11-libs/compiz-bcop

& then installed compiz-fusion with all his depencies like emerald, etc.
Code:

emerge -av compiz-fusion
5.The Problem!
Now when I want to start compiz-fusion the problem starts!
first of all, do I start compiz-fusion the right way?
Code:

LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp &> /tmp/compiz.log
because on a other forum they recommended this line :)

Then compiz starts.
I'm sure it works because when I press alt+tab I get an effect of the alt+tab function that is for sure from compiz.

But I don't have any borders!!

On http://gentoo-wiki.com/HOWTO_compiz-...window_borders
they say I have to try
Code:

emerald --replace
but that just does nothing! :o

Thay say It might be that 'XLIB_SKIP_ARGB_VISUALS' is somewhere written in a file in '/etc/env.d/*' But that is not the case..
Code:

oldsko0l@localhost ~ $ grep "XLIB_SKIP_ARGB_VISUALS" /etc/env.d/*
oldsko0l@localhost ~ $


Anybody here who knows how to fix this? It'd be well appreciated by me :)

I tried to give as many info as possible, maybe you still need to know a certain detail to help me, just tell me what u want to know & where I find that information & I'll give it to u

I hope someone can help me, Thanks!

oldsko0l 12-02-2007 07:43 AM

OMG! Just made the biggest topic in my, life and 5 minutes later I figured it out myself! :D
I just had to do
Code:

emerald --replace
& after that start compiz-fusion!!
Code:

LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp &> /tmp/compiz.log
Anyhow, I hope maybe someone else is helped by this topic :D So id would have any use :')

Bye

Brian1 12-02-2007 09:06 AM

Glad to see you figured it out. Also nice to include what you did to resolve it for others that may run into the same problem. Seen this question here before on here a few times.

Brian

NuLL3rr0r 06-12-2009 01:49 PM

tnX dude!

After 2 days of googling and testing every trick I've found on the net, I tried my last chance and it was your post!!

With your solution, now I have Xfce+Compiz-Fusion/Emerald on my Gentoo box with NVidia 6600.

Even in 2009 it's useful.

So many people had/have this problem
Code:

compiz (core) - Error: Couldn't load plugin 'yes'
without any solution.


You're r0ck man!! :)

dracofhc 08-01-2011 11:51 AM

Still relevant
 
2011 and this solution is still relevant. Thanks.


All times are GMT -5. The time now is 11:57 AM.