You are not logged in.

#1 2006-10-01 01:34:07

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

xgl, beryl, and xfce4-svn

Well, here is the situation: I have gdm and xfce4-svn (from shadowhand's repo mousetrap repo).  I installed beryl from brain0's repo by doing pacman -S beryl-svn.  Then I installed xgl from danimoth's repo by doing pacman -S xgl-git.  I have /opt/gnome/etc/gdm/custom.conf set up for Xgl like:

[servers]
0=Xgl

[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv
flexible=true

And after that I have no idea what to do to get it start up immediately when I login from gdm.

Offline

#2 2006-10-01 09:57:06

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

Re: xgl, beryl, and xfce4-svn

yankees26 wrote:

Well, here is the situation: I have gdm and xfce4-svn (from shadowhand's repo mousetrap repo).  I installed beryl from brain0's repo by doing pacman -S beryl-svn.  Then I installed xgl from danimoth's repo by doing pacman -S xgl-git.  I have /opt/gnome/etc/gdm/custom.conf set up for Xgl like:

[servers]
0=Xgl

[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv
flexible=true

And after that I have no idea what to do to get it start up immediately when I login from gdm.

run:

beryl &
emerald &
xfdesktop &
xfce4-panel &

that's all.

Offline

#3 2006-10-01 11:30:29

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: xgl, beryl, and xfce4-svn

Where would I put that to start up when I log in?

Offline

#4 2006-10-01 18:02:47

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: xgl, beryl, and xfce4-svn

Well, I tried it with GNOME (put the programs in System->Sessions->Start Up Programs) and when it starts up I see a wavy box thats says Beryl, but it eventually just goes to a completely white screen.

Offline

#5 2006-10-07 14:34:40

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

I also only get a white (spinning) cube with beryl from the unstable repo. I did what was mentioned above, except that I start XGL manually with the startxgl script.
I dont have a clue what to do, please help!!
Cheers,
Blind

Offline

#6 2006-10-09 06:21:23

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

according to this

http://forum.beryl-project.org/topic-50 … ager-panel

the problem is with beryl's latest version only, and the only solution people are finding is to downgrade to a lower version...

I cannot test this yet, but would like to.

If anyone knows of a repo housing an older build, please post... this damn white cube is driving me insane.

Offline

#7 2006-10-09 19:29:24

kastor
Member
From: Mendoza - Argentina
Registered: 2006-06-18
Posts: 59
Website

Re: xgl, beryl, and xfce4-svn

i have the same issue here.. ati propietary drivers, Radeon Xpress 200M, xgl from danimoth's repo, beryl from unstable.. white cube screens ..  but i can ONLY see beryl's logo en top

Offline

#8 2006-10-09 20:28:08

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

my specs:
   fglrx driver (propriatory) for my mobility radeon x600
   xgl from danimoth's repo
   beryl from unstable repo

I've noticed that if you change the settings in the beryl manager to set (metacity or any other non-xgl window manager) as the window manager and then relaunch compiz (without the use of the beryl-manager), the xgl server works flawlessly (using compiz). This leads me to believe that the problem is with the current build of beryl-core.

I'm currently obsessed with this problem and am checking any and all available options.

Offline

#9 2006-10-09 20:29:00

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

It looks like it is just a broken svn version.
Just have to see when it works again...

Offline

#10 2006-10-11 04:30:09

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

It's now working like a charm for me, and here is how I got it working:

go here: http://wiki.beryl-project.org/index.php … Arch_Linux

follow the SVN instructions

I had to make these changes to the PKGBUILD file:

  changed the line
_svnroot="svn://metascape.afraid.org/svnroot/beryl"
   to
_svnroot="http://svn.beryl-project.org/trunk"

I removed all references to the directory "beryl-build"

I compiled it as root (makepkg -fi)
*note: my system was bitching over using fakeroot for this pkg

I removed all the old beryl pkg's that I got from the Unstable repo

I then installed the beryl-everything pkg that I just made

I ran beryl-xgl and crossed my fingers.


voila!

no more white cube.

here is the PKGBUILD file after editing
(copy and paste into a blank file to use):

# Contributor: spiorf <spiorf>

pkgname=beryl-everything
pkgver=`date +%Y%m%d`
pkgrel=1
pkgdesc="Composite, window and theme manager for Xgl and all related stuff"
url="http://www.beryl-project.net"
license="GPL"
depends=(  'startup-notification' 'libpng' 'libxdamage' 
         'libxrandr' 'libwnck'  'libsvg-cairo'   
         'libxcomposite' 'glew' 'dbus')
makedepends=('cvs')
conflicts=('cgwd' 'cgwd-themes' 'cgwd-themes-extra' 'compiz-quinn-cvs' 'compiz-quinn-cvs-plugins' 'csm' 'compiz-manager' )
provides=('beryl-core' 'beryl-plugins' 'beryl-manager' 'beryl-settings' 'emerald')
replaces=('cgwd' 'cgwd-themes' 'cgwd-themes-extra' 'compiz-quinn-cvs' 'compiz-quinn-cvs-plugins' 'csm' 'compiz-manager' 'beryl-core' 'beryl-plugins' 'beryl-manager' 'beryl-settings' 'emerald' )
backup=()
source=()
md5sums=()
#_svnroot="svn://metascape.afraid.org/svnroot/beryl"
_svnroot="http://svn.beryl-project.org/trunk"



build() {
  cd $startdir/src/trunk/

  msg "Connecting to metascape.afraid.org SVN server...."
   svn co $_svnroot

_cvsmod1="emerald"
_cvsmod2="emerald-themes"
_cvsmod4="beryl-core"
_cvsmod5="beryl-plugins"
_cvsmod6="beryl-settings"
_cvsmod7="beryl-manager"


  msg "CVS checkout done or server timeout"
  msg "Starting build..."


#rm -r beryl-build

#cp -r  beryl beryl-build


msg "============================="
msg "Compiling emerald"
msg "============================="
    cd $startdir/src/trunk/$_cvsmod1
  ./autogen.sh --enable-debug --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install


msg "============================="
msg "Compiling emerald-themes"
msg "============================="
  cd $startdir/src/trunk/$_cvsmod2
  ./autogen.sh --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install



#msg "============================="
#msg "Compiling cgwd-themes-extra"
#msg "============================="
#  cd $startdir/src/trunk/$_cvsmod3
#  ./configure --prefix=/usr
#  make || return 1
#  make DESTDIR=$startdir/pkg install



msg "============================="
msg "Compiling beryl-core"
msg "============================="
  mv  /usr/include/beryl/beryl.h /usr/include/beryl/beryl.h.bak
 cp $startdir/src/trunk/$_cvsmod4/include/beryl.h /usr/include/beryl/    
cd $startdir/src/trunk/$_cvsmod4
#cp /home/spiorf/Makefile.am src/
ACLOCAL="aclocal -I /opt/gnome/share/aclocal" ./autogen.sh 
    --host=${CHOST} 
    --prefix=/usr 
    --infodir=/usr/share/info 
    --mandir=/usr/man 
    --enable-gnome 
    --disable-kde || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install




msg "============================="
msg "Compiling beryl-plugins"
msg "============================="


  cd $startdir/src/trunk/$_cvsmod5

  ACLOCAL="aclocal -I /opt/gnome/share/aclocal" ./autogen.sh 
    --host=${CHOST} 
    --prefix=/usr 
    --infodir=/usr/share/info 
    --mandir=/usr/man || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install
  cd $startdir/pkg/usr/share/locale
  rm -r *
#  mv  /usr/include/beryl/beryl.h.bak /usr/include/beryl/beryl.h


msg "============================="
msg "Compiling beryl-settings"
msg "============================="
  cd $startdir/src/trunk/$_cvsmod6
  ./autogen.sh --enable-debug --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install



msg "============================="
msg "Compiling beryl-manager"
msg "============================="
  cd $startdir/src/trunk/$_cvsmod7
  ./autogen.sh --enable-debug --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install


 find $startdir/pkg -type f -name '*.la' -exec rm {} ; 
  }

*tip for ATI users

copy the file "/usr/bin/beryl-start" to "/usr/local/bin/beryl-start-xgl"
edit /usr/local/bin/beryl-start-xgl
change the line that says
"beryl > ~/.beryl.log 2>&1 &"
to
"beryl-xgl > ~/.beryl.log 2>&1 &"

run this file instead of beryl-start to get things up and going.
add it to your startup programs in gnome along with beryl-manager to get beryl running as your default window manager in gnome.
(Desktop->Preferences->Sessions->Startup Programs)

Offline

#11 2006-10-11 09:33:17

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

Hi,
thanks for your information and work!!

I have one question though, that I cannot figure out:
Why is it called SVN if the makedepend is CVS?
Does it also work with SVN?

I am not sure whether I will try this out, because it sure does look messy....

Cheers,
Blind

Offline

#12 2006-10-11 14:53:30

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

Blind wrote:

Hi,
thanks for your information and work!!

I have one question though, that I cannot figure out:
Why is it called SVN if the makedepend is CVS?
Does it also work with SVN?

I am not sure whether I will try this out, because it sure does look messy....

Cheers,
Blind

I said the same when C++ started to replace C

SVN vs CVS (a quick comparison)
http://www.pushok.com/soft_svn_vscvs.php



by the way,
It's not messy, it's just my lack of literary expertise.

Offline

#13 2006-10-11 16:17:27

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

Didnt mean to criticize you, just felt it's too complicated for me in my state of mind.
smile
Cheers

Offline

#14 2006-10-11 18:04:54

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

Blind wrote:

Didnt mean to criticize you, just felt it's too complicated for me in my state of mind.
smile
Cheers

No need to apologize, it was just a bit of sarcasm on my part...

I agree with you 100% on the whole "messy" thing. In fact, when I first attempted to start building packages with PKGBUILD, I was a bit scared that I'd mess something up. However, it's actually very easy once you try it.

Here is a cheat-sheet for your first attempt.

1) make a directory to house any packages that you feel like building, call it whatever you'd like. I'll call mine PKG_BUILDS.

mkdir PKG_BUILDS

2) open a text editor, copy and paste the code from my above post into a new file.

3) save that file and name it "PKGBUILD"
this file is just a set of instructions for the program "makepkg", it tells the program to download and compile the pkg that you are going to build.

4) the file you are saving is for the pkg called beryl-everything. In order to keep things nice and neat. we'll have to create a directory for the pkg that we are building. the pkg is called "beryl-everything", so lets name the directory accordingly.

