LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-07-2009, 05:35 PM   #46
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121

My radeon need LIBGL_ALWAYS_INDIRECT=true before compiz:
LIBGL_ALWAYS_INDIRECT=true compiz --replace --fast-filter decoration wobbly imgjpeg png cube 3d switcher move resize place rotate scale &
emerald --replace &
 
Old 10-07-2009, 07:10 PM   #47
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by BrZ View Post
My radeon need LIBGL_ALWAYS_INDIRECT=true before compiz:
LIBGL_ALWAYS_INDIRECT=true compiz --replace --fast-filter decoration wobbly imgjpeg png cube 3d switcher move resize place rotate scale &
emerald --replace &
Yes, you need that variable because the radeon driver hasn't (till very very very recently) supported GLX_EXT_texture_from_pixmap via direct rendering. The nvidia drivers do, however, so that variable is unnecessary (and, in fact, completely ignored).

Also, if fread followed the thread he was linked to on page one (http://www.linuxquestions.org/questi...fusion-752803/) he does not need to specify each plugin he wants to use on the command line. He can just use the ccp plugin and then use ccsm to configure compiz.

Adam
 
Old 10-07-2009, 07:44 PM   #48
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Yes, it came from fglrx times. In the end I choose almost only the core and a bunch of plugins.
 
Old 10-07-2009, 09:29 PM   #49
fread
Member
 
Registered: Feb 2009
Location: Caribbean
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by adamk75 View Post
Well your drivers appear to be installed fine.

When you ran compiz you didn't get any output? Did anything happen to your windows? Are any plugins enabled in ccsm?

Adam
The windows froze:unmovable, unresizeable.

tabs and internal functions still worked... I think there is a general problem somewhere that we are probably overlooking. I say this because i still have not been able to launch fusion icon or compizconfig settings manager from the kmenu...

I ran nvidia-xorgconf and edited the xorg.conf file with the extension section.......nothing......
 
Old 10-08-2009, 12:35 AM   #50
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
did you run ccsm and turn on "Window Decorations" "Move" and "Resize"?

Last edited by Daedra; 10-08-2009 at 12:56 AM.
 
Old 10-08-2009, 02:11 AM   #51
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by fread View Post
I say this because i still have not been able to launch fusion icon or compizconfig settings manager from the kmenu...
And if you don't run them from a terminal and tell us what errors you get, we may never know why you are unable to launch them :-)

Adam
 
Old 10-08-2009, 06:05 AM   #52
fread
Member
 
Registered: Feb 2009
Location: Caribbean
Posts: 47

Original Poster
Rep: Reputation: 15
I kind of understand the error i think ..apparently things not all in the correct directory. the things is i did not even know ccsm and fusion-icon was actually all i needed to type in command to launch. I ran everything from the directory i downloaded it in..Not very smart! i know...but that is why i asked earlier if there is a directory i was supposed to run them from.....output from ccsm and fusion-icon


frost@frost:~$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
File "/usr/bin/ccsm", line 99, in <module>
import compizconfig
ImportError: No module named compizconfig
frost@frost:~$ fusion-icon
* Error: the "FusionIcon" module is missing. If you did not install fusion-icon to /usr, you may need to add the appropriate site-packages directory to your PYTHONPATH
frost@frost:~$

i think i need to copy stuff into other dir then install but not 100% sure...

Last edited by fread; 10-08-2009 at 06:08 AM.
 
Old 10-08-2009, 06:18 AM   #53
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Does /usr/lib/python2.6/site-packages/FusionIcon exist? How about /usr/local/lib/python2.6/site-packages/FusionIcon?

Adam
 
Old 10-08-2009, 06:35 AM   #54
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
export PYTHONPATH=/usr/local/lib/python2.6/site-packages/
then launch ccsm
 
Old 10-08-2009, 06:40 AM   #55
fread
Member
 
Registered: Feb 2009
Location: Caribbean
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by adamk75 View Post
Does /usr/lib/python2.6/site-packages/FusionIcon exist? How about /usr/local/lib/python2.6/site-packages/FusionIcon?

Adam
/usr/lib/python2.6/site-packages/ "no FusionIcon"
/usr/local/lib/ "empty from here on out". no FusionIcon


....dammit...off to work.....
 
Old 10-08-2009, 06:44 AM   #56
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Are you on the amd64 or i386 version of Slackware?

Adam
 
Old 10-08-2009, 09:45 AM   #57
fread
Member
 
Registered: Feb 2009
Location: Caribbean
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ~sHyLoCk~ View Post
export PYTHONPATH=/usr/local/lib/python2.6/site-packages/

then launch ccsm
Ill have to try that when i reach home...i am on the slackware 32-bit x86 release. I have a 32bit pc.
 
Old 10-08-2009, 09:47 AM   #58
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
If those two directories I asked about earlier don't exist, then compizconfig-python and fusion-icon did not install properly.

Adam
 
Old 10-08-2009, 02:39 PM   #59
delta function
Member
 
Registered: Jul 2004
Posts: 51

Rep: Reputation: 20
Running compiz with nvidia native drivers on Slackware 13.0 can be done. I don't know if it will work for you but here is how i have done it on my rig.
The specs: AMD Athlon XP 2500+, Nvidia 6600GT

1. Install the nvidia driver from www.nvidia.com
- download the drivers
- drop to X
- go root
- sh {nvidia-driver}.run ( NOTE: Do not let nvidia-installer edit/touch xorg.conf )
- Stay in X for the next step

2. Configure Xorg.
Slackware uses the latest xorg. This means that almost everything is setup automatically.
To get the nvidia drivers to work:
- in x go root
- edit xorg.conf: pico /etc/X11/xorg.conf
Here is my xorg.conf file:
# xorg.conf file for Nvidia drivers

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "Nvidia Corporation"
EndSection


Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "DRI"
Mode 0666
EndSection

- save and exit
- drop out of root and into your user account

3. Start Kde ( or what ever ), as normal user NOT root
- open terminal and type glxinfo

it should start like this:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
....

- run in terminal : glxgears
- if it runs, everything is fine, and you have 3d acc with direct rendering

3. Installing the packages
- I went to slackbuilds.org and used the compiz packages from 12.2
- IMPORTANT: Follow the build order given on Slackbuilds.org
- download, compile and install each package as the given build order
- I only downloaded,compiled and installe the needed packages. But the doing all is not a problem.


4. Install Emerald from Slackbuild.org, get the needed themes from kde-look.org.

4. Start compiz
- in terminal: compiz --replace ccp & disown
- in terminal : emerald --replace & disown
- in KDE k -> Settings -> CCSM and play with the options.

Hope it will help !

Last edited by delta function; 10-08-2009 at 04:54 PM.
 
Old 10-08-2009, 02:48 PM   #60
delta function
Member
 
Registered: Jul 2004
Posts: 51

Rep: Reputation: 20
Update: Forgot the post my compiz start script, as I do not use fusion-icon, but the terminal.

#!/bin/bash


case $1 in

-start)

## Loading Compiz

compiz --replace ccp & disown

## load Window Decoration

emerald --replace & disown

;;

-stop)

kwin --replace & disown

;;

*)

echo "usage desktop-effects { -start | -stop }";

;;
esac

## END

Note: I have disabled all effects in Kwin, as I do not like them very much.

Hope it helps you !

Last edited by delta function; 10-08-2009 at 04:48 PM.
 
  


Reply



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
How to disable compiz in slackware... trist007 Linux - Newbie 4 01-05-2013 05:06 PM
Slackware 12.2 and compiz on fglrx satori@sanitarium Slackware 1 01-21-2009 05:33 PM
Using compiz in Slackware 12.0 leutzdb Slackware 10 09-21-2008 01:24 AM
Compiz for Slackware ? mocqueanh Linux - Newbie 2 01-18-2008 07:08 AM
Compiz and Slackware and DLG cwwilson721 Slackware 7 12-16-2007 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration