Summary: | Slowdown and warnings when using "en_US.UTF-8" locale. | ||
---|---|---|---|
Product: | [OLD] Docs-user | Reporter: | paapaa125 |
Component: | Other | Assignee: | Docs Team <docs-team> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/doc/en/utf-8.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
paapaa125
2006-01-09 11:41:20 UTC
X11, is this known issue? Addition: Even with "cjk" USE flag "xcalc" doesn't launch immediately like with "POSIX" locale. With "en_US.UTF-8" locale there is still a 0.4 sec delay. I'm not sure if that is to be expected when working in UTF-8 environment. The 8s delay, however, is gone as I described in the bug report. Works fine for me. I don't have LANG set manually, but I do set export LC_ALL="en_US.utf8" in ~/.bashrc. Can you try that? if a package has sucky utf handling then there will be delays for example, try running Eterm with your lang set to a unicode one and it'll delay for quite a while One more addition: 1. I never installed any additional font packs. I only installed those which come by default with X. 2. I don't have "font-server" USE flag enabled. 3. When I remove "cjk" from the USE flags these packages get recompiled: "x11-base/xorg-x11-6.8.2-r6", "net-print/cups-1.1.23-r4", "app-text/ghostscript-esp-7.07.1-r8". I guess it is xorg, which breaks the system. 4. No NLS support in kernel. Should not be needed as I only use ext3. Could someone with totally working "en_US.UTF-8" locale post his/her USE flags? By "totally working" I mean someone who doesn't use "cjk" flag and still don't get any warning messages or delays. (In reply to comment #5) > Could someone with totally working "en_US.UTF-8" locale post his/her USE flags? > By "totally working" I mean someone who doesn't use "cjk" flag and still don't > get any warning messages or delays. # emerge --info Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r9 i686) ================================================================= System uname: 2.6.12-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mtune=pentium3 -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mtune=pentium3 -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks sandbox sfperms" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" USE="x86 X a52 aac acpi alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvd emboss encode esd exif expat fam firefox flac foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imlib jpeg lame lcms libg++ libwww mad mikmod mime mmx mng motif mozsvg mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png python readline recode samba sdl sndfile spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xml2 xmms xv zlib elibc_glibc kernel_linux linguas_en userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS * * * $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 * * * Works for me . . . I'd mark this bug as a WORKSFORME. You should bug the respective upstream developers if they don't support UTF-8 environment... Still don't know what actually causes this. Maybe this has something to do with FVWM window manager I use, don't know. I have to investigate this a bit more some other time. Now it WORKSFORME... Jesus.. i just got the same thing here, took me a while to figure out why out of a sudden my machine comes to a near halt just when i click on the Eterm icon on my desktop.. I just switched to en_US.UTF-8 (and en_GB too), moving away from POSIX. And yes, certain apps are rediculously SLOW, and take up 100% cpu time to load. I'm mainly speaking about Eterm at the moment. Konsole and Xterm load well. |