AGI
The first important concept: migraine has recently been characterised as a protective measure for the brain, a kind of emergency shutdown to protect the brain from over exerting itself and causing damage. Following the shutdown changes in brain chemistry consistent with increased repair and growth are seen https://neurosciencenews.com/migraine-oxidative-stress-7761/.
The next important concept. Migraines are now thought be triggered in response to brainwave synchronisation. To understand this, you need to know that the brain operates with repeating pulses of electrical activity – kind of like how a CPU operates in clock cycles. And that the faster you think, the faster the frequency of these pulses. Also be aware the brain is not like one big CPU, different parts of the brain perform different functions (vision, movement, hearing etc) at different speeds. So your brain is more like a hundred different CPUs operating independently. Problem is, if one ‘CPU/bit of your brain’ is running particularly fast, that speed can spread to other parts of your brain – even though the parts of your brain its spread to have no processing to do. A migraine can be triggered as an emergency shut down to stop your brain wearing itself out when this occurs https://www.aps.org/publications/apsnews/200405/migraines.cfm.
So you are staring at a 60hz LCD screen. Its flickering at 30hz due to inversion. The visual processing part of your brain has now matched this frequency and it too is operating at 30hz https://www.jneurosci.org/content/39/16/3119. This could spread to other parts of your brain, triggering a migraine as an emergency shutdown measure to prevent damage from overstimulation.
Third point, one of the functions of serotonin receptors is to reduce brain activity and prevent brainwave syncronisation between different parts of the brain. A deficit of these receptors therefore may increase the risk of getting migraines. What might cause a deficit of serotonin receptors? we know serotonin receptors grow in response to serotonin from studies in mice. A person with lower brain serotonin will have fewer serotonin receptors.