From owner-freebsd-x11@FreeBSD.ORG Tue Sep 23 10:52:39 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2CA3106564A for ; Tue, 23 Sep 2008 10:52:39 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id A84938FC21 for ; Tue, 23 Sep 2008 10:52:34 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1799084rvf.43 for ; Tue, 23 Sep 2008 03:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HeJ1TQrcPMMPpy0ikVPxV4NPnk36zhBaMKOgAJkrdzk=; b=IMQqtE0XSReFD4BdqcTMUic0vF0LJEoue+JEaFKL80wfJYW8INqsLomXw3z+pBoCcO POUM954FFA7YVyCR17IiQFRnkufpn1wUFJrNNf/s6AjWilN89aIxZhCQrex0lEFNWxVI TkqhFxo/71S8bUAZ9sEP/i/kmoiGrdGJeDpLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pgeM5r3/Rbq4ieyvXHrTqM3EcplRBSWc6efDwQiKifB/0uOkEobDdV/B0I6PfgcdY2 eC6ZTyC5ob+FM65bDRODOB7554WXYNv7bMSR30QNA13bXyuJqVnoXJOWDDFGJD04nAlx H4Sw3hDIZQiiMq11uVTHLU13Im1ikrPP1VQCQ= Received: by 10.140.140.3 with SMTP id n3mr2616021rvd.299.1222167154215; Tue, 23 Sep 2008 03:52:34 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Tue, 23 Sep 2008 03:52:34 -0700 (PDT) Message-ID: <3a142e750809230352p3ad6d256w5794eaccc2c53b38@mail.gmail.com> Date: Tue, 23 Sep 2008 12:52:34 +0200 From: "Paul B. Mahol" To: "Tom Evans" In-Reply-To: <1222163559.2731.27.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222162224.2731.20.camel@localhost> <1222163559.2731.27.camel@localhost> Cc: freebsd-x11@freebsd.org Subject: Re: Regression in intel driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 10:52:39 -0000 On 9/23/08, Tom Evans wrote: > On Tue, 2008-09-23 at 10:30 +0100, Tom Evans wrote: >> Hi all >> >> I've been using the intel xorg driver for quite some time now, and >> recently upgraded Xorg server/drm/intel driver to the most current >> available in ports. This has caused a significant performance regression >> when running without direct rendering enabled, which is required with >> this driver to achieve Virtual desktop with a dimension greater than >> 2048 pixels. Xorg now chews through 30-35% CPU whilst tailing a log >> file, where as before this used 3-4%. The effect is visibly noticeable >> (and doesn't just apply to fast moving text!) >> >> I have an HP laptop with a 1400x1050 LVDS panel, with a 1280x1024 TFT >> attached to the VGA port. My preferred setup is: >> >> xrandr --output LVDS --mode 1400x1050 --output VGA --mode 1280x1024 >> --left-of LVDS >> >> What I am running now, the only way to get sane performance: >> >> xrandr --output LVDS --mode 1024x768 --output VGA --mode 1280x1024 --above >> LVDS >> >> I've tried reverting back to an older driver, but it seems that changes >> to libdrm prevent that. I fear I may have to roll back drm, mesa, >> xorg-server et al just to use a different driver version. >> >> Any tips? >> >> Cheers >> >> Tom > > I've just re-read this, and it isn't clear at all, my bad! > > First off, I forgot to mention what fbsd version I am using: > FreeBSD zoot.mintel.co.uk 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #9: Mon > Sep 15 16:06:57 BST 2008 > root@zoot.mintel.co.uk:/data2/FreeBSD/RELENG_7/obj/data2/FreeBSD/RELENG_7/src/sys/ZOOT > i386 > > What I really need help with is, if I want to rollback to and use an > earlier version of the intel driver, what other packages should I also > roll back? The compilation failure of xf86-video-intel-2.2.1_1 (and > earlier versions) is: > > In file included from i810_driver.c:88: > i830.h:74:20: error: xf86mm.h: No such file or directory > > Googling tells me that this is due to a libdrm change, so obviously that > must be downgraded, which probably will require an earlier version of > xorg-server as well. Any notable others that will need to be downgraded? > It is known that new libdrm cause obsolete xf86-video-i810 to be marked as broken port. For start just downgrade libdrm to 2.3.0 and try again.