delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/28/02:51:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62EFE385840D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1682664618;
bh=Zj0V7yz7elm8S7F5DYqFCfT/NLR+AyekhHDTfQjneSc=;
h=Date:To:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=v5bAf7h7qQx6lkZa5vYwbjb9qF1E6COsgcvxe3T/iITpbpoZQoV3n02EnBLSkZjI9
lMmi+57EvuDdMOfxqe9gxQ732lypaMo0WNYGMFr/W4BjoZtL7zvaZ8AXmBzOHs9sFr
fewWrF7kOuNfykudX53deRweP7JVXrgi5ZbPxdWk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F32453858D35
x-libjamoibt: 1601
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)
To: Brian DOT Inglis AT Shaw DOT ca, cygwin AT cygwin DOT com,
"Stromeko AT nexgo DOT de" <Stromeko AT nexgo DOT de>
Message-ID: <1123023562.89986.1682664576212@mail1.libero.it>
In-Reply-To: <baf09e6c-ed50-e545-0078-8fe32d00908b@Shaw.ca>
References: <878643096 DOT 4481236 DOT 1682516096770 AT mail1 DOT libero DOT it>
<774349434 DOT 10478 DOT 1682603926417 AT mail1 DOT libero DOT it>
<9e079b92-8214-ea8f-4f48-16e6859c9888 AT Shaw DOT ca>
<876947632 DOT 45034 DOT 1682612153702 AT mail1 DOT libero DOT it>
<baf09e6c-ed50-e545-0078-8fe32d00908b AT Shaw DOT ca>
Subject: Re: problems with octave 8.2.0-1 and plotting
MIME-Version: 1.0
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Fabio Rossi via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Fabio Rossi <rossi DOT f AT inwind DOT it>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 33S6oilk023035

Hello Brian,
thanks for your suggestions, eventually I solved the problem with Achim's hint of using opengl software rendering because the graphics card is not supporting 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 <brian DOT inglis AT shaw DOT ca> ha scritto:
> 
>  
> Hi Fabio,
> 
> Are you running from a bash shell under a terminal started from the XWin Server 
> shortcut or X Applications Menu?
> 
> Those variables are defined in my shell:
> 
> 	$ echo $XDG_CURRENT_DESKTOP $XDG_MENU_PREFIX $XDG_RUNTIME_DIR
> 	X-Cygwin xwin- /run/user/######/
> 
> -- 
> Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada
> 
> La perfection est atteinte                   Perfection is achieved
> non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
> mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
>                                  -- Antoine de Saint-Exupéry
> 
> 
> 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 the XDG 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 = X-Cygwin
> >>> getenv('XDG_MENU_PREFIX')
> > ans = xwin-
> >>> getenv('XDG_RUNTIME_DIR')
> > ans =
> > 
> >>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 <brian DOT inglis AT shaw DOT ca> ha scritto:
> >>
> >>   
> >> Hi Fabio,
> >>
> >> Some packages include non-GUI or native GUI interfaces that do not require
> >> window system support.
> >>
> >> Others may dynamically support window systems if they are installed, or have
> >> separate executables for console or GUI, as octave does: octave and octave-cli.
> >>
> >> If you are using octave GUI, as it is linked against X window libraries, you
> >> need to install the X window system.
> >>
> >> If you install xinit, that will install the X Window server xorg-server, 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 define
> >> $XDG_CURRENT_DESKTOP, $XDG_MENU_PREFIX, and $XDG_RUNTIME_DIR.
> >>
> >> That should allow you to run octave GUI and display plot windows.
> >>
> >> -- 
> >> Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada
> >>
> >> La perfection est atteinte                   Perfection is achieved
> >> non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
> >> mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
> >>                                   -- Antoine de Saint-Exupéry
> >>
> >>
> >> 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 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 <rossi DOT f AT inwind DOT 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

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019