Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 29 Dec 2014, 12:39
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Beryl on Puppy(Installation guide for nvidia gfx cards.)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
titanreign

Joined: 19 Jan 2007
Posts: 56

PostPosted: Tue 20 Mar 2007, 05:45    Post subject:  

Wow. Amazing work guys! Beryl on Puppy! Are you kidding me? Nice nice work. Can't wait to give it a whirl. Once again, very good job.
Back to top
View user's profile Send private message Yahoo Messenger 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Tue 20 Mar 2007, 15:35    Post subject:  

could you add all needed dotpups to a tar.gz and upload them? (without Xorg72 and python)
This would make it easier to mirror them.

It would be great, if you could upload it here:
http://murga-linux.com/puppy/viewtopic.php?p=99400#99400

I can extract it on the server then.
Mark
Back to top
View user's profile Send private message Visit poster's website 
wow

Joined: 29 Jun 2006
Posts: 990
Location: Peru

PostPosted: Wed 21 Mar 2007, 20:20    Post subject:  

MU wrote:
It would be great, if you could upload it here:
http://murga-linux.com/puppy/viewtopic.php?p=99400#99400
Mark

It's too soon, I need to do more tests, remove some unnecessary dependences, etc. For now It got Beryl working with cairo-1.4[with svg] instead of cairo-1.3[with svg, glitz and xcb].

_________________

Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sat 24 Mar 2007, 18:02    Post subject:  

*edit - Nevermind. I think I found the answer here, at the bottom:
http://wiki.x.org/wiki/CompileXserverManually

MU wrote:
But note:
If you upgrade Xorg, 3D modules (DRI) from Xorg 7.0 might no longer work!
But I'm not shure about this.


I built up xorg7.1 with packages/xorg directory out of the latest T2 trunk and I get a bunch of errors like this in /tmp/xorgprobe.txt when I try to run xorg.

