Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My desktop needs some fixing...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
temporary_user
n00b
n00b


Joined: 26 Aug 2012
Posts: 37

PostPosted: Sat Sep 15, 2012 9:14 pm    Post subject: My desktop needs some fixing... Reply with quote

My setup:
KDE + Compiz + Nvidia


Problem:
Whenever I try to change Desktop Effects in System Settings I get an error:
Code:
Desktop effects are not available on this system due to the following technical issues:

Window Manager seems not to be running


After that, I re-enable OpenGL detection, but when I do that another error pops up:
Code:
22 desktop effects could not be loaded.
For technical reasons it is not possible to determine all possible error causes.


I checked Compiz, and here is what it says:
Code:
compiz (core) - Error: Plugin 'text' not loaded.
 
compiz (ring) - Warn: No compatible text plugin found.
compiz (cube) - Warn: Failed to load slide: freedesktop
compiz (cubeaddon) - Warn: Failed to load image: fusioncap.png
compiz (cubeaddon) - Warn: Failed to load image: compizcap.png



What I tried so far:

Code:
compiz --replace ccp --sm-disable


Code:
nvidia-xconfig --composite
nvidia-xconfig --render-accel
nvidia-xconfig --add-argb-glx-visuals


-windows animations in ccsm enabled
-re-emerging compiz & compiz fusion


Logs and other useful info:

.xsession-erros
ccsm
equery list '*' | grep compiz
xorg.conf
glxinfo
/var/log/Xorg.0.conf
/etc/portage/make.conf


------------------------------------------------------------------------------------------

BTW - I know there are some problems with dbus. If you know how to fix them - please let me know (:
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Sun Sep 16, 2012 6:31 am    Post subject: Reply with quote

You are using compiz, that supplies it's own window manager named...compiz, but Desktop Settings in kde manages effects of kde's windows manager named kwin.
Obviously You cant user both at the same time, so if you using compiz, use only ccsm for settings, if kwin, use desktop effects.

Thing with compiz is that, it breaks things :) Effects provided by kwin aren't good enough for You?
Back to top
View user's profile Send private message
temporary_user
n00b
n00b


Joined: 26 Aug 2012
Posts: 37

PostPosted: Mon Sep 17, 2012 10:32 am    Post subject: Reply with quote

I followed your advice and changed compiz to kwin - everything works perfectly!
How do I unmerge compiz and dependent packages? I tried:
Code:
emerge --unmerge compiz && emerge --depclean

but that doesn't work for me.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Mon Sep 17, 2012 11:42 am    Post subject: Reply with quote

I can't tell you how to unmerge compiz dependencies.
But never use --depclean w/o first checking.
Use emerge --depclean -p.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Mon Sep 17, 2012 12:04 pm    Post subject: Reply with quote

Quote:
that doesn't work for me.

Care to elaborate?
Back to top
View user's profile Send private message
temporary_user
n00b
n00b


Joined: 26 Aug 2012
Posts: 37

PostPosted: Mon Sep 17, 2012 10:54 pm    Post subject: Reply with quote

gerard82 wrote:
I can't tell you how to unmerge compiz dependencies.
But never use --depclean w/o first checking.
Use emerge --depclean -p.
Gerard.


No worries, I've checked them before unmerging :)

^marcs wrote:
Quote:
that doesn't work for me.

Care to elaborate?


Certainly. Here you go:
Code:
sskel@Gentoo ~ $ sudo emerge --unmerge compiz && sudo emerge --depclean
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 x11-wm/compiz
    selected: 0.8.8-r1
   protected: none
     omitted: none

All selected packages: x11-wm/compiz-0.8.8-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in:  5 4 3 2 1
>>> Unmerging (1 of 1) x11-wm/compiz-0.8.8-r1...

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 * Depclean may break link level dependencies. Thus, it is
 * recommended to use a tool such as `revdep-rebuild` (from
 * app-portage/gentoolkit) in order to detect such breakage.
 *
 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 *
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   >=x11-wm/compiz-0.8.8 pulled in by:
 *     x11-plugins/compiz-plugins-extra-0.8.8
 *
 *   >=x11-wm/compiz-0.8.8 pulled in by:
 *     x11-wm/compiz-fusion-0.8.8
 *
 *   >=x11-wm/compiz-0.8.8 pulled in by:
 *     x11-plugins/compiz-plugins-main-0.8.8
 *
 *   >=x11-wm/compiz-0.8.8 pulled in by:
 *     x11-plugins/compiz-plugins-unsupported-0.8.8
 *
 *   >=x11-wm/compiz-0.8.8 pulled in by:
 *     x11-libs/libcompizconfig-0.8.8
 *
 *   >=x11-wm/compiz-0.8.8 pulled in by:
 *     x11-wm/emerald-0.8.8
 *
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 *
 *   emerge --update --newuse --deep --with-bdeps=y @world
 *
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 *
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the portage tree, since it may
 * not be possible to satisfy their dependencies.
Back to top
View user's profile Send private message
piedar
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2010
Posts: 82

PostPosted: Mon Sep 17, 2012 11:33 pm    Post subject: Reply with quote

Since you used --unmerge instead of --depclean to remove compiz, packages that depend on compiz are in an unresolved dependency state. Do an
Code:
emerge --ask --depclean
followed by all the packages in that list.
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Tue Sep 18, 2012 5:50 am    Post subject: Reply with quote

You need to remove packages that depend on compiz, You shouldn't need them anymore.

Those listed by --depclean are first to go.
Code:

x11-plugins/compiz-plugins-extra
x11-wm/compiz-fusion
x11-plugins/compiz-plugins-main
x11-plugins/compiz-plugins-unsupported
x11-libs/libcompizconfig
x11-wm/emerald


and ccsm too, You probably still have it.

Then re-run depclean and see what changed.
Back to top
View user's profile Send private message
temporary_user
n00b
n00b


Joined: 26 Aug 2012
Posts: 37

PostPosted: Wed Sep 19, 2012 7:33 am    Post subject: Reply with quote

piedar wrote:
Since you used --unmerge instead of --depclean to remove compiz, packages that depend on compiz are in an unresolved dependency state. Do an
Code:
emerge --ask --depclean
followed by all the packages in that list.


That doesn't work either. I re-ermerged compiz, and run emerge --depclean compiz, but that just returned the list of dependencies. I know that I can remove those packages manully, but there has to be another way. What if I wanted to unmerge KDE? Would I have to unmerge hundreds of packages by hand?
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Wed Sep 19, 2012 2:10 pm    Post subject: Reply with quote

Quote:
I know that I can remove those packages manully, but there has to be another way.

Not necessary, tbh I think there is no automatic way in this scenario. Btw. can You paste your world file? It's in /var/lib/portage/ I bet there are some compiz packages that messing things up.

Quote:
What if I wanted to unmerge KDE? Would I have to unmerge hundreds of packages by hand?

No, You would only need to unmerge packages that are in your world file - ideally if You using kde meta package (or set) You could unmerge it and --depclean should rest of the job.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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