how to restart a failing gpu on driver level (w/o rebooting)

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
User avatar
t_3
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

if a card is failing not only inside of octane but on driver level - typically from overclocking - mostly notable in ultra low performance and having the clock stuck at 405mhz, this tool should help preventing a reboot: http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/devcon-not-working-correctly-in-windows-7/9abcc12c-d7db-4249-aec4-fc4ff0ea6ee8 (description in the first accepted answer)

note: if you have no monitors attached to the card you may get the same result easier via the device manager, by just disabling the card and enabling it again, but as the device manager has no option to just restart a device, you should'nt ever do that if you use the card for main display, because it'll of course lock you out of the system - even after a reboot it won't become enabeleda gain (and the screen stays black!). also, if there are more cards and one of them serves for displaying windows, it isn't easy to figure the right one out, because the device manager has no numbering or usage information to the entries.

the "devcon" utility instead provides a way to restart a driver, which unlocks a stucking card and might(!) be save even in the case of having it as main display device (and saves click-thorugh time because of beeing a command line utility). btw, on windows 7 only the above link provides a way to get a working devcon version!

the tool needs to be run from the commandline; the syntax is easy:
devcon restart "PCI\VEN_10DE&DEV_1234567890XYZ" (with quotes)
the correct device string for your system is copy&paste available from the device manager:
administrative tools > computer management > device manager > graphics cards > your nvidia gpu(s) > right-click > properties > details > select hardware ids from the dropdown box ... normally there is more than one hardware id listed - the first one is sufficient. if there are more cards, the given hardware id affects all cards, thus the command as quoted above will reset all cards (ps: there are ways to address and reset only specific cards also).

imo it is not necessary to run it from an administrative cmd window but this might depend on uac settings. it is also possible to create a simple .cmd batchfile to run the command...

use with caution ;)
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
User avatar
t_3
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

last note: this won't make octane continue rendering, it only saves the time for a reboot in such cases. octane needs to be restarted also, to gain access to the gpu(s) again...
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
Timmaigh
Licensed Customer
Posts: 168
Joined: Mon Nov 01, 2010 9:52 pm

Good find, thanks. Was wondering, if there is something like this, just yesterday, when i had to reboot my rig about 7x in a row trying to find out, if my overclock is the reason for the GPU failure. It was obviously annoying.
Intel Core i7 980x @ 3,78GHz - Gigabyte X58A UD7 rev 1.0 - 24GB DDR3 RAM - Gainward GTX590 3GB @ 700/1400/3900 Mhz- 2x Intel X25-M G2 80GB SSD - WD Caviar Black 2TB - WD Caviar Green 2TB - Fractal Design Define R2 - Win7 64bit - Octane 2.57
User avatar
illidsch
Licensed Customer
Posts: 6
Joined: Thu Jul 14, 2011 11:41 am
Location: Frankfurt

Great tip t_3! I had the case that after OC like in your tests (http://www.refractivesoftware.com/forum ... f=9&t=7383) my GTX 470 dropped the performance waaay down when also activating my GT240. In the same Benchmark you also used in your tests the performance sometimes dropped form 3,26 MS/sec to 2,6 MS/sec sometimes even 0,7 MS/sec when using both cards! Only a reboot could fix this - your tip helps a lot!

Any Idea why thee both cards won´t sum up correctly each other after OC the gtx 470?
win8.1 64bit // 32 GB Ram // 16-Core // 2XGeforce GTX1070 //Octane 3.06.2
Dave_Yu
Licensed Customer
Posts: 72
Joined: Tue Feb 05, 2013 4:28 pm

This is great! Thanks!
Post Reply

Return to “General Discussion”