I forgot to mention that the test machine is running Windows 10 Pro 64 bit with 
a ATI FirePro 3800 graphics card. On the same machine, octave built for Windows 
executes correctly the same command. I have observed the same behaviour also on 
other Windows machines running Win7 or other graphic adapters.

Fabio
> Il 26/04/2023 15:34 Fabio Rossi <ross...@inwind.it> ha scritto:
> 
>  
> I have installed latest test version of octave 8.2.0-1. When I try to plot 
> using a simple command like "plot(1,1)" I get the following errors from the 
> command line
> 
> $ octave
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
> '/tmp/runtime-XXXX+user'
> GNU Octave, version 8.2.0
> Copyright (C) 1993-2023 The Octave Project Developers.
> 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 "x86_64-pc-cygwin".
> 
> Additional information about Octave is available at https://www.octave.org.
> 
> Please contribute if you find this software useful.
> For more information, visit https://www.octave.org/get-involved.html
> 
> 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> plot(1,1)
> wglMakeCurrent error: 00000006
> wglMakeCurrent error: 00000006
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred in 
> init_gl_context
> warning: called from
>     __uiobject_split_args__ at line 61 column 9
>     uimenu at line 94 column 13
>     __add_default_menu__ at line 59 column 5
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __uiobject_split_args__ at line 61 column 9
>     uimenu at line 94 column 13
>     __add_default_menu__ at line 59 column 5
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'figure' object
> warning: called from
>     __uiobject_split_args__ at line 61 column 9
>     uimenu at line 94 column 13
>     __add_default_menu__ at line 59 column 5
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> wglMakeCurrent error: 00000006
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred in 
> init_gl_context
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uitoolbar' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'figure' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred in 
> init_gl_context
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uitoolbar' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'figure' object
> warning: called from
>     __add_default_menu__ at line 165 column 3
>     figure at line 97 column 5
>     newplot at line 120 column 10
>     plot at line 234 column 9
> 
> octave:2> wglMakeCurrent error: 00000006
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred in 
> init_gl_context
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uimenu' object
> warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing 
> 'uitoolbar' object
> warning: opengl_texture::create: the opengl library in use doesn't support 
> images with either dimension larger than -367397472. Not rendering.
> 
> The plot window is opened but becomes unresponsive, it is impossible to close 
> it. The same happens if I start octave with the --gui option. The same 
> happens also with latest stable 6.4.0-1 version
> 
> Thanks for the help,
> Fabio

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to