<table><tr><td style="">romangg created this revision.<br />romangg added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />romangg requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23591">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The orientation sensor causes a crash when disabling and afterwards enabling<br />
again the first output in a multi-monitor environment. This is difficult to<br />
debug, since gdb does not provide good information and with valgrind it does<br />
not crash indicating that it is a race. But output of gdb and valgrind together<br />
shows that the orientation sensor is responsible.</p>
<p>For now disable the orientation sensor. Reasons are:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Output enablement is a basic feature and must work first flawlessly before thinking about advanced features.</li>
<li class="remarkup-list-item">The orientation sensor did never really work flawlessly according to user feedback.</li>
<li class="remarkup-list-item">The orientation sensor hooks into Screens class which will go away. A rewrite of the sensor is necessary.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>When orientation sensor is disable dthe first output can be disabled and enabled<br />
again</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>disableOrientationSensorOnDrm</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23591">https://phabricator.kde.org/D23591</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/platforms/drm/drm_output.cpp</div></div></div><br /><div><strong>To: </strong>romangg, KWin<br /><strong>Cc: </strong>kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart<br /></div>