Re: Lyx sluggish on Windows 10

2019-03-22 Thread David Belius
Fantastic, thank you very much!

Is the fix in a git repository somewhere so I can try it out?

Regards,
David

Den tors 21 mars 2019 kl 21:51 skrev Jean-Marc Lasgouttes <
lasgout...@lyx.org>:

> Le 21/03/2019 à 21:32, Dr Paul Verschueren a écrit :
> > Well done Jean-Marc - and many thanks!
>
> I am interested in other documents that exhibit performance issues.
> I know that more remains to be done.
>
> JMarc
>


Re: Lyx sluggish on Windows 10

2019-03-10 Thread David Belius
No, it's turned off.

Den sön 10 mars 2019 kl 15:55 skrev Paul A. Rubin :

> On 3/10/19 8:31 AM, David Belius wrote:
>
>
>
> Den sön 10 mars 2019 kl 01:11 skrev Paul A. Rubin :
>
>> On 3/9/19 2:59 AM, David Belius wrote:
>>
>> Den lör 9 mars 2019 kl 00:19 skrev Scott Kostyshak :
>>
>>> On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
>>> > Hi,
>>> >
>>> > Recently Lyx has been sluggish when typing equations and scrolling in
>>> > moderately sized documents, to the point that it becomes very
>>> frustrating.
>>> > Is this known to be an issue with current versions? I am using a fresh
>>> > install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
>>> > 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
>>> > computer editing same document is very snappy.
>>>
>>> I'm not sure I have seen such a report. It is hard to know how to
>>> diagnose the problem. When you see the sluggishness, are you by chance
>>> working on a file that is in a Dropbox folder and you have automatic
>>> save set to a high frequency? That's just a random guess. We have seen
>>> some problems from users with both Windows and Dropbox.
>>>
>>
>>
>> Indeed the file is in a dropbox folder. But "Look>Document
>> Handling->Backup documents every X minutes" is set to 5, which doesn't seem
>> bery high frequency, and the problem persists even if I edit a copy of the
>> document I placed in a non-dropbox folder.
>>
>> If you open the Windows Task Manager and then start editing a document in
>> LyX, does the Task Manager show either high CPU utilization or high disk
>> utilization for anything?
>>
>
> When I type into an equation CPU usage hits about 50%, split evenly
> between Lyx and a process called "Usermode Font Driver Host". I googled the
> latter and found some references to it in connection with possibly similar
> problems (
> https://forum.affinity.serif.com/index.php?/topic/51268-usermode-font-driver-host-freezes-computer/).
> I tried the "clean boot" mentioned in that discussion but it didn't change
> anything.
>
> Incidently on Ubuntu the CPU usage for lyx in "top" hits ca 30% when I
> type into an equation in the same document at the same speed, but there is
> no additional process that sees increased CPU usage and lyx remains
> responsive while typing, unlike on windows.
>
> You don't by any chance have instant preview turned on, do you?
>
> Paul
>
>


Re: Lyx sluggish on Windows 10

2019-03-10 Thread David Belius
Den sön 10 mars 2019 kl 01:11 skrev Paul A. Rubin :

> On 3/9/19 2:59 AM, David Belius wrote:
>
> Den lör 9 mars 2019 kl 00:19 skrev Scott Kostyshak :
>
>> On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
>> > Hi,
>> >
>> > Recently Lyx has been sluggish when typing equations and scrolling in
>> > moderately sized documents, to the point that it becomes very
>> frustrating.
>> > Is this known to be an issue with current versions? I am using a fresh
>> > install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
>> > 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
>> > computer editing same document is very snappy.
>>
>> I'm not sure I have seen such a report. It is hard to know how to
>> diagnose the problem. When you see the sluggishness, are you by chance
>> working on a file that is in a Dropbox folder and you have automatic
>> save set to a high frequency? That's just a random guess. We have seen
>> some problems from users with both Windows and Dropbox.
>>
>
>
> Indeed the file is in a dropbox folder. But "Look>Document
> Handling->Backup documents every X minutes" is set to 5, which doesn't seem
> bery high frequency, and the problem persists even if I edit a copy of the
> document I placed in a non-dropbox folder.
>
> If you open the Windows Task Manager and then start editing a document in
> LyX, does the Task Manager show either high CPU utilization or high disk
> utilization for anything?
>

When I type into an equation CPU usage hits about 50%, split evenly between
Lyx and a process called "Usermode Font Driver Host". I googled the latter
and found some references to it in connection with possibly similar
problems (
https://forum.affinity.serif.com/index.php?/topic/51268-usermode-font-driver-host-freezes-computer/).
I tried the "clean boot" mentioned in that discussion but it didn't change
anything.

Incidently on Ubuntu the CPU usage for lyx in "top" hits ca 30% when I type
into an equation in the same document at the same speed, but there is no
additional process that sees increased CPU usage and lyx remains responsive
while typing, unlike on windows.


Re: Lyx sluggish on Windows 10

2019-03-10 Thread David Belius
Code preview is not open.

Best Regards,
David

Den lör 9 mars 2019 kl 22:52 skrev Daniel :

> On 2019-03-08 20:47, David Belius wrote:
> > Hi,
> >
> > Recently Lyx has been sluggish when typing equations and scrolling in
> > moderately sized documents, to the point that it becomes very
> > frustrating. Is this known to be an issue with current versions? I am
> > using a fresh install of Lyx 2.3.2-2 on an up-to-date version of Windows
> > 10 (Version 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a
> > much older computer editing same document is very snappy.
> >
> > Best Regards,
> > David
>
> Do you happen to have the code preview open?
>
> Daniel
>
>


Re: Lyx sluggish on Windows 10

2019-03-09 Thread David Belius
Den lör 9 mars 2019 kl 00:19 skrev Scott Kostyshak :

> On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
> > Hi,
> >
> > Recently Lyx has been sluggish when typing equations and scrolling in
> > moderately sized documents, to the point that it becomes very
> frustrating.
> > Is this known to be an issue with current versions? I am using a fresh
> > install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
> > 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
> > computer editing same document is very snappy.
>
> I'm not sure I have seen such a report. It is hard to know how to
> diagnose the problem. When you see the sluggishness, are you by chance
> working on a file that is in a Dropbox folder and you have automatic
> save set to a high frequency? That's just a random guess. We have seen
> some problems from users with both Windows and Dropbox.
>


Indeed the file is in a dropbox folder. But "Look>Document
Handling->Backup documents every X minutes" is set to 5, which doesn't seem
bery high frequency, and the problem persists even if I edit a copy of the
document I placed in a non-dropbox folder.


Lyx sluggish on Windows 10

2019-03-08 Thread David Belius
Hi,

Recently Lyx has been sluggish when typing equations and scrolling in
moderately sized documents, to the point that it becomes very frustrating.
Is this known to be an issue with current versions? I am using a fresh
install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
computer editing same document is very snappy.

Best Regards,
David


LyX freezes periodically

2013-12-18 Thread David Belius
Hi,

When working on a specific large document (about 50 pages as a PDF),
LyX does a very annoying thing where it freezes for about 4-5 seconds
about once a minute. It seems to happen more often when I am editing
equations. During the freeze the screen does not update when I type.
When the freeze is over whatever I typed during the freeze appears all
at once.

Here are the details of my setup:
OS: CentOS Release 6.4  / Linux Kernel 2.6.32-358.18.1.el6.x86_64
LyX version: 2.0.6

It is a powerful computer (12 Intel i7 cores and 16gb of ram), and
other applications do not freeze. When working on the same document on
my laptop (Thinkpad running Ubuntu) the freezes do not occur.

Does anyone have any idea of how to fix this problem, or at least how
to debug it? I have downloaded the source code and tried to find the
place where it gets stuck, but to no avail.

Best Regards,
David


Re: LyX freezes periodically

2013-12-18 Thread David Belius
2013/12/18 Liviu Andronic landronim...@gmail.com:
 On Wed, Dec 18, 2013 at 8:38 PM, David Belius david.bel...@cantab.net wrote:
 Hi,

 When working on a specific large document (about 50 pages as a PDF),
 LyX does a very annoying thing where it freezes for about 4-5 seconds
 about once a minute. It seems to happen more often when I am editing
 equations.

 Have you tried disabling instant preview for equations?

 Liviu


I have never had instant preview enabled (I did not know this option existed).

David


LyX freezes periodically

2013-12-18 Thread David Belius
Hi,

When working on a specific large document (about 50 pages as a PDF),
LyX does a very annoying thing where it freezes for about 4-5 seconds
about once a minute. It seems to happen more often when I am editing
equations. During the freeze the screen does not update when I type.
When the freeze is over whatever I typed during the freeze appears all
at once.

Here are the details of my setup:
OS: CentOS Release 6.4  / Linux Kernel 2.6.32-358.18.1.el6.x86_64
LyX version: 2.0.6

It is a powerful computer (12 Intel i7 cores and 16gb of ram), and
other applications do not freeze. When working on the same document on
my laptop (Thinkpad running Ubuntu) the freezes do not occur.

Does anyone have any idea of how to fix this problem, or at least how
to debug it? I have downloaded the source code and tried to find the
place where it gets stuck, but to no avail.

Best Regards,
David


Re: LyX freezes periodically

2013-12-18 Thread David Belius
2013/12/18 Liviu Andronic landronim...@gmail.com:
 On Wed, Dec 18, 2013 at 8:38 PM, David Belius david.bel...@cantab.net wrote:
 Hi,

 When working on a specific large document (about 50 pages as a PDF),
 LyX does a very annoying thing where it freezes for about 4-5 seconds
 about once a minute. It seems to happen more often when I am editing
 equations.

 Have you tried disabling instant preview for equations?

 Liviu


I have never had instant preview enabled (I did not know this option existed).

David


LyX freezes periodically

2013-12-18 Thread David Belius
Hi,

When working on a specific large document (about 50 pages as a PDF),
LyX does a very annoying thing where it freezes for about 4-5 seconds
about once a minute. It seems to happen more often when I am editing
equations. During the freeze the screen does not update when I type.
When the freeze is over whatever I typed during the freeze appears all
at once.

Here are the details of my setup:
OS: CentOS Release 6.4  / Linux Kernel 2.6.32-358.18.1.el6.x86_64
LyX version: 2.0.6

It is a powerful computer (12 Intel i7 cores and 16gb of ram), and
other applications do not freeze. When working on the same document on
my laptop (Thinkpad running Ubuntu) the freezes do not occur.

Does anyone have any idea of how to fix this problem, or at least how
to debug it? I have downloaded the source code and tried to find the
place where it gets stuck, but to no avail.

Best Regards,
David


Re: LyX freezes periodically

2013-12-18 Thread David Belius
2013/12/18 Liviu Andronic <landronim...@gmail.com>:
> On Wed, Dec 18, 2013 at 8:38 PM, David Belius <david.bel...@cantab.net> wrote:
>> Hi,
>>
>> When working on a specific large document (about 50 pages as a PDF),
>> LyX does a very annoying thing where it freezes for about 4-5 seconds
>> about once a minute. It seems to happen more often when I am editing
>> equations.
>>
> Have you tried disabling instant preview for equations?
>
> Liviu
>

I have never had instant preview enabled (I did not know this option existed).

David