openSUSE Forums > Archives > SF Archives > ARCHIVES - Software » Compiz 7.2 Or Git Borders Wut Up?

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-Mar-2008, 12:35
bertman
Guest
 
Posts: n/a
Thumbs up

Hello,
Suse 10.3 here
Nvidia x86_64-169.12 - working great
AIGLX enabled from commands at suse/nvidia wiki

Ok,
aiglx and 3d support is working well.
I removed ALL traces of anything from the xgl repository on the build service, rebooted, and used the "ONE CLICK" from Cyborg's blog.
The result is that the Fusion icon does not start automagically. When I choose it from the menu, and select Compiz, I get no borders. If I use this from Run "compiz --no-libgl-fallback --replace ccp&" Compiz runs just perfectly. However, reselecting compiz from the Fusion Icon again gives me the no borders problem.

So, It seems that I should add something to the Fusion Icon, but I do not know where that would be.

Is this a Compiz-Fusion bug, or something to do with Nvidia?

Oh, this seems to happen with either the official Compiz 7.2 on the build service, OR Cyborg's.

Any input is appreciated.

THANKS!
bertman
  #2 (permalink)  
Old 09-Mar-2008, 14:41
telepete
Guest
 
Posts: n/a
Default

having that compiz fusion icon on your tray. click on it and fire up your settings manager. check and see if you have the 'window decoration' box checked. for me it has to be checked or no borders or title bars will appear. after you have done that go to your tray icon again and select emerald for your window decorator. any effect?
  #3 (permalink)  
Old 09-Mar-2008, 14:56
Eck
Guest
 
Posts: n/a
Default

Compiz on OpenSUSE should be started with:

compiz-manager &

But, you need to edit:

kdesu kate /usr/bin/compiz-manager

and add:

--no-lib-gl-fallback

to the startup options line in there. You can also change USE_EMERALD="yes" to "no" to get it to load either the kde or gtk decorators. In Gnome or KDE it'll then load the appropriate decorator.

The compiz-manager will load compiz and fusion-icon -n. That -n makes it not reload anything when it starts.

You can also add that line to the fusion-icon options so you can use it to reload compiz.

/usr/lib/python/site-packages/FusionIcon/data.py

is the file to edit. You need to add the --no-libgl-fallback in there.

That compiz-decorator in the ccsm window decoration plugin is another way to automatically load the decorations.

  #4 (permalink)  
Old 09-Mar-2008, 23:12
bertman
Guest
 
Posts: n/a
Default

[quote]
<snip>

Ok,
I added those lines as:


# check driver whitelist
running_under_whitelisted_driver()
{
LOG=$(xset q|grep "Log file"|awk '{print $3}')
if [ "$LOG" = "" ]; then
verbose "xset q doesn't reveal the location of the log file. Using fallback $XORG_DEFAULT_LOG \n"
LOG=$XORG_DEFAULT_LOG;
fi
if [ -z "$LOG" ];then
verbose "AIEEEEH, no Log file found \n"
verbose "$(xset q) \n"
return 0
fi
for DRV in ${WHITELIST}; do
if egrep -q "Loading .*${DRV}_drv\.so" $LOG &&
! egrep -q "Unloading .*${DRV}_drv\.so" $LOG;
then
if [ x"$DRV" = x"nvidia" -o x"$DRV" = x"fglrx" ]; then
COMPIZ_OPTIONS="--no-libgl-fallback --ignore-desktop-hints --replace"
LIBGL_ALWAYS_INDIRECT=1
LD_LIBRARY_PATH=/usr/X11R6/lib


And
#added nolibfallback 3/9/08
COMPIZ_OPTIONS="--ignore-desktop-hints --no-libgl-fallback --replace"
COMPIZ_PLUGINS=""
ENV=""

That still didn't work....
  #5 (permalink)  
Old 09-Mar-2008, 23:55
Eck
Guest
 
Posts: n/a
Default

Getting complex then, as with what you added compiz-manager shouldn't have a problem loading the decorator and neither should the fusion-icon in the tray. Do you have the Window Decoration plugin active in ccsm, and the preferences in there set to flat-file configuration?

Also check that you have all the parts from the same repository. If you had previous Compiz stuff installed and working, but from a different repository, it may be helpful to delete all the stuff in your home directory under .config\compiz. (In the View drop-down select Show Hidden Files.) Then run compiz-manager and ccsm again to set everything up fresh.

Running kde-window-decorator --replace & or emerald --replace & or gtk-window-decorator --replace & doesn't start a decorator for you?

If you still have problems maybe asking for help in either CyberOrg's OpenSUSE thread in http://forum.compiz-fusion.org/ or the General Help section. If compiz is running except for the decorator then your 3D driver is working so it is some configuration or files out of order problem. Besides uninstalling everything compiz and emerald related and starting over I wouldn't know what else to do. But those folks over there might.

But check glxinfo and glxgears anyway. One time I had a defective videocard and compiz would work but no 3D games would. The glxgears would crash right away just like the games. I RMA's the card and the tech's said it tested defective too.

There is the old (forget exactly) addARGBGLXVisuals in xorg.conf with a newer d=24 or something for depth specifically set to 24bit, but I haven't needed that. I think that's still in the Compiz Fusion wiki article at opensuse.org. But I don't think the newer drivers need it. That used to get the decorations to show up.

  #6 (permalink)  
Old 10-Mar-2008, 09:10
bertman
Guest
 
Posts: n/a
Default

Eck,
Yes, the window decorator plugin is active.

I did delete everything in the .config/compiz directory, prior to installing.

Hmm. Interesting. I tested this on another computer. Using the Nvidia 100.14.19 drivers, seems allow everything to work. Moving to the newed drivers does not.

I'll check the compiz fourms.

Thanks,

bertman



 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2