As far as what to call the X servers, I've taken to using the terms "2D
X server" and "3D X server" in the VGL documentation.

I was able to reproduce the failure using my systems.  I tried setting
VGL_X11TRAP=1 to force X11 to call xhandler() in faker.cpp, but given
that the application is running in WINE, I haven't been able to figure
out how to get a reasonable stack trace out of it.

I also went as far as to clone the GIT repository and examine the
changes between 1.3.10 and 1.3.11, but nothing stands out as being
problematic.  What I was looking for was the introduction of a new glX
call that had a Display * argument.  Those are generally the calls that
VirtualGL has to intercept.  The only GLX calls WINE makes which
VirtualGL can't handle are glXBindTexImageATI() and
glXReleaseTexImageATI().  However, WINE doesn't bind these directly.  It
tries to load them using glXGetProcAddress(), and if it fails, it won't
use those calls.  I don't think the nVidia drivers even support those
functions-- nVidia uses the ARB names (glXBindTexImageEXT() and
glXReleaseTexImageEXT()), and VirtualGL does support the ARB versions of
those functions.

I'm afraid I'm stumped.


On 2/24/11 4:02 PM, calvin.mor...@comcast.net wrote:
> I've had the problem on all wine versions > 1.3.10 (1.3.10 doesn't have
> the issue).  I'm currently using 1.3.13.
> 
> Rendering server is Ubuntu 10.10 x86_64 with mostly stock (downloaded /
> compiled) kernel 2.6.37.
> Using a GeForce GTX 295 with NVIDIA driver 260.19.36 on X.Org 1.9.0. 
> I've attached a glxinfo of display :0.0 on the rendering server. 
> (Note:  What is the proper terminology here?  I'm somewhat confused
> since there seem to be 2 X Servers in the mix about what to call a
> server and what to call a client ...)
> 
> The problem does seem to be mostly DirectX.  I found a 3D demo that
> displays this same crash under wine here: 
> http://www.scene.org/file_dl.php?url=ftp://ftp.scene.org/pub/parties/2007/breakpoint07/demo/fr-041_debris.zip&id=373930
> 
> This app (which is a demo created for a competition where developers try
> to create graphics / music apps in a limited space, 177 Kb in this case)
> works properly under Wine 1.3.9, but crashes under 1.3.11 and 1.3.13. 
> The app asks for settings (which I chose 1024 x 768 resolution, un-tick
> fullscreen) and then crashes soon afterwards:
> 
> cmorrow@linux:~/Downloads$ vglrun wine fr-041_debris.exe [VGL] NOTICE:
> Automatically setting VGL_CLIENT environment variable to
> [VGL]    172.17.1.188, the IP address of your SSh client.
> fixme:system:SetProcessDPIAware stub!
> fixme:iphlpapi:NotifyAddrChange (Handle 0x8fee844, overlapped
> 0x8fee848): stub
> wine: configuration in '/home/cmorrow/.wine' has been updated.
> fixme:win:EnumDisplayDevicesW ((null),0,0x33f9d4,0x00000000), stub!
> X Error of failed request:  BadWindow (invalid Window parameter)
>   Major opcode of failed request:  136 (GLX)
>   Minor opcode of failed request:  16 (X_GLXVendorPrivate)
>   Resource id in failed request:  0xc00007
>   Serial number of failed request:  0
>   Current serial number in output stream:  99
> 
> Calvin
> 
> 
> 
> ----- Original Message -----
> From: "DRC" <dcomman...@users.sourceforge.net>
> To: virtualgl-users@lists.sourceforge.net
> Sent: Thursday, February 24, 2011 12:03:22 PM
> Subject: Re: [VirtualGL-Users] VirtualGL Linux wine crash in versions
> newer than 1.3.10
> 
> I can't reproduce the failure with WINE 1.3.13.  Can you give more
> specific information-- what graphics hardware you are using, the
> specific driver version, what O/S, etc.?
> 
> After looking at the WINE source, the only scenario I can come up with
> is that it's trying to use glXBindTexImageATI(), which WINE seems to
> want to use when emulating wglBindTexImageARB().  However, that code has
> been in there forever, not just since 1.3.11.
> 
> Can you provide a simple Windows 3D app that demonstrates the issue?
> Maybe it only occurs when using D3D, not OpenGL?
> 
> 
> On 2/24/11 9:32 AM, calvin.mor...@comcast.net wrote:
>> Hello List,
>>
>> I'm finding that VirtualGL has been working well with most graphics
>> applications I've tried under Linux, and even with pretty decent
>> performance.
>>
>> I have been running several Windows applications using wine and
>> VirtualGL (Games and other graphic applications) with decent success
>> (usually the same as running on a native workstation).  However, all
>> versions of Wine newer than 1.3.10 (which includes 1.3.11 - 1.3.14) have
>> started crashing with the following error:
>>
>> X Error of failed request:  BadWindow (invalid Window parameter)
>>   Major opcode of failed request:  136 (GLX)
>>   Minor opcode of failed request:  16 (X_GLXVendorPrivate)
>>   Resource id in failed request:  0x1c00007
>>   Serial number of failed request:  0
>>   Current serial number in output stream:  99
>>
>> Obviously some new code in Wine introduced during the 1.3.11 cycle isn't
>> playing well with VirtualGL.  Any ideas?
> 
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> VirtualGL-Users mailing list
> VirtualGL-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in 
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business 
> insights. http://p.sf.net/sfu/splunk-dev2dev 
> 
> 
> 
> _______________________________________________
> VirtualGL-Users mailing list
> VirtualGL-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to