Both the flight controller & the gimbal have their own separate IMU & compass.
First do the H's compass & gyro calibration.
Then do the gimbal calibration, followed by turning the H off and back on.
If the gimbal calibration still fails, then reflash the software on the H and repeat the calibrations.