public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* octave says WGL_ARB_multisample is missing
@ 2018-06-27  6:25 William Mitchell
  2018-06-27  6:53 ` Jon Turney
  2018-07-06 17:51 ` Marco Atzeri
  0 siblings, 2 replies; 15+ messages in thread
From: William Mitchell @ 2018-06-27  6:25 UTC (permalink / raw)
  To: cygwin

When I run octave on a fresh installation of cygwin64 on a Windows 7
machine, I get the error:

libGL error: required WGL extension WGL_ARB_multisample is missing
Insufficient GL support
error: unable to plot due to insufficient OpenGL support

octave begins running fine.  The error occurs when it encounters a plot
statement.

I have had this problem with an old installation of cygwin for at least a
year.  I finally decided to wipe out cygwin and try a fresh installation.
This installation contains the "minimal" default packages plus Devel:
gcc-core, gcc-gfortran, gcc-g++, gdb, mingw64-x86_64-gcc-core,
mingw64-x86_64-gfortran, mingw64-x86_64-g++; Graphics: gnuplot,
ImageMagick; Math: bc, grace, octave; Shells: tcsh; X11: everything.

I notice that libGLEW is included in the packages that it installs, which
is where I would expect to find the WGL extensions.  This contains
/usr/bin/cygGLEW-2-1.dll, but I don't know how to find out what functions
are in a dll to see if it contains WGL_ARB_multisample.

Any suggestions on what is wrong with this installation are greatly
appreciated.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-06-27  6:25 octave says WGL_ARB_multisample is missing William Mitchell
@ 2018-06-27  6:53 ` Jon Turney
  2018-06-28  8:22   ` William Mitchell
  2018-07-06 17:51 ` Marco Atzeri
  1 sibling, 1 reply; 15+ messages in thread
From: Jon Turney @ 2018-06-27  6:53 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: William Mitchell

On 26/06/2018 20:27, William Mitchell wrote:
> When I run octave on a fresh installation of cygwin64 on a Windows 7
> machine, I get the error:
> 
> libGL error: required WGL extension WGL_ARB_multisample is missing

This error is coming from the WGL direct renderer built into libGL on 
Cygwin, and is telling you that this extension not provided by the 
Windows display driver you are using.  (This is unusual)

It's nothing to do with GLEW or any other cygwin libraries.

Possible solutions:

Install/upgrade the display driver

Use software rendering by setting the LIBGL_ALWAYS_SOFTWARE environment 
variable

(See also https://x.cygwin.com/docs/ug/using-glx.html)

> Insufficient GL support
> error: unable to plot due to insufficient OpenGL support
> 
> octave begins running fine.  The error occurs when it encounters a plot
> statement.
> 
> I have had this problem with an old installation of cygwin for at least a
> year.  I finally decided to wipe out cygwin and try a fresh installation.
> This installation contains the "minimal" default packages plus Devel:
> gcc-core, gcc-gfortran, gcc-g++, gdb, mingw64-x86_64-gcc-core,
> mingw64-x86_64-gfortran, mingw64-x86_64-g++; Graphics: gnuplot,
> ImageMagick; Math: bc, grace, octave; Shells: tcsh; X11: everything.
> 
> I notice that libGLEW is included in the packages that it installs, which
> is where I would expect to find the WGL extensions.  This contains
> /usr/bin/cygGLEW-2-1.dll, but I don't know how to find out what functions
> are in a dll to see if it contains WGL_ARB_multisample.
> 
> Any suggestions on what is wrong with this installation are greatly
> appreciated.

-- 
Jon Turney
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-06-27  6:53 ` Jon Turney
@ 2018-06-28  8:22   ` William Mitchell
  2018-06-28 22:15     ` Jon Turney
  0 siblings, 1 reply; 15+ messages in thread
From: William Mitchell @ 2018-06-28  8:22 UTC (permalink / raw)
  To: The Cygwin Mailing List

Thanks for the suggestions.

I thought updating the display driver sounded good, since this is a very
old computer, but when I asked to update the driver it searched for a new
driver and eventually said my driver is up to date.

I set LIBGL_ALWAYS_SOFTWARE to 1.  That got rid of the WGL error messages,
but I still get the other messages:
Insufficient GL support
error: unable to plot due to insufficient OpenGL support

This is harder, because it doesn't tell me _what_ is missing (or
"insufficient").


On 26 June 2018 at 16:33, Jon Turney <jon.turney@dronecode.org.uk> wrote:

