@siderskiy
IIRC, it does auto-gain by default unless you set both values of the ranges to the same, so there are at least these in play:
$ gst-inspect-1.0 nvarguscamerasrc
...
exposuretimerange : Property to adjust exposure time range in nanoseconds Use string with values of Exposure Time Range (low, high) in that order, to set the property. eg: exposuretimerange="34000 358733000"
flags: readable, writable
String. Default: null
gainrange : Property to adjust gain range Use string with values of Gain Time Range (low, high) in that order, to set the property. eg: gainrange="1 16"
flags: readable, writable
String. Default: null
ispdigitalgainrange : Property to adjust digital gain range Use string with values of ISP Digital Gain Range (low, high) in that order, to set the property. eg: ispdigitalgainrange="1 8"
flags: readable, writable
String. Default: null
...
exposurecompensation: property to adjust exposure compensation
flags: readable, writable
Float. Range: -2 - 2 Default: 0
For details of what exactly those do, youāll have to dive into the source, which is in the public sources tarball, IIRC. To me at least, itās not at all clear what these properties do.