LEGO® Batman™: The Videogame

LEGO® Batman™: The Videogame

Hayden_304 Aug 17, 2020 @ 3:16am
FAILED TO CREATE D3D DEVICE.. HELP
Every time I go to launch the game it says "Failed to create d3d device. Application will now exit.
Error = 0x8876086c"
How do I fix this?

EDIT: FIXED.
Read comments.
Last edited by Hayden_304; Aug 22, 2020 @ 6:41pm
< >
Showing 1-15 of 15 comments
RHanson112485 Aug 17, 2020 @ 9:54am 
I'm encountering the same issue myself.
Waste_of_skin Aug 17, 2020 @ 11:05am 
Has the game ever worked for you? If so, what has changed since then?

If you search the forum for d3d, there are a number of old posts about that error, but I don't think that any of the topics that I looked at had a confirmed fix.

FWIW, some of the old posts suggested that using a 144 Hz monitor was the problem, but my monitor is 144 Hz, and the game runs fine for me. That doesn't mean that there isn't some kind of problem, but it's not as simple as "the game won't run on a 144 Hz monitor".

I think that the only time that I've seen that error myself was on a different game, when I tried changing it to use a resolution that was lower than the Windows desktop resolution (to see if that improved the performance). I have no idea why that would cause that error, but changing the game back to the desktop resolution got rid of the error. Of course if you can't even get the game to start, then you haven't had the chance to change the game resolution.

Here are a few things that you can try:

Have Steam verify the game files, just in case you have some corrupted files.

Maybe your security software prevented Steam from installing the required DirectX files, so you can try installing them "manually". Go into the game's Properties in Steam, select the Local Files tab, click "Browse Local Files" (which should open the Lego Batman game folder), open the DirectX folder, and run the DXSETUP program.

You could try editing the game's configuration file. In particular, there is a ScreenRefreshRate entry. If the refresh rate is an issue, as some old posts suggested, maybe changing that entry will help (FWIW, mine is set to 60).

The configuration file is named pcconfig.txt, and (under Windows 10) it should be in:

C:\Users\<your user name>\AppData\Local\Warner Bros. Interactive Entertainment\LEGO Batman

In addition to ScreenRefreshRate, some other notable entries near the beginning of that file are ScreenWidth and ScreenHeight (if you need/want to manually adjust the game resolution), and VerticalSync. Having V-Sync turned off in this game has caused problems for many, so, while you're there, you may want to make sure that VerticalSync is 1 (although you should be able to change that setting in the game options, once you get the game running).


Also, just an FYI ...

The save files for the game will be there with pcconfig.txt, in a "Saved Games" folder. This game does not use the Steam cloud, so, once you get the game working, you may want to make manual backups of that "Saved Games" folder, and pcconfig.txt .
Dulgoon Aug 19, 2020 @ 10:09am 
I have tried everything and i mean everything and nothing works all i get from windows is that i'm running an older program, and is still saying Failed to create d9d device. I DONT want a refund I want this game to work, I get the same for Lego Star Wars
Waste_of_skin Aug 19, 2020 @ 12:42pm 
For all of you ...

What are your system spec's? With that error, I guess the main things would be the Windows version (since Windows updates sometimes break things), GPU and drivers.