> On 26/06/2018 20:27, William Mitchell wrote:
>
>> When I run octave on a fresh installation of cygwin64 on a Windows 7
>> machine, I get the error:
>>
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>>
>
> This error is coming from the WGL direct renderer built into libGL on
> Cygwin, and is telling you that this extension not provided by the Windows
> display driver you are using.  (This is unusual)
>
> It's nothing to do with GLEW or any other cygwin libraries.
>
> Possible solutions:
>
> Install/upgrade the display driver
>
> Use software rendering by setting the LIBGL_ALWAYS_SOFTWARE environment
> variable
>
> (See also https://x.cygwin.com/docs/ug/using-glx.html)
>
>
> Insufficient GL support
>> error: unable to plot due to insufficient OpenGL support
>>
>> octave begins running fine.  The error occurs when it encounters a plot
>> statement.
>>
>> I have had this problem with an old installation of cygwin for at least a
>> year.  I finally decided to wipe out cygwin and try a fresh installation.
>> This installation contains the "minimal" default packages plus Devel:
>> gcc-core, gcc-gfortran, gcc-g++, gdb, mingw64-x86_64-gcc-core,
>> mingw64-x86_64-gfortran, mingw64-x86_64-g++; Graphics: gnuplot,
>> ImageMagick; Math: bc, grace, octave; Shells: tcsh; X11: everything.
>>
>> I notice that libGLEW is included in the packages that it installs, which
>> is where I would expect to find the WGL extensions.  This contains
>> /usr/bin/cygGLEW-2-1.dll, but I don't know how to find out what functions
>> are in a dll to see if it contains WGL_ARB_multisample.
>>
>> Any suggestions on what is wrong with this installation are greatly
>> appreciated.
>>
>
> --
> Jon Turney
> Volunteer Cygwin/X X Server maintainer
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-06-28  8:22   ` William Mitchell
@ 2018-06-28 22:15     ` Jon Turney
  2018-07-02 12:49       ` William Mitchell
  0 siblings, 1 reply; 15+ messages in thread
From: Jon Turney @ 2018-06-28 22:15 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: William Mitchell

On 27/06/2018 19:00, William Mitchell wrote:
> Thanks for the suggestions.
> 
> I thought updating the display driver sounded good, since this is a very
> old computer, but when I asked to update the driver it searched for a new
> driver and eventually said my driver is up to date.

Can you show the output of 'glxinfo' and 'LIBGL_ALWAYS_SOFTWARE=1 
glxinfo', please?

> I set LIBGL_ALWAYS_SOFTWARE to 1.  That got rid of the WGL error messages,
> but I still get the other messages:

Yeah, on second thoughts we should be already falling back to software 
rendering if we can't use WGL, so this isn't really going to help.

> Insufficient GL support
> error: unable to plot due to insufficient OpenGL support
> 
> This is harder, because it doesn't tell me _what_ is missing (or
> "insufficient").

These are messages from octave.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-06-28 22:15     ` Jon Turney
@ 2018-07-02 12:49       ` William Mitchell
  2018-07-02 17:13         ` Jon Turney
  0 siblings, 1 reply; 15+ messages in thread
From: William Mitchell @ 2018-07-02 12:49 UTC (permalink / raw)
  To: The Cygwin Mailing List

prompt> glxinfo
name of display: localhost:0.0
libGL error: required WGL extension WGL_ARB_multisample is missing
libGL error: required WGL extension WGL_ARB_multisample is missing
Error: couldn't find RGB GLX visual or fbconfig

9 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None
0x058 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0
None
0x059 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x05a 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0
None
0x05b 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 16  0  0  0  0  0  0 0
None
0x05c 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x05d 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x05e 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x05f 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None

9 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x046 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0
None
0x047 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x048 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0
None
0x049 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None
0x04a 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 16  0  0  0  0  0  0 0
None
0x04b 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x04c 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x04d 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x04e 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None

prompt> setenv LIBGL_ALWAYS_SOFTWARE 1
prompt> glxinfo
name of display: localhost:0.0
Error: couldn't find RGB GLX visual or fbconfig

9 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None
0x058 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0
None
0x059 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x05a 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0
None
0x05b 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 16  0  0  0  0  0  0 0
None
0x05c 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x05d 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x05e 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x05f 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None

9 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x046 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0
None
0x047 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x048 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0
None
0x049 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None
0x04a 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 16  0  0  0  0  0  0 0
None
0x04b 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x04c 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0 16 16 16 16  0 0
None
0x04d 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 16  0 16 16 16 16  0 0
None
0x04e 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0
None


On 28 June 2018 at 14:28, Jon Turney <jon.turney@dronecode.org.uk> wrote:

> On 27/06/2018 19:00, William Mitchell wrote:
>
>> Thanks for the suggestions.
>>
>> I thought updating the display driver sounded good, since this is a very
>> old computer, but when I asked to update the driver it searched for a new
>> driver and eventually said my driver is up to date.
>>
>
> Can you show the output of 'glxinfo' and 'LIBGL_ALWAYS_SOFTWARE=1
> glxinfo', please?
>
> I set LIBGL_ALWAYS_SOFTWARE to 1.  That got rid of the WGL error messages,
>> but I still get the other messages:
>>
>
> Yeah, on second thoughts we should be already falling back to software
> rendering if we can't use WGL, so this isn't really going to help.
>
> Insufficient GL support
>> error: unable to plot due to insufficient OpenGL support
>>
>> This is harder, because it doesn't tell me _what_ is missing (or
>> "insufficient").
>>
>
> These are messages from octave.
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-02 12:49       ` William Mitchell
@ 2018-07-02 17:13         ` Jon Turney
  2018-07-03 10:50           ` Andrey Repin
  2018-07-06  1:16           ` William Mitchell
  0 siblings, 2 replies; 15+ messages in thread
