public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* fltk does not work on cygwin version octave-6.4.0
       [not found] <1014671988.1220984.1655788512175.JavaMail.yahoo.ref@mail.yahoo.co.jp>
@ 2022-06-21  5:15 ` Tatsuro MATSUOKA
  2022-06-21  9:44   ` Takashi Yano
  2022-06-21 17:05   ` Marco Atzeri
  0 siblings, 2 replies; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-21  5:15 UTC (permalink / raw)
  To: cygwin

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

fltk graphics_toolkit works octave on native windows.

Tasuro


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21  5:15 ` fltk does not work on cygwin version octave-6.4.0 Tatsuro MATSUOKA
@ 2022-06-21  9:44   ` Takashi Yano
  2022-06-21 10:48     ` Tatsuro MATSUOKA
  2022-06-21 17:05   ` Marco Atzeri
  1 sibling, 1 reply; 16+ messages in thread
From: Takashi Yano @ 2022-06-21  9:44 UTC (permalink / raw)
  To: cygwin; +Cc: Tatsuro MATSUOKA

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

I guess it depends on GPU. What GPU do you use?
It almost works in my environment except for that it needs
'Reset Figure' to draw. Without 'Reset figure', the plot area
is filled gray. My GPU is GeForce GTX 750 Ti.

Did you try LIBGL_ALWAYS_SOFTWARE=1 ?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21  9:44   ` Takashi Yano
@ 2022-06-21 10:48     ` Tatsuro MATSUOKA
  2022-06-21 11:18       ` Takashi Yano
  0 siblings, 1 reply; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-21 10:48 UTC (permalink / raw)
  To: Takashi Yano, cygwin; +Cc: Tatsuro MATSUOKA

> 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
> 
> I guess it depends on GPU. What GPU do you use?
> It almost works in my environment except for that it needs
> 'Reset Figure' to draw. Without 'Reset figure', the plot area
> is filled gray. My GPU is GeForce GTX 750 Ti.
> 
My machine is very old.
CPU Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz   2.27 GHz
GPU Intel(R) HD Graphics

I will try relatively new machine (parchased in 2020.) day after tomorrow.

> Did you try LIBGL_ALWAYS_SOFTWARE=1 ?
I tried it. But the result is the same.

Tatsuro 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21 10:48     ` Tatsuro MATSUOKA
@ 2022-06-21 11:18       ` Takashi Yano
  2022-06-21 11:25         ` Takashi Yano
  2022-06-21 11:31         ` Jon Turney
  0 siblings, 2 replies; 16+ messages in thread
From: Takashi Yano @ 2022-06-21 11:18 UTC (permalink / raw)
  To: cygwin

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
> > 
> > I guess it depends on GPU. What GPU do you use?
> > It almost works in my environment except for that it needs
> > 'Reset Figure' to draw. Without 'Reset figure', the plot area
> > is filled gray. My GPU is GeForce GTX 750 Ti.
> > 
> My machine is very old.
> CPU Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz   2.27 GHz
> GPU Intel(R) HD Graphics

I have tried on very similar machine:
CPU Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
GPU Intel(R) HD Graphics

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.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21 11:18       ` Takashi Yano
@ 2022-06-21 11:25         ` Takashi Yano
  2022-06-21 11:31         ` Jon Turney
  1 sibling, 0 replies; 16+ messages in thread
From: Takashi Yano @ 2022-06-21 11:25 UTC (permalink / raw)
  To: cygwin; +Cc: Tatsuro MATSUOKA, Tatsuro MATSUOKA

On Tue, 21 Jun 2022 20:18:00 +0900
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
> > > 
> > > I guess it depends on GPU. What GPU do you use?
> > > It almost works in my environment except for that it needs
> > > 'Reset Figure' to draw. Without 'Reset figure', the plot area
> > > is filled gray. My GPU is GeForce GTX 750 Ti.
> > > 
> > My machine is very old.
> > CPU Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz   2.27 GHz
> > GPU Intel(R) HD Graphics
> 
> I have tried on very similar machine:
> CPU Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
> GPU Intel(R) HD Graphics

Driver version for Intel(R) HD Graphics is as follows:
Provider: Intel Coporation
Date: 2012/11/26
Version: 8.15.10.2900

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21 11:18       ` Takashi Yano
  2022-06-21 11:25         ` Takashi Yano
@ 2022-06-21 11:31         ` Jon Turney
  1 sibling, 0 replies; 16+ messages in thread
