From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from libero.it (smtp-17-i2.italiaonline.it [213.209.12.17]) by sourceware.org (Postfix) with ESMTPS id 5E7663858D33 for ; Thu, 27 Apr 2023 16:15:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E7663858D33 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=inwind.it Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=inwind.it Received: from oxapps-32-144.iol.local ([10.101.8.190]) by smtp-17.iol.local with ESMTPA id s4HhpvGTuUST5s4HhpLccz; Thu, 27 Apr 2023 18:15:53 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inwind.it; s=s2014; t=1682612153; bh=mbJRVzVrnf+vi2zxnRcEV4kcYa8rcQz1+oVGX0umdks=; h=From; b=KCgj1pdjEQH0Hv3tdt8QOb7v9MA9gdUCw0Ro8N1Q8zTelImOm+Ew+UllpROr9OdC5 OVm2n0GrgYGP9d+AbYViK45KdbWTN1TZht2fbSq51c6cIbvZgl4IkaVWXiKFwTlun7 YyZXiXXZ23uK+2dp9L/gxIESECeQ5oYCarGnaPPxL9An6Xz6sxzQajzcXmsEVoTuO9 hyUGqCJTn18vBA9+nUgsJvQghZ8SEV+Auw6v9DtqWeudG9PCRiv+aZsa9roExUgB8G mWp6LRaLlZs0p1uPoukLLDj2y5OUAAb4jAtJOj+aoE2YuH+DfkZcmlh+zR4G0ywHbA KxksOaz11uD9g== X-CNFS-Analysis: v=2.4 cv=AZt3XVbG c=1 sm=1 tr=0 ts=644a9fb9 cx=a_exe a=+LyvvGPX93CApvOVpnXrdQ==:117 a=5L4eu68NsVIA:10 a=IkcTkHD0fZMA:10 a=_Dj-zB-qAAAA:8 a=ojV8EbLLAAAA:8 a=fyRwjewBOObJNIvjpzQA:9 a=QEXdDO2ut3YA:10 a=jTFjQPTn9V0A:10 a=McKLNElF6pUA:10 a=9gjfPy3qBrMA:10 a=K8rvOpeGrk0A:10 a=MmULgxcKb6_lWsvg2Y-T:22 a=kvcKyrorUwu2LujBxC7h:22 Date: Thu, 27 Apr 2023 18:15:53 +0200 (CEST) From: Fabio Rossi To: cygwin@cygwin.com, Brian Inglis Message-ID: <876947632.45034.1682612153702@mail1.libero.it> In-Reply-To: <9e079b92-8214-ea8f-4f48-16e6859c9888@Shaw.ca> References: <878643096.4481236.1682516096770@mail1.libero.it> <774349434.10478.1682603926417@mail1.libero.it> <9e079b92-8214-ea8f-4f48-16e6859c9888@Shaw.ca> Subject: Re: problems with octave 8.2.0-1 and plotting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev52 X-Originating-IP: 140.105.207.24 X-Originating-Client: open-xchange-appsuite x-libjamsun: tOftjfw4JA0VDrgfqiA7q5al6PtFIT1e x-libjamv: yRMpSMjvbZw= X-CMAE-Envelope: MS4xfKHnIkLpr4V76W1oPEMy2Q6bmRBK9AqIWWzAVp9y/otKVRjIO+su47Xuo5m+1VX3cETUWfBV5oLsm9Fk5fi0r7QVuUJSz1EZmyrUnOL54ibOvNozWAJU 6x+tIXVZdA5DfSbiOgRXdup10KxfZinRhOlCL3xdEk4pIlUB/jHVVes2KOYfXSgALxDA8gyFfS3DkqLmtNdVr5txaOkonjG8dye81L0+7DHRe1RhxIafg0+3 THbLbPzgLUg9gJXlT5TcEw== X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello Brians, thanks for the suggestions. I had already installed the xorg server and all= the packages you mentioned. But nevertheless I get the errors reported in = the original email, both if I start octave from the shell or by using the X= DG menu which starts octave with the GUI. In particular, in the second case I confirm all the opengl messages already= reported and I get the following results in the octave command line: >> getenv('XDG_CURRENT_DESKTOP') ans =3D X-Cygwin >> getenv('XDG_MENU_PREFIX') ans =3D xwin- >> getenv('XDG_RUNTIME_DIR') ans =3D >From the shell all of the previous variables are of course empty. With the = past versions of octave it was plotting when run from the bash. Thanks, Fabio > Il 27/04/2023 17:48 Brian Inglis ha scritto: >=20 > =20 > Hi Fabio, >=20 > Some packages include non-GUI or native GUI interfaces that do not requir= e=20 > window system support. >=20 > Others may dynamically support window systems if they are installed, or h= ave=20 > separate executables for console or GUI, as octave does: octave and octav= e-cli. >=20 > If you are using octave GUI, as it is linked against X window libraries, = you=20 > need to install the X window system. >=20 > If you install xinit, that will install the X Window server xorg-server, = XDG=20 > components xdg-user-dirs, xwin-xdg-menu, X Window clients. >=20 > If you then run it via the XWin Server Start Menu shortcut, it will defin= e=20 > $XDG_CURRENT_DESKTOP, $XDG_MENU_PREFIX, and $XDG_RUNTIME_DIR. >=20 > That should allow you to run octave GUI and display plot windows. >=20 > --=20 > Take care. Thanks, Brian Inglis Calgary, Alberta, Canada >=20 > La perfection est atteinte Perfection is achieved > non pas lorsqu'il n'y a plus rien =C3=A0 ajouter not when there is no mo= re to add > mais lorsqu'il n'y a plus rien =C3=A0 retirer but when there is no mo= re to cut > -- Antoine de Saint-Exup=C3=A9ry >=20 >=20 > On 2023-04-27 07:58, Fabio Rossi via Cygwin wrote: > > 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 buil= t for Windows executes correctly the same command. I have observed the same= behaviour also on other Windows machines running Win7 or other graphic ada= pters. > >=20 > > Fabio > >> Il 26/04/2023 15:34 Fabio Rossi ha scritto: > >> > >> =20 > >> 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 fro= m the command line > >> > >> $ octave > >> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-X= XXX+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 repor= ts. > >> 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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing '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 dr= awing 'uimenu' object > >> warning: opengl_renderer: Error 'invalid operation' (1282) occurred dr= awing 'uimenu' object > >> warning: opengl_renderer: Error 'invalid operation' (1282) occurred dr= awing 'uimenu' object > >> warning: opengl_renderer: Error 'invalid operation' (1282) occurred dr= awing 'uitoolbar' object > >> warning: opengl_texture::create: the opengl library in use doesn't sup= port images with either dimension larger than -367397472. Not rendering. > >> > >> The plot window is opened but becomes unresponsive, it is impossible t= o close it. The same happens if I start octave with the --gui option. The s= ame happens also with latest stable 6.4.0-1 version