You are not logged in.

#151 2006-09-11 14:41:34

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

You can just run pacman -S libwnck

All latest xgl and compiz packages are already in danimoth's and my repositories. smile

wd wrote:

==> Insert new version for package libwnck-compiz-quinn (default pkgver is '2.14.3'):

==> Insert new revision for package libwnck-compiz-quinn (default pkgrel is '2'):

==> Building package libwnck-compiz-quinn...
==> Entering fakeroot environment
==> Making package: libwnck-compiz-quinn 2.14.3-2 (Mon Sep 11 22:29:38 CST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found libwnck-2.14.3.tar.gz in build dir
==>     Found libwnck_compiz_quinn.diff in build dir
==> Validating source files with MD5sums
    libwnck-2.14.3.tar.gz ... Passed
    libwnck_compiz_quinn.diff ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf libwnck-2.14.3.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
patching file ./libwnck/inlinepixbufs.h
patching file ./libwnck/pager.c
patching file ./libwnck/window-action-menu.c
patching file ./libwnck/window.c
patching file ./libwnck/window.h

......

window.c:33:26: error: wnck-marshal.h: No such file or directory
window.c: In function 'wnck_window_class_init':
window.c:263: error: '_wnck_marshal_VOID__FLAGS_FLAGS' undeclared (first use in this function)
window.c:263: error: (Each undeclared identifier is reported only once
window.c:263: error: for each function it appears in.)
make[2]: *** [window.lo] Error 1
make[2]: Leaving directory `/home/wd/pkg/xgl/libwnck-compiz-quinn/src/libwnck-2.14.3/libwnck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wd/pkg/xgl/libwnck-compiz-quinn/src/libwnck-2.14.3'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...


what shuould i do?

Offline

#152 2006-09-11 14:49:00

wd
Member
Registered: 2005-09-10
Posts: 28

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:

You can just run pacman -S libwnck

All latest xgl and compiz packages are already in danimoth's and my repositories. smile

I don't know hwo to do....

Offline

#153 2006-09-11 15:11:13

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

wd wrote:
aquila_deus wrote:

You can just run pacman -S libwnck

All latest xgl and compiz packages are already in danimoth's and my repositories. smile

I don't know hwo to do....

edit /etc/pacman.conf, uncomment the line under [options]:

XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

and add repositories:

[AqD]
Server = http://aquila.deus.googlepages.com

[danimoth]
Server = http://jjdanimoth.altervista.org/arch/i686

now, do

pacman -Sy xgl-git compiz compiz-plugins cgwd csm

Then you can follow the wiki for setup; There are two differences from the wiki's info:
· compiz no longer uses gconf; now you can just type "csm" to configure it (csm is GUI) · you can replace gnome-window-decorator with cgwd if you want better window decorations; Run gcompizthemer to change/install cgwd themes (theme collections), however cgwd could cause serious memory leak in Xgl.

Offline

#154 2006-09-11 15:19:02

wd
Member
Registered: 2005-09-10
Posts: 28

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:
wd wrote:
aquila_deus wrote:

You can just run pacman -S libwnck

All latest xgl and compiz packages are already in danimoth's and my repositories. smile

I don't know hwo to do....

edit /etc/pacman.conf, uncomment the line under [options]:

XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

and add repositories:

[AqD]
Server = http://aquila.deus.googlepages.com

[danimoth]
Server = http://jjdanimoth.altervista.org/arch/i686

now, do

pacman -Sy xgl-git compiz compiz-plugins cgwd csm

Then you can follow the wiki for setup; There are two differences from the wiki's info:
· compiz no longer uses gconf; now you can just type "csm" to configure it (csm is GUI) · you can replace gnome-window-decorator with cgwd if you want better window decorations; Run gcompizthemer to change/install cgwd themes (theme collections), however cgwd could cause serious memory leak in Xgl.


So beautiful!!
It worked.
thx. lol

Offline

#155 2006-09-12 09:10:55

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: Latest Xgl and Compiz PKGBUILDs

I installed xgl as aquila_deus told above.

How to speed up the wobble effects? The wobble in xfce menu takes like 2-3 seconds, I would like it to be 0,5 seconds. Same would be to maximize, too.

I dont get csm configs working. I change the options in csm, but I dont get any changes to cube or effects, like shortcuts, cube top image, etc. Logout or restart X wont help. Also, options are saved in csm.

Offline

#156 2006-09-12 12:32:56

dwight
Member
From: Estonia
Registered: 2005-05-22
Posts: 18

Re: Latest Xgl and Compiz PKGBUILDs

I'm not behind my arch box right now, but I think what was needed was to add 'dbus csm' to the command that launches compiz (also, remove gconf if it is in there). The menu wobble speed (and other settings) can then be modified via csm.

Offline

#157 2006-09-12 16:46:46

LukeK
Member
Registered: 2006-09-12
Posts: 5

Re: Latest Xgl and Compiz PKGBUILDs

I tried out Xgl last month and found it to be a bit unstable, so I uninstalled it all. I've just gone back and installed the packages from AqD and Danimoth's repositories. However, this time, with those packages, using Method 1 from the wiki (editing gdm.conf) whenever GDM starts up I get a blank blue screen and the login window never shows up. Anyone else run into this problem?


- Luke

Offline

#158 2006-09-12 18:43:22

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

Purch wrote:

How to speed up the wobble effects? The wobble in xfce menu takes like 2-3 seconds, I would like it to be 0,5 seconds. Same would be to maximize, too.

Just run csm wink

Purch wrote:

I dont get csm configs working. I change the options in csm, but I dont get any changes to cube or effects, like shortcuts, cube top image, etc. Logout or restart X wont help. Also, options are saved in csm.

Ah, you need to start the X with dbus. In the beginning of ~/.xinitrc:

kill `pidof dbus-daemon` >/dev/null 2>&1
eval `dbus-launch --sh-syntax`

And start your compiz with:

LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib compiz --replace dbus csm&

Offline

#159 2006-09-12 19:03:19

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

LukeK wrote:

I tried out Xgl last month and found it to be a bit unstable, so I uninstalled it all. I've just gone back and installed the packages from AqD and Danimoth's repositories. However, this time, with those packages, using Method 1 from the wiki (editing gdm.conf) whenever GDM starts up I get a blank blue screen and the login window never shows up. Anyone else run into this problem?

Well, you should not do anything experimental with gdm wink

Here is how I start Xgl:

/usr/local/bin/xorg (replace startx/xinit):

#!/bin/bash
if [ -e /tmp/.X0-lock ]; then
  echo "/tmp/.X0-lock" already exists
else
  X :0 -dpi 96 &
  DISPLAY=:0 ~/.xinitrc
fi

(change the -dpi 96 to your own dpi)

~/.xinitrc:

#!/bin/sh

kill `pidof dbus-daemon` >/dev/null 2>&1
eval `dbus-launch --sh-syntax`

xmodmap -e "keycode 113 = Alt_R" &
xmodmap -e "add mod1 = Alt_R" &

xset dpms 0 0 0
xset s off

#### Start Xgl ####
###################
{
  __GL_SYNC_TO_VBLANK=0 Xgl :5 +kb -ac -br -accel glx:pbuffer -accel xv:fbo -fullscreen -lines -vbo -xvfilter linear -vertextype float >/tmp/xgl.log 2>&1
  echo "EXIT $?" >>/tmp/xgl.log
}&
export DISPLAY=:5
sleep 2

__GL_FSAA_MODE=2 __GL_LOG_MAX_ANISO=1 __GL_SYNC_TO_VBLANK=1 LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib compiz --replace dbus csm >/tmp/compiz.log 2>&1 &

gnome-window-decorator &

#### Fix Keys and stupid screensaver ####
#########################################
{
  sleep 4
  xmodmap -e "clear mod1"
  xmodmap -e "clear mod4"
  xmodmap -e "keycode 22 = BackSpace"
  xmodmap -e "keycode 125 = Hyper_L"
  xmodmap -e "keycode 127 = Hyper_L"
  xmodmap -e "keycode 128 = Hyper_L"
  xmodmap -e "keycode 156 = Hyper_L"
  xmodmap -e "add mod1 = Alt_L"
  xmodmap -e "add mod1 = Alt_R"
  xmodmap -e "add mod4 = Super_L"
  xmodmap -e "add mod4 = Super_R"
  xset dpms 0 0 0
  xset s off
}&

#### Start Xfce/GNOME or your own desktop apps ####
xfdesktop &
xfce4-panel &
nice -3 xpenguins &

· If you're not using a nvidia gfx card, replace the -accel glx:pbuffer -accel xv:fbo arguments passed to Xgl with suitable ones. (it's driver-dependent)
· If you want to use window decoration themes, replace gnome-window-decorator & with cgwd &. And run gcompizthemer to install and choose themes. Beware that cgwd may cause serious memory leak in Xgl.
· Remember to change the last section "Start Xfce..."
BTW, the gnome-window-decorator in my compiz build is heavily patched by myself to look better. If you want the original one, you have to rebuild from PKGBUILD smile

Offline

#160 2006-09-12 21:46:52

LukeK
Member
Registered: 2006-09-12
Posts: 5

Re: Latest Xgl and Compiz PKGBUILDs

Thanks Aquila, that got me going. Now to see if it's more stable than the last version!


- Luke

Offline

#161 2006-09-14 14:36:20

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:

Ah, you need to start the X with dbus. In the beginning of ~/.xinitrc:

kill `pidof dbus-daemon` >/dev/null 2>&1
eval `dbus-launch --sh-syntax`

And start your compiz with:

LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib compiz --replace dbus csm&

I just installed your compiz using :
pacman -Sy xgl-git compiz compiz-plugins cgwd csm
and adding your repo.

I'm using the first method from the wiki to launch xgl, that is editing GDM configuration to use Xgl instead of X.

What "dbus-launch" has to do with xgl/compiz? Should the wiki be edited to reflect this???

Thanx!

Offline

#162 2006-09-14 15:24:16

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

big_gie wrote:

I just installed your compiz using :
pacman -Sy xgl-git compiz compiz-plugins cgwd csm
and adding your repo.

I'm using the first method from the wiki to launch xgl, that is editing GDM configuration to use Xgl instead of X.

What "dbus-launch" has to do with xgl/compiz? Should the wiki be edited to reflect this???

Thanx!

The latest compiz from ubuntu requires dbus to update configuration at runtime.

Offline

#163 2006-09-14 16:13:34

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:

The latest compiz from ubuntu requires dbus to update configuration at runtime.

So if I understand correctly, Xgl needs to know about dbus, which, by default, doesn't know a thing. Am I right?

So why kill the dbus daemon? Does the dbus-launch line really launch dbus or just output some env variables?

I'm asking this because I'd like to be able to use csm with Xgl launched with GDM. As of http://wiki.archlinux.org/index.php/Xgl … M_uses_XGL GDM config file is edited to launch Xgl instead of X. I wasn't able to modify this to insert the dbus kill and launch. I tryed:
command=kill `pidof dbus-daemon` && eval `dbus-launch --sh-syntax` && /usr/bin/Xgl [...]
or putting those 3 lines in a separate script and call it:
command=/usr/bin/start_gdmxgl
but neither works.

The first one isn't able to launch anything, the second complains about a server already listening to :1...

Any idea? Thanx!

Offline

#164 2006-09-15 12:59:27

v1_ad
Member
Registered: 2006-09-12
Posts: 8

Re: Latest Xgl and Compiz PKGBUILDs

where can I put 'nolistentcp' option , when it starts ?

Offline

#165 2006-09-15 19:14:02

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

big_gie wrote:
aquila_deus wrote:

The latest compiz from ubuntu requires dbus to update configuration at runtime.

So if I understand correctly, Xgl needs to know about dbus, which, by default, doesn't know a thing. Am I right?

Xgl doesn't need dbus. Only compiz and csm do.

DBUS should cover a whole session, so you must have only one dbus for compiz and csm for them to update configruation at runtime.

The dbus-launch spawns a dbus-daemon, and set an environment variable that is used to identify this daemon. This environemnt variable must be seen by following applications, otherwise it wouldn't have any effect at all.

big_gie wrote:

So why kill the dbus daemon? Does the dbus-launch line really launch dbus or just output some env variables?

If you don't kill it, there would be a new dbus created everytime when you startx smile

big_gie wrote:

I'm asking this because I'd like to be able to use csm with Xgl launched with GDM. As of http://wiki.archlinux.org/index.php/Xgl … M_uses_XGL GDM config file is edited to launch Xgl instead of X. I wasn't able to modify this to insert the dbus kill and launch. I tryed:
command=kill `pidof dbus-daemon` && eval `dbus-launch --sh-syntax` && /usr/bin/Xgl [...]
or putting those 3 lines in a separate script and call it:
command=/usr/bin/start_gdmxgl
but neither works.

The first one isn't able to launch anything, the second complains about a server already listening to :1...

Any idea? Thanx!

See above, the environment variable set by dbus-launch must be seen. The "command=..." would just end with a dbus-daemon running but no app knows it.

BTW why do so many people use GDM/XDM?? From my experiences they're nothing but trouble...

Offline

#166 2006-09-18 01:36:04

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:

DBUS should cover a whole session, so you must have only one dbus for compiz and csm for them to update configruation at runtime.

The dbus-launch spawns a dbus-daemon, and set an environment variable that is used to identify this daemon. This environemnt variable must be seen by following applications, otherwise it wouldn't have any effect at all.

Isn't this the goal of /etc/rc.d/dbus ? I just don't get it why a daemon, used by other applications and launched by an initscript, need to be killed just for compiz.

aquila_deus wrote:

BTW why do so many people use GDM/XDM?? From my experiences they're nothing but trouble...

In my experience, GDM/KDM are great. I'm not afraid of the command line, I use it all the time. But I hate to first boot the computer, then login on an ugly screen, then type some command, and then wait again for gnome to launch, on a system I'm the only one to use. I want to press the power button, get myself a cup of coffee, and come back with a fully booted computer. But that's another topic  wink

Not everyone use the same login method. What I hope is to adapt your work to fit my needs, and maybe the need of others. So to the topic... GDM, after loggin in, gets info from /etc/X11/sessions/gnome.desktop. In that file, you can see :

Exec=/usr/bin/dbus-launch /opt/gnome/bin/gnome-session
TryExec=/usr/bin/dbus-launch

Adding "--sh-syntaxt" and will see if it helps.

Offline

#167 2006-09-19 00:11:14

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Latest Xgl and Compiz PKGBUILDs

checking package integrity...
error: archive compiz-plugins-0.36_0ubuntu1-1.pkg.tar.gz is corrupted

Tried it two times, just to be sure. Can someone confirm this?


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#168 2006-09-19 02:13:17

TheDuck
Member
Registered: 2005-12-06
Posts: 20

Re: Latest Xgl and Compiz PKGBUILDs

same problem here, I'm sure AqD will fix! smile

checking package integrity...
error: archive compiz-plugins-0.36_0ubuntu1-1.pkg.tar.gz is corrupted

Offline

#169 2006-09-19 02:28:57

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

pelle.k wrote:

checking package integrity...
error: archive compiz-plugins-0.36_0ubuntu1-1.pkg.tar.gz is corrupted

Tried it two times, just to be sure. Can someone confirm this?

I fixed and rebuilt compiz and compiz-plugins for the new Xgl/mesa (in danimoth's repository, not in AUR yet), but forgot to upload new compiz-plugins (the version is the same tongue)

Now do:

rm /var/cache/pacman/pkg/compiz-plugins-0.*
pacman -Sy compiz-plugins

Cheers!

PS: you must use xgl-git >= 20060916 and mesa-xgl-cvs >= 20060916[/code]

Offline

#170 2006-09-19 02:44:03

TheDuck
Member
Registered: 2005-12-06
Posts: 20

Re: Latest Xgl and Compiz PKGBUILDs

fabulous!  installed now, and running wonderfully!  Thank-you! big_smile

Offline

#171 2006-09-21 15:03:47

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

fork_wizard wrote:

Say I wanted to build all this stuff from source...what would be the best way to do so? Should I manually grab all the PKGBUILDs and such from AUR?

There are too many to build:
· glitz-cvs
· glproto-git
· mesa-xgl-cvs
· xgl-git
· compiz
· csm
· compiz-plugins
· cgwd

wink

Offline

#172 2006-09-22 21:54:41

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Latest Xgl and Compiz PKGBUILDs

fork_wizard wrote:

error: archive compiz-plugins-0.36_0ubuntu1-1.pkg.tar.gz is corrupted

Fixed smile

Offline

#173 2006-10-04 09:41:21

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:
wd wrote:
aquila_deus wrote:

You can just run pacman -S libwnck

All latest xgl and compiz packages are already in danimoth's and my repositories. smile

I don't know hwo to do....

edit /etc/pacman.conf, uncomment the line under [options]:

XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

and add repositories:

[AqD]
Server = http://aquila.deus.googlepages.com

[danimoth]
Server = http://jjdanimoth.altervista.org/arch/i686

now, do

pacman -Sy xgl-git compiz compiz-plugins cgwd csm

Then you can follow the wiki for setup; There are two differences from the wiki's info:
· compiz no longer uses gconf; now you can just type "csm" to configure it (csm is GUI) · you can replace gnome-window-decorator with cgwd if you want better window decorations; Run gcompizthemer to change/install cgwd themes (theme collections), however cgwd could cause serious memory leak in Xgl.

wow, startxgl 0 gnome ati does not result in a white screen anymore!
But there are no effects to be seen?
As well, csm outputs

** ERROR **: couldn't get dbus.

I've added the dbus-stuff to the top of ~/.xinitrc.
What exactly do I need to change?

So far, the only noticable difference is garbled text in text- and list-boxes.

Offline

#174 2006-10-05 00:15:48

Rognon
Member
Registered: 2006-10-05
Posts: 40

Re: Latest Xgl and Compiz PKGBUILDs

aquila_deus wrote:
wd wrote:
aquila_deus wrote:

You can just run pacman -S libwnck

All latest xgl and compiz packages are already in danimoth's and my repositories. smile

I don't know hwo to do....

edit /etc/pacman.conf, uncomment the line under [options]:

XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

and add repositories:

[AqD]
Server = http://aquila.deus.googlepages.com

[danimoth]
Server = http://jjdanimoth.altervista.org/arch/i686

now, do

pacman -Sy xgl-git compiz compiz-plugins cgwd csm

Then you can follow the wiki for setup; There are two differences from the wiki's info:
· compiz no longer uses gconf; now you can just type "csm" to configure it (csm is GUI) · you can replace gnome-window-decorator with cgwd if you want better window decorations; Run gcompizthemer to change/install cgwd themes (theme collections), however cgwd could cause serious memory leak in Xgl.

Humm...
When I try do follow this procedure, I get the following error :

xgl-git: not found in sync db

I also tried to build from source but I get this error :

xglx.c:699: error: redefinition of 'xglxXineramaResetProc'

I am doing something wrong ?

Thanks,
Rognon

Offline

#175 2006-10-05 04:58:34

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: Latest Xgl and Compiz PKGBUILDs

Rognon wrote:

Humm...
When I try do follow this procedure, I get the following error :

xgl-git: not found in sync db

same here sad

Offline

Board footer

Powered by FluxBB