Beryl on Puppy(Installation guide for nvidia gfx cards.)

A home for all kinds of Puppy related projects
Message
Author
wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#46 Post by wow »

jimhap wrote:And Beryl wants more. Remember the word "dependencies"? Those may not be listed in the configure, but some may be dependenies of the other requirements.
Here's a list of the dependencies.....(now you'll get shocked)
http://wiki.beryl-project.org/wiki/Compile_requirements
The following components are needed to compile Beryl:

* intltool dev_2*.sfs ?
* libdbus-1-dev disabled
* libdbus-glib-1-2 disabled
* libgl1-mesa-dev compiled and packed to dotpup
* libglu1-mesa compiled and packed to dotpup
* libglu1-mesa-dev compiled and packed to dotpup
* libglu1-xorg-dev compiled and packed to dotpup / Xorg
* libice-dev compiled and packed to dotpup / Xorg
* libjpeg62-dev devx_2*.sfs
* libpng12-dev devx_2*.sfs
* librsvg2-dev compiled and packed to dotpup http://www.murga-linux.com/puppy/viewto ... 90&t=16623
* libsm-dev compiled and packed to dotpup / Xorg
* libstartup-notification0-dev compiled and packed to dotpup
* libwnck-dev compiled and packed to dotpup
* libxcomposite-dev compiled and packed to dotpup / Xorg
* libxdamage-dev compiled and packed to dotpup / Xorg
* libxinerama-dev compiled and packed to dotpup / Xorg
* libxrandr-dev compiled and packed to dotpup / Xorg
* x11proto-gl-dev compiled and packed to dotpup / Xorg
* autoconf (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* autogen devx_2*.sfs
* automake (preferably version 1.4 or higher) (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* dbus >= 1.0.2 disabled
* gcc >= 4 .1 (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* libgconf2-dev disabled
* gettext (HAVE)
* glibc >= 2.5 (Puppy 2.14 version is 2.3.5!!! Must find way to upgrade...) 2.3.5 did work
* glitz was compiled and packed to dotpup. Now disabled
* GTK (HAVE)
* libglib2.0-dev devx_2*.sfs
* libtool (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* MesaLib-6.5.2 Last development release compiled and packed to dotpup few hours ago
* nVidia binary drivers - nvidia-0.9631 (slight frame speed up), ati-amd, ati drivers, or xf86-Intel *drivers, etc. have
* pango devx_2*.sfs
* python-dbus >= 0.80.1 disabled
* python-gtk2-dev >= 2.10.3 http://www.murga-linux.com/puppy/viewto ... 08&t=16424
* python-pyrex http://www.murga-linux.com/puppy/viewto ... 08&t=16424
* subversion not needed
* Xorg 7.1 or higher recommended, preferably AIGLX enabled (HAVE, NOT SURE ON OLDER VERSIONS OF PUPPY below 2.14) compiled and packed to dotpup / Xorg 7.2

text in blue is :arrow: what I've done.
[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

#47 Post by wow »

jimhap wrote: * Xorg 7.1 or higher recommended, preferably AIGLX enabled (HAVE, NOT SURE ON OLDER VERSIONS OF PUPPY below 2.14)
Type 'Xorg -version' :wink: :
Image
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wdef
Posts: 91
Joined: Fri 13 Apr 2007, 20:16

#48 Post by wdef »

@jimhap:
About that compile: can you give me the options of the configure? (by ./configure --help ) You should watch when configuring for "shared libraries".
Don't worry about it: (a) I wasn't aware of the hidden header unionfs thing, and (b) I've since learned that the patch for the driver I was trying to compile has a bug preventing it from working properly with new versions of Xorg.
(c) Someone else has compiled it for me ;=)
(d) I'm sort of off-topic really (sorry) since my concern was getting a driver going with a new Xorg, not with Beryl per se.

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

#49 Post by wow »

I've done more tests on the PC with the Savage chipset and found something interesting.
Xorg looks for the DRI modules at /usr/X11R7/lib/dri/:

Code: Select all

(==) AIGLX enabled
(II) LoadModule: "dri"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions//libdri.so
(II) Loading extension XFree86-DRI
(II) LoadModule: "savage"
(II) Loading /usr/X11R7/lib/xorg/modules/drivers//savage_drv.so
(EE) AIGLX error: dlopen of /usr/X11R7/lib/dri/savage_dri.so failed (/usr/X11R7/lib/dri/savage_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
But is 'libGL'(MesaLibs) who look for DRI hardware drivers. Here is where my Mesa-6.5.2 build is installed:

Code: Select all

# Installation directories (for make install)
INSTALL_DIR = /usr/X11R7
DRI_DRIVER_INSTALL_DIR = /usr/X11R7/lib/xorg/modules/dri
And glxinfo shows the DRI module as renderer(hardware):

Code: Select all

display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
OpenGL renderer string: Mesa DRI ProSavageDDR 20061110 AGP 1x x86/MMX/SSE2
OpenGL version string: 1.2 Mesa 6.5.2
After run beryl-manager:

Code: Select all

sh-3.00# beryl-manager
sh-3.00# libGL warning: 3D driver claims to not support visual 0x4b
**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension               : passed (v0.3)
Checking for XDamage extension                  : passed
Checking for RandR extension                    : passed
Checking for XSync extension                    : passed

Checking Screen 0 ...

libGL warning: 3D driver claims to not support visual 0x4b
Checking for GLX_SGIX_fbconfig                  : passed
Checking for GLX_EXT_texture_from_pixmap        : passed
Checking for non power of two texture support   : passed
Checking maximum texture size                   : passed (2048x2048)
Image

Now, if I make a symlink to pass the (EE) AIGLX error.

Code: Select all

ln -s /usr/X11R7/lib/xorg/modules/dri/ /usr/X11R7/lib/
Xorg.log won't have any error message after restart X. Though some warnings (WW):

Code: Select all

(==) AIGLX enabled
(II) LoadModule: "dri"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions//libdri.so
(II) Loading extension XFree86-DRI
(II) SAVAGE(0): [drm] Enabling ShadowStatus for DRI.
(II) SAVAGE(0): [dri] visual configs initialized
(**) SAVAGE(0): DRI is enabled
(--) SAVAGE(0): Chose mode 115 at 85Hz.
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/X11R7/lib/dri/savage_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
Later, when I ran beryl-manager:

Code: Select all

sh-3.00# beryl-manager 
sh-3.00# libGL warning: 3D driver claims to not support visual 0x4b

** (beryl-manager:31066): WARNING **: Couldn't find a Selection Owner, perhaps n  o WM running?
Otherwise, manually kill your wm, and report the bug to the developers, it doesn  't follow the standards.
Falling back to looking for a defined WM in xlsclients.
**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension               : passed (v0.3)
Checking for XDamage extension                  : passed
Checking for RandR extension                    : passed
Checking for XSync extension                    : passed

Checking Screen 0 ...

libGL warning: 3D driver claims to not support visual 0x4b
Checking for GLX_SGIX_fbconfig                  : passed
Checking for GLX_EXT_texture_from_pixmap        : passed
Checking for non power of two texture support   : failed

Support for non power of two textures missing
libGL warning: 3D driver claims to not support visual 0x4b
beryl: Support for non power of two textures missing
Was strange, Beryl had run on a mixed mode(software and hardware renderer?), but not in hardware mode since this card in no supported.

This test was done installing Dotpups, not booting from my Puppy+Beryl CD. All these DotPups are uploaded. I'll give instructions about how to install Beryl for Intel, ATI, and other cards soon, after check if this issue(running beryl on unsupported cards) can cause more problems.
[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

video capture plugin

#50 Post by wow »

The vidcap plugin is working :D Have you seen ubuntu+beryl videos? now we can make Puppy+Beryl videos!! dotpups soon...
Image

EDIT: uploaded :) http://murga-linux.com/puppy/viewtopic. ... 469#114469
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

perixx
Posts: 92
Joined: Sun 21 Jan 2007, 09:34

#51 Post by perixx »

It's really good to see some guys are working on getting ATI cards to work for Beryl!

I've bought me a Palit X1950GT Super.... is there any chance that I might get this card to work with Beryl and Puppy too?

greetz

perixx

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

#52 Post by wow »

Sure, if you can get the driver working . . .

ATI Proprietary Linux x86 Display Driver 8.36.5 Apr. 18, 2007
http://ati.amd.com/support/drivers/linu ... adeon.html
[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

#53 Post by wow »

I have installed Beryl on a UsbFlashDrive (Kingston DataTraveler MiniFun 1GB) the OS is Puppy-2.16alpha, pup_save.2fs file size is 128 MB.

Image

And I found more problems(only happens when Beryl is running):

- 2.16alpha and XFCE. Sometimes I can't drag files or folder to another filer window if 2 or more items are selected. Switching to xfwm and then beryl fix it.

- 2.14; 2.15; 2.16alpha; XFCE. Desktop flickering if Rox Pinboard is activated. Kill the pinboard to stop it.

- 2.14; 2.15; 2.16alpha; XFCE. Can't access a single window. If you kill xfdesktop, the Rox Pinboard is active and you only have one window(any type) opened.

Tip: Close, kill or disable the Pinboard to avoid these problems.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#54 Post by cb88 »

how do I auto start beryl? I have to run beryl-manager from the command line each time. also where is the lastest xfce dotpup/pet?
Edit: found xfce4-4.xx on dotpups.de
pipnboard disabled and emerald works
nividia geforce2 mx/mx 400 64 mb
sempron 1.8 ghz 512 mb ram
frugal install
grubldr added to win xp sp2 boot.ini

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

#55 Post by wow »

cb88 wrote:where is the lastest xfce dotpup/pet
Please read this, xfce-4.4 dotpup is coming soon
http://www.murga-linux.com/puppy/viewto ... 14&t=15433
cb88 wrote:I have to run beryl-manager from the command line each time
Add a Beryl launcher to the panel.
cb88 wrote:how do I auto start beryl?
I have no idea.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#56 Post by cb88 »

I already have an icon on the panel to start it.
which is newer xfce4 3.90 or xfce 4.2.3? I assume that it is the first one.
to add the menus in xfce I added a system menu in the menu editor I'll edit in how later not every thing is in the right place in this menu but it appears that everything is there lots of stuff palace in "other" submenu.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#57 Post by Lobster »

:) I just had a look at Beryl (on PClinuxOS) - it is a lot of fun and pleasing to use. Can hardly wait for our smart Puppy efforts. Just to say thanks for your efforts so far, really looking forward to trying this soon :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

intuxik8ed
Posts: 19
Joined: Sun 22 Apr 2007, 09:42
Location: Manila, Philippines

#58 Post by intuxik8ed »

Been using Sabayon 3.3 for a month now, in fact I'm on it right now and browsing with my "crippled" HSF modem at 14.4k. Turned Beryl off after 2 weeks and I just turn it on when I feel like showing off to my brother's buddies and the chicks they bring over here, hehehe. Never fails to amaze them.

BTW, Sabayon's Beryl version is 0.1.9999.2 and I don't know if I should update it or not. And the Nvidia driver that is installed by default is 96.31.

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

old news

#59 Post by wow »

Beryl has been discontinued. As some of you may know the new project name is "Compiz Fusion" (beryl and compiz merge)

The new web site is at http://www.opencompositing.org/
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

gaixixon
Posts: 14
Joined: Tue 08 Aug 2006, 01:34

#60 Post by gaixixon »

i got this error when run beryl:
..
Checking Screen 0 ...
beryl: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock` failed
Something went wrong with system check.


how can I fix this?
thnx.

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

#61 Post by wow »

Reinstall Xorg 7.2(the all in one package), mesa-6.5.2 for Xorg 7.2(x11-r7.2) and the nVidia's drivers.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

gaixixon
Posts: 14
Joined: Tue 08 Aug 2006, 01:34

#62 Post by gaixixon »

thankx wow, it works now. strangely that i've installed these files before!

gaixixon
Posts: 14
Joined: Tue 08 Aug 2006, 01:34

#63 Post by gaixixon »

beryl now works, but seems to me that it's only "simple" animation, i want to have snow effect, cube etc.. i try to search but fail.. any hints?
thanks.

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

#64 Post by wow »

The "desktop cube" efect is enabled by default. To rotate the cube hold Ctrl+Alt then drag the the desktop(if the rotate cube efect doesn't start try to intall libcroco, librsvg and maybe cairo again). To search/edit/add more bindings, open 'beryl-manager' General Options>Shortcuts>Keyboard and Mouse:

If you want more effects(snow, splash, water) go to 'beryl-manager'>Extras

Also read the beryl FAQ http://www.beryl-project.org/faq.php :wink:
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

gaixixon
Posts: 14
Joined: Tue 08 Aug 2006, 01:34

#65 Post by gaixixon »

how can i fix "GL_ARB_fragment_program is missing" error?

also: what is "super" button in the short cut? is it "Ctrl"?

Post Reply