Any way to keep two versions of Xorg?

2013-04-28 Thread Thomas Mueller
Is there any way to keep two versions of Xorg-server, using no more than one at 
a time?

Reason is the newer but unstable version with KMS, permitting full use of the 
newer Intel graphics chips.

I switched to the new version but then couldn't run X at all, immediately 
crashing the system and requiring Reset button.

I had a hard time but finally succeeded switching back, but would like if 
possible to see if anything can be done to make the newer Xorg work but without 
leaving myself entirely without a usable X.  Sort of like China and Hong Kong: 
one country, two systems.

Portupgrading/portmastering from the older Xorg to the newer Xorg only to have 
to switch back is too much trouble!  Would I have to have a second 
installation, on a separate partition, with FreeBSD current (HEAD), to try the 
new Xorg, while keeping the older Xorg on 9-STABLE?  I have enough hard drive 
space and use GPT, so no problem running short of partitions.

Tom

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Any way to keep two versions of Xorg?

2013-04-28 Thread Shane Ambler

On 29/04/2013 02:43, per...@pluto.rain.com wrote:

Thomas Mueller muelle...@insightbb.com wrote:


Is there any way to keep two versions of Xorg-server, using no more
than one at a time?

Reason is the newer but unstable version with KMS, permitting full
use of the newer Intel graphics chips.


Provided you are OK with having the new KMS code in the kernel while
running the older Xorg (so you don't need different kernels -- thus
different base -- in addition to different Xorg userland), and if you
don't mind having two entire ports/packages sets each including its
own Xorg, this thread may help:



I would say set PREFIX to install the port in a non-default location.

With Xorg every gui app wants to use the X libs so I think setting
LD_LIBRARY_PATH could get around that, but I would keep the old version
in /usr/local and install the new version elsewhere until you get it
running.

See chapter 9.4 PREFIX and DESTDIR of porters handbook for more info.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org