[Wine] Wine - DX app - black screen

Łukasz Hejnak grupy at szift.org
Sat Dec 10 08:08:42 CST 2005


Hi
Just trying to get Your attention again ;]
I'm still trying to launch SEF2000 on my wine, this time I got some 
debugging info on the case.
I launch it from the c:\did\PROGRAM directory (I moved it so to try and 
keep out errors with bad dirname, spaces etc, but as tested on a 
windows, it works so too) with:
export LC_ALL=C
export LANG=C
export WINEDEBUG=err+all,warn+all,fixme+all
wine _SUPERW.EXE DID=. quick_flag=1 GUI >& eflog

The log below is stripped of repeating occurences, so in general it 
looks like this:
first it shows msgs seraching for dll's like:
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\did\\PROGRAM\\GDI32.dll" 
-> "/home/szift/.wine/dosdevices/c:/did/PROGRAM/gdi32.dll" required a 
case-insensitive search
and the same for: avapi32.dll, kernel32.dll, winmm.dll, user32.dll, 
dplayx.dll, dsound.dll

the `ls` for /home/szift/c/did/PROGRAM is:
BATTLE2.MID   DPLAYX.DLL    eflog2        NAVIG.NAV   SPLASH.BMP
BATTLE.MID    dsound3d.dll  FILELIST      ntdll.dll   _SUPERW.EXE
CAMPBRF.BRF   DSOUND3D.DLL  gdi32.dll     NTDLL.DLL   user32.dll
CLUMP_3.TXT   dsound.dll    GDI32.DLL     ole32.dll   USER32.DLL
CLUMP_SS.TXT  DSOUND.DLL    hiscores.dat  OLE32.DLL   VICTORY.MID
conflict.cg   dsound.vxd    iphlpapi.dll  rpcrt4.dll  winmm.dll
DANGER.MID    DSOUND.VXD    kernel32.dll  RPCRT4.DLL  WINMM.DLL
did.dat       ef2000.cfg    msacm32.dll   runit
dplayx.dll    eflog         msacm.dll     SEARCH.MID

the runit, eflog and eflog2 are my own generated files
the *dll's are from win98se install package

