octave qt graphical interface fails
Bug #1843629 reported by
Jussi Eloranta
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
Starting octave qt-based gui on either rapsberry pi 3 or 4 (either with or without the kernel graphics driver) does not work. It functions through the couple of initial dialogs (on first run) but the main window is unresponsive and the octave process eats 100% CPU. The screen is also garbled. The only way to get rid of it is to do kill -9 ...
Even the text based octave does not work too well. Plotting does not work (opens the window but nothing actually shows).
This is on up to date Raspbian Buster (as of 9/11/2019).
To post a comment you must log in.
Following the upgrade RP4 from stetch to buster.
testfile "im1.m"
clear "thumb0000. bmp");
%close all
I = imread(
figure;
imagesc(I);
colormap 'gray'
colorbar;
grid;
Octave fails to plot SOFTWARE= true
On the raspbian IRC it was recommended to try with LIBGL_ALWAYS_
This did not help.
I posted on octave IRC and was told that this was a raspbian bug.
GNU Octave - Bugs: PMbug #56570, unable to plot with OpenGL on... [Savannah]
LIBGL_ALWAYS_ SOFTWARE= true octave
GNU Octave, version 4.4.1
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "arm-unknown- linux-gnueabihf ".
Additional information about Octave is available at https:/ /www.octave. org.
Please contribute if you find this software useful. /www.octave. org/get- involved. html
For more information, visit https:/
Read https:/ /www.octave. org/bugs. html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
octave:1> ls *.bmp
r1thumb0000.bmp r4thumb0000.bmp t250thumb.bmp t300thumb.bmp tt.bmp
r2thumb0000.bmp r5thumb0000.bmp t260thumb.bmp thumb0000.bmp
r3thumb0000.bmp r6thumb0000.bmp t275thumb.bmp thumb.bmp
octave:2> im1
warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred in init_gl_context
warning: called from
allchild at line 40 column 7
newplot at line 202 column 11
image at line 113 column 11
imagesc at line 98 column 12
im1 at line 5 column 1
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'text' object
warning: called from
allchild at line 40 column 7
newplot at line 202 column 11
image at line 113 column 11
imagesc at line 98 column 12
im1 at line 5 column 1
warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred in init_gl_context
warning: called from
newplot at line 203 column 11
image at line 113 column 11
imagesc at line 98 column 12
im1 at line 5 column 1
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'text' object
warning: called from
newplot at line 203 column 11
image at line 113 column 11
imagesc at line 98 column 12
im1 at line 5 column 1
octave:3> warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred in init_gl_context
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'text' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'image' object
warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred drawing 'axes' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'text' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'image' object
warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred drawing 'axes' object
warning: opengl_renderer: Error 'invalid enumerant' (1280) occurred in init_gl_context
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 'text' object
warning: opengl...