From: bugzilla-daemon@freedesktop.org Subject: [Bug 99881] Lockup/Freezes on Laptop with switchable graphics Date: Wed, 22 Feb 2017 09:25:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1958429559==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1ED7F6E00C for ; Wed, 22 Feb 2017 09:25:15 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1958429559== Content-Type: multipart/alternative; boundary="14877555150.ADcE4B.17313"; charset="UTF-8" --14877555150.ADcE4B.17313 Date: Wed, 22 Feb 2017 09:25:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99881 --- Comment #22 from Michel D=C3=A4nzer --- 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 t= he 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=3D1. Section "ServerFlags" Option "AutoAddGPU" "off" EndSection Section "Device" Identifier "Device0" Option "AccelMethod" "glamor" Option "DRI" "3" EndSection --=20 You are receiving this mail because: You are the assignee for the bug.= --14877555150.ADcE4B.17313 Date: Wed, 22 Feb 2017 09:25:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 22 on bug 99881<= /a> from Michel D=C3=A4nzer
I suspect what happens is that some client occasionally asks t=
he 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 t=
he 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=3D1.

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.
= --14877555150.ADcE4B.17313-- --===============1958429559== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1958429559==--