[ERROR] DXGI_ERROR_DEVICE_REMOVED

View previous topic View next topic Go down

[ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by croxxx on Thu Apr 28, 2011 11:10 am

As the title says I always get an error when trying to start the game.
After 15 seconds white window, the following message appears:
DXGI_ERROR_DEVICE_REMOVED: Hardware device removed. (-2005270523)
A quick look in Google and I found out it might be caused by an error in the program.
Maybe this helps: http://msdn.microsoft.com/en-us/library/bb509553%28v=vs.85%29.aspx
Because I don't understand that much of coding I can't say more...

My System:
Intel Pentium D 820 2.8 GHz x2
Radeon HD 2600 AGP
2 GB RAM
Win 7 64-Bit

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Thu Apr 28, 2011 12:39 pm

I'm pretty sure this is related to running out of video ram. I'll try to get a version with lower rez textures uploaded to see if it works for you.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by croxxx on Thu Apr 28, 2011 1:37 pm

Oh thanks!
That's what I call fast support ;-)
Originally I thought 512MB would be enough...

Greets,
croxxx

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Thu Apr 28, 2011 1:45 pm

hehe, i'm not positive it's the video ram thing, but it's woirth a shot Wink
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Thu Apr 28, 2011 2:02 pm

try downloading this new exe and plonking it in the folder you unzipped the engine to, then try running it.

http://www.blokworld.co.uk/blokworld_croxxx.exe

I've halved the rez of the solid textures but it shouldn't really make that much of a difference. I've also added some loggin on the init process so that i can tell what's going on.

When it errors again, could you post the log.txt or let me know if it is missing please.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Fri Apr 29, 2011 4:32 am

It's definately a memory problem. I've been a tad wasteful in allocating texture arrays i've discovered. How does around 256MB of blank space allocated sound to you? Embarassed

I'll get this cleaned up and upload a new version of the exe this evening.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by croxxx on Fri Apr 29, 2011 6:04 am

Thank you!
Also the new version you uploaded for me doesn't work. Crying or Very sad
So I hope the new new will Wink

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Fri Apr 29, 2011 10:03 am

Okay, i've reworked the texture loading so it uses a central routine to
load pretty much all the textures. It also keeps a track of the ram used
and is more efficient also.

You can download the update version from...

http://www.blokworld.co.uk/techtest1.zip

It's a complete download since some textures were renamed.
It's also available at the original link, but sometimes the file can be cached somewhere along the line, hence the new one also.

Try it and see if it solves this problem (it did on another PC i have access to that had the same problem)
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

It works!

Post by croxxx on Fri Apr 29, 2011 12:50 pm

Thank you very much!
This is it! Now it works fine!

But the controls are a bit strange.
Here is an example how you could improve it:
Look around: Moving mouse (without having to press rmb)
Build: Maybe with right mouse button
In Freemove: I missed a possibility to go straight upward (Maybe space)

And I also found my first bug...
I went under sea and found some blocks on the ground that were not water-filled but should be...
I digged down and built a little tunnel. It didn't get filled...
Then I removed a sand block next to one of those empty blocks - my tunnel was flooded.

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Fri Apr 29, 2011 1:06 pm

I'm still not sure about the controls. I want to have a mouse pointer moving around since i want the user to be able to click on stuff in the interface for things like routing power, activating defences etc. So i don't want the default mode to be 'mouselook'

I'm not sure what you mean by the straight up thing? You can look up 90 degrees and fly in that direction.

I know about the sea thing. I increased the depth of the sea without setting the sea fill level down to the same depth. It doesn't get filled in after the fact because i haven't got the code in to pick up blocks that need processed unless you alter a block directly beside them.

I'll fix the depth thing now while i remember.

Oh, btw, do you have trees or white sticks?
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by croxxx on Fri Apr 29, 2011 1:19 pm

OK, but could there be some alternative viewing mode?
Looking up and flying is sometimes a bit too complicated Smile
I see white sticks...

croxxx

Posts : 43
Join date : 2011-03-24

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Fri Apr 29, 2011 1:31 pm

hehe, i got a 'sixth sense' shiver there Wink

I would intend for the keyboard and mouse to be customisable, but that will come much later down the road.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Kilkun on Sat Apr 30, 2011 12:21 pm

Slaihne wrote:I'm still not sure about the controls. I want to have a mouse pointer moving around since I want the user to be able to click on stuff in the interface for things like routing power, activating defences etc. So I don't want the default mode to be 'mouselook'

Well, I completely understand that, but DarkRP in Garry's Mod, had a similar quarrel. They solved it so that if you press F3, I think it is, it brings up the mouse pointer until you press F3 again, however mouselook is default. Perhaps a control setting swapping between the 2. Hm....



Edit: Oh crap! I just realized you just said basically my solution Embarassed !

Kilkun

Posts : 7
Join date : 2011-04-28

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Slaihne on Sun May 01, 2011 3:24 am

hehe,

No worries.

A friend of mine suggested doing the 'toggle' thing between mouselook and curesor movement so i'll probably have that as a control customisation option.
avatar
Slaihne

Posts : 264
Join date : 2011-03-17
Age : 49

View user profile

Back to top Go down

Re: [ERROR] DXGI_ERROR_DEVICE_REMOVED

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum