Gustav Eje Henter <gustav.henter <at> ee.kth.se> writes: > > Hello LyX people, > > Thank you for a wonderful piece of software! Unfortunately, I've been seeing > performance issues for a while which have been slowing my work. > > The issue is that some tabs are very sluggish. Scrolling takes approximately one > second per tick on the mouse wheel, and similarly for Page Up/Page Down. Typing > sometimes lags many characters behind, math mode being particularly bad at > approximately one character per second. This appears not to be related to > document length. > > The weird part is that the issue occurs on a per-tab basis. After having been > open for a day, some tabs revert to normal speed again. Fast tabs can also > become slow, particularly when new tabs are opened. Today, however, I noticed > that it is possible to have a slow and a regular-speed tab open > simultaneously > in the same instance of LyX (performance depends on which tab that is > active), > which is what made me contact you. > > Checking top shows that memory is not an issue, but that a large fraction of > user CPU is consumed by Xorg during slowdowns. > http://wiki.lyx.org/Tips/PerformanceIssues states that "When top shows that 90% > of CPU time is taken by X and not LyX there is something to be done with your QT > & X settings not LyX itself." Is this still applicable if only certain tabs are > affected? > > For the record, I am running LyX Version 2.0.0 (Friday, April 29, 2011), the > latest binary distributed with my Ubuntu 11.04 system. My computer is a Dell > Latitude laptop with an Intel Core2 Duo T7500 (2.2 GHz) and several Gigs of RAM. > I'm running Gnome 2.32.1 (build date 2011-04-14) -- not the Unity interface > -- > with desktop effects disabled, and I am using the official NVIDIA drivers > version 270.41.06. My test documents are four-page scientific paper drafts with > nothing too heavy inside, but with a little bit of everything (references, math, > a figure, and a table). > > Do you think this is a LyX issue or not? I looked at a few perf bugs on Trac but > didn't see anything compelling. > > Best regards, > Gustav Henter > > ====================================================================== > Gustav Eje Henter, Ph.D. student E-mail: gustav.henter <at> ee.kth.se > Sound and Image Processing Lab, EES, Web: http://www.ee.kth.se/sip/ > KTH - Royal Institute of Technology, Stockholm, SWEDEN > ====================================================================== > >
Hi, I had the same problem on 11.04. Upgrade to the latest version solved it for me. I did the following: 1. run: sudo apt-get build-dep lyx 2. Download source packages for the latest LyX from precise: http://packages.ubuntu.com/precise/lyx [lyx_2.0.2-1ubuntu1.dsc] [lyx_2.0.2.orig.tar.gz] [lyx_2.0.2-1ubuntu1.debian.tar.gz] in a temporary folder, and run dpkg-source -x lyx_2.0.2-1ubuntu1.dsc 3. build package: cd lyx-2.0.2/ dpkg-buildpackage -rfakeroot -uc -b 4. install packages: cd .. sudo dpkg -i *.deb I worked flawlessly and performance is far better. Vasek