Just going from memory here, but some earlier CXs have high and low speed ignition ciruits. Sounds like one is failing.
Not sure if the Ignitec units are still around, likely superseded by now, but is fully tunable after market system. Wasn't cheap, and earlier bikes require bodging or later spec stator.