I can only speak from my own experience, but i've only had HPPD twice, and that was from LSD, i think i had taken like 1 tab, and had some mild HPPD for a few weeks, then i took 3 tabs and the HPPD was quite a bit more noticeable, again lasted for a few weeks or so and then faded, although i was also smoking Cannabis at the time and i'm pretty sure that made the HPPD more noticeable.
With that said, i took oral DMT and Harmalas daily/near daily for 4 years straight, and even had Changa a good bit during that time as well, and surprisingly, no HPPD, it was only the LSD that's caused the HPPD. And honestly i think LSD is the most likely Psychedelic to cause or amp up HPPD, idk why, but that's my impression.
I've also tried Psilohuasca, mushrooms, and 4-ACO-DMT, and they also haven't caused me HPPD although to me personally they seem like maybe they could, particularly the mushrooms, but the 4-ACO or Psilohuasca may actually be alright? I'm not sure, but there's definitely something to the Harmala's and the MAO-A inhibition and some of their other effects/properties, and the clearheadness it brings, so that may help out with mushrooms in the form of Psilohuasca.
However, i would maybe see how oral DMT treats ya, idk about smoked pure DMT, that "may" potentially amp it up some, but oral DMT i feel like could be the best bet, it's very sober-headed to me, i mean, aside from the effects and such, but DMT is a neurotransmitter, and oral DMT, to me personally, seems least likely to precipitate HPPD, that could just be me though, idk if anyone has had HPPD from oral DMT (without any other substance use like LSD especially, or Cannabis).