FWIW, I've got Win 10 Pro 1909 (haven't installed the 2004 update yet) and a Radeon 5700 XT with the 20.7.1 drivers (haven't installed 20.8.1 yet). The game runs fine here.

You could also check for any other software that you might have running that could be causing some kind of conflict with the game.

A Web search for that error turns up many results. You may find an answer for your specific problem somewhere in there. FWIW, in an old (last year) Steam forum topic (linked below) for Lego Star Wars, someone suggested that the game needed a 60 Hz refresh rate. If so, Lego Batman may very well be the same. There are some instructions there for telling Windows to use 60 Hz. You could try that.

https://steamcommunity.com/app/32440/discussions/0/1680315447973862258/

I don't know if the game actually requires 60 Hz, but I can say that it is running at 60 Hz for me. I've actually just tried to "force" it to 144 Hz (by changing the refresh rate in Windows and editing the pcconfig.txt file), and the game just changed it to 60 Hz (the game started fine, but when I checked the Video Options, it had set the refresh rate to 60 Hz).

So, if your monitor/GPU somehow won't run at 60 Hz, maybe that's the problem.
._Fer_. Aug 19, 2020 @ 1:44pm 
Originally posted by Waste_of_skin:
For all of you ...

What are your system spec's? With that error, I guess the main things would be the Windows version (since Windows updates sometimes break things), GPU and drivers.

FWIW, I've got Win 10 Pro 1909 (haven't installed the 2004 update yet) and a Radeon 5700 XT with the 20.7.1 drivers (haven't installed 20.8.1 yet). The game runs fine here.

You could also check for any other software that you might have running that could be causing some kind of conflict with the game.

A Web search for that error turns up many results. You may find an answer for your specific problem somewhere in there. FWIW, in an old (last year) Steam forum topic (linked below) for Lego Star Wars, someone suggested that the game needed a 60 Hz refresh rate. If so, Lego Batman may very well be the same. There are some instructions there for telling Windows to use 60 Hz. You could try that.

https://steamcommunity.com/app/32440/discussions/0/1680315447973862258/

I don't know if the game actually requires 60 Hz, but I can say that it is running at 60 Hz for me. I've actually just tried to "force" it to 144 Hz (by changing the refresh rate in Windows and editing the pcconfig.txt file), and the game just changed it to 60 Hz (the game started fine, but when I checked the Video Options, it had set the refresh rate to 60 Hz).

So, if your monitor/GPU somehow won't run at 60 Hz, maybe that's the problem.
Hayden_304 Aug 22, 2020 @ 6:23pm 
***FIXED***

Okay, this is my experience and I'm not sure if it'll be the same for everybody, but I got the game to launch and play on keyboard normally. Still couldn't figure out how to use a controller with this game but not everyone wants to anyway.
I had to go into the NVIDIA Control Panel and manually set the application to max of 60fps.

But, before I did that I had already deleted and downloaded the game, got steam to verify the files, been into DirectX files and tried all that, still wouldn't work for me.

So I connected my computer to my tv because I knew it routes through the NVIDIA Graphics card and also locks the screen to 60fps because that's the max Hz of the tv.
I did this just to confirm that it was the issue that I was reading on all the forums, and for me, that's all it was. Then I disconnected it and knew what I had to do.



Now, because I'm on a laptop I had the other issue of Intel integrated graphics trying to launch the game at 144hz or above, THEN switch to the RTX2060 @60Hz.
So to solve this problem I took the easy way, I went ahead and disabled the Intel graphics.
There's probably a way to do it without turning this off but it doesn't bother me!

Having the graphics card constantly running supposedly uses more battery on a laptop but if you're sensible you probably wouldn't be gaming without it being connected to power anyway.

**Don't try this if you don't have a graphics card or another display option as you will disable the screen**

So if you're having the same problem as me try turning off the integrated graphics. Right click the Start icon and press Device Manager then go to Display adapters and right click Intel Graphics and press Disable device, then your graphics card should automatically take over like mine did.

I'm not sure if this would be the same for Ryzen users, but I'm sure the steps would be similar, could always try, right?

By now you should've already set the application in your graphics card settings to run at 60fps max, but if you haven't here's how I did it in NVIDIA Control Panel; Obviously open NVIDIA Control Panel first, then click Manage 3D Settings, then Program Settings.
Select your program to customize, which in this case was LEGO: Batman.

Your graphics processor options should be set to secondary GPU (NVIDIA) or you won't be able to run the application.
Then in "Specify the settings for this program:" scroll down to Max Frame Rate and set that to 60 or lower. Then click Apply to save the settings.

If the game still doesn't launch I'm sorry I couldn't be of any help, but this is what fixed it for me.
Last edited by Hayden_304; Aug 23, 2020 @ 11:59pm
Dulgoon Aug 23, 2020 @ 12:23am 
Thankyou I'll have a look around, One question tho, This laptop it temporary till i get my main ce with a RTX Titan, would i still have the same problem with the main PC or is it cus i have a laptop?
Hayden_304 Aug 24, 2020 @ 12:07am 
I can't say for certain you won't have any problems, but it won't be the integrated graphics problem if you run the monitor(s) through the dedicated GPU.
I assume you will still have to limit the fps to 60 if that's what fixes it for you.
Dulgoon Aug 24, 2020 @ 12:46am 
Thankyou i'll has a fiddle and see if i can get it working
toastymrkrispy Oct 3, 2020 @ 1:22pm 
The fix for me was turning off hybrid mode. My laptop has a dedicated graphics card and integrated graphics. Hybrid mode will let the computer run on integrated graphics to save on power. Some games will default to integrated when the dedicated graphics is needed. So I had it turned off. So I suppose turning it back on let the game run of integrated graphics. Hope this helps someone.
On a side note, now it's running at about 7 fps. Soooooo, a bit more trouble shooting before I play. Gotta love pc gaming, amirite?

Edit:

And now I'm back to getting the error and the game not loading after I tried to get the fps up. Not going to bother anymore, too many other games to play
Last edited by toastymrkrispy; Oct 3, 2020 @ 6:15pm
Dulgoon Oct 3, 2020 @ 1:34pm 
Well i uninstalled the game as i have other games i really wanted to play but i'll be installing all of my games when i get my new RTX 3090 rig i cant imagine i'll have a problem with that set up on this laptop i cant lower the frame rates either so ........ but thanks for the input if i do have the same problem with my new rig i'll give that a whirl ... many thanks
Noutjen Oct 23, 2021 @ 5:35am 
Originally posted by Hayden_304:
***FIXED***

Okay, this is my experience and I'm not sure if it'll be the same for everybody, but I got the game to launch and play on keyboard normally. Still couldn't figure out how to use a controller with this game but not everyone wants to anyway.
I had to go into the NVIDIA Control Panel and manually set the application to max of 60fps.

But, before I did that I had already deleted and downloaded the game, got steam to verify the files, been into DirectX files and tried all that, still wouldn't work for me.

So I connected my computer to my tv because I knew it routes through the NVIDIA Graphics card and also locks the screen to 60fps because that's the max Hz of the tv.
I did this just to confirm that it was the issue that I was reading on all the forums, and for me, that's all it was. Then I disconnected it and knew what I had to do.



Now, because I'm on a laptop I had the other issue of Intel integrated graphics trying to launch the game at 144hz or above, THEN switch to the RTX2060 @60Hz.
So to solve this problem I took the easy way, I went ahead and disabled the Intel graphics.
There's probably a way to do it without turning this off but it doesn't bother me!

Having the graphics card constantly running supposedly uses more battery on a laptop but if you're sensible you probably wouldn't be gaming without it being connected to power anyway.

**Don't try this if you don't have a graphics card or another display option as you will disable the screen**

So if you're having the same problem as me try turning off the integrated graphics. Right click the Start icon and press Device Manager then go to Display adapters and right click Intel Graphics and press Disable device, then your graphics card should automatically take over like mine did.

I'm not sure if this would be the same for Ryzen users, but I'm sure the steps would be similar, could always try, right?

By now you should've already set the application in your graphics card settings to run at 60fps max, but if you haven't here's how I did it in NVIDIA Control Panel; Obviously open NVIDIA Control Panel first, then click Manage 3D Settings, then Program Settings.
Select your program to customize, which in this case was LEGO: Batman.

Your graphics processor options should be set to secondary GPU (NVIDIA) or you won't be able to run the application.
Then in "Specify the settings for this program:" scroll down to Max Frame Rate and set that to 60 or lower. Then click Apply to save the settings.

If the game still doesn't launch I'm sorry I couldn't be of any help, but this is what fixed it for me.

my game only runs when i plug it into my tv so i guess i had the same problem as you but your method doesnt work for me and i think that is because my cpu has integrated graphics and i cant disable them, when i go to nvidia control panel and select a gpu i can only select my rtx 2060 but it just doesnt work.
any idea how to make this work when the integrated graphics are integrated in the cpu? or is it impossible to disable them? btw i have a AMD Ryzen 7 4800H with radeon graphics
Last edited by Noutjen; Oct 23, 2021 @ 5:39am
Waste_of_skin Oct 23, 2021 @ 11:50am 
I wonder if this might be another symptom of the V-Sync problem in this game?

The most common problem in this game when V-Sync is off seems to be that some objects in the game don't interact properly (eg. the RC car doesn't move properly), but it has apparently caused crashes for at least one or two people. With people here saying that the game worked when they forced their video (in one way or another) to use 60 Hz, I wonder if this really might be another V-Sync issue.

