bugGNU Octave - Bugs: bug #56570, unable to plot with OpenGL on...

 
 

bug #56570: unable to plot with OpenGL on Raspberry Pi 4 (4GB, Buster)

Submitted by:  Keith <keithdalby>
Submitted on:  Mon 01 Jul 2019 02:19:17 PM UTC  
 
Category:  Plotting with OpenGL Severity:  2 - Minor
Priority:  3 - Low Item Group:  Unexpected Error
Status:  Need Info Assigned to:  None
Originator Name:  Keith Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

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)

Tue 02 Jul 2019 04:35:02 PM UTC, comment #6: 

The default 'qt' toolkit (lowercase) requires a working desktop OpenGL and GLU software stack. OpenGL ES (or GLES) is OpenGL for Embedded Systems, and is frequently used instead of full OpenGL on ARM and other resource limited systems. I believe GLU is not compatible with GLES, and Octave's plotting library requires GLU, so therefore it is incompatible with GLES.

All this is to say, needs more details from someone with access to an affected system, and are there some changes we need to make to Octave to make this experience better?

Mike Miller <mtmiller>
Project Administrator
Tue 02 Jul 2019 09:00:45 AM UTC, comment #5: 

Completely on the wrong track, Qt is installed, still no luck, same errors. Working fine with GNUPlot though, so I'll just use that for now and hope someone somewhere with Debian fixes it. Thank you for your time, sorry I could not be more help.

Keith <keithdalby>
Tue 02 Jul 2019 08:53:39 AM UTC, comment #4: 

Tried to execute "graphics_toolkit("Qt")" and Qt does not seem to be installed. Running sudo apt-get install qt4-dev-tools and sudo apt-get install qtcreator. I'll update here if it's worked.

Keith <keithdalby>
Tue 02 Jul 2019 08:47:26 AM UTC, comment #3: 

I executed graphics_toolkit("gnuplot") and tried it again, I now see a plot, so it seems the issue is with Qt.

Keith <keithdalby>
Tue 02 Jul 2019 07:47:36 AM UTC, comment #2: 

I am happy to help where-ever I can, but I am afraid I am quite a novice! Does QT stand for 'Quicktime' or am I being daft? How can I check whether QT has switched from OpenGL to GLES?

With kindness

Keith

Keith <keithdalby>
Mon 01 Jul 2019 03:34:39 PM UTC, comment #1: 

It would probably have been better to report this as a Debian bug, since this likely has to do with how Octave is built for particular architectures.

It's my recollection that Debian recently switched Qt from OpenGL to GLES on ARM architectures.

Can you verify that's what's going on on your system? If that's the case, maybe it would be possible to improve how Octave detects whether OpenGL support is present or not. Help with this is certainly welcome.

Mike Miller <mtmiller>
Project Administrator
Mon 01 Jul 2019 02:19:17 PM UTC, original submission:  

On a fresh install of Raspbian Buster (from NOOBS 3.1.1) on a Raspberry Pi 4 (4GB), I used...

sudo apt-get install octave

... to install GNU Octave. Octave opened fine. I then typed the following lines to test it:

t = 0:0.01:2*pi;
x = cos(t);
plot (t, x);

Alas, I saw no plot. Instead, I was presented with the following message:

warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred in init_gl_context
warning: called from
   ancestor at line 64 column 9
   axes at line 68 column 7
   newplot at line 158 column 10
   plot at line 222 column 9
...

The message goes on like that. A white plot window appears with no interface at all, no 'close window' buttons, no minimise buttons, just a white window. It can be closed via the taskbar. Whenever I click in the window, it just produces more warnings.

I could not see this reported here already, so I thought I would ask in case anyone can see what dopey mistake I have made. I was unable to do a "sudo apt-get update" before trying to install the package because Buster is not live yet, ostensibly I have to wait for a few more days yet.

With kindness

Keith

Keith <keithdalby>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by keithdalby (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-02 mtmiller Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        Item GroupNone => Unexpected Error
        Releaseother => dev
        SummaryGNU Octave unable to plot on Raspberry Pi 4 (4GB, Buster) => unable to plot with OpenGL on Raspberry Pi 4 (4GB, Buster)
    2019-07-01 mtmiller StatusNone => Need Info

    Back to the top


    Powered by Savane 3.5