Emulator Issues #5482
closedFailure to create textures in Metroid Prime
0%
Description
When playing Metroid Prime (GM8E01), the game runs fine on the menus, but crashes when Samus appears (i.e. when a game is started, after the message announcing the current location). This crash first causes the entire screen to go black for a second, then the emulator spazzes a bit, and an error message is displayed.
The error box gave the following message: "CreatePixelShaderFromByteCode failed at Src\D3DShader.cpp 151"
This happens every time I try to start the game, and I tried with several save files.
If I check Ignore CPU EFB access, I can actually see Samus for around 10 seconds (as the camera pans up when on a saving station), but it still crashes.
I seem to get different errors each time. I also got "Failed to create texture at Src\D3DTexture.cpp, line 66: hr=0x8007000e" and "Failed to create blend state at Src\Render.cpp 1235".
This glitched on v3.0-300-dirty or so (can't remember the exact number). Tried today with the latest, v3.0-692-dirty, and it's still the same issue. Both are 64-bit, as is my machine.
Might be unrelated, but I tried loading the save provided here http://www.gamefaqs.com/gamecube/447244-metroid-prime/saves (the one with 101% completion).
I'm running Windows 7 Home Premium 64-bit. My specs are: Processor: Intel Pentium T4500 @ 2.30GHz. RAM: 4GB @ 399MHz. Motherboard: Acer JE51_MV (uPGA-478). Graphic card: Mobile Intel (R) 4 Series Express Chipset Family. Even though it's a relatively weak machine, I never got any error like this in any other game, GC or Wii.
Also, it might be worth noticing that on v.30-692-dirty, these crashes also shut down RMClock and reset my laptop's lighting.
Updated by NeoBrainX almost 13 years ago
Does the CreatePixelShaderFromByteCode error appear in the 3.0-692 build as well? If so, please read the error message carefully and post all requested info.
Updated by andreluis.g.silva almost 13 years ago
It does. The message I posted is exactly what appears. As a matter of fact, that error was transcribed from a recent 3.0-692 test, just before I posted this. I'm not sure if that's what it said on the version I had before, but I'm sure it was something along those lines.
Updated by pauldacheez almost 13 years ago
Just to make sure, is everything down here disabled? http://cl.ly/HTAJ
Those options usually cause nothing but problems on Intel GPUs.
Updated by andreluis.g.silva almost 13 years ago
I tried unchecking the only option I had checked there, "Disable Per-Pixel Depth", and it still crashed, with the error "Failed to create depth state at Src\Render.cpp 1243" this time.
Oh, but I tried having just "Disable Per-Pixel Depth", "Disable Fog" and "Skip Dest. Alpha Pass" checked and the game worked fine. Turns out having the option "Skip Dest. Alpha Pass" checked is the key.
"Disable" is such a buzzword. I wasn't sure if you meant "disable the checkbox" or "disable the feature, by checking the checkbox", so I tried several combinations, and this worked.
Updated by NeoBrainX almost 13 years ago
- Status changed from New to New
Having an option checked or unchecked shouldn't make stuff crash. Especially not if the only behavior which works is the inaccurate one. Might be revision 146b02615c07 which is the culprit here for both the shader compilation errors and blend state creation errors.
could you check if the issue happens in 3.0-678 and 3.0-673 with "Skip Dest. Alpha pass" unchecked?
Updated by andreluis.g.silva almost 13 years ago
In both revisions, with that option unchecked, the game crashes, but Dolphin itself doesn't. I get two "CreatePixelShaderFromByteCode failed at Src\D3DShader.cpp 151" message boxes, in either revision.
Updated by Billiard26 about 12 years ago
- Status changed from New to Questionable
- Issue type set to Bug
- Category set to gfx
- Operating system Windows added
Is this issue present in recent revisions?
If so, which revision was tested?
And is this only present with DX9? (not DX11)
Updated by andreluis.g.silva about 12 years ago
On Dolphin 3.5, the game runs just fine with DX9. I tried with the "Skip Dest. Alpha Pass" checkbox checked, and it ran a bit faster than without, but it does run fine.
The problem I had on the OP only happens on DX11 for me. With the SDAP checkbox checked, the game plays, albeit slowly; with it unchecked, the emulator gives the following error when Samus appears: "Failed to create blend state at Src\Render.cpp 1247"
The "Skip Fog" and "Disable Per-Pixel Depth" had no impact.
Updated by Billiard26 about 12 years ago
andreluis.g.silva, Dolphin 3.5 is old. We are interested in results with recent revisions.
You can download a recent build here: http://dolphin-emu.org/download/
Updated by andreluis.g.silva about 12 years ago
Oh, right. Sorry. I just assumed a stable version was preferred. And I recently discovered that the old site, hosted by a greedy former-developer is using outdated versions or something or another, I just decided to use the most assured version I knew.
Dolphin 3.5-1180
D3D9, SDAP unchecked: Works fine.
D3D9, SDAP checked: Freezes when Samus shows, emulator is still going. Stopping the emulation causes Dolphin to freeze.
D3D11, SDAP unchecked: "Failed to create texture at Src\D3DTexture.cpp, line 66: hr=0x887a0005", followed by "DX11:TextureCache::TCacheEntry::FromRenderTargetFailed in Src\TextureCache.cpp at line 128: Create efb copy constant buffer 16", and then a Dolphin crash.
D3D11, SDAP checked: Works fine.
Updated by JMC4789 over 10 years ago
- Status changed from Questionable to Won't fix
We no longer support the graphics card in this issue report to my knowledge.