LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-12-2007, 05:07 AM   #16
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37

All my efforts to configure compiz in Slackware 12 so far have failed. I either get a very slow and unusable X when I call compiz like this:
LIBGL_ALWAYS_INDIRECT=1 compiz --replace ini decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom &

or I get the errors:
libGL warning: 3D driver claims to not support visual 0x51
compiz: GLX_EXT_texture_from_pixmap is not supported by direct rendering context, trying indirect rendering context instead
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.

And I do have direct rendering enabled:
glxinfo | grep rendering:
libGL warning: 3D driver claims to not support visual 0x51
direct rendering: Yes

My driver is intel, my system is stock Slackware 12.0. Any ideas? I suspect that my videocard does not support the functionality that compiz allows.

Any suggestions will be appreciated.

Regards,
Martin
 
Old 07-12-2007, 07:02 AM   #17
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 552

Rep: Reputation: 45
I second WulfNStein's suggestion. While I haven't sorted out reading from my .compiz configs, The docs at the compiz site were spot on with regards to configuring my xorg.conf and with using "ini" all worked just fine.
 
Old 07-12-2007, 07:07 AM   #18
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
Quote:
Originally Posted by justwantin
I second WulfNStein's suggestion. While I haven't sorted out reading from my .compiz configs, The docs at the compiz site were spot on with regards to configuring my xorg.conf and with using "ini" all worked just fine.
I have already read the stickies in those forums concerning configuring compiz. Alas, nothing seems to work properly on my system. I wonder why I could find no documentation about compiz coming with Slackware 12...
 
Old 07-12-2007, 07:32 AM   #19
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 552

Rep: Reputation: 45
I'm not talking about stickies in forums, I'm talking about compiz documentation here:

http://compiz.org/Documentation/Documentation

Slack ships with Linux How-to's and man pages. Not instructions for near beta eye candy no matter how much fun it might be.
 
Old 07-12-2007, 07:46 AM   #20
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
Quote:
Originally Posted by justwantin
I'm not talking about stickies in forums, I'm talking about compiz documentation here:

http://compiz.org/Documentation/Documentation

Slack ships with Linux How-to's and man pages. Not instructions for near beta eye candy no matter how much fun it might be.
I have added /user/doc to directories scanned by recoll and yet nothing comes out when I type compiz. There is no man page either. Concerning the above link, the "configuring compiz" section includes three links. GConf is not present in Slackware, compiz-setting is no more supported, and I havo no gnome on my system for the third option ...
 
Old 07-12-2007, 08:10 AM   #21
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Original Poster
Rep: Reputation: 30
Those would be for configuring compiz's plugins, which you can do by editing the .config files generated by the ini plugin.

You might want to look/ask around in the compiz forum about your particular problem. They'll probably have a solution for your.
 
Old 11-07-2007, 04:08 PM   #22
baja_yu
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Rep: Reputation: 0
Hi,

I have Slackware 12.0, and I installed Compiz 0.6.5 from the Slacky.eu repository, but when I execute this:

Code:
compiz --replace ini decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom &
I get the same problems that tramni1980 has. Decorations disappear, the keyboard get locked along with the Konsole. And I get almost exact error messages.

EDIT: I've added the two commands from the original post to a script and executed the script, it still locks up and I lose the decorations, but Compiz seems to be "working" because the window wobbles when I move it and the cube rotates when I switch between desktops...

Last edited by baja_yu; 11-07-2007 at 04:56 PM.
 
Old 11-15-2007, 04:08 AM   #23
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Post

Quote:
Originally Posted by tramni1980 View Post
All my efforts to configure compiz in Slackware 12 so far have failed. I either get a very slow and unusable X when I call compiz like this:
LIBGL_ALWAYS_INDIRECT=1 compiz --replace ini decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom &

or I get the errors:
libGL warning: 3D driver claims to not support visual 0x51
compiz: GLX_EXT_texture_from_pixmap is not supported by direct rendering context, trying indirect rendering context instead
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.

And I do have direct rendering enabled:
glxinfo | grep rendering:
libGL warning: 3D driver claims to not support visual 0x51
direct rendering: Yes

My driver is intel, my system is stock Slackware 12.0. Any ideas? I suspect that my videocard does not support the functionality that compiz allows.

Any suggestions will be appreciated.

Regards,
Martin
Not suggestions as much as questions...

First, what kind of machine are you running this on? How much memory? How fast of a machine? What kind of CPU?

