Jump to content
  • Advertisement
Sign in to follow this  
BearishSun

OpenGL Debugging driver crashes...

This topic is 2593 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

I'm working on a project where the game at certain situations crashes the driver, i.e. i get the message "nVidia OpenGL driver lost connection to the display driver due to a time-out". It happens on multiple PCs, but only with nVidia cards. I've tried many different driver versions and I'm still getting the same issue.

I've been tracking this bug for a while and managed to narrow it down to a single subsystem its behavior is still a bit too random to figure out.

Is there anything that can help me debug this issue better? Some way to find out what was the last command sent and crashed the driver? Or whatever else?

Share this post


Link to post
Share on other sites
Advertisement

I'm working on a project where the game at certain situations crashes the driver, i.e. i get the message "nVidia OpenGL driver lost connection to the display driver due to a time-out". It happens on multiple PCs, but only with nVidia cards. I've tried many different driver versions and I'm still getting the same issue.

I've been tracking this bug for a while and managed to narrow it down to a single subsystem its behavior is still a bit too random to figure out.

Is there anything that can help me debug this issue better? Some way to find out what was the last command sent and crashed the driver? Or whatever else?


It sounds like what you are doing now, but when I have had to debug issues like that, and didn't have access to the hardware vendor support, I just disabled / commented out code until it didn't crash, to get a better idea of where the issue was. Once you know more precisely what is causing the issue, you can see if you can achieve the same results in a slightly different way. It's always very tedious and time consuming though...

Share this post


Link to post
Share on other sites
you could increase the timeout time, I think default is 2 seconds, set it to 5 or 10, maybe there is just something especially slow and it's not really a crash.

I think glGetlasterror shall also fail if the driver crashes, you could add this after every drawcalls, this way you'd find in the debugger what is causing the crash.

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!