<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - weston-launch no output - black screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75761#c26">Comment # 26</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - weston-launch no output - black screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75761">bug 75761</a>
from <span class="vcard"><a class="email" href="mailto:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span></b>
<pre>What did the -1 as crtc mean?
I'm not sure how this is weston-specific, though. Weston programs a pageflip on
a certain crtc, and then relies on that particular crtc to send back a pageflip
event as requested.
So if that's the culprit, is Nouveau on some particular hardware sending back
pageflip events on the wrong crtc? Or maybe mixing up crtcs so that no event
gets sent?
This would be easy to test by adding a weston_log("got pageflip event\n") to
src/compositor-drm.c:745, in function page_flip_handler(), and another in line
723 in vblank_handler(). The vblank_handler should be unused atm. I think.
If Weston never gets the pageflip event, its repaint loop would be stuck, which
would explain the symptoms. A side effect would be that clients would never get
frame callbacks, which means that e.g. weston-simple-shm would not be consuming
any CPU. Normally it should take at least few percent of one core. Otherwise
everything would seem to just work, since Weston does not hang but only not
repaint.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>