[Bug 99881] Lockup/Freezes on Laptop with switchable graphics

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 22 09:25:15 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99881

--- Comment #22 from Michel Dänzer <michel at daenzer.net> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170222/e7852767/attachment.html>


More information about the dri-devel mailing list