Forum Discussion

IonizedAndy's avatar
4 years ago
Solved

[PC]Unable to launch game - DirectX function "res" failed.

Need help badly - ive been trying next to everything to get the game going lately, tried most solutions on this forum and what the internet else has provided in my search for a fix but still unable to start the game, Easy AC loads up and bf2042 black box pops up and after a few moments of loading i get hit with a DirectX error stating:

DirectX Function "res" failed with E_UNEXPECTED ("Unexpected failure."). GPU: "AMD Radeon RX 5700 XT", Driver: 22.10.3 (22.20.29.04-221025a-385333C-AMD-Software-Adrenalin-Edition)

i found another topic on this forum but its just marked as solved with no solution attached and ive tried the different ideas mentioned in this thread without luck, also tried other stuff to see if i can get the error gone mentioned on the internet.

only thing i havnt done is reinstalling my windows as it cannot be the right solution as its JUST bf2042 that doesnt work.

please help !

CPU: AMD Ryzen 7 3700X

GPU: AMD 5700 XT

RAM: 32gb

OS: Win 10 Pro 21H2

  • @Rokebo73 So heres the news, it took a bit of fooling around and im hating my self for how "simple" the solution was considering how much ive been through :P ..

    So i got it working - heres the highlights of the journey.

    after going mental over my issue i started to wonder, what if a tiny thing as my xbox 360 controller being connected could somehow interfere with this one game.. i mean it is BF after all and clearly in regards to running it really is the special kid on the block as no other game ive been running on the pc has complained like that.

    Anyways i unplugged the controller and suddenly the error went away, All good - nope hit in the face with a new error message:
    see first post here: https://answers.ea.com/t5/Technical-Issues/Directx-Error-StorePipeline-HashStrDx12-key-pipelineState/m-p/10954159/highlight/true#M1733 ...

    but here was a solution only thing was i couldnt get the data to work, as it was said i should update the MachineGUID registry entry on my pc to a given value but i couldnt not get that value to match my current reg value it was when i came across this post: https://answers.ea.com/t5/Technical-Issues/Directx-Error-StorePipeline-HashStrDx12-key-pipelineState/m-p/10974911/highlight/true#M5615 where he added screenshots and i noticed that hes MachineGUID was a string not a binary like mine, so i deleted my original key and added a new string and booted. and then BF launched just as it should. FINALLY im shoooting stuff again ! thanks for all ytour help tho mate ! :D ..

    best

8 Replies

  • Hi @IonizedAndy, Thanks for the details!

    Few quick questions is anything overclocked and do you have XMP running?

    /Atic

  • @EA_Aticthank you for replying !

    Nothing is OC'ed beyond thats happening out of the box, and yes running D.O.C.P on the RAM (AMDs version of XMP just for the record :P)

    edit: game also creates crashdumps, dont know if they add value here or if they are "safe" to share public as i dont know if any personal info is stored within. but i can provide if it can help in any way

  • Rokebo73's avatar
    Rokebo73
    Seasoned Ace
    4 years ago
    @IonizedAndy Hey man, could you disable everything from armour crate and all Razer Chroma (SDK Service).

    aslo check your windows , read text below:

    SFC - Windows Health Check
    Press Windows key + 'R' ,typ CMD
    Press and hold down CTRL + SHIFT and press ENTER.
    When User Account Control shows up, click Yes.
    Use the following command lines, pressing Enter after each
    (make sure you wait till each of the commands is executed properly):

    sfc /scannow
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
    Reboot system, now same again but only use SFC /SANNOW
    if again any error popsup , wait till repair is done and reboot again, and do another check.

    No errors ? Please test game again.
    Update us !
  • @Rokebo73 Hey!, i allready did try a clean boot as you mentioned in another thread regarding the same issue or atleast same symptom: https://answers.ea.com/t5/Technical-Issues/Directx-function-quot-res-quot-failed/td-p/11785369/page/2

    and so as you asked there i also did the different commands, but for the sake of trying to solve this i just redid those without any findings or errors, i also just did a system reset (with the option to keep files on!) and that didnt resolve the issue unfortunately :/ .. so regarding to your services then Armour create and Razer not installed. or refrasing tested before installing.

    sfc /scannow result:
    W i n d o w s R e s o u r c e P r o t e c t i o n d i d n o t f i n d a n y i n t e g r i t y v i o l a t i o n s .
    DISM /Online /Cleanup-Image /CheckHealth result:

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844

    Image Version: 10.0.19045.2311

    No component store corruption detected.
    The operation completed successfully.
    DISM /Online /Cleanup-Image /ScanHealth result:
    No component store corruption detected.
    The operation completed successfully.
    DISM /Online /Cleanup-Image /RestoreHealth result:
    The restore operation completed successfully.
    The operation completed successfully.

    hope you have other ideas, im getting close to sacrificing the next few evenings reinstalling stuff and just doing a full reset clear all on the system, as im so frustrated ☹️..

    best
  • @Rokebo73 So heres the news, it took a bit of fooling around and im hating my self for how "simple" the solution was considering how much ive been through :P ..

    So i got it working - heres the highlights of the journey.

    after going mental over my issue i started to wonder, what if a tiny thing as my xbox 360 controller being connected could somehow interfere with this one game.. i mean it is BF after all and clearly in regards to running it really is the special kid on the block as no other game ive been running on the pc has complained like that.

    Anyways i unplugged the controller and suddenly the error went away, All good - nope hit in the face with a new error message:
    see first post here: https://answers.ea.com/t5/Technical-Issues/Directx-Error-StorePipeline-HashStrDx12-key-pipelineState/m-p/10954159/highlight/true#M1733 ...

    but here was a solution only thing was i couldnt get the data to work, as it was said i should update the MachineGUID registry entry on my pc to a given value but i couldnt not get that value to match my current reg value it was when i came across this post: https://answers.ea.com/t5/Technical-Issues/Directx-Error-StorePipeline-HashStrDx12-key-pipelineState/m-p/10974911/highlight/true#M5615 where he added screenshots and i noticed that hes MachineGUID was a string not a binary like mine, so i deleted my original key and added a new string and booted. and then BF launched just as it should. FINALLY im shoooting stuff again ! thanks for all ytour help tho mate ! :D ..

    best
  • skaman777's avatar
    skaman777
    3 years ago

    I got the same problem you have,
    Same gpu
    5600x cpu

    I changed the MachienGUID to the same string as you, the game now opens but it does not go past a black screen
    I attached a screenshot of what my screen gets stuck on

    any help?

Featured Places