this is the patch in the link above: diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 4c66ca7..a848345 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -288,6 +288,7 @@ static void drmmode_do_crtc_dpms(xf86CrtcPtr crtc, int mode) { drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; + drmmode_ptr drmmode = drmmode_crtc->drmmode; ScrnInfoPtr scrn = crtc->scrn; RADEONInfoPtr info = RADEONPTR(scrn); CARD64 ust; @@ -296,6 +297,11 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, int mode) if (drmmode_crtc->dpms_mode == DPMSModeOn && mode != DPMSModeOn) { drmVBlank vbl; + /* Wait for any pending flip to finish */ + do {} while (drmmode_crtc->flip_pending && + drmHandleEvent(drmmode->fd, + &drmmode->event_context) > 0); + /* * On->Off transition: record the last vblank time, * sequence number and frame period.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577170 Title: [solved] screen cannot be turned back on after being switched off after some time of inactivity To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1577170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs