I usually compile dri/mesa/drm/xorg in one deft maneuver whenever the
planets are aligned correctly. I got some help building xorg from
http://beyond.linufromscratch.org; basically, I build everything in xc, not
just the servers. That is, everything that isn't already on my system
(like freetype2, expat, zlib, blah, blah, blah...). Attached is my
host.def to build the whole she-bang. Note that you should first move your
old X installation out of the way and flush the stale libraries from the ld
cache ala "mv /usr/X11R6 /usr/X11R6-old && cp -a /etc/X11 /etc/X11-old
That config worked for me, and the savage drm and driver work superbly (as
of 14 Jan cvs). Good work developers!
> Here is what I did loosely (while I was at console without Gmail
> 1.Inspect Xorg-modules and dripkg that were previously available for
> download to learn what things I need minimally...
> 2. make install Xorg into a non-root location (ie, not /) for inspection
> 3. backup lib/modules and copy over modules from Xorg install
> 4. backup lib/libGL.so.1.2 and copy of new one from Xorg install
> 5. backup Xorg and copy over new one from Xorg install
> 6. compiled and used latest DRM from CVS
> A few problems I ran into... I know my process is pretty different...
> but make World did not build a keyboard driver... only a mouse
> driver... Does this really work for everyone else?
> Changing a line in host.def fixed this:
> #define XInputDrivers mouse
> CHANGE TO
> #define XInputDrivers mouse keyboard
> Now I can load Xorg and everything seems to be working except the
> libGL... I'm currently using the library from the December snapshot
> and it's working but the latest one that was built is linked
> dynamically to libXxf86vm.so.1 (which doesn't exist on my Debian
> system)... I know I could just copy it over from the Xorg install to
> /usr/X11R6/lib but I'd rather have everything self contained as much
> as possible...
> Can you tell me what changes I need to make to link that in statically
> Felix? I know you changed the build scripts before to do that... so
> hopefully it isn't hard...
> Going back to read your e-mail fully now....
> On Sun, 16 Jan 2005 20:45:02 +0100, Felix Kühling <fxkuehl@...> wrote:
>> Am Sonntag, den 16.01.2005, 13:14 -0500 schrieb Josh:
>> > OK... X.org builds... and I know if that works I'm almost there... is
>> > the auto-build script from before somewhere where I coudl download it?
>> If you're talking about the scripts used for building the binary
>> snapshots, they're in CVS:
>> cvs -z3 -d:pserver:anonymous@... co snapshots
>> You'll have to tweak config.sh for a remote repository and maybe change
>> the set of drivers that are built.
>> > I'd much rather build my own newer pacakges and install using those
>> > than type "make install"... using debian and package management and
>> > just typing a command with no idea what's going to happen and file are
>> > going to be replaced scares me a little...
>> > Or perhaps a list of which files from the compiled dir structure need
>> > to go where... the manual instructions on the wiki kinda say they are
>> > for old x.org installed, not xfree86... I'll probably figure it out
>> > myself later by looking at the old pre-built stuff and the files it
>> > includes...
>> I do it this way:
>> mkdir /usr/X11R6-XORG
>> cd /usr/X11R6-XORG
>> mkdir include lib bin
>> cd include
>> lndir ../../X11R6/include .
>> cd ../lib
>> lndir ../../X11R6/lib .
>> Then go to your Xorg source dir. Change ProjectRoot in
>> config/cf/host.def to /usr/X11R6-XORG. Rebuild everything with "make
>> World". Now "make install" will install everything in /usr/X11R6-XORG.
>> Edit /etc/ld.so.conf and add /usr/X11R6-XORG/lib at the beginning. Run
>> Otherwise follow the building instructions in the Wiki, except that you
>> replace /usr/X11R6 with /usr/X11R6-XORG in the appropriate places.
>> This is based on the method described by Leif Delgass' on
>> > Any guidance would be appreciated... wanting to keep changes atomic so
>> > I can rollback if I run into problems.
>> If you decide to install stuff in /usr/X11R6-XORG just
>> change /etc/ld.so.conf and make the symbolic link /etc/X11/X point back
>> to /usr/X11R6/bin/XFree86. If you installed a binary snapshot use the
>> restore option of the install script. Note that this doesn't work if you
>> installed two or more snapshots on top of each other without restoring
>> the original.
>> > Thanks,
>> > Josh
>> > On Sun, 16 Jan 2005 02:19:54 +0100, Felix Kühling <fxkuehl@...>
>> > wrote:
>> > > Am Samstag, den 15.01.2005, 15:27 -0500 schrieb Josh:
>> > > > Ok... All this talk of Savage improvements... I'm using the last
>> > > > auto-build I'm aware of (Dec 15th)... which works by far better
>> > > > than ones before... are these changes way better than even that?
>> > >
>> > > Depends on what you mean with "way better". You won't see thousands
>> > > of FPS in glxgears. But yes, I'd say it's definitely worth upgrading.
>> > >
>> > > > If so (and if auto-build is still up in the are) which page of the
>> > > > wiki do I need to visit to learn how to build my own deal from
>> > > > scratch and which components do I need to build? X, DRM, Mesa, all?
>> > >
>> > > You need it all. See http://dri.freedesktop.org/wiki/Building.
>> > >
>> > > >
>> > > > And approximately how large of a source download am I talking (on
>> > > > dial-up here)...
>> > >
>> > > You find approximate sizes on the Building page. The first download
>> > > will take a while over dial-up. But subsequent updates will be fast.
>> > > I'm working on dial-up most of the time myself.
>> > >
>> > > >
>> > > > Thanks,
>> > > > Josh
>> > >
>> > > Good luck, ;-)
>> > > Felix
>> > >
>> | Felix Kühling <fxkuehl@...> http://fxk.de.vu |
>> | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 |