From: Jon Turney @ 2018-07-02 17:13 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: William Mitchell

On 02/07/2018 13:48, William Mitchell wrote:
> prompt> glxinfo
> name of display: localhost:0.0
> libGL error: required WGL extension WGL_ARB_multisample is missing
> libGL error: required WGL extension WGL_ARB_multisample is missing
> Error: couldn't find RGB GLX visual or fbconfig

Thanks.  This is interesting.

It seems that your graphics card doesn't support WGL_ARB_multisample, 
but does support WGL_ARB_framebuffer_sRGB, which seems a bit unusual.

I've built an libGL1 with a change to handle this situation better [1]

If you download that, chmod +x it, and replace /usr/bin/cygGL-1.dll with 
it (keep a copy of the existing version), you can try 'glxinfo' and 
plotting with octave, to see if it improves things.

[1] ftp://cygwin.com/pub/cygwinx/x86_64/cygGL-1.dll

-- 
Jon Turney
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-02 17:13         ` Jon Turney
@ 2018-07-03 10:50           ` Andrey Repin
  2018-07-06  1:16           ` William Mitchell
  1 sibling, 0 replies; 15+ messages in thread
From: Andrey Repin @ 2018-07-03 10:50 UTC (permalink / raw)
  To: The Cygwin Mailing List, cygwin

Greetings, The Cygwin Mailing List!

> On 02/07/2018 13:48, William Mitchell wrote:
>> prompt> glxinfo
>> name of display: localhost:0.0
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>> Error: couldn't find RGB GLX visual or fbconfig

> Thanks.  This is interesting.

> It seems that your graphics card doesn't support WGL_ARB_multisample, 
> but does support WGL_ARB_framebuffer_sRGB, which seems a bit unusual.

Intel is always like that. Implementing half the API and makes big eyes when
somebody is trying to use it.

> I've built an libGL1 with a change to handle this situation better [1]

> If you download that, chmod +x it, and replace /usr/bin/cygGL-1.dll with 
> it (keep a copy of the existing version), you can try 'glxinfo' and 
> plotting with octave, to see if it improves things.

> [1] ftp://cygwin.com/pub/cygwinx/x86_64/cygGL-1.dll



-- 
With best regards,
Andrey Repin
Tuesday, July 3, 2018 13:46:03

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-02 17:13         ` Jon Turney
  2018-07-03 10:50           ` Andrey Repin
@ 2018-07-06  1:16           ` William Mitchell
  2018-07-08 13:36             ` Jon Turney
  1 sibling, 1 reply; 15+ messages in thread
From: William Mitchell @ 2018-07-06  1:16 UTC (permalink / raw)
  To: The Cygwin Mailing List

I'm afraid that didn't help any.  Now both glxinfo and octave print nothing
and return to the shell prompt almost immediately.  For octave, this
includes no output when I run a .m script that usually prints quite a bit
before starting the graphics.  xeyes still runs, though.

Thanks for trying,
Bill

On 2 July 2018 at 13:13, Jon Turney <jon.turney@dronecode.org.uk> wrote:

> On 02/07/2018 13:48, William Mitchell wrote:
>
>> prompt> glxinfo
>> name of display: localhost:0.0
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>> Error: couldn't find RGB GLX visual or fbconfig
>>
>
> Thanks.  This is interesting.
>
> It seems that your graphics card doesn't support WGL_ARB_multisample, but
> does support WGL_ARB_framebuffer_sRGB, which seems a bit unusual.
>
> I've built an libGL1 with a change to handle this situation better [1]
>
> If you download that, chmod +x it, and replace /usr/bin/cygGL-1.dll with
> it (keep a copy of the existing version), you can try 'glxinfo' and
> plotting with octave, to see if it improves things.
>
> [1] ftp://cygwin.com/pub/cygwinx/x86_64/cygGL-1.dll
>
>
> --
> Jon Turney
> Volunteer Cygwin/X X Server maintainer
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-06-27  6:25 octave says WGL_ARB_multisample is missing William Mitchell
  2018-06-27  6:53 ` Jon Turney
