[Bug 16444] Running Steam version of civ 4 BTS using radeon open source driver with ati M 9200 crash in the first game frame

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 12 07:37:14 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16444


Pauli Nieminen <paniemin at cc.hut.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |UNCONFIRMED
         Resolution|INVALID                     |




--- Comment #6 from Pauli Nieminen <paniemin at cc.hut.fi>  2008-12-12 07:37:14 ---
I have beend debuging the crash and problem seems to be this (at leas in d3d8
test case)

Wine frequantly disables VERTEX_PROGRAM_ARB in shader_select function. In the
test that crash happens DrawPrimitiveUP is called with vertex shader enabled
but wine never tells GL to enable vertex prgorams before glDrawArrays is
called. Now driver tries to handle drawing code but it thinks fixed function
pipeline should be used for vertex processing because vertex program isn't
enabled.
assertion failure happens in code that tries to upload fixed function data to
card but wine haven't provided correct data for that.


If I enable VERTEX_PROGRAM_ARB in IWineD3DDeviceImpl_CreateVertexShader all
test case are run but I get 3 failures. So problem is that wine doesn't
correctly call shader_select before trying to render the scene.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list