That all depends on whether or not the AVR is an "output" which is detectable by the crtc either when powered off or on. You should get an RROutputChangeNotifyEvent for that.