Code:
(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "apm" (module requirement mismatch, 0)
(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "ark" (module requirement mismatch, 0)
(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "ati" (module requirement mismatch, 0)


etc...

Is this what Mark is talking about when he says '3D modules (DRI)'? How do I compile all these?

I've never compile x before and I'm a bit lost. Thanks for any tips.
Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 990
Location: Peru

PostPosted: Sun 25 Mar 2007, 20:44    Post subject: another issue  

Just to confirm, Gxine crashes after install the x11-7.2 upgrade. This mostly happens when you resize the window.
_________________

Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 990
Location: Peru

PostPosted: Sun 25 Mar 2007, 21:24    Post subject:  

John Doe wrote:
Is this what Mark is talking about when he says '3D modules (DRI)'? How do I compile all these?

I've never compile x before and I'm a bit lost. Thanks for any tips.

I'm not at home, can't give you more detailed info at this moment.

Video drivers for x11-7.1(sources):
http://ftp.x.org/pub/X11R7.1/src/driver/
And look for:
xf86-video-ati-X11R7.1-6.6.0.tar.bz2

To replace Puppy's Xorg you may compile everything adding these options to the configure script:
<your arguments/options/parameters/whatever> --prefix=/usr/X11R7/ --bindir=/usr/X11R7/bin --libdir=/usr/X11R7/lib --includedir=/usr/X11R7/include --sysconfdir=/etc --localstatedir=/var

Or take a look at the content of any .pc file at: /usr/X11R7/lib/pkgconfig

Video modules for my x11-7.2 dotpup are available at:
http://hosted.filefront.com/rockinfreak/1921409
But beware I compiled Xorg without the glx extension, so you won't have 3D acceleration. Rolling Eyes I compiled Xorg while the nvidia drivers were installed and I forgot to enable a generic GLX extension. Sad To solve it Xorg needs to be compiled specifying the Mesa's source path(I'm not sure).

Also I've tested some of the video modules and seems to work fine, but without hardware acceleration.

_________________

Back to top
View user's profile Send private message 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Mon 02 Apr 2007, 08:47    Post subject:  

Could a request be made to the beryl devs that icewm compatability be in the next release? Not to mention more graphics card compatability. Is an sfs module planed I think WhoDo said that proprietary codecs can be included in sfs modules since they are not part of the main distro you might want to check that out.
Back to top
View user's profile Send private message Visit poster's website 
wow

Joined: 29 Jun 2006
Posts: 990
Location: Peru

PostPosted: Tue 03 Apr 2007, 20:16    Post subject:  

I don't think so. JWM, IceWM, Fluxbox and Beryl are window managers. They have the same purpose. Beryl needs a desktop environment to work properly since it replaces only the window manager(xfwm for xfce or kwin for kde) and you can only have one WM running at a time.
_________________

Back to top
View user's profile Send private message 
wdef

Joined: 13 Apr 2007
Posts: 91

PostPosted: Sat 14 Apr 2007, 09:07    Post subject:  

Really interesting this, very nice work.

I've also read that DRI will need to be updated if you change Xorg.

One request, as a byproduct, if someone could build an updated overall Xorg package that installs the required components and deps in order, that would be very nice. Also headers. I need an updated Xorg for compiling another module.

In the meantime I'll have a go at compiling my own.
Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 990
Location: Peru

PostPosted: Sat 14 Apr 2007, 22:13    Post subject:  

wdef wrote:
One request, as a byproduct, if someone could build an updated overall Xorg package that installs the required components and deps in order, that would be very nice. Also headers


I'm thinking on post this xorg upgrade to the "Additional Software" section after recompile xorg with the GLX extension. Then, ATI and Intel users will be able to run Beryl on Puppy with AIGLX. For the moment everything here is only for testers, I recommend don't use it on your main Puppy installation.

Xorg upgrade needs(in this order):
EDIT:Before install x11-7.2-upd.pup you must install the xf86VideoModule for your card.
    xcb-proto-1.0.pup
    libxcb-1.0.pup
    libdrm-2.3.0.pup
    x11-7.2-upd.pup (and follow its instructions)

If you need the headers download any [dotpup name here]-dev.pup. All the files are available here:[Home > rockinfreak > PuppyLinux > Dotpups], xorg's headers in the [X11R72] folder and video modules in [Dotpups > X11R72 > xf86VideoModules].

_________________


Last edited by wow on Mon 16 Apr 2007, 20:03; edited 1 time in total
Back to top
View user's profile Send private message 
wdef

Joined: 13 Apr 2007
Posts: 91

PostPosted: Sun 15 Apr 2007, 13:53    Post subject:  

Thx wow.

Quote:
...then, ATI and Intel users will be able to run Beryl on Puppy with AIGLX


Excellent idea!

Thx for the link to the modules - now I'm in business.
Back to top
View user's profile Send private message 
wdef

Joined: 13 Apr 2007
Posts: 91

PostPosted: Sun 15 Apr 2007, 14:20    Post subject:  

Wow, I'm having trouble with the new i810 module. New Xorg's not finding it. Instead it tries to load the old module => no X.

EDIT: The new i810 driver seems to be in a weird location

EDIT: Good, vesa driver's working though. Seamonkey doesn't seem to want to work with it?


UPDATE FIXED: new i810 *is* installed in a weird location. Doing this and editing xorg.conf fixed it:

Code:
cp /usr/local/xf86-video-i810-X11R7.2-1.6.5/FiLESYSTEM/usr/X11R7/lib/xorg/modules/drivers/i810_drv.so /usr/X11R7/lib/xorg/modules/drivers


So the package needs fixing.

Last edited by wdef on Sun 15 Apr 2007, 17:46; edited 1 time in total
Back to top
View user's profile Send private message 
wdef

Joined: 13 Apr 2007
Posts: 91

PostPosted: Sun 15 Apr 2007, 15:50    Post subject:  

PS: Sorry to be a pest, wow.

Does your Xorg contain fontsproto?

I'm trying to compile a patched version of the nsc driver and ./configure can't seem to find it in your Xorg.

EDIT: Actually it wants all of these:

configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto randrproto renderproto videoproto xextproto xf86dgaproto) were not met

UPDATE: I compiled and installed fontsproto ok but ./comfigure still can't see it. Setting
Code:
export PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig


seems to make no difference.

Did you compile this Xorg on Puppy or was it Slackware or something?

From tarballs, with jhbuild ...???
Back to top
View user's profile Send private message 
jimhap

Joined: 03 Mar 2007
Posts: 63

PostPosted: Sun 15 Apr 2007, 21:50    Post subject:  

wow did you manage to put the "quarter-million" dependencies into the dotPups?? Shocked

(their way of saying it @ http://wiki.beryl-project.org/wiki/Building_Beryl)

i tried to compile many times but ALWAYS hit an error about Xcomposite and other stuff.

What did you compile? I tried to compile beryl-core-0.2.1, then beryl-manager-0.2.1.

@wdef: How did you compile fontsproto?
(That is, the things you typed in for configure, even if it's before the "./configure")
The reason I'm asking is that if you just typed "./configure" it probably installed the "pc" file somewhere else, so configure can't find it. (usually if im right installs in /usr/local/lib/pkgconfig/)

Try that. Type:

Quote:

PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure


(Yes, type it EXACTLY like that. export doesn't work for me, so I set the PKG_CONFIG_PATH variable, then space, then ./configure)

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

Or to tell them here:


From the link above:
Quote:


The following components are needed to compile Beryl:

* intltool
* libdbus-1-dev
* libdbus-glib-1-2
* libgl1-mesa-dev
* libglu1-mesa
* libglu1-mesa-dev
* libglu1-xorg-dev
* libice-dev
* libjpeg62-dev
* libpng12-dev
* librsvg2-dev
* libsm-dev
* libstartup-notification0-dev
* libwnck-dev
* libxcomposite-dev
* libxdamage-dev
* libxinerama-dev
* libxrandr-dev
* x11proto-gl-dev
* autoconf (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* autogen
* automake (preferably version 1.4 or higher) (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* dbus >= 1.0.2
* gcc >= 4 .1 (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* libgconf2-dev
* gettext (HAVE)
* glibc >= 2.5 (Puppy 2.14 version is 2.3.5!!! Must find way to upgrade...)
* glitz
* GTK (HAVE)
* libglib2.0-dev
* libtool (HAVE, WHEN HAVING dev_21x.sfs in /mnt/home/)
* MesaLib-6.5.2 Last development release
* nVidia binary drivers - nvidia-0.9631 (slight frame speed up), ati-amd, ati drivers, or xf86-Intel *drivers, etc.
* pango
* python-dbus >= 0.80.1
* python-gtk2-dev >= 2.10.3
* python-pyrex
* subversion
* Xorg 7.1 or higher recommended, preferably AIGLX enabled (HAVE, NOT SURE ON OLDER VERSIONS OF PUPPY below 2.14)



Hope this helps....[/quote]
Back to top
View user's profile Send private message Visit poster's website 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Mon 16 Apr 2007, 03:03    Post subject:  

*edit, references to "your" and the "thanks" is directed at "wow". Sorry about my stupidity. The rest is for everyone.


Best news first; my ATI 3D card (MOBILITY RADEON 9000) is running DRI using xorg 7.1 radeon driver and OpenGL. Confirmed using MU's script to see the ANTS (extracted 3D Control Panel manually and ran script to avoid version conflicts). I get ~50fps. Will try to dig up exact chipset again sometime.



I built xorg up using T2 updating the xorg trunk (and one X11 trunk package [mesa]), thanks to your post in the first thread.



Took detailed notes while building a script. Perhaps it could save Barry some time in possibly integrating an xorg upgrade.



Also, was able to get it running using your config instructions as well as with T2. But I'm still unable to get T2 to respect my config options for aiglx and I'm missing DRI when I do it manually. So I'm still only half way there.



*Thanks for all the help and sorry on the delay in responding. I stuck somewhere between the two hemisphere's of my brain.



CODE:

First delete the xorg trunk in t2 and copy in the latest trunk.

Then update the mesa package in x11 trunk.

(maybe you emerge here, I can't figure all that out)

Code:
#!/bin/sh

#Careful with this one.
#./scripts/Cleanup

./scripts/Build-Pkg -cfg puppy21x compositeproto
./scripts/Build-Pkg -cfg puppy21x fixesproto
./scripts/Build-Pkg -cfg puppy21x xproto

./scripts/Build-Pkg -cfg puppy21x libxau
./scripts/Build-Pkg -cfg puppy21x libxaw
./scripts/Build-Pkg -cfg puppy21x libxcomposite
./scripts/Build-Pkg -cfg puppy21x libxcursor
./scripts/Build-Pkg -cfg puppy21x damageproto
./scripts/Build-Pkg -cfg puppy21x libxdamage
./scripts/Build-Pkg -cfg puppy21x libxevie
./scripts/Build-Pkg -cfg puppy21x libxext
./scripts/Build-Pkg -cfg puppy21x libxfixes
./scripts/Build-Pkg -cfg puppy21x libxfont
./scripts/Build-Pkg -cfg puppy21x libxinerama
./scripts/Build-Pkg -cfg puppy21x libxpm
./scripts/Build-Pkg -cfg puppy21x libxrender
./scripts/Build-Pkg -cfg puppy21x scrnsaverproto
./scripts/Build-Pkg -cfg puppy21x xdm
./scripts/Build-Pkg -cfg puppy21x xextproto
./scripts/Build-Pkg -cfg puppy21x xineramaproto
./scripts/Build-Pkg -cfg puppy21x xkbcomp
./scripts/Build-Pkg -cfg puppy21x glproto
./scripts/Build-Pkg -cfg puppy21x libdrm
./scripts/Build-Pkg -cfg puppy21x kbproto


./scripts/Build-Pkg -cfg puppy21x makedepend
./scripts/Build-Pkg -cfg puppy21x mesa #x11

./scripts/Build-Pkg -cfg puppy21x libx11

#this keeps xorg-server build from bombing half way through
mkdir /etc/profile.d
touch /etc/profile.d/windowmanager

./scripts/Build-Pkg -cfg puppy21x xorg-server


Made this little script to compile all the extracted drivers I downloaded:

Code:
#!/bin/sh

DIRENTRIES="`ls -1 | tr "\n" " "`"

for ONEENTRY in $DIRENTRIES
do
   cd $ONEENTRY
   make clean
   ./configure --prefix=/usr/X11R7
   make
   make install
#   make install DESTDIR=/xorg-server-7.1
   cd ../
done



Also have a list to do them with T2 but haven't tested it. Not sure where Kirk got the synaptec touchpad driver.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1158s ][ Queries: 11 (0.0117s) ][ GZIP on ]