[Bug 16559] PixelFormat_WineD3DtoDD Can't translate this Pixelformat

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 20 18:37:26 CDT 2009


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


W3ird_N3rd <mailme667 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mailme667 at yahoo.co.uk




--- Comment #26 from W3ird_N3rd <mailme667 at yahoo.co.uk>  2009-06-20 18:37:24 ---
Another affected game for your pleasure: Trickstyle. To get the game to run at
all WINED3DPTEXTURECAPS_TRANSPARENCY needs to be deactived or removed from
recent wine code. After doing that you'll find out the Velodrome looks
brilliant in 3D but textures in all races.. suck.

Andrew Church @ #24 : your patch fixes most textures, makes the game a lot more
playable! The fact WINED3DPTEXTURECAPS_TRANSPARENCY cannot be enabled might
also have to do with some unsupported textureformats, but my guess is it's
about different ones.

When I have your patch applied and leave WINED3DPTEXTURECAPS_TRANSPARENCY
enabled I get this:

err:ddraw:PixelFormat_DD2WineD3D Unknown Pixelformat!
err:ddraw:IDirectDrawImpl_CreateNewSurface Unsupported / Unknown pixelformat
err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_CreateNewSurface failed
with 88760091
err:ddraw:PixelFormat_DD2WineD3D Unknown Pixelformat!
err:ddraw:IDirectDrawImpl_CreateNewSurface Unsupported / Unknown pixelformat
err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_CreateNewSurface failed
with 88760091
err:ddraw:PixelFormat_DD2WineD3D Unknown Pixelformat!
err:ddraw:IDirectDrawImpl_CreateNewSurface Unsupported / Unknown pixelformat
err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_CreateNewSurface failed
with 88760091

Which continues with:

fixme:d3d_surface:surface_load_ds_location No up to date depth stencil location
*** glibc detected *** TS_D3D.exe: malloc(): memory corruption: 0x7bd20278 ***

My feeling (woohoo guts) is that when WINED3DPTEXTURECAPS_TRANSPARENCY is
removed/deactived, it falls back on 19/64/70 for Trickstyle. So I'm guessing
the unsupported Pixelformats here are transparent versions of 19/64/70. With
WINED3DPTEXTURECAPS_TRANSPARENCY enabled it appears to get confused about
unsupported formats and goes to crash and burn.

I'll look further into this but I am definitely no expert.

-- 
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