[Bug 99128] External monitor ("reverse PRIME", Output Sink) updates very slowly (1fps) when laptop screen is off
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 17 17:32:31 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=99128
--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
To speed up the fake timer, just use
diff --git a/present/present_fake.c b/present/present_fake.c
index 2350638ea..faff0e310 100644
--- a/present/present_fake.c
+++ b/present/present_fake.c
@@ -128,10 +128,7 @@ present_fake_screen_init(ScreenPtr screen)
*
* Otherwise, pretend that the screen runs at 60Hz
*/
- if (screen_priv->info && screen_priv->info->get_crtc)
- screen_priv->fake_interval = 1000000;
- else
- screen_priv->fake_interval = 16667;
+ screen_priv->fake_interval = 16667;
}
The real challenge would be to recognise that the window is only on the slave
output (on a different Screen than PresentPixmap was called for) and pass along
the request. Then you have the challenge to make sure that any drawing
operations go back to the master/slave again.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20161217/c2de3150/attachment.html>
More information about the intel-gfx-bugs
mailing list