Second, have you modified your /etc/X11/xorg.conf as follows:
Code:
    Section "Device"
    Identifier  "I945"
    Driver      "i810"
    VideoRam    65536
# below added for compiz functionality
    Option "AddARGBGLXVisuals"      "True"  
    Option "DisableGLXRootClipping" "True"
    Option "AllowGLXWithComposite"  "True"  
    Option "RenderAccel"            "True"  
    Option "TripleBuffer"           "True"  
# Insert Clocks lines here if appropriate
EndSection
Compiz will work without them. Read the edit below.

EDIT: Those lines can actually hurt more than they help. I was wrong on this point. After much experimentation, I have discovered that the above lines aren't helpful, and may cause a little extra instability. I was wrong. I am sorry for that.

I see you already included the following lines
Code:
Section "Extensions"
Option "Composite" "Enable"
EndSection
. You also need to add the upper lines as well.

I am running compiz on two laptops. Both are equipped with Intel video adapters. One is a less than six months old Compaq with a Celeron M at 1.86 GHz. The other is also a Celeron, but a PIII version at 1.06 GHz. The first one runs it as smooth as silk. The latter runs it, but it's a bit on the ker-chunky side. No matter, it works on both!

One more thing, if you are using a custom compiled kernel, make sure that you set up the video drivers under
Code:
Character devices--->Direct Rendering Manager
as modules. If not, your compiz has no chance of working...at least the install on my other laptop didn't work until I recompiled its kernel as instructed above.

Now it works, albeit slowly.

And as someone said somewhere else, compiz is buggy. It certainly is! There are a few bugs in it that really uh...BUG me, but I have compiz set up so I can turn it on and off at will.

X never falters. KDE never fails to come back up. Anymore than that will come with time, and more dedicated compiz developers, testers, and users becoming allied with the project.

Blessed be!
Pappy

Last edited by pappy_mcfae; 11-20-2007 at 03:09 AM. Reason: correcting incorrect information.
 
Old 11-16-2007, 12:16 PM   #24
baja_yu
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Rep: Reputation: 0
pappy_mcfae, I've tried what you suggested, but I still loose all the borders when I run compiz.

My setup is a laptop with intel dual core processor and an integrated I945 graphics adapter and 2GB od DDR2 ram. Like I mentioned before, compiz worked fine on Fedora Core 6 which I tried earlier, but it seems to have a lot of problems runing on Slack 12.
 
Old 11-17-2007, 01:44 AM   #25
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Post

Quote:
Originally Posted by baja_yu View Post
pappy_mcfae, I've tried what you suggested, but I still loose all the borders when I run compiz.

My setup is a laptop with intel dual core processor and an integrated I945 graphics adapter and 2GB od DDR2 ram. Like I mentioned before, compiz worked fine on Fedora Core 6 which I tried earlier, but it seems to have a lot of problems runing on Slack 12.
My humblest apologies for that. It sure worked with me...and my machines are nowhere near as balls to the wall as the one you describe above.

My new laptop is a 1.86GHz Celeron, and only one Gig of memory...DDR2, as a matter of fact. It is also running the I945 chipset with 128 megs video RAM. It took a while to get all the gears meshing properly, and I spent a lot of time looking around at other threads devoted to compiz.

Finally, I found one that had some information that finally got my compiz up and running. This particular link has a lot of information on compiz as it comes with Slackware 12.

It wasn't until I used the script that tramni1980 provided that I even got close to getting things going. This article is the one that really got things straightened up and (almost) flying right. It is compiz, which means there are a few bugs hanging about. Oh well, I've worked with buggier software. Thanks to 1337ln for the above link.

Be of good cheer. It seems that while compiz doesn't just hop up and work right the first time around, once you do get it to work, it stays working. I can't wait until they get some of the more annoying bugs worked out...like focus.

Blessed be!
Pappy
 
Old 11-17-2007, 09:05 AM   #26
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
This link sure helped me get Compiz running. It suggests changes to the xorg.conf file:

http://www.izmiran.ru/~osin/slackware/compiz.html

I have the following 2 scripts in my /usr/local/bin/ directory:

startcompiz
Code:
#!/bin/bash
# Compiz startup script

LIBGL_ALWAYS_INDIRECT=TRUE \
/usr/bin/compiz --replace png svg decoration annotate water blur clone \
wobbly fade minimize cube rotate zoom scale move resize place switcher & \
/usr/bin/kde-window-decorator --replace &
stopcompiz
Code:
#!/bin/bash
# Compiz shutdown script
 
