From owner-freebsd-stable Sun Mar 23 21:15:16 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D59837B404 for ; Sun, 23 Mar 2003 21:15:13 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 049B543F75 for ; Sun, 23 Mar 2003 21:15:12 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.8/8.12.8) with ESMTP id h2O5DJrI060289; Mon, 24 Mar 2003 00:13:19 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: Uninstalled all X stuff, still no mozilla From: Joe Marcus Clarke To: Gunnar Flygt Cc: FreeBSD Stable In-Reply-To: <20030324050458.GA71164@sr.se> References: <20030324050458.GA71164@sr.se> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-DWBupaWpH9lHQ7ljQwNn" Organization: MarcusCom, Inc. Message-Id: <1048482899.45849.74.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 24 Mar 2003 00:15:00 -0500 X-Spam-Status: No, hits=-38.6 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-DWBupaWpH9lHQ7ljQwNn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-03-24 at 00:04, Gunnar Flygt wrote: > How come it is so impossible to make mozilla work with Xft? >=20 > I uninstalled everything that involves X on my home machine, > running 4.8-RC, deleted what was left in /usr/X11R6 and remaining > graphical stuff in /usr/local. Recompiled from scratch. But still > mozilla dies after having worked on disk for almost a minute, > leaving only one line saying "killed". >=20 > In /var/log/messages there is a message saying: > Mar 24 05:53:39 enigma /kernel: swap_pager: out of swap space > Mar 24 05:53:41 enigma /kernel: swap_pager_getswapspace: fail= ed > Mar 24 05:53:41 enigma /kernel: pid 67777 (mozilla-bin), uid 1= 001, was killed: out of swap space >=20 > but no other applications are running except for Windowmaker and > swapinfo gives: >=20 > [gunnar@enigma gunnar]$ swapinfo > Device 1K-blocks Used Avail Capacity Type > /dev/rad0s2b 130944 31020 99924 24% Interleaved >=20 > Anyone having some kind of explanation? Graphic card is > Matrox G200, so there's nothing new and exclusvive there. >=20 > What more info do you need to draw any conclusions? Go through this, and see if it helps. Q. When I launch Mozilla, all I see is, " No running window found." and nothing ever happens. How do I fix this? A. This problem is usually indicative of a font issue. As of 1.2a, Mozilla is built with Xft2 support by default. This support allows Mozilla to render anti-aliased fonts. However, Xft2 can be problematic if your font setup is not correct. Here are some things you can try to remedy the problem. 1. Decide if you really want anti-aliased fonts in Mozilla. If not, you can simply rebuild Mozilla after adding WITHOUT_XFT to /etc/make.conf.=20 This will return Mozilla to the look and feel of 1.1 and earlier. 2. Make sure all your font files under /usr/X11R6/lib/X11/fonts have 0444 permissions. That is, make sure the font files are readable by all users. 3. Make sure you have the following in the Module section of your XF86Config file: Load "type1" Load "freetype" (Note, some have reported you actually _don't_ want type1. I have it loaded, and it has always worked fine for me. Consider trying things with and without the type1 module.) 4. Make sure you don't have the mozilla-fonts port or package installed. If you do, delete it, then run fc-cache -v -f as root. 5. Make sure ${PREFIX}/etc/fonts/fonts.conf exists (where ${PREFIX} is the prefix where Mozilla is inatalled). 6. Try running fc-cache -f -v as root to force a rebuild of the Xft fontconfig caches. 7. Try removing or renaming ~/.mozilla. 8. Try rebuilding print/freetype2, x11-fonts/fontconfig, and x11-fonts/Xft. 9. Remove or rename ~/.fonts.conf if it exists. 10. If you are using XFree86 from CVS (i.e. 4.2.99.x), manually install print/freetype2, x11-fonts/fontconfig, and x11-fonts/Xft from ports. 11. Make sure you're not building Mozilla with non-default CFLAGS or CPU optimizations. Make sure CFLAGS is set to -O -pipe, and try commenting out CPUTYPE in /etc/make.conf (if such an entry exists). If none of this works, add the following to /etc/make.conf: CFLAGS=3D "-O -g -pipe" STRIP=3D Then edit Mozilla's Makefile and remove the line that says "--enable-strip". Then rebuild fontconfig, Xft, and Mozilla. Then, launch Mozilla using the command mozilla -g. At the (gdb) prompt, type run. When Mozilla crashes, type bt, and send the resulting backtrace along with the output of fc-cache -v -f and fc-list -v to freebsd-gnome@freebsd.org. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-DWBupaWpH9lHQ7ljQwNn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+fpRTb2iPiv4Uz4cRAgr+AKCJOb1wkVJHBUw6juRVLWZ1jz2I9gCglfQY +SrMV7xXGW7LVLKv1Rn5snQ= =KKS3 -----END PGP SIGNATURE----- --=-DWBupaWpH9lHQ7ljQwNn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message