@ 2018-07-06 17:51 ` Marco Atzeri
  2018-07-09  0:55   ` William Mitchell
  1 sibling, 1 reply; 15+ messages in thread
From: Marco Atzeri @ 2018-07-06 17:51 UTC (permalink / raw)
  To: cygwin

Am 26.06.2018 um 21:27 schrieb William Mitchell:
> When I run octave on a fresh installation of cygwin64 on a Windows 7
> machine, I get the error:
>
> libGL error: required WGL extension WGL_ARB_multisample is missing
> Insufficient GL support
> error: unable to plot due to insufficient OpenGL support

have you tried to plot with another graphics interface ?
What is the output of
   available_graphics_toolkits

Usually the "gnuplot" is the less demanding one.

Regards
Marco


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-06  1:16           ` William Mitchell
@ 2018-07-08 13:36             ` Jon Turney
  2018-07-09  1:22               ` William Mitchell
  0 siblings, 1 reply; 15+ messages in thread
From: Jon Turney @ 2018-07-08 13:36 UTC (permalink / raw)
  To: William Mitchell; +Cc: The Cygwin Mailing List

On 06/07/2018 02:16, William Mitchell wrote:
> I'm afraid that didn't help any.  Now both glxinfo and octave print nothing
> and return to the shell prompt almost immediately.  For octave, this
> includes no output when I run a .m script that usually prints quite a bit
> before starting the graphics.  xeyes still runs, though.

Hmm... this probably means that the file is damaged, not executable, or 
for the wrong architecture.

Can you try:

cp /usr/bin/cygGL-1.dll /usr/bin/cygGL-1.dll.bak
wget ftp://cygwin.com/pub/cygwinx/x86_64/libGL1.tar.xz
tar -C/ -xvf libGL1.tar.xz
glxinfo

-- 
Jon Turney
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-06 17:51 ` Marco Atzeri
@ 2018-07-09  0:55   ` William Mitchell
  2018-07-09  5:18     ` Marco Atzeri
  0 siblings, 1 reply; 15+ messages in thread
From: William Mitchell @ 2018-07-09  0:55 UTC (permalink / raw)
  To: The Cygwin Mailing List

Yes, I use gnuplot and xmgrace in other situations.  But here I have
several .m programs which will need octave (or Matlab).

On 6 July 2018 at 13:51, Marco Atzeri <marco.atzeri@gmail.com> wrote:

> Am 26.06.2018 um 21:27 schrieb William Mitchell:
>
>> When I run octave on a fresh installation of cygwin64 on a Windows 7
>> machine, I get the error:
>>
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>> Insufficient GL support
>> error: unable to plot due to insufficient OpenGL support
>>
>
> have you tried to plot with another graphics interface ?
> What is the output of
>   available_graphics_toolkits
>
> Usually the "gnuplot" is the less demanding one.
>
> Regards
> Marco
>
>
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-08 13:36             ` Jon Turney
@ 2018-07-09  1:22               ` William Mitchell
  2018-07-09 18:53                 ` Jon Turney
  0 siblings, 1 reply; 15+ messages in thread
From: William Mitchell @ 2018-07-09  1:22 UTC (permalink / raw)
  To: The Cygwin Mailing List

Nope, same result.  In fact, diff says there is no difference between this
cygGL-1.dll and the one I downloaded a few days ago.

I bought this computer in October 2012.  It's due to be replaced anyway;
certainly before the Windows 7 end-of-life a year and half from now, so I
might as well replace it now and not worry about this problem any more.

On 8 July 2018 at 09:36, Jon Turney <jon.turney@dronecode.org.uk> wrote:

> On 06/07/2018 02:16, William Mitchell wrote:
>
>> I'm afraid that didn't help any.  Now both glxinfo and octave print
>> nothing
>> and return to the shell prompt almost immediately.  For octave, this
>> includes no output when I run a .m script that usually prints quite a bit
>> before starting the graphics.  xeyes still runs, though.
>>
>
> Hmm... this probably means that the file is damaged, not executable, or
> for the wrong architecture.
>
> Can you try:
>
> cp /usr/bin/cygGL-1.dll /usr/bin/cygGL-1.dll.bak
> wget ftp://cygwin.com/pub/cygwinx/x86_64/libGL1.tar.xz
> tar -C/ -xvf libGL1.tar.xz
> glxinfo
>
>
> --
> Jon Turney
> Volunteer Cygwin/X X Server maintainer
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-09  0:55   ` William Mitchell
@ 2018-07-09  5:18     ` Marco Atzeri
  2018-07-09 17:40       ` William Mitchell
  0 siblings, 1 reply; 15+ messages in thread
