From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99881] Lockup/Freezes on Laptop with switchable graphics Date: Tue, 21 Feb 2017 04:09:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1251493685==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id C942E6E27D for ; Tue, 21 Feb 2017 04:09:18 +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 --===============1251493685== Content-Type: multipart/alternative; boundary="14876501580.ccac6bbf.8745"; charset="UTF-8" --14876501580.ccac6bbf.8745 Date: Tue, 21 Feb 2017 04:09:18 +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 #9 from Matthew Fox --- (In reply to Michel D=C3=A4nzer from comment #8) > Please attach the corresponding Xorg log file. Hi, The only Xorg logs I have are for my new session. They weren't in /var/log/= but /home/matthew/.local/share/xorg/Xorg.1.log /var/lib/gdm3/.local/share/xorg/Xorg.0.log for some reason. They are attached. Also attached is a dmesg log for my current session. When I said: With previous ubuntu/kernel versions, the main issue was the freezing which would happen every seven seconds with the corresponding dmesg block. This w= ould continue ad infinitum, although on rare occasions it would stop after many freezes. However with my current kernel this pattern doesn't seem to occur = - it freezes a few times before the freezing stops and the freezes do not occur = at regular intervals. - this seems to be true of my current kernel. From the current dmesg.log, t= he 'Disabling via vga_switcheroo' happened at 14, 33, 41 and finally 48 (seven seconds apart, except 14-33): [ 14.146303] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo [ 15.586313] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=3D0 [ 15.588655] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000= ). [ 15.588728] radeon 0000:02:00.0: WB enabled [ 15.588731] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff90180fa71c00 [ 15.588733] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff90180fa71c0c [ 15.589099] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffbdbf41a1c418 [ 15.605265] [drm] ring test on 0 succeeded in 1 usecs [ 15.605270] [drm] ring test on 3 succeeded in 2 usecs [ 15.791907] [drm] ring test on 5 succeeded in 1 usecs [ 15.791914] [drm] UVD initialized successfully. [ 15.791956] [drm] ib test on ring 0 succeeded in 0 usecs [ 15.791986] [drm] ib test on ring 3 succeeded in 0 usecs [ 16.482332] [drm] ib test on ring 5 succeeded [ 16.515177] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo [ 16.619344] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D= 65535 [ 33.089549] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo [ 33.389563] snd_hda_intel 0000:02:00.1: Cannot lock devices! [ 34.733597] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=3D0 [ 34.735932] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000= ). [ 34.736006] radeon 0000:02:00.0: WB enabled [ 34.736009] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff90180fa71c00 [ 34.736011] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff90180fa71c0c [ 34.736378] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffbdbf41a1c418 [ 34.753251] [drm] ring test on 0 succeeded in 1 usecs [ 34.753256] [drm] ring test on 3 succeeded in 2 usecs [ 34.939919] [drm] ring test on 5 succeeded in 1 usecs [ 34.939926] [drm] UVD initialized successfully. [ 34.939969] [drm] ib test on ring 0 succeeded in 0 usecs [ 34.940006] [drm] ib test on ring 3 succeeded in 0 usecs [ 35.617560] [drm] ib test on ring 5 succeeded [ 35.650390] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo [ 35.753848] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D= 65535 [ 41.025246] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo [ 41.325632] snd_hda_intel 0000:02:00.1: Cannot lock devices! [ 42.665278] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=3D0 [ 42.667593] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000= ). [ 42.667666] radeon 0000:02:00.0: WB enabled [ 42.667670] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff90180fa71c00 [ 42.667671] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff90180fa71c0c [ 42.668038] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffbdbf41a1c418 [ 42.684185] [drm] ring test on 0 succeeded in 1 usecs [ 42.684189] [drm] ring test on 3 succeeded in 2 usecs [ 42.870780] [drm] ring test on 5 succeeded in 1 usecs [ 42.870784] [drm] UVD initialized successfully. [ 42.870821] [drm] ib test on ring 0 succeeded in 0 usecs [ 42.870850] [drm] ib test on ring 3 succeeded in 0 usecs [ 43.553259] [drm] ib test on ring 5 succeeded [ 43.582109] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo [ 43.685717] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D= 65535 [ 48.960919] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo [ 49.261324] snd_hda_intel 0000:02:00.1: Cannot lock devices! --=20 You are receiving this mail because: You are the assignee for the bug.= --14876501580.ccac6bbf.8745 Date: Tue, 21 Feb 2017 04:09:18 +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