From: Jon Turney @ 2022-06-21 11:31 UTC (permalink / raw)
  To: The Cygwin Mailing List

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21  5:15 ` fltk does not work on cygwin version octave-6.4.0 Tatsuro MATSUOKA
  2022-06-21  9:44   ` Takashi Yano
@ 2022-06-21 17:05   ` Marco Atzeri
  2022-06-22  1:49     ` Tatsuro MATSUOKA
  1 sibling, 1 reply; 16+ messages in thread
From: Marco Atzeri @ 2022-06-21 17:05 UTC (permalink / raw)
  To: cygwin

On 21.06.2022 07:15, 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
> 
> fltk graphics_toolkit works octave on native windows.
> 
> Tasuro
> 
> 

Hi Tatsuro,

in general the fltk interface is a deprecated one
and upstream was talking to remove it.

It never performed good enough on any platform and
has a serious bug of rounding.

My suggestion for toolkits:

with octave-cli use gnuplot
with octave use QT

Regards
Marco

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-21 17:05   ` Marco Atzeri
@ 2022-06-22  1:49     ` Tatsuro MATSUOKA
  2022-06-22  3:53       ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-22  1:49 UTC (permalink / raw)
  To: Marco Atzeri, cygwin

> ----- Original Message -----
> From: "Marco Atzeri" 
> To: "cygwin
> Date: 2022/06/22 水 02:06
> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> On 21.06.2022 07:15, 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
> > 
> > fltk graphics_toolkit works octave on native windows.
> > 
> > Tasuro
> > 
> > 
> 
> Hi Tatsuro,
> 
> in general the fltk interface is a deprecated one
> and upstream was talking to remove it.
> 
> It never performed good enough on any platform and
> has a serious bug of rounding.
> 
> My suggestion for toolkits:
> 
> with octave-cli use gnuplot
> with octave use QT
> 
> Regards
> Marco

Unfortunately in my PC, we cannot see plot on qt because plot window is (case --gui)  or black (case --no-gui).

Tatsuro 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-22  1:49     ` Tatsuro MATSUOKA
@ 2022-06-22  3:53       ` Tatsuro MATSUOKA
  2022-06-22 10:37         ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-22  3:53 UTC (permalink / raw)
  To: Marco Atzeri, cygwin

> > ----- Original Message -----
> > From: "Marco Atzeri" 
> > To: "cygwin
> > Date: 2022/06/22 水 02:06
> > Subject: Re: fltk does not work on cygwin version octave-6.4.0
> > On 21.06.2022 07:15, 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
> > > 
> > > fltk graphics_toolkit works octave on native windows.
> > > 
> > > Tasuro
> > > 
> > > 
> > 
> > Hi Tatsuro,
> > 
> > in general the fltk interface is a deprecated one
> > and upstream was talking to remove it.
> > 
> > It never performed good enough on any platform and
> > has a serious bug of rounding.
> > 
> > My suggestion for toolkits:
> > 
> > with octave-cli use gnuplot
> > with octave use QT
> > 
> > Regards
> > Marco
> 
> Unfortunately in my PC, we cannot see plot on qt because plot window is (case --gui)  or black (case --no-gui).
Sorry I forgot to write a word.

Unfortunately in my PC, we cannot see plot on qt because plot window is white (case --gui)  or black (case --no-gui).