cd PKG_BUILDS
mkdir beryl-everything

5) once you've made the directoy, and moved the "PKGBUILD" file into it, there's only one more thing to do in order to have our pkg... build it. This is amazingly simple, thanks to the tool called "makepkg". all we have to do is open up a terminal and run the program from that directory.

cd PKGBUILD
cd beryl-everything
makepkg

6) now you'll have to wait while things download and compile, but once everything is done, you'll see a tgz file in the beryl-everthing directory. That, is your pkg. it's been compiled on your machine and all you need to do is install it.

sudo pacman -A beryl-everything-20061010-1.pkg.tar.gz

*if the makepkg command gave you an error about fakeroot, just run "makepkg" again as root.

Offline

#15 2006-10-12 16:20:16

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

Hi debauchery1st,

Thanks for your help and detailed instructions!
I will try it out on the weekend!

Cheers,
Blind

Offline

#16 2006-10-12 19:04:47

kastor
Member
From: Mendoza - Argentina
Registered: 2006-06-18
Posts: 59
Website

Re: xgl, beryl, and xfce4-svn

debauchery1st wrote:
sudo pacman -A beryl-everything-20061010-1.pkg.tar.gz

can you publish the binary package in some place?  big_smile

Offline

#17 2006-10-12 23:47:43

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

