From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by sourceware.org (Postfix) with ESMTPS id 203FC3858C66 for ; Thu, 12 Jan 2023 15:19:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 203FC3858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-4b6255ce5baso243319827b3.11 for ; Thu, 12 Jan 2023 07:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1o2x6FTQT2Djz15DHuZu9wTmCoG89k4LbJFS3zAwC9E=; b=jClvBPOoXZxMcxVEpMWNcFz9BIPvviUbGCKbP5Do4pAu5t48XYTKMoanqDIFrNPW+B kRPOx6xq6xBdMFZfRBcWV8QIBBNh/pkwLqthwDBxgSQmK9QCtfSS4c6HMDRpq35nXMaN IrZb+0fHXLme1eT+59D3BwexzImZMuWQHswZHvfxIHw3SNPyYC7G/jkVZXibXoqLwNCw bX/WE12/6lLVUe5s1Ya77tyy2s557WRF/ksQpNFwri+/W16bV7DbISJTaO9/cx11Vbl/ 5oJeIyXnDcHEZkeYZAE8I+CvTAeD9R1zSuV8FoaZz5RW7g0pw/Lv69ZjQMDlF5C4za7x /KpQ== 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: From: marco atzeri 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@cygwin.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 List-Id: 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 u= sing 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 up= dates (marked as "pending" in the setup) just work fine. Not this time thou= gh: octave is still working, but not the graphics output. When entering a c= ommand 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 plotti= ng 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 i= t 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 mor= e (e.g. contour plots). > > First I suspected this being a problem of the Octave update, but apparent= ly it's not the case. Even when going back to Octave 5.2 I still have the s= ame 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 tr= ied reverting some libraries but it didn't help. I also tried to isolate th= e 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 th= is 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 newe= r 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 woul= d 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 sol= ves all my problems? > > Any help is greatly appreciated, thanks. > > =3D=3D=3D=3D=3D > Klaus Wyser > Rossby Centre > SMHI > Hi Klaus, the following works for me graphics_toolkit("qt") x=3D1: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