LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-02-2007, 07:35 AM   #1
oldsko0l
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Ubuntu Dapper, Gentoo 2006.1
Posts: 140

Rep: Reputation: 15
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!

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!
 
Old 12-02-2007, 07:43 AM   #2
oldsko0l
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Ubuntu Dapper, Gentoo 2006.1
Posts: 140

Original Poster
Rep: Reputation: 15
OMG! Just made the biggest topic in my, life and 5 minutes later I figured it out myself!
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 So id would have any use :')

Bye
 
0 members found this post helpful.
Old 12-02-2007, 09:06 AM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 06-12-2009, 01:49 PM   #4
NuLL3rr0r
LQ Newbie
 
Registered: Jun 2009
Distribution: Gentoo
Posts: 3

Rep: Reputation: 0
Wink

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!!
 
Old 08-01-2011, 11:51 AM   #5
dracofhc
Member
 
Registered: Dec 2005
Location: Kalamazoo, MI, US
Distribution: Gentoo
Posts: 44

Rep: Reputation: 16
Still relevant

2011 and this solution is still relevant. Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start Compiz Fusion? ishuaia Linux - Software 5 11-20-2008 07:04 PM
Compiz-Fusion help tekgek Linux - Desktop 10 10-24-2007 10:39 PM
Compiz Fusion + Emerald = invisible borders Dark Carnival Linux - Software 0 08-06-2007 03:10 PM
Window borders gone when useing Compiz and AIXGL... sturla Linux - General 5 10-25-2006 10:02 AM
compiz, window borders??? liaty SUSE / openSUSE 6 06-19-2006 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration