Cxbx-Reloaded / Cxbx-Reloaded

Xbox (Original) Emulator
https://cxbx-reloaded.co.uk
GNU General Public License v2.0
2.17k stars 255 forks source link

"CreateTexture Failed" error dialog #1064

Open PatrickvL opened 6 years ago

PatrickvL commented 6 years ago

See subject and this remark on Farcry : https://github.com/Cxbx-Reloaded/game-compatibility/issues/62#issuecomment-381385105 for details.

The dialog is triggered by this line: https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/master/src/CxbxKrnl/EmuD3D8.cpp#L5099 or around that, the line reading : CxbxKrnlCleanup("CreateTexture Failed!

This is probably a result from https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/1058 which started to pass a non-zero value for the D3DUsage-argument to CreateTexture.

This happens for these test cases:

TODO : Add more

PatrickvL commented 6 years ago

This sheds some light on this issue : https://www.gamedev.net/forums/topic/471600-depth-stencil-buffer-textures-only-supported-on-nvidia-cards/

It might be due to a missing D3DUSAGE_DEPTHSTENCIL flag, or the GPU driver doesn't support this format (ATI seems to have specific four-cc formats that contain depth stencil data, so that could be a solution for that specific vendor)

kennethedmonds commented 6 years ago

I found that Tony Hawk Pro Skater 4, and Tony Hawk's Underground 1 & 2 displays. I don't have any other Tony Hawk games to check if they do it too.

---------------------------
Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateTexture Failed!

Error: 0x8876086C
Format: 75
Dimensions: 256x256

---------------------------
OK   
---------------------------

And I have an EVGA GeForce 1080ti if that helps confirm anything for you.

JohnGodgames commented 6 years ago

Finding Nemo


---------------------------
Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateTexture Failed!

Error: 0x8876086C
Format: 75
Dimensions: 128x128

---------------------------
OK   
---------------------------

Gauntle Seven Sorrows

---------------------------
Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateTexture Failed!

Error: 0x8876086C
Format: 75
Dimensions: 768x512

---------------------------
OK   
---------------------------

Just Cause

---------------------------
Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateTexture Failed!

Error: 0x8876086C
Format: 70
Dimensions: 512x512

---------------------------
OK   
---------------------------
gandalfthewhite19890404 commented 6 years ago

WWE RAW2 https://github.com/Cxbx-Reloaded/game-compatibility/issues/61

Received Fatal Message:

Error: 0x8876086C Format: 75 Dimensions: 512x512

Legends of wrestling

Received Fatal Message:

kennethedmonds commented 6 years ago

BLiNX: the time sweeper

---------------------------
Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateTexture Failed!

Error: 0x8876086C
Format: 75
Dimensions: 640x480

---------------------------
OK   
---------------------------
ObiKKa commented 6 years ago

Persistent error in Crimson Skies: High Road to Revenge (Format 80) (Edit: Nov 29, 2020 - Probably gone now.).

An old post (Just 8 days before the next post) showing that Cold Fear (Format 23. Same as Panzer Dragoon Orta.) has this popup message.

(Edit Nov 29, 2020):

(Edit Jan 12, 2021):

Ale100000 commented 6 years ago

Virtua Cop 3

---------------------------
Cxbx-Reloaded
---------------------------
Received Fatal Message:

* CreateTexture Failed!

Error: 0x8876086C
Format: 21
Dimensions: 640x480

---------------------------
OK   
---------------------------
NZJenkins commented 5 years ago

If anyone feels like some testing #1541 may help with some of these

real-guilty commented 3 months ago

Dead or Alive Ultimate

Received Fatal Message:

*CreateTexture Failed!

Error: 0x8876017C Format: 21 Dimensions: 1024x1024

I've seen other dimensions listed before in other crashes, (1024x2048). Seems to be related to specific stages, but cannot determine conclusively.