Tatsuro


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-22  3:53       ` Tatsuro MATSUOKA
@ 2022-06-22 10:37         ` Tatsuro MATSUOKA
  2022-06-22 19:33           ` Marco Atzeri
  0 siblings, 1 reply; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-22 10:37 UTC (permalink / raw)
  To: Marco Atzeri, cygwin

> ----- Original Message -----
> From: "Tatsuro MATSUOKA" 
> To: "Marco Atzeri"; "cygwin
> Date: 2022/06/22 水 12:53
> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> > > ----- Original Message -----
> > > From: "Marco Atzeri" 
> > > To: "cygwin
> > > Date: 2022/06/22 水 02:06
> > > Subject: Re: fltk does not work on cygwin version octave-6.4.0
> > > On 21.06.2022 07:15, 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
> > > > 
> > > > fltk graphics_toolkit works octave on native windows.
> > > > 
> > > > Tasuro
> > > > 
> > > > 
> > > 
> > > Hi Tatsuro,
> > > 
> > > in general the fltk interface is a deprecated one
> > > and upstream was talking to remove it.
> > > 
> > > It never performed good enough on any platform and
> > > has a serious bug of rounding.
> > > 
> > > My suggestion for toolkits:
> > > 
> > > with octave-cli use gnuplot
> > > with octave use QT
> > > 
> > > Regards
> > > Marco
> > 
> > Unfortunately in my PC, we cannot see plot on qt because plot window is (case --gui)  or black (case --no-gui).
> Sorry I forgot to write a word.
> 
> Unfortunately in my PC, we cannot see plot on qt because plot window is white (case --gui)  or black (case --no-gui).
> 
> Tatsuro
Is the below related to the issue?

>> __opengl_info__
warning: __opengl_info__: can not obtain OpenGL information
warning: called from
    __opengl_info__ at line 69 column 5

Similar behaviors happen qt graphics on octave-7.1.0 on native Windows.

Tatsuro


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-22 10:37         ` Tatsuro MATSUOKA
@ 2022-06-22 19:33           ` Marco Atzeri
  2022-06-22 23:05             ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 16+ messages in thread
From: Marco Atzeri @ 2022-06-22 19:33 UTC (permalink / raw)
  To: Tatsuro MATSUOKA, cygwin

On 22.06.2022 12:37, Tatsuro MATSUOKA wrote:
>> ----- Original Message -----
>> From: "Tatsuro MATSUOKA"
>> To: "Marco Atzeri"; "cygwin
>> Date: 2022/06/22 水 12:53
>> Subject: Re: fltk does not work on cygwin version octave-6.4.0
>>>> ----- Original Message -----
>>>> From: "Marco Atzeri"
>>>> To: "cygwin
>>>> Date: 2022/06/22 水 02:06
>>>> Subject: Re: fltk does not work on cygwin version octave-6.4.0
>>>> On 21.06.2022 07:15, 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
>>>>>
>>>>> fltk graphics_toolkit works octave on native windows.

> Is the below related to the issue?
> 
>>> __opengl_info__
> warning: __opengl_info__: can not obtain OpenGL information
> warning: called from
>      __opengl_info__ at line 69 column 5
> 
> Similar behaviors happen qt graphics on octave-7.1.0 on native Windows.
> 
> Tatsuro
> 

Maybe.

On my PC

$ octave

octave:1> __opengl_info__
    version: 4.5.0 - Build 22.20.16.4815
     vendor: Intel
   renderer: Intel(R) UHD Graphics 620
extensions:
   GL_3DFX_texture_compression_FXT1
  .....

Similar to the X log

glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
(II) AIGLX: Testing pixelFormatIndex 1
GL_VERSION:     4.5.0 - Build 22.20.16.4815
GL_VENDOR:      Intel
GL_RENDERER:    Intel(R) UHD Graphics 620
(II) GLX: enabled GLX_SGI_make_current_read
...

You can test the GL behaviour with

$ cygcheck -l mesa-demos | grep bin
/usr/bin/eglinfo
/usr/bin/es2_info
/usr/bin/glinfo
/usr/bin/glxgears
/usr/bin/glxinfo
/usr/bin/wglgears
/usr/bin/wglinfo
/usr/bin/xeglgears
..

Regards
Marco



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-22 19:33           ` Marco Atzeri
@ 2022-06-22 23:05             ` Tatsuro MATSUOKA
  2022-06-23  1:19               ` Marco Atzeri
  2022-06-26 13:58               ` Jon Turney
  0 siblings, 2 replies; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-22 23:05 UTC (permalink / raw)
  To: Marco Atzeri, Tatsuro MATSUOKA, cygwin

> ----- Original Message -----
 > From: "Marco Atzeri" 
> To: "Tatsuro MATSUOKA"  "cygwin
> Date: 2022/06/23 木 04:33
> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> On 22.06.2022 12:37, Tatsuro MATSUOKA wrote:
> >> ----- Original Message -----
> >> From: "Tatsuro MATSUOKA"
> >> To: "Marco Atzeri"; "cygwin
> >> Date: 2022/06/22 水 12:53
> >> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> >>>> ----- Original Message -----
> >>>> From: "Marco Atzeri"
> >>>> To: "cygwin
> >>>> Date: 2022/06/22 水 02:06
> >>>> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> >>>> On 21.06.2022 07:15, 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
> >>>>>
> >>>>> fltk graphics_toolkit works octave on native windows.
> 
> > Is the below related to the issue?
> > 
> >>> __opengl_info__
> > warning: __opengl_info__: can not obtain OpenGL information
> > warning: called from
> >      __opengl_info__ at line 69 column 5
> > 
> > Similar behaviors happen qt graphics on octave-7.1.0 on native Windows.
> > 
> > Tatsuro
> > 
> 
> Maybe.
> 
> On my PC
> 
> $ octave
> 
> octave:1> __opengl_info__
>     version: 4.5.0 - Build 22.20.16.4815
>      vendor: Intel
>    renderer: Intel(R) UHD Graphics 620
> extensions:
>    GL_3DFX_texture_compression_FXT1
>   .....
> 
> Similar to the X log
> 
> glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
> (II) AIGLX: Testing pixelFormatIndex 1
> GL_VERSION:     4.5.0 - Build 22.20.16.4815
> GL_VENDOR:      Intel
> GL_RENDERER:    Intel(R) UHD Graphics 620
> (II) GLX: enabled GLX_SGI_make_current_read
> ...

[132545.312] (II) AIGLX: Testing pixelFormatIndex 2
[132545.343] GL_VERSION:     1.1.0
[132545.343] GL_VENDOR:      Microsoft Corporation
[132545.343] GL_RENDERER:    GDI Generic
[132545.343] wglwrap: Can't resolve "wglGetExtensionsStringARB"
[132545.343] (EE) AIGLX: Won't use the generic native renderer as it is not accelerated
[132545.343] glWinSelectGLimplementation: Loaded 'cygGL-1.dll'
[132548.078] (II) IGLX: Loaded and initialized swrast
[132548.078] (II) GLX: Initialized DRISWRAST GL provider for screen 0





> You can test the GL behaviour with
> 
> $ cygcheck -l mesa-demos | grep bin
> /usr/bin/eglinfo
> /usr/bin/es2_info
> /usr/bin/glinfo
> /usr/bin/glxgears
> /usr/bin/glxinfo
> /usr/bin/wglgears
> /usr/bin/wglinfo
> /usr/bin/xeglgears

$ cygcheck -l mesa-demos | grep bin
/usr/lib/mesa-demos/fbobind.exe
/usr/lib/mesa-demos/pbinfo.exe
/usr/bin/eglinfo
/usr/bin/es2_info
/usr/bin/glinfo
/usr/bin/glxgears
/usr/bin/glxinfo
/usr/bin/wglgears
/usr/bin/wglinfo
/usr/bin/xeglgears


Tatsuro


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-22 23:05             ` Tatsuro MATSUOKA
@ 2022-06-23  1:19               ` Marco Atzeri
  2022-06-23  3:18                 ` Tatsuro MATSUOKA
  2022-06-26 13:58               ` Jon Turney
  1 sibling, 1 reply; 16+ messages in thread
From: Marco Atzeri @ 2022-06-23  1:19 UTC (permalink / raw)
  To: Tatsuro MATSUOKA, cygwin

On 23.06.2022 01:05, Tatsuro MATSUOKA wrote:


> 
> 
>> You can test the GL behaviour with
>>
>> $ cygcheck -l mesa-demos | grep bin
>> /usr/bin/eglinfo
>> /usr/bin/es2_info
>> /usr/bin/glinfo
>> /usr/bin/glxgears
>> /usr/bin/glxinfo
>> /usr/bin/wglgears
>> /usr/bin/wglinfo
>> /usr/bin/xeglgears
> 
> $ cygcheck -l mesa-demos | grep bin
> /usr/lib/mesa-demos/fbobind.exe
> /usr/lib/mesa-demos/pbinfo.exe
> /usr/bin/eglinfo
> /usr/bin/es2_info
> /usr/bin/glinfo
> /usr/bin/glxgears
> /usr/bin/glxinfo
> /usr/bin/wglgears
> /usr/bin/wglinfo
> /usr/bin/xeglgears
> 
> 
> Tatsuro
> 


EHM ... sorry,
I meant to use those programs to test the GL performance and have more info


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-23  1:19               ` Marco Atzeri
@ 2022-06-23  3:18                 ` Tatsuro MATSUOKA
  0 siblings, 0 replies; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-23  3:18 UTC (permalink / raw)
  To: Marco Atzeri, Tatsuro MATSUOKA, cygwin

> ----- Original Message -----
> From: "Marco Atzeri"
> To: "Tatsuro MATSUOKA"  "cygwin
> Date: 2022/06/23 木 10:19
> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> >> You can test the GL behaviour with
> >>
> >> $ cygcheck -l mesa-demos | grep bin
> >> /usr/bin/eglinfo
> >> /usr/bin/es2_info
> >> /usr/bin/glinfo
> >> /usr/bin/glxgears
> >> /usr/bin/glxinfo
> >> /usr/bin/wglgears
> >> /usr/bin/wglinfo
> >> /usr/bin/xeglgears
> > 
> > $ cygcheck -l mesa-demos | grep bin
> > /usr/lib/mesa-demos/fbobind.exe
> > /usr/lib/mesa-demos/pbinfo.exe
> > /usr/bin/eglinfo
> > /usr/bin/es2_info
> > /usr/bin/glinfo
> > /usr/bin/glxgears
> > /usr/bin/glxinfo
> > /usr/bin/wglgears
> > /usr/bin/wglinfo
> > /usr/bin/xeglgears
> > 
> > 
> > Tatsuro
> > 
> 
> 
> EHM ... sorry,
> I meant to use those programs to test the GL performance and have more info
> 
On native windows octave

octave:1> __opengl_info__
   version: 2.1.0 - Build 8.15.10.2900
    vendor: Intel
  renderer: Intel(R) HD Graphics
extensions:
  GL_EXT_blend_minmax
.......

Tatsuro


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-22 23:05             ` Tatsuro MATSUOKA
  2022-06-23  1:19               ` Marco Atzeri
@ 2022-06-26 13:58               ` Jon Turney
  2022-06-27  3:23                 ` Tatsuro MATSUOKA
  1 sibling, 1 reply; 16+ messages in thread
From: Jon Turney @ 2022-06-26 13:58 UTC (permalink / raw)
  To: Tatsuro MATSUOKA, The Cygwin Mailing List

On 23/06/2022 00:05, Tatsuro MATSUOKA wrote:
> 
> [132545.312] (II) AIGLX: Testing pixelFormatIndex 2
> [132545.343] GL_VERSION:     1.1.0
> [132545.343] GL_VENDOR:      Microsoft Corporation
> [132545.343] GL_RENDERER:    GDI Generic
> [132545.343] wglwrap: Can't resolve "wglGetExtensionsStringARB"
> [132545.343] (EE) AIGLX: Won't use the generic native renderer as it is not accelerated
> [132545.343] glWinSelectGLimplementation: Loaded 'cygGL-1.dll'
> [132548.078] (II) IGLX: Loaded and initialized swrast
> [132548.078] (II) GLX: Initialized DRISWRAST GL provider for screen 0
> 

Usually, this is what happens when the driver your graphics chipset 
isn't installed, it's just working in 'VGA mode'.

(Everything should still work, using the software OpenGL renderer, as if 
the X server was started with -nowgl)

But this doesn't seem to be the case, if a native Windows octave can 
find the hardware OpenGL renderer, which is a bit confusing.

Can you show the output of 'wglinfo'?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: fltk does not work on cygwin version octave-6.4.0
  2022-06-26 13:58               ` Jon Turney