You could try going into your video software/drivers (Nvidia and/or AMD) and make sure that something isn't overriding V-Sync. For example, AMD has an option to disable V-Sync ("vertical refresh") for everything, but they also have a "Radeon Enhanced Sync" option that overrides the regular V-Sync.
Originally posted by Hayden_304:
***FIXED***

Okay, this is my experience and I'm not sure if it'll be the same for everybody, but I got the game to launch and play on keyboard normally. Still couldn't figure out how to use a controller with this game but not everyone wants to anyway.
I had to go into the NVIDIA Control Panel and manually set the application to max of 60fps.

But, before I did that I had already deleted and downloaded the game, got steam to verify the files, been into DirectX files and tried all that, still wouldn't work for me.

So I connected my computer to my tv because I knew it routes through the NVIDIA Graphics card and also locks the screen to 60fps because that's the max Hz of the tv.
I did this just to confirm that it was the issue that I was reading on all the forums, and for me, that's all it was. Then I disconnected it and knew what I had to do.



Now, because I'm on a laptop I had the other issue of Intel integrated graphics trying to launch the game at 144hz or above, THEN switch to the RTX2060 @60Hz.
So to solve this problem I took the easy way, I went ahead and disabled the Intel graphics.
There's probably a way to do it without turning this off but it doesn't bother me!

