Problem with OpenGL on new X serverl

user@domain.invalid user@domain.invalid
Fri Nov 21 13:50:00 GMT 2008


Florent Fievez wrote:
> Debugger is not very useful because the binaries are stripped. Is
> there a debug version somewhere or should i recompile it myself to
> have it ?

Hi Florent,

Thanks for the bug report.

Ignore the "GetWindowProp - pWin or name was NULL", this is just log spam and 
a red herring.

As you have surmised, the problem is GLX related.  There are some reports of 
remote GLX clients working (Ubuntu 8.10), so perhaps it is related to the 
client being built for an older version of the GLX extension...

If you are able to rebuild the X server yourself, could you confirm that the 
attached patch fixes the crash (GL is still broken, though, it looks like the 
something isn't initialized correctly...)

Rebuilding the source *should* be as simple as:

1) Run cygwin setup, select cygport,the xorg-server source package, and the 
packages for the build-time dependencies and devel packages corresponding to 
run-time dependencies listed in /usr/share/doc/Cygwin/usr/share/doc/Cygwin
2) cd /usr/src/
3) cygport xorg-server-1.5.3-3.cygport prep compile

I have made a start at updating http://x.cygwin.com/docs/cg/cygwin-x-cg.html, 
  so you may find that helpful, but it still needs more work so don't take it 
as gospel.

> 2008/11/21 Florent Fievez <florent.fievez@fievel.be>:
>> After a grep in the sources, I see the error is from file
>> cygwin-net_wm_icon-support.patch. But i'm not sure that the error is
>> in relation with the crash. I will try to run the program under a
>> debugger.
>>
>> 2008/11/21 Florent Fievez <florent.fievez@fievel.be>:
>>> Hello,
>>>
>>> I have a crash when opening OpenGL. I have the same configuration than you :
>>> ssh -X <host> ; XWin with glx extension activated.
>>>
>>> Some of my investigations :
>>>
>>> 1. It's not caused by the X client OS (SunOS and Linux give the same crash)
>>> 2. It's not a problem with our application, glxinfo produce the same problem
>>> 3. It seems that the message "GetWindowProp - pWin or name was NULL"
>>> is displayed before the crash, see my log in attachement.
>>>
>>> I will download and check the XWin sources but I have not a lot of
>>> time for debugging it so if someone have the same problem or want to
>>> help me ...
>>>
>>> Best regards,
>>>
>>>
>>>
>>> 2008/11/20 Yaakov (Cygwin Ports) <yselkowitz@users.sourceforge.net>:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA256
>>>>
>>>> Florent Fievez wrote:
>>>>> I have a problem running new X server 1.5.3 with openGL. Since this
>>>>> update, X crash when launching an OpenGL client from SunOS server.
>>>>> Since the application we are developing use OpenGL, it's a big problem
>>>>> for me (I have to use an exceed commercial xserver for testing our
>>>>> application).
>>>>>
>>>>> So is there a known solution, patch or other to this issue ?
>>>> I see that you do have the libGL1 package installed.  Could you please
>>>> review my results with GLX:
>>>>
>>>> http://cygwin.com/ml/cygwin-xfree/2008-11/msg00100.html
>>>> http://cygwin.com/ml/cygwin-xfree/2008-11/msg00160.html
>>>>
>>>> If you are still having issues, please attach your /var/log/XWin.log as
>>>> well.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin-glx-crash-workaround.patch
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20081121/ba749486/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin-xfree mailing list