From owner-freebsd-ports@FreeBSD.ORG Sun Feb 1 13:59:35 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9C1106564A for ; Sun, 1 Feb 2009 13:59:35 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id 34C758FC12 for ; Sun, 1 Feb 2009 13:59:35 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout2.cac.washington.edu (8.14.3+UW08.09/8.14.3+UW09.01) with ESMTP id n11DxXot020207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 Feb 2009 05:59:33 -0800 X-Auth-Received: from [192.168.10.3] (adsl-99-139-49-79.dsl.pltn13.sbcglobal.net [99.139.49.79]) (authenticated authid=youshi10) by smtp.washington.edu (8.14.3+UW08.09/8.14.3+UW09.01) with ESMTP id n11DxWYn008042 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 1 Feb 2009 05:59:32 -0800 Message-Id: From: Garrett Cooper To: bf2006a@yahoo.com In-Reply-To: <165364.55705.qm@web39102.mail.mud.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 1 Feb 2009 06:04:32 -0800 References: <165364.55705.qm@web39102.mail.mud.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-PMX-Version: 5.5.0.356843, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.2.1.134325 X-Uwash-Spam: Gauge=IIIIIII, Probability=8%, Report='FORGED_FROM_GMAIL 0.1, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, __BOUNCE_CHALLENGE_SUBJ 0, __CP_MEDIA_2_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_419_WEBMAIL 0, __FRAUD_419_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: czander@nvidia.com, FreeBSD Ports Mailing List , alex-goncharov@comcast.net Subject: Re: Unhappy Xorg upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 13:59:35 -0000 On Jan 31, 2009, at 2:43 PM, bf wrote: > Alex: > > I can understand your frustration. The Xorg update, although it helps > a lot of people, is inevitably going to cause problems for some, > because > it is run by so many people in different ways with a wide variety of > hardware. It's comparable in some ways to updating the OS, and > despite > the hard work by the FreeBSD Xorg team (and they did put in a lot of > work), there are bound to be some difficulties. But all is not > lost, even > though you will have to spend some time recovering: > > Yes, you can get the old versions of the ports: you can use cvs (in > the > base system) or the port ports-mgmt/portdowngrade (which is basically > a wrapper for cvs) to checkout the old versions, which are still > present > in the cvs repository. You can resume your automatic port updates, > and > then just copy the old versions of the Xorg ports over the new ones > (having saved them in some other directory tree where they won't be > overwritten by csup), or just not checkout the newer versions in the > first > place (for example, place all of the xorg ports in your refuse file, > or > just use cvs to checkout a list of individual installed ports that > are not > part of Xorg, rather than using csup collections). > > Alternatively, you could download the entire cvs repository (both > cvs and > the latest versions of csup can do this) and checkout the versions > you want > from your local copy of the repository. > > If you write a script to do this, the whole process won't take much > longer > than a normal csup update. > > For more on this, read the cvs manual ( http://ximbiot.com/cvs/ > manual/ ) > or the relevant parts of the FreeBSD handbook ( > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > anoncvs.html ). > > In addition to the individual Xorg ports and metaports that you use, > you > will have to either use older versions of Mk/bsd.port.mk and > Mk/bsd.xorg.mk, or use libmap.conf(5) to fool your ports into thinking > that you have the new gl and xaw libraries installed. Remember also > that > one or two of the old ports have disappeared (xorg-protos, for > example). > > For what it's worth, I used similar methods to use the new Xorg when > it > was still in Florent's git repository with the regular ports tree for > several months. Also, for some time I used the old xorg-server > (1.4.x) > with the other new Xorg ports without any obvious problems. And if > the > Xorg nv(4x) driver is giving you problems, you can try the Xorg > vesa(4x) > driver, or the nvidia drivers from ports (x11/nvidia-driver). > > Good luck, > b. FWIW, nvidia-driver in ports is relatively stable, but has a tendency to hardlock in certain situations (I can think of cases with dualhead Xinerama enabled displays running xscreensaver or finishing up a movie with mplayer with the xv driver, where stuff would livelock). The newest stable works extremely well, but the new libGL.so isn't ABI compatible with the one packaged by nvidia, so things like mesa-demos will fail to compile because -lpthread is now required at compile time for the compat5x + libGL.so junk. I've submitted a request on the nvidia-forums to finally update the driver to use at least compat-6x and to remove the GIANT lock from the driver, but the more voices voting for this the merrier :)! The link for the forum page is: . Thanks, -Garrett