[ANNOUNCEMENT] Overlay and No DirectInput Test 3

Arkadiy Belousov arkadiy@micromuse.com
Tue Oct 31 05:33:00 GMT 2000

My machine: Dell Dimension 4100, Windows ME, Nvidia TNT2 M64 4x AGP,  driver
version (It says DirectDraw 1.0, I am not sure how right is

Here is what I get:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Desired Width: 300, Height: 300, Depth: 8
xf_dx.dll: Process attach
enable_xf_dx: LoadLibrary success
xf_dx.dll: AdjustVideoMode entered
Adjusted Width: 300, Height: 300, Depth: 32
xf_dx.dll: winDXAllocateFramebufferMemory entered

The server window does appear, approx right size, but then a dialog box

IDirectDraw_CreateSurface failed - overlay
Error = 88760091(unknown error)

When focus leaves this dialog, I get another one on top of it:

DeactivateServer failed
Error = 00000000(unknown error)

Those keep appearing every time I switch between X and another window.
Another interesting thing: the mouse goes under the dialog, I had to use
space to press OK button.

When I dismiss the original error message w/o asitching to another app, I
get another dialog:

DirectDraw Init Failed
Error = 88760091(unknown error)

When I dismiss the other dialog, the whole thing goes away, consoles and

That concludes my testing :)

I am dying to get my hands on the code! I am handy with GDB or MS debuggers,
could do some deep-digging for you .


----- Original Message -----
From: "Harold Hunt" <Harold@compasstechnologies.com>
To: "Cygx (E-mail)" <cygwin-xfree@sources.redhat.com>
Sent: Monday, October 30, 2000 6:04 PM
Subject: [ANNOUNCEMENT] Overlay and No DirectInput Test 3

> There seems to be problems loading the xf_dx.dll library, even though the
> file exists; I cannot see a relation between my modifications and the
> failure of the library to load, so I added a few debugging messages around
> the loading of the library to assist in debugging.
> The new tarball is once again available from:
> http://www.msu.edu/~huntharo/OverlayAndNoDITest.tar.bz2
> Once again, the installation instructions are:
> cp OverlayAndNoDITest.tar.bz2 /usr/X11R6/bin
> cd /usr/X11R6/bin
> mv XWin.exe XWin.orig.exe
> mv xf_dx.dll xf_dx.orig.dll
> bunzip2 OverlayAndNoDITest.tar.bz2
> tar -xf OverlayAndNoDITest.tar
> Suhaib, John Fortin, and I removed recognized and removed several
> files from the xf_dx.dll source package; these files were being compiled
> and removing them shaved 40 kB off the size of the compiled xf_dx.dll
> Special thanks to them for getting me to finally look into removing some
> useless files.  Alas, adding a few debugging messages caused the size to
> up 8kB, so the total shrink for this release of xf_dx.dll is 32 kB.
> I'm starting to think that there might be a problem in the way that I am
> tarballing the EXE and the DLL or in the instructions that I specify for
> untarballing them; I may be causing a problem with the xf_dx.dll being
> inaccessible to certain users, or, perhaps some versions of Windows need
> have the executable attribute set on the DLL.  Pipe up if you have any
> pointers or solutions.
> I test each release on a Windows 2000 machine and a Windows 98 machine
> before I post them; I don't have an NT 4 SP6 machine available, so I'd
> appreciate it if someone could give a quick works/doesn't work response
> that platform.
> Enjoy,
> Harold

More information about the Cygwin-xfree mailing list