From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103913] DRM/Radeon driver not resilient to poor monitor connections Date: Sun, 26 Nov 2017 11:15:42 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1184505225==" 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 25BC46E121 for ; Sun, 26 Nov 2017 11:15:42 +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 --===============1184505225== Content-Type: multipart/alternative; boundary="15116949420.7da3503.2982"; charset="UTF-8" --15116949420.7da3503.2982 Date: Sun, 26 Nov 2017 11:15:42 +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=3D103913 Bug ID: 103913 Summary: DRM/Radeon driver not resilient to poor monitor connections Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: roger@beardandsandals.co.uk Disconnecting and reconnecting HDMI/DVI connectors, or a loose connection, = can cause the driver to stall in a loop with the following messages being logged approximately every 500ms in syslog. Nov 25 16:13:30 dragon kernel: [363196.855813] radeon 0000:02:00.0: ring 0 stalled for more than 1710608msec Nov 25 16:13:30 dragon kernel: [363196.855818] radeon 0000:02:00.0: GPU loc= kup (current fence id 0x0000000000284cb5 last fence id 0x0000000000284cb6 on ri= ng 0) This causes the screen to blank. A reboot is required to clear this. It would seem more sensible to reset the driver if it has been locked on the same fence for a long time. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (II) Module radeon: vendor=3D"X.Org Foundation" [ 82.693] comp= iled for 1.19.3, module version =3D 7.10.0 [ 82.693] Module class: X.= Org Video Driver [ 82.693] ABI class: X.Org Video Driver, version 23.0 [ 82.693] (II)=20 roger@dragon:/var/log$ sudo lshw -c video=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 *-display description: VGA compatible controller product: RV770 [Radeon HD 4850] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:02:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list r= om configuration: driver=3Dradeon latency=3D0 resources: irq:26 memory:d0000000-dfffffff memory:fbae0000-fbaeffff ioport:b000(size=3D256) memory:c0000-dffff Roger --=20 You are receiving this mail because: You are the assignee for the bug.= --15116949420.7da3503.2982 Date: Sun, 26 Nov 2017 11:15:42 +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 103913
Summary DRM/Radeon driver not resilient to poor monitor connections
Product DRI
Version XOrg git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/Radeon
Assignee dri-devel@lists.freedesktop.org
Reporter roger@beardandsandals.co.uk

Disconnecting and reconnecting HDMI/DVI connectors, or a loose=
 connection, can
cause the driver to stall in a loop with the following messages being logged
approximately every 500ms in syslog.

Nov 25 16:13:30 dragon kernel: [363196.855813] radeon 0000:02:00.0: ring 0
stalled for more than 1710608msec
Nov 25 16:13:30 dragon kernel: [363196.855818] radeon 0000:02:00.0: GPU loc=
kup
(current fence id 0x0000000000284cb5 last fence id 0x0000000000284cb6 on ri=
ng
0)

This causes the screen to blank. A reboot is required to clear this.

It would seem more sensible to reset the driver if it has been locked on the
same fence for a long time.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

(II) Module radeon: vendor=3D"X.Org Foundation"        [    82.69=
3]    compiled
for 1.19.3, module version =3D 7.10.0      [    82.693]    Module class: X.=
Org
Video Driver                  [    82.693]    ABI class: X.Org Video Driver,
version 23.0       [    82.693] (II)=20

roger@dragon:/var/log$ sudo lshw -c video=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
                            *-display
       description: VGA compatible controller
       product: RV770 [Radeon HD 4850]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list r=
om
       configuration: driver=3Dradeon latency=3D0
       resources: irq:26 memory:d0000000-dfffffff memory:fbae0000-fbaeffff
ioport:b000(size=3D256) memory:c0000-dffff


Roger


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