LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't get compiz to run on Slack 13.37 64 bit. (https://www.linuxquestions.org/questions/slackware-14/cant-get-compiz-to-run-on-slack-13-37-64-bit-914753/)

camorri 11-21-2011 02:16 PM

Can't get compiz to run on Slack 13.37 64 bit.
 
This is the last irritating problem I would like to resolve. However, I have been unsuccessful.

Some details.

Video card.
Quote:

VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
Video driver -
Quote:

275.28
This is the file I downloaded from Nvidia and installed.
Quote:

NVIDIA-Linux-x86_64-275.28.run
Video is normal, no known problems.

I installed compiz from Slackbuilds.org, 11 packages in the order specified. The only package I did not install was 'compiz-plugins-unsupported'. I used sbopkg to install the packages in the correct order.

CCSM comes up, I can view and modify the configuration. I changed the window decorator to 'emerald --replace'. If I run glxgears I get about 1680 FPS.

I also have Magia 1 installed, and compiz works fine on it.

If I start the fusion-icon, this is the output.

[QUOTE]fusion-icon
* Detected Session: kde
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* KWin is already running
/usr/lib64/python2.6/site-packages/FusionIcon/interface_gtk/main.py:214: GtkWarning: GdkWindow 0x6c00003 unexpectedly destroyed
gtk.main()
The program 'fusion-icon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
(Details: serial 210 error_code 175 request_code 152 minor_code 7)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)/QUOTE]

I did some googling, and did not find a solution.

Kernel ;
Quote:

uname -a
Linux duelie 2.6.37.6=cliff1 #1 SMP Mon May 16 14:31:50 EDT 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux
I have multi-lib installed, it that could have anything to do with this problem.

Messages, each time I start fusion-icon I get this in messages:

Quote:

Nov 21 15:11:02 duelie kernel: [17151.119200] fusion-icon[20521]: segfault at 968 ip 00007f8700d380ea sp 00007ffff1370bc0 error 4 in libX$
I'm attaching Xorg.0.log. I have looked through it, and don't see anything that points me in the correct direction.

Suggestions?

Daedra 11-21-2011 02:33 PM

Quick question, are you running KDE? Nevermind I see your output.

try bypassing fusion-icon for now. Open up KDE>System Settings>Default Applications>Window Manager and change the default window manager to compiz and see if it starts.

adamk75 11-21-2011 02:33 PM

Let's see if the problem is just with fusion-icon or if it really is a bigger problem with compiz. First, what desktop environment or window manager are you using? If you are using either KDE or xfce (or even gnome), try running this from a terminal:

Code:

compiz --replace ccp &
If compiz fails to start, post the output here.

Adam

camorri 11-21-2011 03:08 PM

Daedra - I tried compiz wm, it gives strange results. When you start an app, the app shows a all white box, nothing is visible. I have set that back for kwin to start. FWIW, I use Xfce most of the time. The symptoms I described are the same in Xfce, as KDE. I did do a full install.

adamk75 -

Tried your suggestion. The window decorations disappear. The cube does not show up. This is the error I see in the konsole when I run the command.

Quote:

compiz --replace ccp &
[1] 22237
cliff@duelie:~$ compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

(emerald:22238): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
compiz (cube) - Warn: Failed to load slide:
Thank-you both for your interest.

adamk75 11-21-2011 03:14 PM

That output is promising, actually. Start up ccsm and use it to enable the window decoration plugin, and put 'emerald' in the command field in that plugin. While in ccsm, you should also enable the other plugins you need/want: move, resize, put, place, desktop cube, rotate cube, etc.

Then try starting compiz again, the same way as before.

camorri 11-21-2011 03:20 PM

Switched desktops to Xfce. Clicked on the Fusion-icon, the System Tray abends. When I cleared the error message, the icon appears in the bar at the bottom. The window decorations are gone, and any open apps are all piled one on top of another.

I can switch WM's with the icon. When I select Xfwm4, the desktop works normally, no compiz.

adamk75 11-21-2011 03:24 PM

Again, enable those plugins... Unless you already have... In which case, run compiz from a terminal window and show us the output again.

Adam

camorri 11-21-2011 03:32 PM

I checked all the items Adam suggested, they are all enabled. I'm running Xfce right now.

The output...

Quote:

compiz --replace ccp &
[1] 22832
cliff@duelie:~$ compiz (core) - Warn: No GLXFBConfig for depth 32
compiz (core) - Warn: No GLXFBConfig for depth 32
compiz (core) - Warn: No GLXFBConfig for depth 32
All open apps are on one window, and I do not have window decorations.

Wobbely windows works when I move an app. Getting closer.

adamk75 11-21-2011 03:35 PM

Try adding this to the Device section of your xorg.conf file:

Code:

Option "AddARGBGLXVisuals" "True"
I didn't think it was needed on recent nvidia drivers, but the latest error you are seeing was usually solved with that option or by setting the color depth to 24 (which you seem to be using already).

Out of curiosity, even without any window decoration, can you grab windows with alt+mouse1 and move them around?

Adam

camorri 11-21-2011 04:17 PM

Adam,

I had that line in xorg.conf. The only difference I could see, was, I had "true" instead of "True" ; the capitol T.

This is the device section, now.

Quote:

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "AddARGBGLXVisuals" "True"
EndSection
I have tried ever combination of WM and window decorator. Nothing works as it should.

I can not get the cube rotate effect, however, I get wobbley windows. I can use Alt + button 1 to move windows. I can push an application almost off the visible screen. I used to do this before on Mandriva, and Magia, and the app pushes to the next desktop on the cube.

Any other things to try?

adamk75 11-21-2011 04:20 PM

Simply enabling the cube plugins may not be enough. Make sure both the ones I mentioned are enabled, then make sure that "Edge Flip Move" is enabled in the Rotate Cube plugin, too. You can always test the rotate cube plugin by using control+alt+right/left.

As for window decorations, try starting compiz like so:

Code:

compiz --replace --loose-binding ccp &
See if that makes a difference.

Adam

Daedra 11-21-2011 06:26 PM

One thing I noticed is that you posted that your video driver is 275.28, but the newest driver for your card is 285.05.09. You can try downloading and installing the newest driver and see if that helps. Just make sure you when it prompts you to install the 32bit compatibility libraries you say yes since you are running multilib. http://www.nvidia.com/object/linux-d...09-driver.html

camorri 11-21-2011 06:32 PM

I will give that a try tomorrow. Interesting thing in Magia, I have a much older driver, and compiz works like a charm on it.

I'll post back...

Daedra 11-21-2011 06:46 PM

Also when you installed the nvidia driver did you let the installer make your xorg.conf file for you?

camorri 11-22-2011 05:48 AM

Quote:

did you let the installer make your xorg.conf file for you?
Yes I did, is that the beat way to go?


All times are GMT -5. The time now is 12:41 AM.