warn:font:AddFontFileToList Unable to load font file 
"/home/szift/.wine/dosdevices/c:/windows/fonts/fonts.cache-1" err = 2
warn:font:AddFontFileToList Unable to load font file 
"/home/szift/.wine/dosdevices/c:/windows/fonts/desktop.ini" err = 2
warn:font:AddFontFileToList Unable to load font file 
"/home/szift/.wine/dosdevices/c:/windows/fonts/modern.fon" err = 2
warn:file:wine_nt_to_unix_file_name L"winex11.drv" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:file:wine_nt_to_unix_file_name L"winex11.drv" not found in 
/home/szift/.wine/dosdevices/c:/windows/system
warn:file:wine_nt_to_unix_file_name L"winex11.drv" not found in 
/home/szift/.wine/dosdevices/c:/windows
warn:file:wine_nt_to_unix_file_name L"winex11.drv" not found in 
/home/szift/.wine/dosdevices/c:/windows/command
warn:x11drv:X11DRV_SetupXIM Could not open input method.
warn:x11drv:x11drv_init_thread_data Input Method is not available
warn:keyboard:X11DRV_KEYBOARD_DetectLayout 6 keysyms per keycode not 
supported, set to 4
4 lines for winex11.drv like above (same)
warn:gdi:GDI_GetObjPtr Invalid handle 0x1c0
warn:gdi:GDI_GetObjPtr Invalid handle 0x1e0
4 lines for wine.drv like above for winex11.drv (same)
warn:module:load_builtin_dll cannot open .so lib for builtin 
L"wine.drv": /usr/local/lib/wine/wine.drv.so: cannot open shared object 
file: No such file or directory
warn:module:load_dll Failed to load module L"wine.drv"; status=c0000135
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\SYSTEM.INI" -> 
"/home/szift/.wine/dosdevices/c:/windows/system.ini" required a 
case-insensitive search
4 lines for wine.drv like above for wine.drv (same)
warn:file:OpenFile16 (wine.drv): return = HFILE_ERROR error= 2
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\SYSTEM.INI" -> 
"/home/szift/.wine/dosdevices/c:/windows/system.ini" required a 
case-insensitive search
warn:winmm:MMDRV_Install Couldn't open driver 'wine.drv'
msacm.drv like wine.drv
warn:file:wine_nt_to_unix_file_name L"advapi32.dll" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\windows\\system\\advapi32.dll" -> 
"/home/szift/.wine/dosdevices/c:/windows/system/ADVAPI32.DLL" required a 
case-insensitive search
midimap.drv like wine.drv
warn:file:wine_nt_to_unix_file_name L"advapi32.dll" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\windows\\system\\advapi32.dll" -> 
"/home/szift/.wine/dosdevices/c:/windows/system/ADVAPI32.DLL" required a 
case-insensitive search
warn:file:wine_nt_to_unix_file_name L"did1st.dat" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\did1st.dat" not found 
(c0000034)
warn:file:CreateFileW Unable to create file L"did1st.dat" (status c0000034)
warn:x11drv:X11DRV_SetupXIM Could not open input method.
warn:x11drv:x11drv_init_thread_data Input Method is not available
warn:gdi:GDI_GetObjPtr Invalid handle 0x238
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\PROGRAM\\EF2000.CFG" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/ef2000.cfg" required a 
case-insensitive search
warn:x11drv:X11DRV_SetupXIM Could not open input method.
warn:x11drv:x11drv_init_thread_data Input Method is not available
DISPDIB.DLL like wine.drv
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\SYSTEM.INI" -> 
"/home/szift/.wine/dosdevices/c:/windows/system.ini" required a 
case-insensitive search
mciseq.drv like wine.drv
warn:file:wine_nt_to_unix_file_name L"mciseq.drv" not found in 
/home/szift/.wine/dosdevices/c:/windows/command
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\program\\search.mid" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/SEARCH.MID" required a 
case-insensitive search
warn:mcimidi:MIDI_mciReadMTrk Two names (L""|)
repeated x 10
warn:heap:HEAP_ValidateInUseArena Heap 7fd30000: invalid in-use arena 
magic for 7fd9f7c8
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\SYSTEM.INI" -> 
"/home/szift/.wine/dosdevices/c:/windows/system.ini" required a 
case-insensitive search
mciseq.drv like wine.drv
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\program\\battle.mid" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/BATTLE.MID" required a 
case-insensitive search
warn:mcimidi:MIDI_mciReadMTrk Two names (L""|)
repeated x 8
warn:heap:HEAP_ValidateInUseArena Heap 7fd30000: invalid in-use arena 
magic for 7fd9f7c8
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\SYSTEM.INI" -> 
"/home/szift/.wine/dosdevices/c:/windows/system.ini" required a 
case-insensitive search
mciseq.drv like wine.drv
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\program\\danger.mid" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/DANGER.MID" required a 
case-insensitive search
warn:mcimidi:MIDI_mciReadMTrk Two names (L""|)
repeated x 6
warn:heap:HEAP_ValidateInUseArena Heap 7fd30000: invalid in-use arena 
magic for 7fd9f7c8
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\SYSTEM.INI" -> 
"/home/szift/.wine/dosdevices/c:/windows/system.ini" required a 
case-insensitive search
mciseq.drv like wine.drv
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\program\\victory.mid" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/VICTORY.MID" required a 
case-insensitive search
warn:mcimidi:MIDI_mciReadMTrk Two names (L"\0001\00c12\0001\00b1\0007"|Â)
repeated x 6
warn:heap:HEAP_ValidateInUseArena Heap 7fd30000: unaligned arena pointer 
7fd9f7ca
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\PROGRAM\\clump_3.txt" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/CLUMP_3.TXT" required a 
case-insensitive search
repeated x 3
warn:file:wine_nt_to_unix_file_name 
L"\\??\\C:\\did\\PROGRAM\\clump_ss.txt" -> 
"/home/szift/.wine/dosdevices/c:/did/PROGRAM/CLUMP_SS.TXT" required a 
case-insensitive search
repeated x 3
warn:x11drv:X11DRV_SetupXIM Could not open input method.
warn:x11drv:x11drv_init_thread_data Input Method is not available
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:file:wine_nt_to_unix_file_name L"newgui04.lbm" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\newgui04.lbm" not 
found (c0000034)
warn:file:CreateFileW Unable to create file L"newgui04.lbm" (status 
c0000034)
warn:file:wine_nt_to_unix_file_name L"newgui04.lbm" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\newgui04.lbm" not 
found (c0000034)
warn:file:CreateFileW Unable to create file L"newgui04.lbm" (status 
c0000034)
warn:file:wine_nt_to_unix_file_name L"newgui05.lbm" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\newgui05.lbm" not 
found (c0000034)
warn:file:CreateFileW Unable to create file L"newgui05.lbm" (status 
c0000034)
warn:file:wine_nt_to_unix_file_name L"newgui05.lbm" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\newgui05.lbm" not 
found (c0000034)
warn:file:CreateFileW Unable to create file L"newgui05.lbm" (status 
c0000034)
warn:file:wine_nt_to_unix_file_name L"GUI.par" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\GUI.par" not found 
(c0000034)
warn:file:CreateFileW Unable to create file L"GUI.par" (status c0000034)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:file:wine_nt_to_unix_file_name L"newbg.lbm" not found in 
/home/szift/.wine/dosdevices/c:/did/PROGRAM
warn:ntdll:NtCreateFile L"\\??\\C:\\did\\PROGRAM\\newbg.lbm" not found 
(c0000034)
warn:file:CreateFileW Unable to create file L"newbg.lbm" (status c0000034)
warn:gdi:GDI_GetObjPtr Invalid handle 0x45c
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
repeated x 3

The instruction at 004f9f3d referenced memory at 7e230000
a LOT of msgs like:
The memory could not be writtenThe instruction at 7fb7b0ce referenced 
memory at 00000001
but at different adresses, and then
./runit: line 4:  7887 Segmentation fault      wine _SUPERW.EXE DID=. 
quick_flag=1 GUI


what happens on screen is:
a small dark window appears (the intro) then changes to a bigger one 
(640x480 - the menu)
both windows are just black
when I click the 'X' on the titlebar the "Are you sure" window appears 
(this one displays ok) and when I press OK, the MEMORY errors above 
appear (The memory could not be written The instruction at 7fb7b0ce 
referenced memory at 00000001...)

this is all I could find out, any ideas?

btw. the wine.drv or wine.drv.so are nowhere to be found, I tried 
searching the whole compile dir and it's not there too but this never 
was a problem

--
Best wishes
Szift



More information about the wine-users mailing list