octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54396] Removing Opengl32.dll speeds up plot n


From: anonymous
Subject: [Octave-bug-tracker] [bug #54396] Removing Opengl32.dll speeds up plot navigation, but it prevents saving plots using saveas or print
Date: Fri, 27 Jul 2018 13:46:02 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?54396>

                 Summary: Removing Opengl32.dll speeds up plot navigation, but
it prevents saving plots using saveas or print
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 27 Jul 2018 05:46:00 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

In newer versions of Octave, opengl32.dll was shipped with Octave for software
rendering, whereas earlier versions used the system's opengl32.dll.  The
version shipped with Octave causes a huge performance hit when zooming,
panning, or making a plot full screen.  For example it takes 10 seconds to
zoom in on an area with modern hardware.  The plot screen seems to hang.  This
is documented in bug #53845 and the workaround was to delete or rename
opengl32.dll in the Octave bin file, this dramatically improves performance.

The problem now is when using the system's opengl32.dll, plots do not seem to
save.  Octave hangs indefinitely and must be force closed through the task
manager.  "gs.exe" must also be closed in the task manager.

For example, the code below runs just fine with the shipped version of
opengl32.dll, but not with the system's.  However if you use the shipped
version of opengl32.dll navigating plots is unbearably slow.  This code has
been tried also with the "saveas" function with the same results.  It also
crashes if producing 'png' plots in the same fashion.

figure(1);
x=1:10;
y=x.^2;
plot(x,y);
print -dpdf plotstuff.pdf;




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54396>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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