kastor wrote:
debauchery1st wrote:
sudo pacman -A beryl-everything-20061010-1.pkg.tar.gz

can you publish the binary package in some place?  big_smile

If you gave me a place to upload the binary package that I built, I could do that, but I wouldn't call it "publishing" the file. That, my friend, would put responsibility in my hands.

But the whole point is that you can easily build the package yourself. That sort of takes the fun out of it.

it totals about 4.3 Mb, that means I can even email it via gmail.

Offline

#18 2006-10-13 19:53:57

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

[URL=http://img286.imageshack.us/my.php?image=debauchery1stmm9.png]debauchery1stmm9.th.png[/URL]
http://img286.imageshack.us/img286/8919 … 1stmm9.png

anyone else have shots of beryl on their ATI cards?

took the shot in gnome, but it works perfectly in xfce as well.

Offline

#19 2006-10-14 16:06:03

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

Nice one,
I didn't have any luck with this package.
The ACLOCAL lines in your PKGUILD wants gnome libs in the /opt tree - well, I dont want to install that (which was why I wanted to try beryl)...when I remove the lines it still compiles, but in the end it complains during the plugins compilation. Something with the .settings files. I tried to fix it, but I didn't succeed and stopped working on it.
Maybe soon ATI will update their driver to work together with AIGLX? Who knows...
Cheers,
Blind

Offline

#20 2006-10-14 17:45:28

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

Blind wrote:

Nice one,
I didn't have any luck with this package.
The ACLOCAL lines in your PKGUILD wants gnome libs in the /opt tree - well, I dont want to install that (which was why I wanted to try beryl)...when I remove the lines it still compiles, but in the end it complains during the plugins compilation. Something with the .settings files. I tried to fix it, but I didn't succeed and stopped working on it.
Maybe soon ATI will update their driver to work together with AIGLX? Who knows...
Cheers,
Blind

before you give up on beryl, try my build from 10-10

beryl-everything-20061010-1.pkg.tar.gz
Download:
http://www.filefactory.com/file/8b176a/

(dunno if the second link will work for everyone...)
Direct DL from filefactory:
http://dl029.filefactory.com/dl/f/8b176 … 476129975/


I don't know why it was searching for those gnome-libs... I can understand that you're trying to install beryl without gnome... I just happen to have gnome still installed on here, so I guess that must help me build it.

if this build seems to work for more than one ATI user, I'll find a place to host it permanently. (can't risk losing a lucky build like that!)

