-X 256 , Argument: one value or a comma (,) delimited list GPU Xintensity between 1 and 9999. Shader based intensity of GPU scanning. Overridden by rawintensity and overrides intensity. Thanks to wolf0 for update on flags to use. With Polaris cards a good start value is -X 256 -g 2 , if not using -g 2 try -X 1024.
-g 2 ,or --gpu-threads 2 , set threads pr gpu, can give higher hashrate if your cpu can handle it. Keep it under 13 threads total, or sgminer might crash on boot. default is 1. Argument: one value or (,) delimited list GPU threads.
-w 64 256 , Sets worksize to 64. Amount of work handled by GPUs per work request. Try higher value different values on older cards,64, 128 or 256.
-d 0,1,2,3 , Devices specify what cards to use.
--config failover.conf load a config file.