From owner-freebsd-x11@FreeBSD.ORG Sun Mar 22 22:06:57 2009 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 74C751065676; Sun, 22 Mar 2009 22:06:57 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id CB19B8FC13; Sun, 22 Mar 2009 22:06:56 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so359439fge.12 for ; Sun, 22 Mar 2009 15:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=/KZWi8+XWsnrrwqZsMLyCLFmFJvQc7G97M4cARtg6tU=; b=h1tNFNW7sZXU6tElFM0o6gZj8+igkQf643dL5sPiFfzYz0V0HplJtaQvSHNKQioC+7 1DMHusV1B8bbmwTlSr7eNxp/RScp9S7hXXC0NliEK6iep5hyu/IFOA/SrHDkkMCunT+T mkozmRdzF0C44N7VsmXj1aZG3EBr/IjI3R7nU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=MKiTBTd7zNWCGb6EsVzrVS6QPdDjnF2kmKVIhu8eWl6waIaxMcZ9/vyEBFhAAG4jky uRnG8rkJEzovYT0F4YH8a1C5xWt4uos0BQ/zypGtzOCGDUKv9+KweIMHXB2+3T7bleWg mTn+eMEJfNU/nF9Sua6b+E0AVPb0f85Ip5pRs= Received: by 10.86.86.2 with SMTP id j2mr2108877fgb.74.1237759615555; Sun, 22 Mar 2009 15:06:55 -0700 (PDT) Received: from localhost (95-24-174-59.broadband.corbina.ru [95.24.174.59]) by mx.google.com with ESMTPS id d6sm6511631fga.2.2009.03.22.15.06.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Mar 2009 15:06:54 -0700 (PDT) From: Anonymous To: Robert Noland References: <1237680263.1938.10.camel@balrog.2hip.net> <86r60pp8c0.fsf@gmail.com> <1237758423.1687.34.camel@balrog.2hip.net> Date: Mon, 23 Mar 2009 01:06:21 +0300 In-Reply-To: <1237758423.1687.34.camel@balrog.2hip.net> (Robert Noland's message of "Sun, 22 Mar 2009 16:47:03 -0500") Message-ID: <86y6uxfc0y.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-x11 Subject: Re: [PREVIEW] Nouveau on FreeBSD (Take 2) 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: Sun, 22 Mar 2009 22:06:57 -0000 (dropping freebsd-current@) Robert Noland writes: > On Mon, 2009-03-23 at 00:15 +0300, Anonymous wrote: >> Robert Noland writes: >> >> > Ok, this patch should work on NV50 chips also. >> > >> > What you get is EXA and Xv. >> > >> > You still need: >> > >> > A recent -CURRENT or -STABLE. >> > >> > git master of libdrm and xf86-video-nouveau. >> > >> > This patch. >> > >> > Things I've figured out since the last patch... >> > >> > On NV50 class hardware you need to have a compositing manager running >> > for Xv to work. That means xcompmgr, metacity with composite enabled, >> > xfce (rumored to work as well, haven't tried). If your running Gnome >> > with metacity, open gconf-editor and go to apps->metacity->general and >> > check the composite box. >> [...] >> > >> > http://people.freebsd.org/~rnoland/drm-nouveau-032109.patch >> > >> > robert. [...] >> - Scrolling (shift+pgup/pgdn) in xterm is *slower* with DRM than >> without it but still faster than with NoAccel. I'm using xterm with >> TTF font (DejaVu Sans Mono). It's yet more noticeable when scrolling >> in less(1)/screen(1) when redrawing affects whole screen not half. >> Besides, there is more flickering with highly updating cli apps when >> using DRM. However, launching xcompmgr fixes this sluggishness. > > This may be related to compositing with git server. Text rendering is > causing considerable load on the Xserver with compositing enabled. The > composite manager is only needed for Xv, can you try without it. Perhaps, you misread. That slow scrolling in xterm was *without* xcompmgr running. The last sentence was added afterwards when I *accidentally* successfully launched xcompmgr for XVideo test and noticed that scrolling is fast again, even faster than without DRM.