From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-041.btinternet.com (mailomta27-sa.btinternet.com [213.120.69.33]) by sourceware.org (Postfix) with ESMTPS id 6096C38582BA for ; Tue, 21 Jun 2022 11:31:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6096C38582BA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from sa-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.38.6]) by sa-prd-fep-041.btinternet.com with ESMTP id <20220621113119.JFLR3213.sa-prd-fep-041.btinternet.com@sa-prd-rgout-003.btmx-prd.synchronoss.net> for ; Tue, 21 Jun 2022 12:31:19 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 613942902B1D0E94 X-Originating-IP: [86.139.167.41] X-OWM-Source-IP: 86.139.167.41 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvfedrudeffedggeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeekueekueeuudekhfefueeftdejjeefjefhtdfftddtvedvleehgedvffdtgeeitdenucffohhmrghinheptgihghifihhnrdgtohhmnecukfhppeekiedrudefledrudeijedrgedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdehngdpihhnvghtpeekiedrudefledrudeijedrgedupdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhm X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.105] (86.139.167.41) by sa-prd-rgout-003.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 613942902B1D0E94 for cygwin@cygwin.com; Tue, 21 Jun 2022 12:31:19 +0100 Message-ID: Date: Tue, 21 Jun 2022 12:31:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: fltk does not work on cygwin version octave-6.4.0 Content-Language: en-GB To: The Cygwin Mailing List References: <1014671988.1220984.1655788512175.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1014671988.1220984.1655788512175.JavaMail.yahoo@mail.yahoo.co.jp> <20220621184441.3cb63f4b7df9c1f68d114878@nifty.ne.jp> <708606044.1246885.1655808489712.JavaMail.yahoo@mail.yahoo.co.jp> <20220621201800.4cf9fc45bfa42ed7fdadef59@nifty.ne.jp> From: Jon Turney In-Reply-To: <20220621201800.4cf9fc45bfa42ed7fdadef59@nifty.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3570.4 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2022 11:31:22 -0000 On 21/06/2022 12:18, Takashi Yano wrote: > On Tue, 21 Jun 2022 19:48:09 +0900 (JST) > Tatsuro MATSUOKA wrote: >>> From: "Takashi Yano" >>> To: "cygwin> >> Cc: "Tatsuro MATSUOKA" >>> Date: 2022/06/21 火 18:45 >>> Subject: Re: fltk does not work on cygwin version octave-6.4.0 >> >>> On Tue, 21 Jun 2022 14:15:12 +0900 (JST) >>> Tatsuro MATSUOKA wrote: >>>> fltk does not work on cygwin version octave-6.4.0 >>>> >>>> octave:1> graphics_toolkit fltk >>>> octave:2> plot(1:10); >>>> Insufficient GL support >>>> error: unable to plot due to insufficient OpenGL support >>>> >>>> plot windows flashes and disappear immediately >>> [...] > > However, it works as expected, except that the following error message > appears. > libGL error: Windows-DRI extention disabled for GDI Generic renderer > > $ env LIBGL_ALWAYS_SOFTWARE=1 octave > octave:1> graphics_toolkit fltk > octave:2> plot(1:10); > > also works. Unfortunately, LIBGL_ALWAYS_SOFTWARE doesn't behave the same everywhere, since the set of GLX visuals available with it is based on those available for direct rendering. This seems similar to [1], which I made some changes in libGL to try to address, but unfortunately that seems to never been resolved to a root cause. The "Insufficient GL support" message comes from octave, but since it doesn't say what GL support it needs but thinks is missing, it's hard to tell what the problem actually is. I guess finding where that comes from in the octave source code would be a good starting place. [1] https://cygwin.com/pipermail/cygwin/2018-June/237659.html