This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
RE: [ANNOUNCEMENT] Overlay and No DirectInput Test 3
- TO: cygwin-xfree at sources dot redhat dot com
- Subject: RE: [ANNOUNCEMENT] Overlay and No DirectInput Test 3
- From: j dot j dot ita at siep dot shell dot com
- Date: Tue, 31 Oct 2000 09:11:25 +0100
Harold,
I am running Windows NT 4.0 (SP5) with an Appian Jeronimo 2000
Graphics card with the Permida3 chipset and 16 Mb of video memory. When
I run the following bat file:
@echo off
SET DISPLAY=127.0.0.1:0.0
SET PATH=%PATH%;C:\cygwin\usr\X11R6\bin;C:\cygwin\bin
XWin -screen 0 128x128x8 -whitepixel 255 -blackpixel 0
In the MS DOS prompt window I start it from, I see:
C:\cygwin\usr\X11R6\bin>startxserver
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Desired Width: 128, Height: 128, Depth: 8
xf_dx.dll: Process attach
enable_xf_dx: LoadLibrary success
xf_dx.dll: AdjustVideoMode entered
An error message window pops up stating:
Requested overlay size too large for available video memory, trimming
overlay size.
Error = 00000000(unknown error)
I hit OK and then in the DOS window:
Adjusted Width: 0, Height: 0, Depth: 8
xf_dx.dll: winDXAllocateFramebufferMemory entered
Another Error window pops up:
Overlays not supported by hardware, exiting
Error = 00000000(unknown error)
I hit OK and another error window appears:
Direct Draw Init Failed
Error = 00000000(unknown error)
I hit OK and then in the DOS window I see:
xf_dx.dll: Process detach
C:\cygwin\usr\X11R6\bin>
I realize that their are other cards have that have more video memory
available, but I think 16 MB is respectable. I also checked Appians
webpage and they state that this card supports video overlay. This may
be different than the overlay your program refers to, but I highly
doubt this high end card does not support overlays. Lastly, the old
full screen xserver ran just fine on this machine. Hope this helps some.
Joel Ita
> -----Original Message-----
> From: Harold@compasstechnologies.com
> [mailto:Harold@compasstechnologies.com]
> Sent: Tuesday, October 31, 2000 12:04 AM
> To: cygwin-xfree@sources.redhat.com
> 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 deprecated
> files from the xf_dx.dll source package; these files were
> being compiled in
> and removing them shaved 40 kB off the size of the compiled
> xf_dx.dll file.
> 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 go
> 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 to
> 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 for
> that platform.
>
> Enjoy,
>
> Harold
>