Well, as said above, the kext might not do its work, although it loads.
After three full days of testing, I can say that I got as tired as before. The same feeling of overworked eyes and head/eye strain/pressure. And I'm pretty sure it's the iMac screen, because I managed to relax somewhat by playing on the iPad
This only shows itself after prolonged periods of intensive work, so I can spend 1-2 hours at the screen quite easily.
In the process, I also switched off Gamma Control for a while and returned from HD-709 color profile to the standard iMac profile, and after a short time my eyes started burning. This makes me believe that apart from macOS dithering, the iMac screen has brightness issues.