One environment variable is particularly useful:
LIBGL_ALWAYS_SOFTWARE=1
You can start an application by preceding its command with this variable, and then its GL hardware acceleration should be disabled. I tested this with Firefox, Chromium, and an OpenGL game (UnCiv).
For example, to start Chromium from a command line:
$ LIBGL_ALWAYS_SOFTWARE=1 chromium
It is worth to check out if this helps with applications that are causing instant eye strain. This environment variable and others can be found here: https://docs.mesa3d.org/envvars.html
To start a program from a desktop launcher/menu, you can use the env
command:
env LIBGL_ALWAYS_SOFTWARE=1 chromium