Offline

#21 2006-10-17 10:26:30

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: xgl, beryl, and xfce4-svn

Thank you really very much for your effort!

For some reason - nothing works for me.

Also not the new unstable packages.

I gave up on this for now - unfortunately I dont have enough time.

Cheers,
Blind

Offline

#22 2006-10-19 23:35:49

debauchery1st
Member
Registered: 2006-05-06
Posts: 19

Re: xgl, beryl, and xfce4-svn

no problem, xcsd...

I'm just glad I'm not the only one who could benefit from that AUR pkg config.


one question though,

did you build the pkg on your system, or did you download the 10-10 build that I posted?

Offline

#23 2006-10-21 15:45:21

ratur
Member
From: Belgium
Registered: 2006-10-07
Posts: 19

Re: xgl, beryl, and xfce4-svn

That worked for me.

I managed to build beryl-everything from sources. Thank you debauchery1st !

Offline

#24 2006-10-22 05:52:52

trofer
Member
Registered: 2006-07-26
Posts: 13

Re: xgl, beryl, and xfce4-svn

Thanks debauchery, works nice for me. big_smile
When changing themes from emerald-theme-manager, it doesn't respond (the process doesn't hang neither). Once I kill the emerald process and start it again, the theme switch works. Just in case, FYI...

Offline

#25 2006-10-22 12:25:44

superstoned
Member
Registered: 2006-09-04
Posts: 268

Re: xgl, beryl, and xfce4-svn

been showing off Beryl to my girlfriend... now i did show her some of the weird effects, and she wonders if those who work on beryl ever get any sex...

at all...

try shift-F9 and tell me, what do you think?

lol

but it works fine here, now i just have to upgrade KDE to 3.5.5 to have it support beryl's kind of virtual desktops.


-=] life sucks deeply [=-

Offline

Board footer

Powered by FluxBB