Hi, this is not helpful for Debian Stretch users but just for the record:
The problem seems to be fixed in newer kernels, I don't see the error messages or any flickering with kernel 4.12.5-300 on Fedora 26. The system works perfectly with modesetting, no workaround needed.
hth, Uwe