Comment= # 9 on bug 99881<= /a> from <= span class=3D"fn">Matthew Fox
(In reply to Michel D=C3=A4nzer from comment #8)
> Please attach the corresponding Xorg log file.

Hi,

The only Xorg logs I have are for my new session. They weren't in /var/log/=
 but

/home/matthew/.local/share/xorg/Xorg.1.log
/var/lib/gdm3/.local/share/xorg/Xorg.0.log

for some reason. They are attached.

Also attached is a dmesg log for my current session.

When I said:

With previous ubuntu/kernel versions, the main issue was the freezing which
would happen every seven seconds with the corresponding dmesg block. This w=
ould
continue ad infinitum, although on rare occasions it would stop after many
freezes. However with my current kernel this pattern doesn't seem to occur =
- it
freezes a few times before the freezing stops and the freezes do not occur =
at
regular intervals.

- this seems to be true of my current kernel. From the current dmesg.log, t=
he
'Disabling via vga_switcheroo' happened at 14, 33, 41 and finally 48 (seven
seconds apart, except 14-33):

[   14.146303] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo
[   15.586313] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=3D0
[   15.588655] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000=
).
[   15.588728] radeon 0000:02:00.0: WB enabled
[   15.588731] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffff90180fa71c00
[   15.588733] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffff90180fa71c0c
[   15.589099] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr
0x000000000005c418 and cpu addr 0xffffbdbf41a1c418
[   15.605265] [drm] ring test on 0 succeeded in 1 usecs
[   15.605270] [drm] ring test on 3 succeeded in 2 usecs
[   15.791907] [drm] ring test on 5 succeeded in 1 usecs
[   15.791914] [drm] UVD initialized successfully.
[   15.791956] [drm] ib test on ring 0 succeeded in 0 usecs
[   15.791986] [drm] ib test on ring 3 succeeded in 0 usecs
[   16.482332] [drm] ib test on ring 5 succeeded
[   16.515177] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo
[   16.619344] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D=
 65535

[   33.089549] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo
[   33.389563] snd_hda_intel 0000:02:00.1: Cannot lock devices!
[   34.733597] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=3D0
[   34.735932] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000=
).
[   34.736006] radeon 0000:02:00.0: WB enabled
[   34.736009] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffff90180fa71c00
[   34.736011] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffff90180fa71c0c
[   34.736378] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr
0x000000000005c418 and cpu addr 0xffffbdbf41a1c418
[   34.753251] [drm] ring test on 0 succeeded in 1 usecs
[   34.753256] [drm] ring test on 3 succeeded in 2 usecs
[   34.939919] [drm] ring test on 5 succeeded in 1 usecs
[   34.939926] [drm] UVD initialized successfully.
[   34.939969] [drm] ib test on ring 0 succeeded in 0 usecs
[   34.940006] [drm] ib test on ring 3 succeeded in 0 usecs
[   35.617560] [drm] ib test on ring 5 succeeded
[   35.650390] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo
[   35.753848] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D=
 65535

[   41.025246] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo
[   41.325632] snd_hda_intel 0000:02:00.1: Cannot lock devices!
[   42.665278] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=3D0
[   42.667593] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000=
).
[   42.667666] radeon 0000:02:00.0: WB enabled
[   42.667670] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffff90180fa71c00
[   42.667671] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffff90180fa71c0c
[   42.668038] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr
0x000000000005c418 and cpu addr 0xffffbdbf41a1c418
[   42.684185] [drm] ring test on 0 succeeded in 1 usecs
[   42.684189] [drm] ring test on 3 succeeded in 2 usecs
[   42.870780] [drm] ring test on 5 succeeded in 1 usecs
[   42.870784] [drm] UVD initialized successfully.
[   42.870821] [drm] ib test on ring 0 succeeded in 0 usecs
[   42.870850] [drm] ib test on ring 3 succeeded in 0 usecs
[   43.553259] [drm] ib test on ring 5 succeeded
[   43.582109] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo
[   43.685717] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D=
 65535

[   48.960919] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo
[   49.261324] snd_hda_intel 0000:02:00.1: Cannot lock devices!


You are receiving this mail because:
  • You are the assignee for the bug.
= --14876501580.ccac6bbf.8745-- --===============1251493685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1251493685==--