Compiz Fusion 0.7.7 (git 28 Jul 2008)

Stuff that has yet to be sorted into a category.
Message
Author
el ginko
Posts: 19
Joined: Wed 11 Jul 2007, 11:12

#106 Post by el ginko »

This may be the wrong thread for this (maybe start a new topic?)

...but i was wondering if anyone had attempted/succeeded using compiz fusion on puppy with dual display?

Sven
Posts: 3
Joined: Wed 23 Jul 2008, 17:25

#107 Post by Sven »

the glib-2.0 from dev_400.sfs is 2.14.2

User avatar
tombh
Posts: 422
Joined: Fri 12 Jan 2007, 12:27
Location: Bristol, UK
Contact:

#108 Post by tombh »

@Sven: Hooray! Thanks :) I'll get with recomipiling Emerald today then.
[url=http://www.tombh.co.uk/colour_memories/contribute.php]Colour-Memories Database[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#109 Post by wow »

@el ginko: I got Beryl(now merged with compiz) working with 2 screens the last year with my old nVidia GeForce 2 MX 400 TV-Out (now resting in pieces). Play around with "nvidia-settings" if you have an nvidia card.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
tombh
Posts: 422
Joined: Fri 12 Jan 2007, 12:27
Location: Bristol, UK
Contact:

#110 Post by tombh »

@el ginko: Xorg also does some Dual monitor stuff, though no experience myself. http://gentoo-wiki.com/HOWTO_Dual_Monitors
[url=http://www.tombh.co.uk/colour_memories/contribute.php]Colour-Memories Database[/url]

User avatar
tombh
Posts: 422
Joined: Fri 12 Jan 2007, 12:27
Location: Bristol, UK
Contact:

#111 Post by tombh »

Now here's a story...

After libX11 was fixed I found that Emerald was not working, it gave a segfault that backtraced to a gatmic.c, sounded like a glib mismatch to me.

So I went away to recompile my version of glib to match the version that comes as default in Puppy 4. There was a little hitch compiling glib this time for some reason, something to do with the wrong iconv.h, there was a hack on google somewhere (configure with "--with-libiconv=gnu") and it compiled fine after applying it. So, now to recompile Emerald and libwnck against this older glib. But Emerlad was choking with a linking problem, libtool couldn't find libfontconfig.la and even after symlinking it couldn't find a bunch of other X11 .la files. And for the life of me it stubbornly refused to look anywhere else for them. It took me hours to to get to the bottom of it. Basically some dependant library had a faulty .la that listed a bunch of other .la files in the wrong directory, but which one was it!? Using some clever greping I searched all the .la files that contained "/usr/lib/fontconfig", there were a few that matched, but one in particular I knew would be the problem, libcairo. I'd been installing the latest version of Cairo-Dock so I guess I must have messed around with that library then. So, I hand edited libcairo.la to contain the correct paths for its dependencies and Emerald compiled nicely. All done? Not quite, now Emerald had mysteriously become dependant on libiconv, which isn't even in standard Puppy 4! What had happened there is that I had installed wow's Gnome package (which is excellent BTW, not enough people are basking in its delights) and that had also installed libiconv which glib's configure had automatically detected (thus throwing that initial iconv.h error I encountered at the start because it could not find libiconv's headers) and linked into glib -- glib, not emerald was now dependant on libiconv. It got worse because in the confusion I had compiled and installed the latest libiconv in an attempt to solve the problem, which overwrote the native iconv support that Puppy *does* have. That meant re-downloading a fresh devx_400.sfs and getting the original iconv support stuff (not the same as libiconv). Then recompiling glib again, then recompiling Emerald and libwnck again!

Okay this all went well. But do you know what I got the exact same error again, something about gatomic.c. Then I thought, have I even turned off the XLIB_ARGB_VISUALS thing in /etc/profile, no I hadn't! And when I did that Bingo! So the moral of the story is that there is a possibility that after all those shenanigans, it may well have just been that /etc/profile variable.

Anyhow at least its good that the glib versions are matching, that's got to be a good thing. So here we are, test number 2 and libwnck to match.


fusion-0.7.6_400-tbhtest2.pet
libwnck-2.23.4-i686.pet
[url=http://www.tombh.co.uk/colour_memories/contribute.php]Colour-Memories Database[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#112 Post by wow »

Finally I've compiled all Compiz Fusion (emerald, plugins-main, plugins-extra, ccsm, etc) for Puppy 4 (compiz-core without XCB support, so there's no need to update libX11). But I have 2 problems:
1. Time to make and test dotpets.
2. The last time I updated the source code was one week ago (I don't have/need Internet at home)

Anyway, this is a taste of things to come:
Image

Avant-window-navigator, Cairo Dock, patched nautilus (needed for the wallpaper plugin in compiz) and maybe more.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#113 Post by dinky »

Very cool wow, lovely screenshot. You said it's with AWN and Cairo Dock? Don't they do the same thing? Also, I've not yet been ble to get AWN working well in puppy, do you have a link for that? And Nautilus it the default gnome browser... so does that mean you're working with a gnome destop? Looking great, and looking forawrd to trying it out. I'm happy to help with testing.
~dinky

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#114 Post by wow »

dinky wrote:Very cool wow, lovely screenshot. You said it's with AWN and Cairo Dock?
Oops, Cairo-Dock was in auto-hide mode (top) and AWN at the bottom.

Ok, I updated the source code from GIT yesterday night, and made 2 .pet for puppy3 (see first post) which includes:

compiz (core)
libcompizconfig
compizconfig-python
ccsm
simple-ccsm
plugins-main (animation bs colorfilter expo ezoom jpeg mag mousepoll neg opacify put resizeinfo ring scaleaddon session shift snap staticswitcher text thumbnail vpswitch wall winrules workarounds)

plugins-extra (3d addhelper bench bicubic crashhandler cubeaddon extra-animations extrawm fadedesktop firepaint gears group loginout maximumize mblur notification reflex scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget)

plugins-unsupported (atlantis fakeargb mswitch snow tile)

emerald (Window Decorator)
i18n

http://forum.compiz-fusion.org/showthread.php?t=8897

atlantis2 (Render some sea animals inside of the transparent cube)
cubedbus (Allows other applications to draw inside cube using D-Bus)
cubemodel (Render still/animated 3D mesh models inside of the transparent cube) [Read more]
desktopclick (Perform actions on desktop clicks)
dialog (Fades windows with open dialogs) [Read more]
dodge (Makes windows stay out of your way) [Read more]
elements (Snow, Starts, Autumn, Fireflies and bubbles, all in one neat package)
extra-animations (Use various animatons as window effects, including various additional animations not in the Animation plugin)
fireflies
freewins (Freely transform windows) [Read more]
ghost (Make clicks pass through windows) [Read more]
grid (Warp and resize windows to fit an imaginary grid)
mousegestures (Assign mousegestures to any existing action)
mousetrails (Adds trails that follow the mouse pointer)
photowheel (Render photo turn wheel inside of the transparent cube)
rubik (Turn cube into a Rubik's cube)
screensaver
snowglobe (Render snow falling inside of the transparent cube)
stackswitch (Stack Window Switcher)
wallpaper
wizard (Wastes resources to create fancy particle systems for wizard-wannabes)
workspacenames (Allows assiging descriptions to workspaces)

have fun.
Last edited by wow on Thu 31 Jul 2008, 01:30, edited 1 time in total.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
divisionmd
Posts: 606
Joined: Sat 14 Jul 2007, 20:42

compiz pupy 4

#115 Post by divisionmd »

Nice tombh!

I have very much been looking forward to running/testing Compiz-Manager in Puppy 4.

Can you post a new post typing down a new how-to to summarize all that needs to be done to get Compiz working in Puppy 4?

- What .pet files i need to run, and in what order ?

- And also if i need to modify anything in the xorg.conf or any other file ?

Thanks best regards,
Johan

Mini-Me
Posts: 18
Joined: Sat 27 Oct 2007, 10:45

Hey Wow, Tom, Dinky or any1 eLse that has th' Skills...

#116 Post by Mini-Me »

Obviously w/ All its Dependencies, so that it can be Run or installed on any Dingo, NOP, Mac Dingo, Budda, etc. I'm Still Holding My Breath 4 a New Mean Dingo by Our Host, Hint! :idea: :)

nliwilson
Posts: 2
Joined: Tue 05 Aug 2008, 15:53

I'm going to get flamed but....

#117 Post by nliwilson »

OK, I know I'm going to get flamed for this but I've got Compiz + Emerald working under natively installed NOPr1 (Puppy 4.0) but can't get Emerald to run automatically on startup so my windows open borderless. In order to run it I have to run
LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering --sm-disable ccp & emerald --replace &
in a terminal session and keep the session open.
I know I'm not seeing the wood for the trees here but I've not had enough sleep and this is driving me mad.
What have I forgotten?

BTW: also Compiz is not honoring run hidden tokens, has anyone .pup'd a GUI'd Compiz manager or should I compile my own? (I'm dyslexic and so always prefer a GUI where possible)

nliwilson
Posts: 2
Joined: Tue 05 Aug 2008, 15:53

Re: I'm going to get flamed but....

#118 Post by nliwilson »

I'd like to say thanks to everyone for there help but no one did so I can't.
Resolved it myself as follows:
1: opened /root/.config/xfce4-session/xfce4-session.rc and edited the following entries to
SaveOnExit=false
AutoSave=false
2: clicked Settings -> Autostarted Applications and added an entry for Compiz with command
compiz --replace --indirect-rendering --sm-disable ccp
and an entry for Emerald with command
emerald --replace
Seems to have resolved the run hidden issue as well.
Runs pretty sweetly on a GeForce FX 5700.

jtouso
Posts: 121
Joined: Thu 29 May 2008, 09:16
Location: Barcelona, España

#119 Post by jtouso »

Wow:
How and where can I download your puppy 4 with compiz? (as your screenshot)
If I try Puppy 4 in live mode and install
fusion-0.7.6_400-tbhtest2.pet
libwnck-2.23.4-i686.pet
all ok but when I try libX11-1.1.4-i486.pet as Tombh explain, I have and error, all it is blocked and I need to ctrl+alt+backspace, then xwin and....nothing to do. I need to reboot again all my computer.
Help please

User avatar
tombh
Posts: 422
Joined: Fri 12 Jan 2007, 12:27
Location: Bristol, UK
Contact:

#120 Post by tombh »

@divisionmd: It's your luck day ;) Instructions for running Compiz-Fusion in Puppy 4.

@Mini-Me: An SFS package is something that I have thought about and is stil l something I consider, but the main problem is, as you can see from the size of the instructions I've pointed divisionmd to, setting up CF can be quite complicated and in the end I actually thought an ISO would be easier because it gives the developer full control over the implementation.

@nliwilson: Great! I think you're the first person to confirm that the Puppy 4 CF packages work :) As for the hidden token things, do you need CCSM, in which case you'll need Python installed. python_for_CCSM.pet

@jtouso: Try following the instructions I pointed divisionmd to.
[url=http://www.tombh.co.uk/colour_memories/contribute.php]Colour-Memories Database[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#121 Post by wow »

jtouso wrote:How and where can I download your puppy 4 with compiz? (as your screenshot)
Maybe in 1 or 2 days, because I compiled everything for "amd64" and might not work for you, so I need to recompile it to "i686" and disable some dependencies to make it less GNOME dependent.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#122 Post by wow »

This is my Compiz Fusion package for Puppy 4. As you can see I haven't packed all the dependecies, because some files are not too important or can be found in other packages, there's no need to patch libX11+XCB also:

[P] :arrow: official pet package
[G] :arrow: it's already installed in my gnome-2.20.3.sfs
ccm :arrow: optional, for 'ccsm' and 'simple-ccsm'
gwd :arrow: optional, for 'gtk-window-decorator'
plg :arrow: used for few plugins
c-m :arrow: required only for compiz-manager

Download Dependecies Troubleshooting
  • whiteout(.wh.*) files: This kind of file will give you problems if you're going to use SFS's. Run this command to get rid of them:

Code: Select all

find /initrd/pup_r* -name .wh.* -delete -print 
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#123 Post by wow »

This is for the people that have installed my compiz fusion package for Puppy 4 and have problems with CCSM:
Replace this file(attached bellow) to disable the RGBA patch (for the murrine-rgba engine) from CCSM. Extract Window.py to /usr/lib/python2.5/site-packages/ccm/

Screenshots:
  • Patched CCSM, murrine-rgba engine and a murrine theme from gnomelook.org
    Image
    The same CCSM without the rgba patch, murrine-rgba engine and a murrine theme from gnomelook.org
    Image
Attachments
Window.py.zip
Extract this file to /usr/lib/python2.5/site-packages/ccm/ to remove the RGBA patch
(1.41 KiB) Downloaded 680 times
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

jtouso
Posts: 121
Joined: Thu 29 May 2008, 09:16
Location: Barcelona, España

#124 Post by jtouso »

Hi, and thanks Wow for your fast answer.
You answer me: "....Maybe in 1 or 2 days, because I compiled everything for "amd64" and might not work for you, so I need to recompile it to "i686" and disable some dependencies to make it less GNOME dependent."

OK, we are now august 11 and...where to download the puppy 4 with compiz included?
Question: my I use the ati (xorg, free driver) or my I need to install fglrx (propietary-now free) driver?
Always in live mode
Thanks

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#125 Post by magerlab »

i'm trying to setup compiz -fusion but
got the message that composite extension is not present
what does it mean?

Post Reply