Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
more and more problems with compiz
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
Delta-9
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2008
Posts: 85

PostPosted: Sat Aug 02, 2008 10:09 pm    Post subject: more and more problems with compiz Reply with quote

i had some problems getting compiz working but after discovering fusion-icon re-emerging compiz all was good and it auto started and everything. i then tryed to get AWN working but in the process i must have done something wrong because fusion-icon no longer works! in fact it didnt appear to be installed any more!

anyway, after trying many sugestions about re-emerging things and so forth i got it to say:

Code:

tom@laptop ~ $ fusion-icon
 * Detected Session: gnome
 * 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
 * No module named gtk
 ... Trying another interface
 * Using the Qt4 Interface
 * No module named PyQt4
 ... Trying another interface
 * Using the Qt3 Interface
 * Interface not installed
 *** Error: All interfaces failed, aborting!


i am about to go and have a very stiff drink after hours of fighting to get this working! any help is much appreciated!

thank you in advance
tom
Back to top
View user's profile Send private message
mortagon
n00b
n00b


Joined: 24 Sep 2007
Posts: 47
Location: Bulgaria

PostPosted: Sat Aug 02, 2008 11:01 pm    Post subject: Reply with quote

fusion-icon fails to find pygtk or pyqt. Try reemerging pygtk. There also seems to be a problem with direct rendering. Check if you have direct rendering:
Code:
Jotunheim mortagon # glxinfo | grep direct
direct rendering: Yes
Back to top
View user's profile Send private message
Delta-9
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2008
Posts: 85

PostPosted: Sat Aug 02, 2008 11:22 pm    Post subject: Reply with quote

i have reemerging pygtk several times now but to no avail, however, i will give it another go!

...nope, sorry, same error!

when i run glxinfo | grep direct i get:

Code:

laptop tom # glxinfo | grep direct
libGL warning: 3D driver claims to not support visual 0x54
direct rendering: Yes


it seems silly to me! it was working almost flawlessly, apart from some windows appeared blank until i minimized/maximized them!

im running an ati radeon mobility 9200 with open source drivers, just to let you know!

thanks for the help!
Back to top
View user's profile Send private message
mortagon
n00b
n00b


Joined: 24 Sep 2007
Posts: 47
Location: Bulgaria

PostPosted: Sun Aug 03, 2008 2:35 am    Post subject: Reply with quote

Hm, I'd bet my 2 cents, your problem is related to the python bindings of compiz. Reemerging dev-python/compizconfig-python, x11-libs/libcompizconfig and x11-libs/compizconfig-backend-gconf. It helped me once icon died on me.

BTW try this one:
Code:

mortagon@Jotunheim ~ % python
Python 2.5.2 (r252:60911, Aug  2 2008, 03:41:47)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> import FusionIcon

If there should be no output.
Back to top
View user's profile Send private message
Delta-9
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2008
Posts: 85

PostPosted: Sun Aug 03, 2008 3:10 am    Post subject: Reply with quote

whilst i was awaiting a reply i took it upon myself to unmerge and emerge the whole of compiz. it didnt help! :(

the output i get from running python and the commands you said to try gives me:
Code:


Python 2.5.2 (r252:60911, Aug  2 2008, 15:58:12)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtk
>>> import FusionIcon
>>>


however, i still get the following when i run fusion-icon:

Code:
 * Detected Session: gnome
 * 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
 * No module named gtk
 ... Trying another interface
 * Using the Qt4 Interface
 * No module named PyQt4
 ... Trying another interface
 * Using the Qt3 Interface
 * Interface not installed
 *** Error: All interfaces failed, aborting!



tom
Back to top
View user's profile Send private message
mortagon
n00b
n00b


Joined: 24 Sep 2007
Posts: 47
Location: Bulgaria

PostPosted: Sun Aug 03, 2008 5:16 am    Post subject: Reply with quote

Your pygtk is not installed with the correct python or not installed at all. What version of pygtk have you installed? I have 2.12.1-r2 and everything isfine with fusion-icon. If you still have python 2.4 try doing the same exercise there to see if pygtk is available there. Also check your /usr/lib/python2.5/site-packages for pygtk
Code:
mortagon@Jotunheim ~ % ls /usr/lib/python2.5/site-packages/pygtk* -l
lrwxrwxrwx 1 root root   13 2008-07-28 02:28 /usr/lib/python2.5/site-packages/pygtk.pth -> pygtk.pth-2.0
-rw-r--r-- 1 root root    8 2008-07-28 02:26 /usr/lib/python2.5/site-packages/pygtk.pth-2.0
lrwxrwxrwx 1 root root   12 2008-07-28 02:28 /usr/lib/python2.5/site-packages/pygtk.py -> pygtk.py-2.0
-rw-r--r-- 1 root root 2946 2008-07-28 02:26 /usr/lib/python2.5/site-packages/pygtk.py-2.0
-rw-r--r-- 1 root root 2092 2008-07-28 02:26 /usr/lib/python2.5/site-packages/pygtk.pyc
-rw-r--r-- 1 root root 1799 2008-07-28 02:26 /usr/lib/python2.5/site-packages/pygtk.pyo

Should have to symbolic links for pygtk.pth and pygtk.py (similar issue here). Hope this helps.
Back to top
View user's profile Send private message
Delta-9
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2008
Posts: 85

PostPosted: Sun Aug 03, 2008 2:15 pm    Post subject: Reply with quote

i have pygtk-2.12.0 installed and python-2.5.2-r5. should i downgrade?

i tried what you suggested and got:

Code:
laptop tom # ls /usr/lib/python2.5/site-packages/pygtk* -l
ls: cannot access /usr/lib/python2.5/site-packages/pygtk*: No such file or directory


doesnt sound good! sorry im quite new to gentoo!

tom
Back to top
View user's profile Send private message
mortagon
n00b
n00b


Joined: 24 Sep 2007
Posts: 47
Location: Bulgaria

PostPosted: Sun Aug 03, 2008 4:09 pm    Post subject: Reply with quote

Never mind the shell error it's most probably a zsh/bash discrepancy. In any case try:
Code:

mortagon@Jotunheim ~ % ls -l /usr/lib/python2.5/site-packages/pygtk.pth
lrwxrwxrwx 1 root root 13 2008-07-28 02:28 /usr/lib/python2.5/site-packages/pygtk.pth -> pygtk.pth-2.0
mortagon@Jotunheim ~ % ls -l /usr/lib/python2.5/site-packages/pygtk.py
lrwxrwxrwx 1 root root 12 2008-07-28 02:28 /usr/lib/python2.5/site-packages/pygtk.py -> pygtk.py-2.0

If they do not show up as symbolic links type as root:
Code:

Jotunheim mortagon # cd /usr/lib/python2.5/site-packages
Jotunheim site-packages # ln -s pygtk.pth-2.0 pygtk.pth
Jotunheim site-packages # ln -s pygtk.py-2.0 pygtk.py


This should fix things.
Back to top
View user's profile Send private message
Delta-9
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2008
Posts: 85

PostPosted: Mon Aug 04, 2008 1:03 pm    Post subject: Reply with quote

ok, thanks mortagon, iv checked the symbolic links and they seem to exist!

Code:
laptop tom # ls -l /usr/lib/python2.5/site-packages/pygtk.pth
lrwxrwxrwx 1 root root 13 Aug  3 15:26 /usr/lib/python2.5/site-packages/pygtk.pth -> pygtk.pth-2.0
laptop tom # ls -l /usr/lib/python2.5/site-packages/pygtk.py
lrwxrwxrwx 1 root root 12 Aug  3 15:26 /usr/lib/python2.5/site-packages/pygtk.py -> pygtk.py-2.0


anyhoo, i ran python-updater -i, i ran into a few problems which desultory helped me out with and now everything seems to be ok! apart from one annoying thing!

when i right click and select create launcher i just see 3 white boxes in a gray box, i.e. no text or boarders around the text boxes. nothing shows when i type but i do have window boarders. same with text editor and some other programs, but this can sometimes be resolved by minimize/maximizing. anyone had the same thing?

thanks
tom
Back to top
View user's profile Send private message
mortagon
n00b
n00b


Joined: 24 Sep 2007
Posts: 47
Location: Bulgaria

PostPosted: Mon Aug 04, 2008 8:09 pm    Post subject: Reply with quote

Glad you figured out most of your problems.

I think the glitches as those you describe appear on certain graphic cards. Could be a driver issue, but I don't have an Ati mobility laptop, so I don't really know.
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