<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Lockup/Freezes on Laptop with switchable graphics"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99881#c22">Comment # 22</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Lockup/Freezes on Laptop with switchable graphics"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99881">bug 99881</a>
from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
<pre>I suspect what happens is that some client occasionally asks the X server to
probe the connected displays, similar to xrandr. This powers up the dGPU, in
order to probe its display connectors. That takes some time, during which the X
server freezes.
Assuming you don't need the dGPU display outputs, adding the below to
/etc/X11/xorg.conf may serve as a workaround. You can still use the dGPU for
applications by setting the environment variable DRI_PRIME=1.
Section "ServerFlags"
Option "AutoAddGPU" "off"
EndSection
Section "Device"
Identifier "Device0"
Option "AccelMethod" "glamor"
Option "DRI" "3"
EndSection</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>