<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - External monitor ("reverse PRIME", Output Sink) updates very slowly (1fps) when laptop screen is off"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99128#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - External monitor ("reverse PRIME", Output Sink) updates very slowly (1fps) when laptop screen is off"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99128">bug 99128</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>