Hi Jesse,
The failures you see are only whitespace changes. Either make patch skip whitespace changes, or apply the following patch to Olivier's patch prior to apply it to your tree.
Vincent
On Sat, 2005-04-30 at 13:25 -0400, Vincent Béron wrote:
Hi Jesse,
The failures you see are only whitespace changes. Either make patch skip whitespace changes, or apply the following patch to Olivier's patch prior to apply it to your tree.
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o directx.o directx.c directx.c:36: error: static declaration of ‘DeviceMemory’ follows non-static declaration directx.c:35: error: previous declaration of ‘DeviceMemory’ was here
Le sam 30/04/2005 à 16:21, Ivan Gyurdiev a écrit :
On Sat, 2005-04-30 at 13:25 -0400, Vincent Béron wrote:
Hi Jesse,
The failures you see are only whitespace changes. Either make patch skip whitespace changes, or apply the following patch to Olivier's patch prior to apply it to your tree.
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o directx.o directx.c directx.c:36: error: static declaration of ‘DeviceMemory’ follows non-static declaration directx.c:35: error: previous declaration of ‘DeviceMemory’ was here
Olivier's patch is the one adding both the extern and static declarations of DeviceMemory. He's the one to who ask questions.
Vincent
On Sat, 2005-04-30 at 16:24 -0400, Vincent Béron wrote:
Le sam 30/04/2005 à 16:21, Ivan Gyurdiev a écrit :
On Sat, 2005-04-30 at 13:25 -0400, Vincent Béron wrote:
Hi Jesse,
The failures you see are only whitespace changes. Either make patch skip whitespace changes, or apply the following patch to Olivier's patch prior to apply it to your tree.
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o directx.o directx.c directx.c:36: error: static declaration of ‘DeviceMemory’ follows non-static declaration directx.c:35: error: previous declaration of ‘DeviceMemory’ was here
Olivier's patch is the one adding both the extern and static declarations of DeviceMemory. He's the one to who ask questions.
Vincent
Okay - Oliver, seems the extern shouldn't be there (?)
Additionally, Half Life 2 crashed on start, with the following output. It got to the startup screen the second time though. I will experiment to see what works. I can help test this game...
ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL plug:hw:0 err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\Program Files\Valve\ \Steam\" fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub. fixme:ole:CoCreateInstance no classfactory created for CLSID {4955dd33-b159-11d0 -8fcf-00aa006bcc59}, hres is 0x80040154 fixme:wine_d3d:WineDirect3DCreate Createing global statistics store fixme:vxd:VXD_Open Unknown/unsupported VxD L"gdperf.vxd". Try setting Windows ve rsion to 'nt40' or 'win31'. ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL plug:hw:0 fixme:wine_d3d:WineDirect3DCreate Createing global statistics store fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x77e5d5e8) : stub, emulati ng 256Mib for now, returning 256Mib fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8) multisample antialias not yet supported fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(162,-1) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(163,0) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(164,1065353216) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8) Debug streams not yet supported fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(172,3) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(173,1) not handled yet fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x77e54f18) call to IWineD3DDevic e_CreateSurface failed fixme:d3d9:D3D9CB_CreateSurface (0x77e54f18) IDirect3DDevice9_CreateSurface fail ed fixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface 0x7d20a780 fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x77e54f18) call to IWineD3DDevic e_CreateTexture failed fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(162,-1) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(163,0) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(172,3) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(173,1) not handled yet fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 10 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 10 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 10 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 1 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 2 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 6 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 5 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 7 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 1 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 2 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 6 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 5 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 7 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 1 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 2 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 6 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 5 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 7 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 11 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 11 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 11 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 11 fixme:d3d:IWineD3DQueryImpl_Issue (0x7d64fe58) : stub fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0000: stub! fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:vxd:VXD_Open Unknown/unsupported VxD L"gdperf.vxd". Try setting Windows ve rsion to 'nt40' or 'win31'. fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub. completionportmanager.cpp (28) : Assertion Failed: m_hIOCP fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:d3d:IWineD3DResourceImpl_SetPriority (0x7aee73b8) : Unexpected, implement SetPriority in the decendant fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub
Okay, more info and screenshots over here:
It's not playable, but it's exciting that it gets this far in the first place!
...it has to be installed through Steam (since msi won't work).
Ivan Gyurdiev wrote:
Additionally, Half Life 2 crashed on start, with the following output. It got to the startup screen the second time though. I will experiment to see what works. I can help test this game...
...
fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub. completionportmanager.cpp (28) : Assertion Failed: m_hIOCP fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:d3d:IWineD3DResourceImpl_SetPriority (0x7aee73b8) : Unexpected, implement SetPriority in the decendant fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub
CreateIoCompletionPort needs to be implemented. I sent patches for this function several years ago, but I never finished the work necessary to get them accepted. You may want to try them and see how well HL2 works with them.
Rob
fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub. completionportmanager.cpp (28) : Assertion Failed: m_hIOCP fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:d3d:IWineD3DResourceImpl_SetPriority (0x7aee73b8) : Unexpected, implement SetPriority in the decendant fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub
CreateIoCompletionPort needs to be implemented. I sent patches for this function several years ago, but I never finished the work necessary to get them accepted. You may want to try them and see how well HL2 works with them.
I got HL2 to start up without this - it worked on the second try. However I am interested in testing any relevant patches. I think I found the patch you're referring to...tried to sync and make it compile on CVS....
Not sure if it worked, because now I'm getting another error in wintest:
make[2]: Entering directory `/home/phantom/src/wine/programs/winetest' ../../tools/winegcc/winegcc -B../../tools/winebuild -mconsole gui.o main.o send.o util.o winetest.exe.dbg.o winetest.res -o winetest.exe.so -L../../dlls -lcomctl32 -luser32 -lgdi32 -lwsock32 -L../../libs/wine -lwine -L../../libs/port -lwine_port winetest.exe-nAWULK.spec.c:10655:65: warning: no newline at end of file winetest.exe-nAWULK.spec.c:10655: error: syntax error at end of input winegcc: gcc failed. make[2]: *** [winetest.exe.so] Error 2 make[2]: Leaving directory `/home/phantom/src/wine/programs/winetest' make[1]: *** [winetest] Error 2 make[1]: Leaving directory `/home/phantom/src/wine/programs' make: *** [programs] Error 2
However, patch is attached anyway (modifed for CVS). Is this the right patch?