Jump to content
  • Advertisement
Sign in to follow this  
longlong9

NVidia driver crash

This topic is 2108 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello , when i use d3d9 to render video , i create many device (CreateDevice ) to render for each video,the num of device i have created may be upto 128. it can just success for 60 , then i will catch a expetion .then crash in nvidia driver. is anyone encounte this problem?

Share this post


Link to post
Share on other sites
Advertisement
That is quite a big number, so I'm not really surprised. Not sure if this works, but why not create just one device and either use different viewports (when rendering to the same window) or create additional swapchains (when rendering to different windows).

Either way, I guess you will run out of device memory at some point for sure. Check the behaviour with a tool like GPU-Z and watch what the D3D debug runtime has to say. Edited by unbird

Share this post


Link to post
Share on other sites

That is quite a big number, so I'm not really surprised. Not sure if this works, but why not create just one device and either use different viewports (when rendering to the same window) or create additional swapchains (when rendering to different windows).

Either way, I guess you will run out of device memory at some point for sure. Check the behaviour with a tool like GPU-Z and watch what the D3D debug runtime has to say.

there will be another problem, for example, draw two picture to two different windows(different picture size  different window size),one 1280X720 and 0ne 704X576.if i use just one device,the backbuffer's size is fixed or just up to one window. how can i deal with this problem?

Edited by milaoshu1982

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!