GPU OnOff - Turn gpu On or Off in all gpu accelerated nodes

Useful for CPU rendering users, who are tired of GPU glitches, produced on CPU machines

Updated: 10 February 2021

Author: kogukas

Compatible Nuke versions: 10.0 or later

Compatibility: Linux, Mac, Windows

I find it useful when you have a CPU render farm and a big comp script on your main machine, where you struggle to find and uncheck all the 'Use GPU if available' tics 

Move the script to your plugins dir

Copy and paste to menu.py :

 

###

import GPU_OnOff 

nuke.menu('Node Graph').addMenu('KirillPleshakov').addCommand('EnableGPUAcceleration''GPU_OnOff.enableGPUAcceleration()')
nuke.menu('Node Graph').addMenu('KirillPleshakov').addCommand('DisableGPUAcceleration''GPU_OnOff.disableGPUAcceleration()')

###

Right-click anywhere in the Node Graph - FrameForge - DisableGPUAccelerationEnableGPUAcceleration

 

GPU_OnOff-pw.png

Write your comments!

Thanks!

Sign in or register to download or rate.