The process in which sulfur compounds with an intermediate oxidation state serve as both electron donors and electron acceptors in an energy-generating redox process. The reaction takes place anaerobically, in light and in the absence of CO2.