From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from libero.it (smtp-35-i2.italiaonline.it [213.209.12.35]) by sourceware.org (Postfix) with ESMTPS id F32453858D35 for ; Fri, 28 Apr 2023 06:49:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F32453858D35 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-17-101.iol.local ([10.101.8.111]) by smtp-35.iol.local with ESMTPA id sHvEpMkRHCCA2sHvEp0Pq4; Fri, 28 Apr 2023 08:49:36 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inwind.it; s=s2014; t=1682664576; bh=VKUrJuDSkQ39DcTgDuf+2hJAVMS8XqpmpgPmgoXtqlk=; h=From; b=h11I7DeXOFosIRy/EseBAhCL2kqqe07hxk4r2GPOoOOdiNNzx5vXaBt5qZm8t4FkK /9bCTgyxMKVijB2WhcFkAZINJcrGQB9BgA4CPubWbEB/Rqpy1VEPfOtAh77AzgESNM Zh0Fa44l/jhCnT7mvP8GHAVmlQuKVDNApTvxWtBBHq8atyvLFXUCEstZi1WYUZFgyk +g0tPzBlKqMPlsx+wHftGIftSS0XDyPJGX7sLlEkrS6/UmIbyW9G5G1vsdqBlIJkw/ qCa5bzlxkUwv/7npsVOpUKUYd/138tT+z903XmR5T2YWeZoqLNIOj7GzqISV46IN2s qthLOPDLykQnQ== X-CNFS-Analysis: v=2.4 cv=AaV3XVbG c=1 sm=1 tr=0 ts=644b6c80 cx=a_exe a=bYEtR7erEwu88EdYyiKxXA==:117 a=vuDWK2C1uh0A:10 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=_Dj-zB-qAAAA:8 a=ojV8EbLLAAAA:8 a=OPyVTt_EG31h409Zc3gA:9 a=QEXdDO2ut3YA:10 a=mtrZLSen1TQA:10 a=jTFjQPTn9V0A:10 a=McKLNElF6pUA:10 a=9gjfPy3qBrMA:10 a=K8rvOpeGrk0A:10 a=2tmQZ0xKXJQNrz3RtCSa:22 a=sRI3_1zDfAgwuvI8zelB:22 a=kvcKyrorUwu2LujBxC7h:22 Date: Fri, 28 Apr 2023 08:49:36 +0200 (CEST) From: Fabio Rossi To: Brian.Inglis@Shaw.ca, cygwin@cygwin.com, "Stromeko@nexgo.de" Message-ID: <1123023562.89986.1682664576212@mail1.libero.it> In-Reply-To: References: <878643096.4481236.1682516096770@mail1.libero.it> <774349434.10478.1682603926417@mail1.libero.it> <9e079b92-8214-ea8f-4f48-16e6859c9888@Shaw.ca> <876947632.45034.1682612153702@mail1.libero.it> 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: 95.248.132.173 X-Originating-Client: open-xchange-appsuite x-libjamsun: XlBMFYvvLPgJW6Oauk4FsWvcrk12zZkv x-libjamv: uB7/S9OReh4= X-CMAE-Envelope: MS4xfBBROCcFWFB+PLlgZjdJCQWCIL1vrmu9GXg+E4N5NTcPE/ntkGnfcLdMQd0XMNt019i56jxQGywbeJ/uyKNSbAlMLdx3s2kIyan6injmkb9H12l3RNtO St+wnshhsWuUkZo4nXoNh2PeBVdoqs2GXf1atWFhhPoPii20LCHJ+a1szAd8OvfYAcb8qVWN42KNYSmd8908f7eDS47fXesgJQENY6W3JbQPTvGOMBeVnPtY nmzApDlRrMOpAlYEXmRpr1zsjd4pLAaYbm6zSaRqov7DGqEvmV4sbsRMqM27bq/R 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 Brian, thanks for your suggestions, eventually I solved the problem with Achim's h= int of using opengl software rendering because the graphics card is not sup= porting all opengl requirements. I have followed this guide: https://x.cygwin.com/docs/ug/using-glx.html Fabio > Il 27/04/2023 18:30 Brian Inglis ha scritto: >=20 > =20 > Hi Fabio, >=20 > Are you running from a bash shell under a terminal started from the XWin = Server=20 > shortcut or X Applications Menu? >=20 > Those variables are defined in my shell: >=20 > =09$ echo $XDG_CURRENT_DESKTOP $XDG_MENU_PREFIX $XDG_RUNTIME_DIR > =09X-Cygwin xwin- /run/user/######/ >=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 10:15, Fabio Rossi wrote: > > 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 t= he XDG menu which starts octave with the GUI. > >=20 > > In particular, in the second case I confirm all the opengl messages alr= eady reported and I get the following results in the octave command line: > >=20 > >>> getenv('XDG_CURRENT_DESKTOP') > > ans =3D X-Cygwin > >>> getenv('XDG_MENU_PREFIX') > > ans =3D xwin- > >>> getenv('XDG_RUNTIME_DIR') > > ans =3D > >=20 > >>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. > >=20 > > Thanks, > > Fabio > >=20 > >> Il 27/04/2023 17:48 Brian Inglis ha scritto: > >> > >> =20 > >> Hi Fabio, > >> > >> Some packages include non-GUI or native GUI interfaces that do not req= uire > >> window system support. > >> > >> Others may dynamically support window systems if they are installed, o= r have > >> separate executables for console or GUI, as octave does: octave and oc= tave-cli. > >> > >> If you are using octave GUI, as it is linked against X window librarie= s, you > >> need to install the X window system. > >> > >> If you install xinit, that will install the X Window server xorg-serve= r, XDG > >> components xdg-user-dirs, xwin-xdg-menu, X Window clients. > >> > >> If you then run it via the XWin Server Start Menu shortcut, it will de= fine > >> $XDG_CURRENT_DESKTOP, $XDG_MENU_PREFIX, and $XDG_RUNTIME_DIR. > >> > >> That should allow you to run octave GUI and display plot windows. > >> > >> --=20 > >> Take care. Thanks, Brian Inglis Calgary, Alberta, Canada > >> > >> La perfection est atteinte Perfection is achieved > >> non pas lorsqu'il n'y a plus rien =C3=A0 ajouter not when there is no= more to add > >> mais lorsqu'il n'y a plus rien =C3=A0 retirer but when there is no= more to cut > >> -- Antoine de Saint-Exup=C3=A9ry > >> > >> > >> On 2023-04-27 07:58, Fabio Rossi via Cygwin wrote: > >>> I forgot to mention that the test machine is running Windows 10 Pro 6= 4 bit with a ATI FirePro 3800 graphics card. On the same machine, octave bu= ilt for Windows executes correctly the same command. I have observed the sa= me behaviour also on other Windows machines running Win7 or other graphic a= dapters. > >>> > >>> 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 t= o plot using a simple command like "plot(1,1)" I get the following errors f= rom 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.octa= ve.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 rep= orts. > >>>> 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 s= upport 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