From owner-freebsd-gnome@FreeBSD.ORG  Tue Oct 14 00:39:48 2003
Return-Path: <owner-freebsd-gnome@FreeBSD.ORG>
Delivered-To: freebsd-gnome@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 5460716A4B3; Tue, 14 Oct 2003 00:39:48 -0700 (PDT)
Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2D23643F3F; Tue, 14 Oct 2003 00:39:47 -0700 (PDT)
	(envelope-from mezz7@cox.net)
Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao06.cox.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP
          id <20031014073945.JTXR10862.lakemtao06.cox.net@mezz.mezzweb.com>;
          Tue, 14 Oct 2003 03:39:45 -0400
To: "Vladimir B. Grebenschikov" <vova@fbsd.ru>
References: <200310140326.h9E3QwXG027670@freefall.freebsd.org>
	<1066116114.847.43.camel@localhost>
Message-ID: <oprw0vitdt8ckrg5@smtp.central.cox.net>
From: Jeremy Messenger <mezz7@cox.net>
Content-Type: text/plain; format=flowed; charset=utf-8
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Date: Tue, 14 Oct 2003 02:38:43 -0500
In-Reply-To: <1066116114.847.43.camel@localhost>
User-Agent: Opera7.21/Linux M2 build 480
cc: gnome@FreeBSD.org
cc: Joe Marcus Clarke <marcus@FreeBSD.org>
Subject: Re: ports/54817: After some time of work text selection in
	gnome_terminal is too long
X-BeenThere: freebsd-gnome@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: GNOME for FreeBSD -- porting and maintaining
	<freebsd-gnome.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-gnome>,
	<mailto:freebsd-gnome-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-gnome>
List-Post: <mailto:freebsd-gnome@freebsd.org>
List-Help: <mailto:freebsd-gnome-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-gnome>,
	<mailto:freebsd-gnome-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Oct 2003 07:39:48 -0000

On Tue, 14 Oct 2003 11:21:56 +0400, Vladimir B. Grebenschikov 
<vova@fbsd.ru> wrote:

> В вт, 14.10.2003, в 07:26, Joe Marcus Clarke пишет:
>> Synopsis: After some time of work text selection in gnome_terminal is 
>> too long
>>
>> State-Changed-From-To: open->closed
>> State-Changed-By: marcus
>> State-Changed-When: Mon Oct 13 20:26:18 PDT 2003
>> State-Changed-Why:
>> gnome-terminal 2.4.x with vte 0.11.x has been greatly improved.
>
> Nothing changed about PR:

Well, I still think you should contract to the Gnome team. Those issues 
are known on Linux too, but it's much improvement in the lastest version. 
Therefore, I think it's reasonable to close this PR.

> % pkg_glob gnometerminal vte
> gnometerminal-2.4.0.1
> vte-0.11.10_1
> %
>
> <<cut from top>>
> 906 vova     115    0 23396K 17440K RUN      0:49 48.93% 48.93%
> gnome-terminal

Here's mine:

40925 mezz      97    0 21084K  5700K select   1:38  0.53%  0.53% 
gnome-terminal

I have six tabs and it's building mozilla-thunder right now. My machine 
has AthlonXP 2000+ w/ 256mb ram.

> No other active process, no swapping activity, just select some lines of
> text by mouse. Selectin takes about 3 seconds to be displayed in
> terminal window. Gnome-Terminal is completely unusable in my case.
> terminal font is "fixed" (so no any TTF rendering). Terminal have only
> one tab.
>
> I am run 5-CURRENT (fresh cvsup).
>
>> If the problem
>> persists, try building vte with -DWITH_GLX (provided your card supports 
>> DRM).
>
> Frankly speaking I do not think that GLX can help me, I have neomagic
> video chip in my notebook and it have no any GLX.
>
> My notebook configuration:
>
> CPU: Pentium II/Pentium II Xeon/Celeron (331.58-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
>
> Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> real memory  = 201261056 (191 MB)
> avail memory = 185790464 (177 MB)
>
> It is sufficient to run on normal speed (usually in parallel):
>  - gnome environment (including nautilus)
>  - evolution
>  - licq (with qt/kde gui)
>  - xemacs
>  - mplayer or xmms
>  - one or two of mozilla/galeon2/firebird/opera(linux) with jvm
>  - openoffice or gnumeric
>  - a lot of xterms
>  - do regular make world && portupgrade -a -x openoffice
>
> There is only two places where speed is too low:
>   - gnome-terminal (completely unusable)
>   - evolution composer (I have reported this before)
>         while change focus between To:/Cc:/Subject lines
>         (all other functions, including spell-check work fast enough)
>
> PS: Just check gnome-terminal on much faster machine,
> same problem, I have run in terminal window 'ls -lR /sys/'
> Then try select some lines, it pauses for 1-2 secs (I am sure it is too
> much for this machine)

It doesn't even give me any pause even thought I am building the 
mozilla-thunder right now. Also, everything in here machine have been 
compiled with the debug.

> <<cut from top>>
> 25830 vova      41   0 21188K 16864K RUN      0:21 34.98% 34.96%
> gnome-terminal
>
> % uname -r
> 4.9-PRERELEASE

Here's 5.1-CURRENT..

> dmesg output:
> CPU: Intel Pentium III (938.03-MHz 686-class CPU)
>  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>
> Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
> real memory  = 268349440 (262060K bytes)
> avail memory = 254976000 (249000K bytes)
>
> GLX disabled too.
>
> After enabling GLX ( I have TNT2 here ). I can't notice any delay by
> select text, but CPU usage still too high (for my taste):
>
> <<cut from top>>
> 29468 vova      39   0 19452K 13288K RUN      0:12 11.24% 11.08%
> gnome-terminal
>
> PPS:
>   Do anybody use gnome-terminal without GLX ?

I don't use GLX.

Cheers,
Mezz

>   May be I need to disable GLX while build some port.
>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=54817


-- 
bsdforums.org 's moderator, mezz.