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 00:06:09 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0274338482==" 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 749296E264 for ; Tue, 21 Feb 2017 00:06:09 +0000 (UTC) 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 --===============0274338482== Content-Type: multipart/alternative; boundary="14876355690.3E18fF.25940"; charset="UTF-8" --14876355690.3E18fF.25940 Date: Tue, 21 Feb 2017 00:06:09 +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 Bug ID: 99881 Summary: Lockup/Freezes on Laptop with switchable graphics Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: matthew@tech3.me Created attachment 129781 --> https://bugs.freedesktop.org/attachment.cgi?id=3D129781&action=3Dedit dmesg log Hi, I have a HP Pavilion dv6-3111sa laptop (circa 2010) with 2 GPUs: 01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712] 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0] (rev ff) I am running Ubuntu 16.04.2 with kernel Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11 The screen usually freezes for a fraction of a second and then again a few seconds later. It may do this several times. In addition, the computer usua= lly locks up before/after graphical login requiring a hard shutdown, although it doesn't always lock up. It seems to be preventing the computer from shutting down normally as well. This appears in dmesg output whenever a freeze occurs: 186.427140] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=3D0 [ 186.431201] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000= ). [ 186.431293] radeon 0000:02:00.0: WB enabled [ 186.431301] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff958c0f4f3c00 [ 186.431306] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff958c0f4f3c0c [ 186.431703] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0xffffad3d81a1c418 [ 186.447926] [drm] ring test on 0 succeeded in 1 usecs [ 186.447934] [drm] ring test on 3 succeeded in 2 usecs [ 186.634582] [drm] ring test on 5 succeeded in 1 usecs [ 186.634592] [drm] UVD initialized successfully. [ 186.634648] [drm] ib test on ring 0 succeeded in 0 usecs [ 186.634686] [drm] ib test on ring 3 succeeded in 0 usecs [ 186.805724] [drm] ib test on ring 5 succeeded [ 186.838322] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo [ 186.942052] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D= 65535 [ 196.033454] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo [ 196.646111] snd_hda_intel 0000:02:00.1: Cannot lock devices! Adding radeon.runpm=3D0 to my boot cmdline solves the issues as a workaroun= d. 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. I'm not sure if this is a graphics or sound issue from the dmesg block. The= re's also some ACPI errors in the dmesg log so maybe a firmware problem, or faul= ty hardware? I tried some lower level debugging previously but couldn't conclu= de anything. Thanks for any assistance. --=20 You are receiving this mail because: You are the assignee for the bug.= --14876355690.3E18fF.25940 Date: Tue, 21 Feb 2017 00:06:09 +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
Bug ID 99881
Summary Lockup/Freezes on Laptop with switchable graphics
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/Radeon
Assignee dri-devel@lists.freedesktop.org
Reporter matthew@tech3.me

Created attachment 129781 [deta=
ils]
dmesg log

Hi,

I have a HP Pavilion dv6-3111sa laptop (circa 2010) with 2 GPUs:

01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712]
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0] (rev ff)

I am running Ubuntu 16.04.2 with kernel Ubuntu 4.8.0-36.36~16.04.1-generic
4.8.11

The screen usually freezes for a fraction of a second and then again a few
seconds later. It may do this several times. In addition, the computer usua=
lly
locks up before/after graphical login requiring a hard shutdown, although it
doesn't always lock up. It seems to be preventing the computer from shutting
down normally as well.

This appears in dmesg output whenever a freeze occurs:

  186.427140] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=3D0
[  186.431201] [drm] PCIE GART of 512M enabled (table at 0x000000000014C000=
).
[  186.431293] radeon 0000:02:00.0: WB enabled
[  186.431301] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr
0x0000000020000c00 and cpu addr 0xffff958c0f4f3c00
[  186.431306] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr
0x0000000020000c0c and cpu addr 0xffff958c0f4f3c0c
[  186.431703] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr
0x000000000005c418 and cpu addr 0xffffad3d81a1c418
[  186.447926] [drm] ring test on 0 succeeded in 1 usecs
[  186.447934] [drm] ring test on 3 succeeded in 2 usecs
[  186.634582] [drm] ring test on 5 succeeded in 1 usecs
[  186.634592] [drm] UVD initialized successfully.
[  186.634648] [drm] ib test on ring 0 succeeded in 0 usecs
[  186.634686] [drm] ib test on ring 3 succeeded in 0 usecs
[  186.805724] [drm] ib test on ring 5 succeeded
[  186.838322] snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo
[  186.942052] snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP =3D=
 65535
[  196.033454] snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo
[  196.646111] snd_hda_intel 0000:02:00.1: Cannot lock devices!

Adding radeon.runpm=3D0 to my boot cmdline solves the issues as a workaroun=
d.

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.

I'm not sure if this is a graphics or sound issue from the dmesg block. The=
re's
also some ACPI errors in the dmesg log so maybe a firmware problem, or faul=
ty
hardware? I tried some lower level debugging previously but couldn't conclu=
de
anything.

Thanks for any assistance.


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