@ 2022-06-27  3:23                 ` Tatsuro MATSUOKA
  0 siblings, 0 replies; 16+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-27  3:23 UTC (permalink / raw)
  To: Jon Turney, Tatsuro MATSUOKA, The Cygwin Mailing List

> ----- Original Message -----
> Date: 2022/06/26 日 22:59
> Subject: Re: fltk does not work on cygwin version octave-6.4.0
> On 23/06/2022 00:05, Tatsuro MATSUOKA wrote:
> > 
> > [132545.312] (II) AIGLX: Testing pixelFormatIndex 2
> > [132545.343] GL_VERSION:     1.1.0
> > [132545.343] GL_VENDOR:      Microsoft Corporation
> > [132545.343] GL_RENDERER:    GDI Generic
> > [132545.343] wglwrap: Can't resolve "wglGetExtensionsStringARB"
> > [132545.343] (EE) AIGLX: Won't use the generic native renderer as it is not accelerated
> > [132545.343] glWinSelectGLimplementation: Loaded 'cygGL-1.dll'
> > [132548.078] (II) IGLX: Loaded and initialized swrast
> > [132548.078] (II) GLX: Initialized DRISWRAST GL provider for screen 0
> > 
> 
> Usually, this is what happens when the driver your graphics chipset 
> isn't installed, it's just working in 'VGA mode'.
> 
> (Everything should still work, using the software OpenGL renderer, as if 
> the X server was started with -nowgl)

From about two month ago, I started to use GWSL for X server.
I launch VcXsrv with or without native opegl, the fltk graphics_toolkit works fine for both cases.
Mmmmm, GWSL uses VcXsrv for X server ????
Anyway, Thanks


> But this doesn't seem to be the case, if a native Windows octave can 
> find the hardware OpenGL renderer, which is a bit confusing.
> 
> Can you show the output of 'wglinfo'?
> 
$ wglinfo
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: GDI Generic
OpenGL version string: 1.1.0
OpenGL extensions:
    GL_EXT_bgra, GL_EXT_paletted_texture, GL_WIN_swap_hint

OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: GDI Generic
OpenGL version string: 1.1.0
OpenGL extensions:
    GL_EXT_bgra, GL_EXT_paletted_texture, GL_WIN_swap_hint

36 Regular pixel formats
35 WGL Visuals
    visual   x   bf lv rg d st colorbuffer   sr ax dp st accumbuffer  ms
  id gen win sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b
-------------------------------------------------------------------------
0x000  0   0  0   0  0 r  .  .  0  0  0  0 .  .  0  0  0  0  0  0  0  0 0
0x001  1   1  0  32  0 r  .  .  8  8  8  0 .  .  0 32  8 16 16 16  0  0 0
0x002  1   1  0  32  0 r  .  .  8  8  8  0 .  .  0 16  8 16 16 16  0  0 0
0x003  1   1  0  32  0 r  y  .  8  8  8  0 .  .  0 32  8 16 16 16  0  0 0
0x004  1   1  0  32  0 r  y  .  8  8  8  0 .  .  0 16  8 16 16 16  0  0 0
0x005  1   1  0  32  0 r  .  .  8  8  8  8 .  .  0 32  8 16 16 16 16  0 0
0x006  1   1  0  32  0 r  .  .  8  8  8  8 .  .  0 16  8 16 16 16 16  0 0
0x007  1   1  0  32  0 r  y  .  8  8  8  8 .  .  0 32  8 16 16 16 16  0 0
0x008  1   1  0  32  0 r  y  .  8  8  8  8 .  .  0 16  8 16 16 16 16  0 0
0x009  1   1  0  32  0  c .  .  8  8  8  0 .  .  0 32  8  0  0  0  0  0 0
0x00a  1   1  0  32  0  c .  .  8  8  8  0 .  .  0 16  8  0  0  0  0  0 0
0x00b  1   1  0  32  0  c y  .  8  8  8  0 .  .  0 32  8  0  0  0  0  0 0
0x00c  1   1  0  32  0  c y  .  8  8  8  0 .  .  0 16  8  0  0  0  0  0 0
0x00d  1   0  0  24  0 r  .  .  8  8  8  0 .  .  0 32  8 16 16 16  0  0 0
0x00e  1   0  0  24  0 r  .  .  8  8  8  0 .  .  0 16  8 16 16 16  0  0 0
0x00f  1   0  0  24  0 r  .  .  8  8  8  8 .  .  0 32  8 16 16 16 16  0 0
0x010  1   0  0  24  0 r  .  .  8  8  8  8 .  .  0 16  8 16 16 16 16  0 0
0x011  1   0  0  24  0  c .  .  8  8  8  0 .  .  0 32  8  0  0  0  0  0 0
0x012  1   0  0  24  0  c .  .  8  8  8  0 .  .  0 16  8  0  0  0  0  0 0
0x013  1   0  0  16  0 r  .  .  5  5  5  0 .  .  0 32  8 11 11 10  0  0 0
0x014  1   0  0  16  0 r  .  .  5  5  5  0 .  .  0 16  8 11 11 10  0  0 0
0x015  1   0  0  16  0 r  .  .  5  5  5  8 .  .  0 32  8  8  8  8  8  0 0
0x016  1   0  0  16  0 r  .  .  5  5  5  8 .  .  0 16  8  8  8  8  8  0 0
0x017  1   0  0  16  0  c .  .  5  5  5  0 .  .  0 32  8  0  0  0  0  0 0
0x018  1   0  0  16  0  c .  .  5  5  5  0 .  .  0 16  8  0  0  0  0  0 0
0x019  1   0  0   8  0 r  .  .  3  3  2  0 .  .  0 32  8 11 11 10  0  0 0
0x01a  1   0  0   8  0 r  .  .  3  3  2  0 .  .  0 16  8 11 11 10  0  0 0
0x01b  1   0  0   8  0 r  .  .  3  3  2  8 .  .  0 32  8  8  8  8  8  0 0
0x01c  1   0  0   8  0 r  .  .  3  3  2  8 .  .  0 16  8  8  8  8  8  0 0
0x01d  1   0  0   8  0  c .  .  3  3  2  0 .  .  0 32  8  0  0  0  0  0 0
0x01e  1   0  0   8  0  c .  .  3  3  2  0 .  .  0 16  8  0  0  0  0  0 0
0x01f  1   0  0   4  0 r  .  .  1  1  1  0 .  .  0 32  8  5  6  5  0  0 0
0x020  1   0  0   4  0 r  .  .  1  1  1  0 .  .  0 16  8  5  6  5  0  0 0
0x021  1   0  0   4  0 r  .  .  1  1  1  8 .  .  0 32  8  4  4  4  4  0 0
0x022  1   0  0   4  0 r  .  .  1  1  1  8 .  .  0 16  8  4  4  4  4  0 0
0x023  1   0  0   4  0  c .  .  1  1  1  0 .  .  0 32  8  0  0  0  0  0 0

Tatsuro


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-06-27  3:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1014671988.1220984.1655788512175.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2022-06-21  5:15 ` fltk does not work on cygwin version octave-6.4.0 Tatsuro MATSUOKA
2022-06-21  9:44   ` Takashi Yano
2022-06-21 10:48     ` Tatsuro MATSUOKA
2022-06-21 11:18       ` Takashi Yano
2022-06-21 11:25         ` Takashi Yano
2022-06-21 11:31         ` Jon Turney
2022-06-21 17:05   ` Marco Atzeri
2022-06-22  1:49     ` Tatsuro MATSUOKA
2022-06-22  3:53       ` Tatsuro MATSUOKA
2022-06-22 10:37         ` Tatsuro MATSUOKA
2022-06-22 19:33           ` Marco Atzeri
2022-06-22 23:05             ` Tatsuro MATSUOKA
2022-06-23  1:19               ` Marco Atzeri
2022-06-23  3:18                 ` Tatsuro MATSUOKA
2022-06-26 13:58               ` Jon Turney
2022-06-27  3:23                 ` Tatsuro MATSUOKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).