Like a few other people, I am having performance problems with Lyx 1.4.3. I started using it about a month ago and I really like the Lyx method of working. I would appreciate any tips that anyone on the list can offer.

1.3.7 (installed using the Ubuntu package management) works fine. However, 1.4.2 and 1.4.3 (both built from source) suffer from sluggish screen updates and high CPU usage. The program is sluggish but still usable so, I'd like to keep using 1.4.x as I like some of the new features. I am gathering notes for a book project and I currently have about 12,000 words. I presume that I could move back to 1.3.x if the program becomes unusably sluggish in the future?

This problem existed on Ubuntu 5.10, Ubuntu 6.10 and Kubuntu 6.10LTS. If I bring up the KDE process monitor, it would seem that the CPU usage (when I am highlighting text in Lyx) is divided between Lyx and X.org. The problems persist with either the stock NVidia support that comes with Ubuntu or the latest drivers from the Nvidia website.

The problem seems worse when I highlight text with the mouse. Moving the mouse around when highlighting text takes the processor usage up to 100%.

My machine is a PIII 800 w/384 megs.
Nvidia MX440 64mb.
Kubutu 6.10LTS KDE 3.5.2

1.3.x works fine as does 1.4.x if built for the XForms front end. 1.4.x with the GTK front end shows similar performance problems.

I have attached the output from ./configure --with-frontend=qt --with-qt-dir=/usr/share/qt3/ >lyx143qt_config.txt to this email.

Thanks in advance for any help that people can offer.

--

http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio
configuring LyX version 1.4.3
checking for version suffix... 
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) mawk
checking for kpsewhich... kpsewhich
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for a Python interpreter with version >= 1.5.2... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.4/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking what frontend should be used for the GUI... qt
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the C++ compiler understands explicit... yes
checking whether C library functions are already in the global namespace... no
checking for conforming std::count... yes
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ostream usability... yes
checking ostream presence... yes
checking for ostream... yes
checking istream usability... yes
checking istream presence... yes
checking for istream... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking locale usability... yes
checking locale presence... yes
checking for locale... yes
checking limits usability... yes
checking limits presence... yes
checking for limits... yes
checking ios usability... yes
checking ios presence... yes
checking for ios... yes
checking for modern STL streams... yes
checking for sin in -lm... yes
checking for fopen in -lc... yes
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for X... libraries /usr/X11R6/lib, headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for moc2... not found
checking for moc... /usr/share/qt3///bin/moc
checking for uic... /usr/share/qt3///bin/uic
checking whether uic supports -nounload... yes
checking for Qt library name... -lqt-mt
checking whether the Qt library is multi-threaded... yes
checking Qt version... 3.3.6
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for strings.h... (cached) yes
checking for locale.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking NewAPIs.h usability... no
checking NewAPIs.h presence... no
checking for NewAPIs.h... no
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for mode_t... yes
checking for off_t... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... yes
checking for strerror... yes
checking if istreambuf_iterator is declared by header iterator... yes
checking if mkstemp is declared by header unistd.h... no
checking if mkstemp is declared by header stdlib.h... yes
checking for mkdir... yes
checking for _mkdir... no
checking whether mkdir takes one argument... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for close... yes
checking for _close... no
checking for getpid... yes
checking for _getpid... no
checking for lstat... yes
checking for mkfifo... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for open... yes
checking for _open... no
checking for pclose... yes
checking for _pclose... no
checking for popen... yes
checking for _popen... no
checking for readlink... yes
checking aspell.h usability... yes
checking aspell.h presence... yes
checking for aspell.h... yes
checking for new_aspell_config in -laspell... yes
checking whether to use aspell... yes
checking for fork... yes
checking whether to use ispell... yes
checking for fcntl... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for sys/select.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating boost/Makefile
config.status: creating boost/libs/Makefile
config.status: creating boost/libs/filesystem/Makefile
config.status: creating boost/libs/filesystem/src/Makefile
config.status: creating boost/libs/regex/Makefile
config.status: creating boost/libs/regex/src/Makefile
config.status: creating boost/libs/signals/Makefile
config.status: creating boost/libs/signals/src/Makefile
config.status: creating config/Makefile
config.status: creating development/Makefile
config.status: creating development/lyx.spec
config.status: creating lib/Makefile
config.status: creating lib/doc/Makefile
config.status: creating lib/lyx2lyx/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating sourcedoc/Doxyfile
config.status: creating sourcedoc/Makefile
config.status: creating src/client/Makefile
config.status: creating src/Makefile
config.status: creating src/version.C-tmp
config.status: creating src/tex2lyx/Makefile
config.status: creating src/mathed/Makefile
config.status: creating src/graphics/Makefile
config.status: creating src/insets/Makefile
config.status: creating src/support/Makefile
config.status: creating src/support/tests/Makefile
config.status: creating src/frontends/Makefile
config.status: creating src/frontends/controllers/Makefile
config.status: creating src/frontends/xforms/Makefile
config.status: creating src/frontends/xforms/lyx_forms.h-tmp
config.status: creating src/frontends/xforms/lyx_xpm.h-tmp
config.status: creating src/frontends/xforms/forms/Makefile
config.status: creating src/frontends/gtk/Makefile
config.status: creating src/frontends/gtk/gimages/Makefile
config.status: creating src/frontends/gtk/glade/Makefile
config.status: creating src/frontends/qt2/Makefile
config.status: creating src/frontends/qt2/moc/Makefile
config.status: creating src/frontends/qt2/ui/Makefile
config.status: creating src/frontends/qt2/ui/moc/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Configuration
  Host type:                      i686-pc-linux-gnu
  Special build flags:            pch  use-aspell use-ispell
  C   Compiler:                   gcc 
  C   Compiler LyX flags:          
  C   Compiler flags:               -O2
  C++ Compiler:                   g++ (4.0.3)
  C++ Compiler LyX flags:          -fno-exceptions
  C++ Compiler flags:               -O2
  Linker flags:                   
  Linker user flags:              
  Qt Frontend:
      Qt version:               3.3.6
  Packaging:                      posix
  LyX binary dir:                 /usr/local/bin
  LyX files dir:                  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

Reply via email to