delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/24/10:34:09

X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0703240833w75586099k42908d06f99b5e24@mail.gmail.com>
Date: Sat, 24 Mar 2007 11:33:48 -0400
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Slow performance following upgrade
In-Reply-To: <20070323160832.16683.qmail@nox.cx>
MIME-Version: 1.0
References: <20070323063821 DOT 19925 DOT qmail AT nox DOT cx> <ba40711f0703230656u6c5a4b91mdd9c0063ad12d96b AT mail DOT gmail DOT com> <20070323160832 DOT 16683 DOT qmail AT nox DOT cx>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 3/23/07, Zak Johnson wrote:
> Lev Bishop wrote:
> > On 3/23/07, Zak Johnson wrote:
> > >I first blamed XFT, as it manifested itself most obviously when starting
> > >XFT applications;
> >
> > fc-cache helps?
>
> fc-cache fails:
>
>     $ fc-cache
>     /usr/X11R6/lib/X11/fonts: failed to write cache
>     /usr/X11R6/lib/X11/fonts/75dpi: failed to write cache
>     /usr/X11R6/lib/X11/fonts/TTF: failed to write cache
>     /usr/X11R6/lib/X11/fonts/Type1: failed to write cache
>     /usr/X11R6/lib/X11/fonts/encodings: failed to write cache
>     /usr/X11R6/lib/X11/fonts/encodings/large: failed to write cache
>     /usr/X11R6/lib/X11/fonts/misc: failed to write cache
>     /usr/X11R6/lib/X11/fonts/util: failed to write cache
>
> The user running fc-cache owns and has write permission on all those
> directories.  strace available at http://nox.cx/cygwin .

With the default fontconfig install, fc-cache tries to put the caches
in /var/cache/fontconfig and ~/.fontconfig. Check you can write and
create files in those directories. If fontconfig is in use at the time
of running font-cache, it has to do some locking of the cache files.
It may be more successful if you run fc-cache while nothing using
fontconfig is running (eg, shut down X and run from a command window).
The --really-force and --verbose options to fc-cache might give more
clues. Or maybe you should look for stale lockfiles or something in
those directories, or you could just try blowing those directories
away completely (rm -rf) and starting over.

Some problem with the fonts cache would certainly explain slow startup
of xft apps.

Lev

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019