xwin.exe 1.11.4-1 segmentation fault on startup (-wgl -multiwindow)

2012-01-31 Thread Christian Tuma


Hello,

when I invoke xwin.exe for hardware accelerated OpenGL (AIGLX)

$ xwin -wgl -multiwindow

a segmentation fault occurs. This happens with the latest version (1.11.4-1), 
but I already had the same problem with my first installation of the X server 
(1.11.3-1).

Attached please find cygcheck.out (sensitive data deleted) and XWin.0.log for 
further details.

Somebody with an idea what is going wrong here? Thank you.

- Christian

cygcheck.out
Description: Binary data


XWin.0.log
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

Re: xwin.exe 1.11.4-1 segmentation fault on startup (-wgl -multiwindow)

2012-01-31 Thread Jon TURNEY
On 31/01/2012 08:43, Christian Tuma wrote:
> when I invoke xwin.exe for hardware accelerated OpenGL (AIGLX)
> 
> $ xwin -wgl -multiwindow
> 
> a segmentation fault occurs. This happens with the latest version
> (1.11.4-1), but I already had the same problem with my first installation
> of the X server (1.11.3-1).
> 
> Attached please find cygcheck.out (sensitive data deleted) and XWin.0.log
> for further details.

> [  3248.876] GL_VERSION: 1.1.0
> [  3248.876] GL_VENDOR:  Microsoft Corporation
> [  3248.876] GL_RENDERER:GDI Generic
> [  3248.876] GL_EXTENSIONS:  GL_WIN_swap_hint GL_EXT_bgra 
> GL_EXT_paletted_texture
> [  3248.876] wglwrap: Can't resolve "wglGetExtensionsStringARB"
> [  3248.876] WGL_EXTENSIONS: (null)Segmentation fault at address 0x0
> [  3248.876] Fatal server error:
> [  3248.876] Caught signal 11 (Segmentation fault). Server aborting
> [  3248.876] Server terminated with error (1). Closing log file.

Thanks for reporting this issue.

I've uploaded a 1.11.4-2 which should contain a fix.

When it reaches the mirrors, perhaps you could try it and see if it fixes
things for you?

You don't appear to be using a graphics card driver with OpenGL acceleration
though, I'd be interested to which one?

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Re: xwin.exe 1.11.4-1 segmentation fault on startup (-wgl -multiwindow)

2012-02-01 Thread Christian Tuma
Dear Jon,

Thank you for your quick response and the fix. Now XWin starts without 
crashing. Attached please see the new log-file.



> You don't appear to be using a graphics card driver with OpenGL acceleration
> though, I'd be interested to which one?

Good point. My system is a Lenovo ThinkPad W520 - it contains two different 
graphics systems:

1) integrated Intel HD Graphics system (driver 8.15.10.2538)

2) Nvidia Quadro 1000M (latest driver version 285.62 supporting all core 
features of OpenGL 4.2)

XWin seems to "run" (or to "detect" or to "talk to") with the integrated Intel 
HD graphics system ("GDI generic") and not with the Nvidia Quadro 1000M. How 
can I change this behaviour? When starting an application within Windows 7 I 
can usually choose in the context menu which of the two graphics processors to 
use. How do I do this from within Cygwin?

Thank you.

- Christian

XWin.0.log
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

Re: xwin.exe 1.11.4-1 segmentation fault on startup (-wgl -multiwindow)

2012-02-03 Thread Jon TURNEY
On 01/02/2012 16:26, Christian Tuma wrote:
> Thank you for your quick response and the fix. Now XWin starts without
> crashing. Attached please see the new log-file.
> 
>> You don't appear to be using a graphics card driver with OpenGL
>> acceleration though, I'd be interested to which one?
> 
> Good point. My system is a Lenovo ThinkPad W520 - it contains two different
> graphics systems:
> 
> 1) integrated Intel HD Graphics system (driver 8.15.10.2538)
> 
> 2) Nvidia Quadro 1000M (latest driver version 285.62 supporting all core
> features of OpenGL 4.2)
> 
> XWin seems to "run" (or to "detect" or to "talk to") with the integrated
> Intel HD graphics system ("GDI generic") and not with the Nvidia Quadro
> 1000M. How can I change this behaviour? When starting an application within
> Windows 7 I can usually choose in the context menu which of the two
> graphics processors to use. How do I do this from within Cygwin?

Ah, interesting.

I would say it's a bug in the switchable graphics drivers that it doesn't know
that OpenGL applications should cause a switch to the non-integrated graphics.

Possibly there is some way to configure the driver to tell it that an
application is one that needs the non-integrated graphics, so it will switch.

It's not very sensible for Xwin to use the "GDI generic" GL renderer, it would
be better to fallback to the mesa software renderer, so I'll make a change to
cause that to happen.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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