Jump to content

  • Log In with Google      Sign In   
  • Create Account

Device or Context lost. Should I bother?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 nikitablack   Members   -  Reputation: 611

Like
0Likes
Like

Posted 09 July 2014 - 05:31 AM

Hello. Googling didn't help, so I'll ask here. Can I lost device or context while working with dx11? If so, how can I handle it?



Sponsor:

#2 Zaoshi Kaba   Crossbones+   -  Reputation: 4588

Like
4Likes
Like

Posted 09 July 2014 - 05:53 AM

Device and Context cannot be lost, but Swap Chain can be (though you have to reinstall driver or physically remove GPU). Read more here: http://msdn.microsoft.com/en-us/library/windows/apps/dn458383.aspx



#3 nikitablack   Members   -  Reputation: 611

Like
0Likes
Like

Posted 09 July 2014 - 06:17 AM

That's what I needed. Thank you.



#4 SeanMiddleditch   Members   -  Reputation: 7174

Like
2Likes
Like

Posted 09 July 2014 - 10:58 AM

Device and Context cannot be lost, but Swap Chain can be (though you have to reinstall driver or physically remove GPU). Read more here: http://msdn.microsoft.com/en-us/library/windows/apps/dn458383.aspx


If you read that, it's a lot more than the SwapChain being lost. You have to recreate the Device and all resources.

It's worthwhile IMO since drivers crash and the OS has to restart them sometimes, which is equivalent to reinstalling a driver or removing/replacing the GPU. Borderlands 2 did this for me a few months ago when my GPU started overheating (dust buildup in the heatsink) and it was nice that I didn't lose hours of play but rather just had a few moment of intermittent pauses/screen-blanks before I decided to find out what was wrong.

#5 Jason Z   Crossbones+   -  Reputation: 5348

Like
3Likes
Like

Posted 10 July 2014 - 03:55 PM

 

Device and Context cannot be lost, but Swap Chain can be (though you have to reinstall driver or physically remove GPU). Read more here: http://msdn.microsoft.com/en-us/library/windows/apps/dn458383.aspx


If you read that, it's a lot more than the SwapChain being lost. You have to recreate the Device and all resources.

It's worthwhile IMO since drivers crash and the OS has to restart them sometimes, which is equivalent to reinstalling a driver or removing/replacing the GPU. Borderlands 2 did this for me a few months ago when my GPU started overheating (dust buildup in the heatsink) and it was nice that I didn't lose hours of play but rather just had a few moment of intermittent pauses/screen-blanks before I decided to find out what was wrong.

 

 

That's probably true for a production game like Borderlands, but for anything less than a commercial product it is most likely overkill.  If your graphics driver crashes, there are some serious issues, and most people wouldn't expect a game to continue running through that...






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS