You are not logged in.

#1 2009-03-21 02:41:48

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

I'm making a new PKGBUILD for cairo-compmgr, a rather cool alternative to xcompmgr that's heavier, but is smoother, has plugins, and has less bugs (YMMV).

So far, here's the PKGBUILD and here's the install script.

The things I'm concerned about are:

1.) I have no clue what the perf plugin mentioned on the site and enable-able in the configure script does tongue

2.) pacman -Ql reveals a bunch of files, /usr/share/cairo-compmgr/schemas/ccm-*.schema-key. I'm not sure what to do about these, if anything... I already did the 'normal' process of dealing with GConf as described in the Arch Packaging Standards for Gnome, and that seems to have worked. The configure script has some stuff dealing with GConf, and the site mentions:

ChangeLog wrote:

- all settings are migrated to key files located in user dirs ($HOME/.config/cairo-compmgr), if you want use gconf you can force cairo-compmgr to use it with –use-gconf paramater when you launch it.

3.) It can be built with the Glitz backend in order to use OpenGL instead of Xrender, which is apparently preferred. However, stock Glitz 1.5.6 does not work with the new Cairo. So, they offer an updated Glitz source tarball, or you can use Glitz from git. And, you still need a patched Cairo. I'd like to be able to use that backend, but it looks like I'd have to make a modified cairo-wglitz that has the patch they offer (http://aur.archlinux.org/packages.php?ID=13080) (or ask the maintainer of that package to include it if it doesn't hurt anything), and either a glitz-git package or one for their slightly updated Glitz 1.5.7 (or both). More info here: http://cairo-compmgr.tuxfamily.org/docu … z-backend/ What would you do? tongue


Thanks very much for any help smile

Last edited by Ranguvar (2009-03-22 08:27:18)

Offline

#2 2009-03-23 00:55:30

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

First bump! People look a new compmgr for you openbox/pekwm/minimal-wm using cairo!!!!

Now, thanks for the PKGBUILD. I cant help you with the issues but for me it is working great. I updated it to the new version *.93 and works too.

This is something I'm waiting for a long time...

Offline

#3 2009-03-23 14:55:25

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

I installed cairo-compmgr w/ glitz-1.5.7 and applied the patch they offered to cairo and experimented a little. A few issues:

I use nitrogen to set my background and upon starting cairo-compmgr the background blacks out. Probably silly/minor.

(Running openbox w/ open ati driver) if I drag a window from desktop to desktop for a while I can overload it and eventually will hang sad

Interesting though. I suppose I'm way OT. New thread?

Offline

#4 2009-03-23 15:36:51

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

cairo-compmgr is still very fresh software, so give the maintainer a ring about any bugs smile I'm just trying to get a correct PKGBUILD here tongue This one works okay, but those few issues are nagging.

@btartsa: Did you tell cairo-compmgr to use OpenGL through Glitz, or is it still using Xrender? Read http://cairo-compmgr.tuxfamily.org/ smile

Last edited by Ranguvar (2009-03-23 15:38:36)

Offline

#5 2009-03-23 16:12:37

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Upon re-reading the docs I see I built cairo without --enable-glitz (duh). I'll retest after work and send bugs upstream. Thanks!

Offline

#6 2009-03-23 17:54:37

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

And even after that, you need to tweak some settings smile Read my post; there's some other problems with Glitz. You need a Cairo package built with a patch they offer, and you need either Glitz 1.5.7 beta which they offer, or a Git version of Glitz.

Offline

#7 2009-03-23 18:22:31

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

btartsa wrote:

I installed cairo-compmgr w/ glitz-1.5.7 and applied the patch they offered to cairo and experimented a little.

Had your coffee yet today? smile

Offline

#8 2009-03-23 22:53:49

damjan
Member
Registered: 2006-05-30
Posts: 451

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Will this compozitor sync to the vblank event?

this should stop the Firefox scroll tearing for ex.

Offline

#9 2009-03-23 23:29:03

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

btartsa wrote:

I use nitrogen to set my background and upon starting cairo-compmgr the background blacks out. Probably silly/minor.

For background you need, for now, set it on config file by hand (in .config/cairo* set background=image file)

Offline

#10 2009-03-24 00:44:43

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

btartsa wrote:
btartsa wrote:

I installed cairo-compmgr w/ glitz-1.5.7 and applied the patch they offered to cairo and experimented a little.

Had your coffee yet today? smile

Tea (though I am American o.O), and no tongue Sorry xD Just realized what I did right before I read your post.

This thread is getting a little off-track, though -- if you want to discuss cairo-compmgr more, open up a thread in Desktop Environments or such, but I just need to get this PKGBUILD done tongue

Offline

#11 2009-03-27 23:13:30

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

btw, I just changed the md5/version and is working pretty smoothly here smile

(yeah, you can now officially tell me 'months without updating and you do it after you orphanaged it)

Anyway, it looks like you will do a fine job Ranguvar smile .

Last edited by Phrodo_00 (2009-03-27 23:14:13)

Offline

#12 2009-05-10 15:05:59

Zap
Member
Registered: 2006-07-21
Posts: 41

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Any news?

Offline

#13 2009-05-12 02:32:33

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Ah, crap. I set an early expiration date and my redone PKGBUILD, etc. is gone.

Oh well. I will try again soon. If anyone has advice on what I brought up though, much appreciated.

Offline

#14 2009-07-27 01:41:26

geoisis
Member
From: greece
Registered: 2007-09-02
Posts: 100
Website

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

i've playing with the latest release cairo-compmgr-0.2.93 with pekwm. i must say i'm pretty impressed smile.
having as backed X rendering seems to be working fine, but i can't say the same for opengl and software which really mess up my desktop.
wallpaper problem still the same sad.
strange thing thou, the wallpaper is replaced by blackness, but urxvt with transperacy on, the wallpapers show from behind.


Archlinux x86_64 | post-engineering | last.fm

Offline

#15 2009-07-27 16:16:09

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

geoisis wrote:

i've playing with the latest release cairo-compmgr-0.2.93 with pekwm. i must say i'm pretty impressed smile.
having as backed X rendering seems to be working fine, but i can't say the same for opengl and software which really mess up my desktop.
wallpaper problem still the same sad.
strange thing thou, the wallpaper is replaced by blackness, but urxvt with transperacy on, the wallpapers show from behind.

You changed the wallpaper in ~/.config/cairo-compmgr/ccm-screen-0.conf (background option inside [general])?

Offline

#16 2009-07-27 16:44:50

geoisis
Member
From: greece
Registered: 2007-09-02
Posts: 100
Website

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

kazuo wrote:
geoisis wrote:

i've playing with the latest release cairo-compmgr-0.2.93 with pekwm. i must say i'm pretty impressed smile.
having as backed X rendering seems to be working fine, but i can't say the same for opengl and software which really mess up my desktop.
wallpaper problem still the same sad.
strange thing thou, the wallpaper is replaced by blackness, but urxvt with transperacy on, the wallpapers show from behind.

You changed the wallpaper in ~/.config/cairo-compmgr/ccm-screen-0.conf (background option inside [general])?

big_smile thanx that actually did work, but i assume i need to change it every time a change my wallpaper. is there another way ?


Archlinux x86_64 | post-engineering | last.fm

Offline

#17 2009-08-22 11:49:05

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Any  nes about resolving this (small) problems in new revisions?


Proud ex-maintainer of firefox-pgo

Offline

#18 2009-09-11 19:59:51

jacob_
Member
Registered: 2009-04-15
Posts: 12

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

The links for the PKGBUILD above no longer work so a made a new PKGBUILD and it works ok with the Xrender backend. Details are on the pkg page.

I've also got a git version which adds a wallpaper gui amongst other things. Package will be up soon. Internal release is ~0.2.96.

Offline

#19 2009-12-19 18:04:28

ctarwater
Member
Registered: 2009-02-05
Posts: 300

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Anyone have a recent PKGBUILD for this that works?

Offline

#20 2010-01-24 19:20:21

beat
Member
Registered: 2009-05-24
Posts: 49

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Was anyone able to build this with glitz backend support?
I already have cairo-glitz and glitz installed but it doesn't build with glitz backend though.

Offline

#21 2010-01-24 19:51:36

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

you need a git build for glitz if you want to enable it in cairo-compmgr

Offline

#22 2010-01-24 22:33:04

beat
Member
Registered: 2009-05-24
Posts: 49

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

I already have glitz-git installed and it still doesn't build with glitz backend support

-------------------------------------------------------------------
Conditionally built backends:
-------------------------------------------------------------------
Enable GObject introspection: ...............NO
Enable Vala bindings:         ...............NO
Building perf plugin: .......................NO
Building XRender backend: ...................YES
Building OpenVG backend: .....................NO
Building Glitz backend: .....................NO
Building Glitz TFP backend: .................NO
Now type `make' to compile.

Offline

#23 2010-01-24 22:48:40

beat
Member
Registered: 2009-05-24
Posts: 49

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

Okay I got it, I had to pass --enable-glitz to configure. I've built it with the glitz backend, unfortunately it doesn't seem to work lol.

[beat@darkstar ~]$ cairo-compmgr
0.000002: 
0.000031: Error on create glitz drawable
0.011012: ??:0  ccm_log_print_backtrace()
0.011034: ??:0  g_logv()
0.011039: ??:0  g_log()
0.011044: ??:0  ccm_window_xrender_get_type()
0.011049: ??:0  ccm_window_xrender_get_type()
0.011054: ??:0  ccm_drawable_create_context()
0.011059: ??:0  ccm_screen_get_root_window()
0.011064: ??:0  g_closure_invoke()
0.011068: ??:0  signal_emit_unlocked_R()
0.011073: ??:0  g_signal_emit_valist()
0.011078: ??:0  g_signal_emit()
0.011083: ??:0  emit_frame_signal()
0.011088: ??:0  timeline_timeout_func()
0.011093: ??:0  _ccm_timeout_interval_dispatch()
0.011097: ??:0  ccm_timeout_pool_dispatch()
0.011102: ??:0  g_main_context_dispatch()
0.011107: ??:0  g_main_context_iterate()
0.011112: ??:0  g_main_loop_run()
0.011117: ??:0  gtk_main()
0.011121: ??:0  main()
0.011126: ??:0  __libc_start_main()
0.011131: ??:0  _start()
0.020649: ??:0  ccm_log_print_backtrace()
0.020672: ??:0  main()
0.020678: ??:0  __restore_rt()
0.020683: ??:0  cairo_save()
0.020688: ??:0  ccm_screen_get_root_window()
0.020693: ??:0  g_closure_invoke()
0.020698: ??:0  signal_emit_unlocked_R()
0.020703: ??:0  g_signal_emit_valist()
0.020708: ??:0  g_signal_emit()
0.020713: ??:0  emit_frame_signal()
0.020718: ??:0  timeline_timeout_func()
0.020723: ??:0  _ccm_timeout_interval_dispatch()
0.020728: ??:0  ccm_timeout_pool_dispatch()
0.020733: ??:0  g_main_context_dispatch()
0.020737: ??:0  g_main_context_iterate()
0.020742: ??:0  g_main_loop_run()
0.020747: ??:0  gtk_main()
0.020752: ??:0  main()
0.020757: ??:0  __libc_start_main()
0.020761: ??:0  _start()

Last edited by beat (2010-01-24 22:51:10)

Offline

#24 2010-01-25 13:02:11

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

I just saw your email to the ccm mailing list: it is the first post not from the developer itself smile
Anyway, he addressed some of the bugs I reported so the project is alive. I hope it gets better soon.

Offline

#25 2010-01-25 18:47:37

beat
Member
Registered: 2009-05-24
Posts: 49

Re: cairo-compmgr PKGBUILD, need help with GConf, Perf, and Glitz

cairo-compmgr seems just like the app I need, a good alternative to xcompmgr that is able to render with OpenGL.
Rendering through opengl is great in order to avoid tearing.
I hope it gets better too.

Offline

Board footer

Powered by FluxBB