X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
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
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
Message-ID: <e9dc74d9-f4a9-0d57-2270-d84453c06764@dronecode.org.uk>
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 <cygwin@cygwin.com>
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 <jon.turney@dronecode.org.uk>
In-Reply-To: <20220621201800.4cf9fc45bfa42ed7fdadef59@nifty.ne.jp>
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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 25LBWNev007118

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


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

