D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
User avatar
Phlimm
Posts: 60
Joined: Wed Apr 11, 2012 7:51 pm

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by Phlimm »

petri wrote:Could you try running the game in windowed or borderless mode (in game options)?
I tried both Normal Windowed mode and Maximized (assuming you meant to make the change on the icon properties). No good either way.
astroman
Posts: 4
Joined: Wed Apr 11, 2012 8:36 pm

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by astroman »

petri wrote:Could you try running the game in windowed or borderless mode (in game options)?
Can't run it to set anything, I click play from Steam, next thing I see is an alert window with the error message... My DPI was and is stil lat 100%...
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by petri »

Phlimm wrote:
petri wrote:Could you try running the game in windowed or borderless mode (in game options)?
I tried both Normal Windowed mode and Maximized (assuming you meant to make the change on the icon properties). No good either way.
Ok, let's try this. Could you browse to your Documents folder and open up the game config file at "Documents\Almost Human\grimrock.cfg". In the file search for a line that says "displayMode = X" where X is a number (probably 1). Change the value 1 to 2 so that the line says "displayMode = 2". This should force on windowed mode.
userwords
Posts: 19
Joined: Wed Apr 04, 2012 8:29 pm

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by userwords »

same here

intel core e8500

ddr2 4gb

amd 4870

windows 7 64bit ultimate

never found that error on any other game.

error shows when intalling some microsoft vc redist (or something like that)

and for some reason error in system bar shows opera web browser icon :lol:
User avatar
Phlimm
Posts: 60
Joined: Wed Apr 11, 2012 7:51 pm

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by Phlimm »

petri wrote:
Phlimm wrote:
petri wrote:Could you try running the game in windowed or borderless mode (in game options)?
I tried both Normal Windowed mode and Maximized (assuming you meant to make the change on the icon properties). No good either way.
Ok, let's try this. Could you browse to your Documents folder and open up the game config file at "Documents\Almost Human\grimrock.cfg". In the file search for a line that says "displayMode = X" where X is a number (probably 1). Change the value 1 to 2 so that the line says "displayMode = 2". This should force on windowed mode.
You sir, are a god. It worked and then I was able to also set it to Maximized with the game options screen and it now runs!

:D
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by petri »

Ok, good to hear that! Note that if you want to get rid of the window borders you can try setting it to value 3 which means "borderless windowed mode".
astroman
Posts: 4
Joined: Wed Apr 11, 2012 8:36 pm

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by astroman »

petri wrote:
Phlimm wrote:
petri wrote:Could you try running the game in windowed or borderless mode (in game options)?
I tried both Normal Windowed mode and Maximized (assuming you meant to make the change on the icon properties). No good either way.
Ok, let's try this. Could you browse to your Documents folder and open up the game config file at "Documents\Almost Human\grimrock.cfg". In the file search for a line that says "displayMode = X" where X is a number (probably 1). Change the value 1 to 2 so that the line says "displayMode = 2". This should force on windowed mode.
Editing config file worked, can play windowed/borderless for now, thanks. Fullscreen *should* work though :)
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by petri »

Agreed. Perhaps you could help us out by giving some remote debugging assistance? May I contact you tomorrow by sending a PM so we could investigate this further?
userwords
Posts: 19
Joined: Wed Apr 04, 2012 8:29 pm

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by userwords »

Fix worked somehow game started and could enter options but could not reach apply button as was not visible

i closed game and changed again option to number 1 and resolution to 1920x1080 and this time started in fullscreen

resolution on cfg was previously somethingx599 :|
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: D3DError - CreateDevice failed: D3DERR_INVALIDCALL

Post by petri »

Ok, thanks for the info. Seems like there is a problem detecting the correct fullscreen resolution on some systems.
Post Reply