http://bugs.winehq.org/show_bug.cgi?id=22467
Summary: Natural Selection 2 crashes on start up Product: Wine Version: 1.1.43 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: epssyis@gmail.com
Created an attachment (id=27523) --> (http://bugs.winehq.org/attachment.cgi?id=27523) NS2 console output, clipped
The Natural Selection 2 Test Engine crashes when attempting to start just after sound has started to play and a black window has spawned. I have been given a key by one of the developers to debug this issue and if you require it please contact me privately.
This application did function correctly as of Wine ~1.1.33 and stopped working shortly after. Regression testing is not possible as Steam no longer starts with these older versions of Wine and NS2 crashes with the first version where they both work.
NS2 requires Steam be running in the background to function. There are two sections of note in the attached console log.
The first appeared at the same time the game stopped functioning so is most likely related:
err:d3d9:device_parent_CreateSurface (0x1280e4) CreateSurface failed, returning 0x8876017c fixme:d3d_texture:texture_init Failed to create surface 0xc4f8790, hr 0x8876017c err:d3d:resource_init Out of adapter memory
This function was defined by Henri in commit a966293f593e8b75e796a0a923626a1e73403a20 on the 16th of January which fits the time line roughly.
The second was introduced in 41 as part of a patch set by Henri to add texture compression support last month:
err:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glCompressedTexSubImage2DARB @ device.c / 5298
bb94bc382329f4c9950aad1aa6f32fe0514f1dd9 eced5fe8ec16c9bc502f293754774d1763eef004 61ca407151649dc763950414e076ea7c640afee9