Unwanted artifacts

Honestly it’s probably Marlin itself. I’ve seen more issues with random lines on Marlin firmware than with any other. There are a number of settings in Marlin that can make the laser power ramp up over time instead of instantly change, but I’m at a loss to remember what those were - they were compile time changes, not just a config command.