Having the graphics card constantly running supposedly uses more battery on a laptop but if you're sensible you probably wouldn't be gaming without it being connected to power anyway.

**Don't try this if you don't have a graphics card or another display option as you will disable the screen**

So if you're having the same problem as me try turning off the integrated graphics. Right click the Start icon and press Device Manager then go to Display adapters and right click Intel Graphics and press Disable device, then your graphics card should automatically take over like mine did.

I'm not sure if this would be the same for Ryzen users, but I'm sure the steps would be similar, could always try, right?

By now you should've already set the application in your graphics card settings to run at 60fps max, but if you haven't here's how I did it in NVIDIA Control Panel; Obviously open NVIDIA Control Panel first, then click Manage 3D Settings, then Program Settings.
Select your program to customize, which in this case was LEGO: Batman.

Your graphics processor options should be set to secondary GPU (NVIDIA) or you won't be able to run the application.
Then in "Specify the settings for this program:" scroll down to Max Frame Rate and set that to 60 or lower. Then click Apply to save the settings.

If the game still doesn't launch I'm sorry I couldn't be of any help, but this is what fixed it for me.
Thank you very much!It's works for me.
Stone_G Jun 18, 2022 @ 3:44pm 
Adding -autoconfig to launch options worked for me
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Aug 17, 2020 @ 3:16am
Posts: 15