X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDE623860012 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1673536812; bh=zBesSws5vLvynNnlCLIsN5Bai4JgrCh0wl3UqvKurBU=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=CCr0ah2ZN8GFv9DaUZpwzRd3MdsOo7pTq63itDGb97WZqCfy6Sxl92AFB3kfKHOPW fARdfPccIHIsZxSNCfDy+m29Tqiq5OCddOuCrlO/3diuHj04ynB7FQInopHCX8+zpH a0Qp/6eex+JGdOom0kyjKBUjcYkx8Q0M6SI+HDos= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 203FC3858C66 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1o2x6FTQT2Djz15DHuZu9wTmCoG89k4LbJFS3zAwC9E=; b=nwmXhcgQMmwD49cXa43B+8xv+ow1tLSmWWYCirrroHSAoYqk09UYtvqkZ43gJt69+i Wxge4nKtzzXXVcfMqV6Ysjfh8K2AgVjAwHDUzWk2IbGu4M1y64nUwnPhBhnSB6PRfQZq FRbH/q+a8I/D6CEZFcgB+YjAqKPurHRco0g1xj8AZF0wa1h5RELkqQm2LjxK+3TFYeB/ kHuevb/Ux3Tcb8fEvNrWhk1wfudZAACrJNgk0CAfHws1+9BRro9beXRXFxSC1Rwvcshu jNUKyU1dHv/9T/j9wg8N+aBKnkGyAtbYqCMWYU6x+HBuqV7QBYxr2ppefHo6XaphgzEl TPrw== X-Gm-Message-State: AFqh2koGYy77NmsH4MmLP/vOEPPptU7o09DkNzvqxptvDak7JRI+fX04 mMsmzwi1wrAm3mTpJUvpeDVdT3JQrgr2cw3tUFo= X-Google-Smtp-Source: AMrXdXsw2W6peS5Eb0jRD3T64sBoXdCSkK2sL1yKNc0sUgKrtppHYrW/pTFlohQ8lGV5Ym8hYcXjRRfkAzORGBUfj7g= X-Received: by 2002:a0d:d087:0:b0:3c7:38d8:798f with SMTP id s129-20020a0dd087000000b003c738d8798fmr3479370ywd.489.1673536768871; Thu, 12 Jan 2023 07:19:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 12 Jan 2023 16:19:18 +0100 Message-ID: Subject: Re: octave doesn't work any longer with qt graphics toolkit To: Wyser Klaus Cc: "cygwin AT cygwin DOT com" X-Spam-Status: No, score=-0.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_NONE, SPF_PASS, TXREP 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: marco atzeri via Cygwin Reply-To: marco atzeri Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Thu, Jan 12, 2023 at 3:32 PM Wyser Klaus via Cygwin wrote: > > Hej--- > > I got a new computer in September and installed Cygwin/X11 and many more packages, among others Octave (I think it was 5.2 back then). I have been using cygwin and octave for 20 years already, so I'm not new to this. Well, everything worked just fine until I happened to update some cygwin packages in December, among others octave (to version 6.4). Unfortunately I didn't pay attention to what else was updated in that go, usually these regular updates (marked as "pending" in the setup) just work fine. Not this time though: octave is still working, but not the graphics output. When entering a command to plot something a figure window opens under X11, but it is just a copy of the background and doesn't show what I wanted to plot. Octave doesn't freeze, I can still work and do all the math stuff, it's just the plotting that doesn't work any longer. After some troubleshooting I found that it likely is a problem with the graphics_toolkit, I can make plots if I set it to "gnuplot" but get th > e problem when it is set to "qt" (which is the default). > > So should I use "gnuplot" then? Well, that's not really an option because gnuplot doesn't allow interaction with the figure (rotating, zooming), and some of the more complicated plotting routines don't work properly any more (e.g. contour plots). > > First I suspected this being a problem of the Octave update, but apparently it's not the case. Even when going back to Octave 5.2 I still have the same problem with the figure window. Searching the Internet didn't help, so I wonder if I'm the only one having this problem with Octave? As said above, I don't know exactly what other Cygwin packages have been updated at the same time, so in principle it is possible that there is an incompatibility with some other packages (OpenGL?) that were updated at the same time, I tried reverting some libraries but it didn't help. I also tried to isolate the problem by installing a very limited Cygwin setup from scratch, basically only X11 and Octave, nothing else. I get the exact same error even with this very restricted setup. > > When searching for help I also came across this page: https://wiki.octave.org/Octave_for_Microsoft_Windows There is a Windows version of Octave that can be installed independently from Cygwin (relying on mingw64 in my case) and that installation works well (including graphics). This is also a newer version of Octave (7.3) compared to the Cygwin package (6.4). The Windows installation is a fallback option, however, I cannot integrate it with my Cygwin environment which makes my workflows way more complicated and I would prefer to have an Octave package for Cygwin. > > So my questions are: > - Am I the only one in the Cygwin/X11 community with this kind of Octave problem? > - Is there something I can do about it (OpenGL/Qt...)? > - Will there soon be a new Octave 7 release for Cygwin that hopefully solves all my problems? > > Any help is greatly appreciated, thanks. > > ===== > Klaus Wyser > Rossby Centre > SMHI > Hi Klaus, the following works for me graphics_toolkit("qt") x=1:10; plot(x,x) can you provide your cygcheck.out as attachment ? see https://cygwin.com/problems.html About Octave 7, I am currently not very active on updating any package so do not expect anything short term. Regards Marco -- 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