Dead pixels in the instrument cluster display are a near-universal E39 issue, repairable for around $200 by specialists or via ribbon replacement, and many original clusters were replaced under warranty.
Instrument cluster pixel failure
BMW E39 M5 · electrical