From: Marco Atzeri @ 2018-07-09  5:18 UTC (permalink / raw)
  To: cygwin

Am 7/9/2018 um 2:55 AM schrieb William Mitchell:
> Yes, I use gnuplot and xmgrace in other situations.  But here I have
> several .m programs which will need octave (or Matlab).
>

I understood, but I am talking of octave graphics interface

See also
https://octave.org/doc/v4.4.0/Graphics-Toolkits.html

>> have you tried to plot with another graphics interface ?
>> What is the output of

this is an octave command

>>    available_graphics_toolkits

and its output should be like

octave:1> available_graphics_toolkits
ans =
{
   [1,1] = fltk
   [1,2] = gnuplot
}

The default toolkit can be changed

octave:1> graphics_toolkit()
ans = fltk
octave:2> graphics_toolkit("gnuplot")
octave:3> graphics_toolkit()
ans = gnuplot

>>
>> Usually the "gnuplot" is the less demanding one.
>>
Regards
Marco


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-09  5:18     ` Marco Atzeri
@ 2018-07-09 17:40       ` William Mitchell
  0 siblings, 0 replies; 15+ messages in thread
From: William Mitchell @ 2018-07-09 17:40 UTC (permalink / raw)
  To: The Cygwin Mailing List

I misunderstood you initially.

Hey, that works!  Not quite as pretty, but I can work with it.

Thanks to all.

On 9 July 2018 at 01:18, Marco Atzeri <marco.atzeri@gmail.com> wrote:

> Am 7/9/2018 um 2:55 AM schrieb William Mitchell:
>
>> Yes, I use gnuplot and xmgrace in other situations.  But here I have
>> several .m programs which will need octave (or Matlab).
>>
>>
> I understood, but I am talking of octave graphics interface
>
> See also
> https://octave.org/doc/v4.4.0/Graphics-Toolkits.html
>
> have you tried to plot with another graphics interface ?
>>> What is the output of
>>>
>>
> this is an octave command
>
>    available_graphics_toolkits
>>>
>>
> and its output should be like
>
> octave:1> available_graphics_toolkits
> ans =
> {
>   [1,1] = fltk
>   [1,2] = gnuplot
> }
>
> The default toolkit can be changed
>
> octave:1> graphics_toolkit()
> ans = fltk
> octave:2> graphics_toolkit("gnuplot")
> octave:3> graphics_toolkit()
> ans = gnuplot
>
>
>
>>> Usually the "gnuplot" is the less demanding one.
>>>
>>> Regards
> Marco
>
>
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: octave says WGL_ARB_multisample is missing
  2018-07-09  1:22               ` William Mitchell
@ 2018-07-09 18:53                 ` Jon Turney
  0 siblings, 0 replies; 15+ messages in thread
From: Jon Turney @ 2018-07-09 18:53 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: William Mitchell

On 09/07/2018 02:22, William Mitchell wrote:
> Nope, same result.  In fact, diff says there is no difference between this
> cygGL-1.dll and the one I downloaded a few days ago.
> 
> I bought this computer in October 2012.  It's due to be replaced anyway;
> certainly before the Windows 7 end-of-life a year and half from now, so I
> might as well replace it now and not worry about this problem any more.

Ok.  Thanks for testing, anyhow.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2018-07-09 18:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27  6:25 octave says WGL_ARB_multisample is missing William Mitchell
2018-06-27  6:53 ` Jon Turney
2018-06-28  8:22   ` William Mitchell
2018-06-28 22:15     ` Jon Turney
2018-07-02 12:49       ` William Mitchell
2018-07-02 17:13         ` Jon Turney
2018-07-03 10:50           ` Andrey Repin
2018-07-06  1:16           ` William Mitchell
2018-07-08 13:36             ` Jon Turney
2018-07-09  1:22               ` William Mitchell
2018-07-09 18:53                 ` Jon Turney
2018-07-06 17:51 ` Marco Atzeri
2018-07-09  0:55   ` William Mitchell
2018-07-09  5:18     ` Marco Atzeri
2018-07-09 17:40       ` William Mitchell

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