how to do it better ???
Device #1: WARNING! Kernel exec timeout is not disabled.
            This may cause "CL_OUT_OF_RESOURCES" or related errors.
OpenCL Platform #1: NVIDIA Corporation
* Device #1: GeForce GTX 1050 Ti, 1024/4096 MB allocatable, 6MCU
(01-29-2020, 08:30 PM)philsmd Wrote:

after that it will be possible to restore the settings? and how to do it?
You only need to fix that if you see the error. The message in itself is only a warning. I'm not sure what you mean by "restore the settings" but you can already do everything hashcat does without that timeout patch.
By restoring the settings I guess you want to be able to set the setting back to its original value.
Just backup the config BEFORE applying the patch.
eg. for Windows
- Backup the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
- patch
- restore the backup if needed (but I don't know why you would need that..)