From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 28BD03858D33 for ; Thu, 27 Apr 2023 15:48:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28BD03858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id s3ktph6VmLAoIs3r1pdOUz; Thu, 27 Apr 2023 15:48:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1682610499; bh=uJR8geUs73kFXSTmFPAR/2dLR3VZvlj/Ti1WPel3Hvo=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=OVScPWIJx5xRNLP7WEEK/nzpj80zMIcrrF7n3Ud/KO8qzIaGsShjuo9xcxv4YSKb3 jbEbFs1DLTzeTnbS3itQcNiRturxC2cd6oNyBHzifphrHvrDYQ0pEbh9MPIPcyhBZW FstSeSK+HGAC0vFkpg8wTEPtlla4NTuVVz4wZY6lNIMj28o7slPJZb9Z5Fxrq4rzhW JqffksxXfK27qE388bWMPd1e2gQ/f0Hrc+HETtHS3ebeUsd++RY5tRZvb+cQDqnvCg a9K4uYBz9pVQPOv+BCzRwNZiXCroYxPM44XFCS5NWlMK68ynHja5ADDuaFbIMphsyJ OKjlO+tj92cKA== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id s3r0pWoUlcyvus3r1pafd2; Thu, 27 Apr 2023 15:48:19 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=644a9943 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=ojV8EbLLAAAA:8 a=_Zpv7ML5iqrifOONK00A:9 a=QEXdDO2ut3YA:10 a=jTFjQPTn9V0A:10 a=McKLNElF6pUA:10 a=9gjfPy3qBrMA:10 a=K8rvOpeGrk0A:10 a=kvcKyrorUwu2LujBxC7h:22 Message-ID: <9e079b92-8214-ea8f-4f48-16e6859c9888@Shaw.ca> Date: Thu, 27 Apr 2023 09:48:18 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: cygwin@cygwin.com Subject: Re: problems with octave 8.2.0-1 and plotting Content-Language: en-CA To: cygwin@cygwin.com References: <878643096.4481236.1682516096770@mail1.libero.it> <774349434.10478.1682603926417@mail1.libero.it> Cc: Fabio Rossi From: Brian Inglis Organization: Inglis In-Reply-To: <774349434.10478.1682603926417@mail1.libero.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfPKRlSxChonXWWSZqzB/2RqXVD+SkSAv3xu2OAkroHvH0rKAQ9e1Ot3cqx8shqVGXQBZi9eWh4VcZSW2S87jN5o4eNm0lwKQZbS2BGRo7l+FwkbdiV0a gVSsDPyYwSaGe/BMeZKU+cTWsCBdM0V+1EkMqQp6nRLxWLWIIpsU9ylwtWNgr73wVkAf5oHCF0RMKKaIPxLfGvSrjR0IYbQbxsQ= X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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: 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 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