/usr/bin/kwin --replace &
 
Old 11-17-2007, 10:21 AM   #27
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,455

Rep: Reputation: Disabled
Quote:
Originally Posted by baja_yu View Post
pappy_mcfae, I've tried what you suggested, but I still loose all the borders when I run compiz.
Try editing the ~/.compiz/options/decoration-allscreens.conf file and adding "kde-window-decorator" to the line "command=".

Brian
 
Old 11-18-2007, 03:41 AM   #28
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Post

Quote:
Originally Posted by baja_yu View Post
pappy_mcfae, I've tried what you suggested, but I still loose all the borders when I run compiz.
That means that compiz is actually loading. I was doing some experimenting last night, and I made an interesting discovery. I discovered that for some reason, if you were to set up your compiz command as follows:
Code:
compiz --replace ini <other plugins>
sometimes kde-window-decorator won't start. However, if you were to change it to:
Code:
compiz --replace <other plugins> ini
where the "ini" plugin isn't the first option given after "--replace", then kde-window-decorator works. I forget exactly which document on compiz told me that one, but low and behold if it didn't work for my PII 450MHz.

The point was really moot because compiz runs really, REALLY SLOWLY on that machine. It's sort of pointless to run it on it, but it does actually run.

I am in the middle of writing a howto document for compiz that is distilled from LOTS of other stuff I have read on the topic, as well as my experiments. So, for the time being, I am going to experiment on that machine to see what process is needed to make compiz functional...things like does /etc/X11/xorg.conf really need all those added lines...and what happens if they aren't there.

I'll gladly post my results as soon as they come to pass, in another thread.

Blessed be!
Pappy
 
Old 11-18-2007, 09:59 AM   #29
baja_yu
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Rep: Reputation: 0
Well, I'm happy to report that I made a lot of progress using the info on this link: http://www.izmiran.ru/~osin/slackware/compiz.html

Compiz now starts and I do not lose the decorations. But, some glitches are still there:

1. After runing the startcompiz script I get this warning:

/usr/bin/compiz (blur) - Warn: No stencil buffer. Region based blur disabled

but I guess that has to do with the abilities of my hardware.

2. Second problem is regarding the looks of the decorations, as they get distorted a little. First I noticed a white line going all the way acros the scren on top of the bottom panel. It's about 6 pixels wide. The same white line (this time border) appears around all tooltips and menues.

3. Opening Home, System, Trash or any other directory opens just a partial window with no contents in it (not as if it is emtpy, but as if it is partially loaded).
EDIT: After playin around for a few mintues, the contents of the windows are now ok.

4. One more thing, when I maximize a window, it seem to strech to far (beyond the screen by about 5 pixels)

I guess I'll cut down on the number of plugins and add one by one and see how it goes.

Last edited by baja_yu; 11-18-2007 at 10:10 AM.
 
Old 11-18-2007, 07:32 PM   #30
Stagger Lee
LQ Newbie
 
Registered: May 2007
Distribution: Slackware 12
Posts: 17

Rep: Reputation: 0
Still new to slack, had all this jazz set up fine on Ubuntu a couple months ago, but this is a different ball game it would appear.

Installed everything I think I need to get compiz to run, but when I run the command I get this:

Code:
stagger@Boris:~$ compiz --replace ini decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom &
[1] 3113
stagger@Boris:~$ compiz: No GLXFBConfig for default depth, this isn't going to work.
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0
What am I missing?

Oh by the way this removes my window borders and locks up opening/closing/moving anything on the desktop.

Any help ya'll can give would be much appreciated. I'mma go restart x now so I can move things again...
 
  


Reply

Tags
compiz


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configure Compiz nymusicman Linux - Software 3 03-25-2007 12:56 AM
How do I configure titlebar buttons in Compiz? JoeDuncan Linux - Desktop 1 11-25-2006 03:02 AM
LXer: Howto: ATI fglrx driver+Xgl+compiz on Debian Sid for KDE users LXer Syndicated Linux News 0 10-22-2006 06:33 AM
mdv 2007 compiz cube not displaying and pictures not memorised by gset-compiz Emmanuel_uk Mandriva 0 10-10-2006 02:33 AM
LXer: Howto: Bring the Xgl and Compiz bling to Ubuntu Dapper Drake LXer Syndicated Linux News 0 09-11-2006 07:33 AM


All times are GMT -5. The time now is 11:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration