cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Raistmer
Adept II

Recovering from driver restart in Brook+ - is it possible?

Is it possible to detect driver restart and broken device context in Brook+ app?

Vista/7 will restart videodriver if kernel launch was too long and driver appears frozen.

After such restart Brook+ app either summons exception by accessing to invalid memory address or starts to produce invalid results.
Apparently its device context broken.

Is it possible to detect such situation and reinitialize device context before app will crash or will produce invalid data ?
Kernel call returns no error in such condition unfortunately, probably it crashes before error checking...
0 Likes
1 Reply

Doubt it's possible. When working with CAL/IL if driver locks up it ends in crash inside aticalldd.dll, so it's kinda hard to recover, I guess some internal variables damaged.

 

0 Likes