help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re^2: Plotting performance with cywin running under Win7


From: Matthew Reich
Subject: Re^2: Plotting performance with cywin running under Win7
Date: Tue, 25 Jun 2013 11:07:48 -0400 (GMT-04:00)

Marco,

Thank you very much for this suggestion.  It solved the grey window problem, which makes octave plots interactively presentable.

To pass the command line options to the Xserver:

    Change the command in the  Win 'Xwin Server' short cut icon, the target field, to
           C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c  /usr/bin/startxwin-script

     Write a simple bash script in /usr/bin/startxwin-script that contains
            /usr/bin/startxwin.exe -- -multiwindow -nowgl


The script is needed, since in the context of C:\Cygwin\bin\run.exe, arguments to the bash.exe -c option do not seem to get passed.
So, for example, the following does not work:
        C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c  /usr/bin/Xwin -multiwindow -nowgl


Thank you,
M.Reich

Il 6/13/2013 10:52 PM, Matthew Reich ha scritto:
> Marco,
>
> Figures still become grey when moved, and subsequently may not be redrawn until some GUI action such as grid toggle. While redrawing, focus moves from Octave to the fltk window, which may or may not be initiated just by moving the window. 'tic toc' measures focus time away from Octave as:

Matthew,
this bug seems due to WGL (windows integrated GL) interface
provided by Xwin

http://www.cygwin.com/ml/cygwin-xfree/2013-06/msg00035.html

Try running the Xserver with "Xwin -multiwindow -nowgl"
it does not make the plot faster but at least the grey effect
does not appear when moving the plots.


> Thank you,
> M.Reich

Regards
Marco

reply via email to

[Prev in Thread] Current Thread [Next in Thread]