bugGNU Octave - Bugs: bug #54554, When plotting large arrays, some...

 
 

bug #54554: When plotting large arrays, some graphic elements are not visible (llvmpipe Windows)

Submitter:  None
Submitted:  Wed 22 Aug 2018 08:56:05 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  Asa Packer Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 17 Mar 2019 02:37:51 PM UTC, comment #9: 

It seems to me that line dissapearing is related to "graphicssmoothing" option for figure object.
If I set it to "off" lines are visible, but all plot becoming  not so pretty as for "on".

Sergey Parfenyuk <sergniko>
Sun 10 Mar 2019 07:02:20 PM UTC, comment #8: 

Closing bug report as an upstream issue in MESA.

Rik <rik5>
Group administrator
Sat 02 Mar 2019 09:33:11 PM UTC, comment #7: 

Version 4.4.1 is deprecated and no longer supported.  Do we want or need to keep this bug open?  It seems like the eventual fix will need to take place upstream in MESA code.

Rik <rik5>
Group administrator
Thu 13 Sep 2018 06:10:09 AM UTC, comment #6: 

For my Octave 4.4.1 on Windows 7 32-bit I get same results. Also on resizing plot window - it seems like redrawing the windows lag behind - when I resize - the plot doesn't change, but on next redraw event (next resizing, changing window focus) - the previous plot appear. So I can create plot like on attached files (plot2.png, plot3.png).


Sergey Parfenyuk <sergniko>
Fri 24 Aug 2018 06:38:38 PM UTC, comment #5: 

@Pantxo: I am happy to try to do that, but am completely ignorant of how Mesa is incorporated into Octave so I'm not sure I could post a very helpful bug report.  I'm interested in learning though, so can you point me to where I could get more info about that?  Thanks.

Asa Packer <apacker>
Fri 24 Aug 2018 08:18:23 AM UTC, comment #4: 

@Asa: Ok, considering the answers in bug #54396, I'll mark this report as "confirmed". There is not much we can do about it except posting a bug report on MESA tracker (https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa). Could you do that?


Pantxo Diribarne <pantxo>
Group Member
Thu 23 Aug 2018 08:27:13 PM UTC, comment #3: 

Done - thanks for your response!

Asa Packer <apacker>
Thu 23 Aug 2018 07:09:52 PM UTC, comment #2: 

I can't reproduce the missing lines  but clearly the apparent width of the line is affected by the number of points for me too (on linux with a gallium based nouveau driver).

Octave 4.4.1 for Windows is now built against a faster OpenGL implementation, see bug #54396. This could be the cause of this change since 4.4.0.

Could you post your offending code in bug #54396 and see if someone can reproduce?

Pantxo Diribarne <pantxo>
Group Member
Wed 22 Aug 2018 09:03:47 PM UTC, comment #1: 

Hi,

Sorry, I forgot to create an account before I submitted this bug.

Asa

Asa Packer <apacker>
Wed 22 Aug 2018 08:56:05 PM UTC, original submission:  

Hi,

I installed octave-4.4.1-w64-installer.exe on my Windows 10 1803 x64 box, and some plots that worked fine in 4.4.0 are now not working.  I am using the qt graphics toolkit.

When I do a plot of a very large array, some of the graphic elements are not visible.  For example, if I do


plot(zeros(1,150000))


there is nothing shown in my plot at all when the plot window first opens.  However, if I maximize the plot window (and click Autoscale), then the expected horizontal line appears, although it is paler than the normal plot color.  With a larger array, like length 1000000, even maximizing the window doesn't show anything.

If I rename the opengl32.dll file in octave's bin folder, then this problem goes away.  So this is not a showstopper for me.

As another data point, if I do


plot(sin((1:250000)*2*pi/250000))


then with the plot window at the default size, the top and bottom of the sine wave don't show up, although the rest of the wave does (see attached screenshot).  If I maximize the plot window, then the entire wave is visible.

Not sure what other info might be relevant, but I am happy to provide more or do other tests if it would help.

Thanks!

Asa

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44994:  plot2.png added by sergniko (42KiB - image/png)
file #44995:  plot3.png added by sergniko (22KiB - image/png)
file #44827:  plot.PNG added by None (12KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by sergniko (Updated the item)
  • -email is unavailable- added by johasixt
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by apacker (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-10 rik5 Open/ClosedOpen Closed
    2018-09-13 sergniko Attached File- Added plot2.png, #44994
        Attached File- Added plot3.png, #44995
    2018-09-03 johasixt Carbon-Copy- Added johasixt
    2018-08-24 pantxo StatusNeed Info Confirmed
        SummaryWhen plotting large arrays, some graphic elements are not visible When plotting large arrays, some graphic elements are not visible (llvmpipe Windows)
    2018-08-23 pantxo CategoryPlotting Plotting with OpenGL
        Item GroupNone Regression
        StatusNone Need Info
    2018-08-22 None Attached File- Added plot.PNG, #44827

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code