External monitor freezes when using dedicated GPU

New way to reproduce freeze (I’m currently on 535.129.03):
plug/unplug keyboard several times. On each plug there is a short freeze, that unfreezes after a second… if you keep doing it that way continuously, it will eventually freeze external monitor.