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

 
 

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

Submitted by:  None
Submitted on:  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:  Open Release:  4.4.1
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

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).

(file #44994, file #44995)

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>
Project 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>
Project 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

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

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 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.3