From owner-freebsd-x11@freebsd.org Wed Aug 3 18:59:38 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88DC4BAED22 for ; Wed, 3 Aug 2016 18:59:38 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from COL004-OMC4S14.hotmail.com (col004-omc4s14.hotmail.com [65.55.34.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5881759 for ; Wed, 3 Aug 2016 18:59:38 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from NAM03-BY2-obe.outbound.protection.outlook.com ([65.55.34.200]) by COL004-OMC4S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 3 Aug 2016 11:58:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DGQxSrYJBqeyRKZkAi/anOWAIx3l5whFFRjW7jWDcqI=; b=ucdSLdKgQcMU/CKbgbn2IGROgDZ26Oy+U3/cJaKJzftLQOlcsbr4oPfSYMImtwfU8N4NVqgObJnA8D93DPnUH8re3Dxn8UJPx9MIHECUxNseu4JHwXa5CXFtvK9k8srxz2SKDWFf//hnLJBnR4dy1nA8hReey9oBJNRw812RrhhyshXaBw1PWfR9Vcq5QnxNlQWUv8HHIXtR4tQNKRHfdmJSrSz3cdCJMHOduTMo1/rxGHIYIWIlsr+dVzcRhwQ+cuWbQNjeMPlR4z3RllRUKadb68YGBP+XJLG79qTW4+wiLZDRYh43M7FmZ3Kmq07xUiV2G/AGExORMOnbai1L9w== Received: from BY2NAM03FT009.eop-NAM03.prod.protection.outlook.com (10.152.84.55) by BY2NAM03HT255.eop-NAM03.prod.protection.outlook.com (10.152.85.221) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.567.7; Wed, 3 Aug 2016 18:58:31 +0000 Received: from YQXPR01MB0696.CANPRD01.PROD.OUTLOOK.COM (10.152.84.58) by BY2NAM03FT009.mail.protection.outlook.com (10.152.84.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.567.7 via Frontend Transport; Wed, 3 Aug 2016 18:58:31 +0000 Received: from YQXPR01MB0696.CANPRD01.PROD.OUTLOOK.COM ([10.169.73.156]) by YQXPR01MB0696.CANPRD01.PROD.OUTLOOK.COM ([10.169.73.156]) with mapi id 15.01.0549.023; Wed, 3 Aug 2016 18:58:30 +0000 From: Anindya Mukherjee To: "freebsd-x11@freebsd.org" Subject: Radeon CP stall error Thread-Topic: Radeon CP stall error Thread-Index: AQHR7bkFtjhoho6FGEyioYvLtNj2Cg== Date: Wed, 3 Aug 2016 18:58:29 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 10.152.84.58) smtp.mailfrom=hotmail.com; freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=fail action=none header.from=hotmail.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning hotmail.com discourages use of 10.152.84.58 as permitted sender) x-tmn: [JDFhjRafNtoql896wPcojdm4z7cn/UJo] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:10.152.84.58; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2NAM03HT255; H:YQXPR01MB0696.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; x-microsoft-exchange-diagnostics: 1; BY2NAM03HT255; 6:eavgVGLedxuRSRE+kdQRU3+PSyv71ThDbGlmhLHq/KWUA9g3k7YNeHSLxO++1Vr+ZhloTJg15yS9s4jcuV+hsyOnc05ynzADoZMzIjufLpYBnbpwjx0UCE1nLyMaqop8mUZ34ke65NxzvTs4wFL0JE3bIyT/XjmHApx5m/3qVCilqnC1yCSPX3uP875FRXhVShbcolwno2OCyFcv3wp+ECxAZ3uE5I8Cd02lBurHmXmUEc2vO71/b7nLGcXuzm7ITHEd3Qp4jMEUJIao9RSxFbBPB+RcE9XOsXR54HPRr8p14r5s5gjrWzb0NbW+VJTX; 5:ljzz7Wme+bHHQ/FHWqCKwZxp8GVPGOj9hr+KlWEXuGf0WEjfxNEz4oYD8fwfugtGWqirODk9EUaMQkp71FxzAJyd/PJPs8aOkp6cPoEolBBxsSn6Dl688mb13HMxQeParM3gIMQS/bRmhGnC4EXF7w==; 24:YR98qOBnjkqFsmd/viArjIvOFToFeCvpVJ+JNqBhv+4wXqwvgzgtrxeDOvKekTdhEfg1xvYgDAgpiM3Ul+mxLzPaYDvtxLIuGMrYgof3T3g=; 7:FxL7KfEFguptTK6OkxfPkw+xSdNxYas1xNZvPAQixtnlOuWsWr91FNujXn2inkInFChtOWZ/pPk5K9aGp80we96n402ip+QUZ0BuPsxU2D8PoRasxgOQv2DSlHiHV5JaKj8LZlbFGJPA/4CEzMaJOXqhbft/fHRf8FOW3o9lDb9azH9oDa3UvhKn2EOg1afk3ubZNSoCM3cnQ6Z8FCYNe32RuqTKD0nD6lfSE7Q/m26Mys16XZmpIMwc7Oghlb0X x-ms-office365-filtering-correlation-id: 02bc99dc-6ec5-4754-cbb4-08d3bbd028be x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047); SRVR:BY2NAM03HT255; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:BY2NAM03HT255; BCL:0; PCL:0; RULEID:; SRVR:BY2NAM03HT255; x-forefront-prvs: 00235A1EEF spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2016 18:58:29.9225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM03HT255 X-OriginalArrivalTime: 03 Aug 2016 18:58:32.0553 (UTC) FILETIME=[07C4DD90:01D1EDB9] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 18:59:38 -0000 Hi, I've been running FreeBSD 10.3 on a Dell Optiplex 755 with a Radeon 2400XT = card. Performance is great (really great) on such old hardware, but I see a= n occasional error in the system logs (happens about once in 2 months or so= ). The machine is only rebooted for updates. Aug 2 18:24:05 wopr kernel: drmn0: error: GPU lockup CP stall for more tha= n 61591msec Aug 2 18:24:05 wopr kernel: drmn0: warning: GPU lockup (waiting for 0x0000= 000009defc9e last fence id 0x0000000009defc98) Aug 2 18:24:05 wopr kernel: drmn0: info: Saved 185 dwords of commands on r= ing 0. Aug 2 18:24:05 wopr kernel: drmn0: info: GPU softreset: 0x00000003 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008010_GRBM_STATUS =3D 0= xA0003030 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008014_GRBM_STATUS2 =3D 0= x00000003 Aug 2 18:24:05 wopr kernel: drmn0: info: R_000E50_SRBM_STATUS =3D 0= x200000C0 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008674_CP_STALLED_STAT1 =3D 0= x00000000 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008678_CP_STALLED_STAT2 =3D 0= x00000002 Aug 2 18:24:05 wopr kernel: drmn0: info: R_00867C_CP_BUSY_STAT =3D 0= x00008080 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008680_CP_STAT =3D 0= x80018645 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008020_GRBM_SOFT_RESET=3D0x00= 007FEE Aug 2 18:24:05 wopr kernel: drmn0: info: R_008020_GRBM_SOFT_RESET=3D0x0000= 0001 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008010_GRBM_STATUS =3D 0= xA0003030 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008014_GRBM_STATUS2 =3D 0= x00000003 Aug 2 18:24:05 wopr kernel: drmn0: info: R_000E50_SRBM_STATUS =3D 0= x200080C0 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008674_CP_STALLED_STAT1 =3D 0= x00000000 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008678_CP_STALLED_STAT2 =3D 0= x00000000 Aug 2 18:24:05 wopr kernel: drmn0: info: R_00867C_CP_BUSY_STAT =3D 0= x00000000 Aug 2 18:24:05 wopr kernel: drmn0: info: R_008680_CP_STAT =3D 0= x80100000 Aug 2 18:24:05 wopr kernel: drmn0: info: GPU reset succeeded, trying to re= sume Aug 2 18:24:05 wopr kernel: info: [drm] probing gen 2 caps for device 8086= :29b1 =3D 1/0 Aug 2 18:24:05 wopr kernel: info: [drm] PCIE GART of 512M enabled (table a= t 0x0000000000040000). Aug 2 18:24:05 wopr kernel: drmn0: info: WB enabled Aug 2 18:24:05 wopr kernel: drmn0: info: fence driver on ring 0 use gpu ad= dr 0x0000000010000c00 and cpu addr 0x0xfffff8000443cc00 Aug 2 18:24:05 wopr kernel: drmn0: info: fence driver on ring 3 use gpu ad= dr 0x0000000010000c0c and cpu addr 0x0xfffff8000443cc0c Aug 2 18:24:05 wopr kernel: info: [drm] ring test on 0 succeeded in 1 usec= s Aug 2 18:24:05 wopr kernel: info: [drm] ring test on 3 succeeded in 24 use= cs Aug 2 18:24:05 wopr kernel: info: [drm] ib test on ring 0 succeeded in 0 u= secs Aug 2 18:24:05 wopr kernel: info: [drm] ib test on ring 3 succeeded in 1 u= secs When this happens, sometimes the screen will briefly flicker, but often it'= s completely unnoticeable. I've only had X hang once after this error in mo= re than a year. I thought I'd seek some expert advice. uname: FreeBSD wopr 10.3-RELEASE-p4 FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:4= 4 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENE= RIC amd64 My xorg.conf: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AIGLX" "true" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "record" Load "freetype" Load "bitmap" Load "type1" Load "glx" EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "Accel" # [] #Option "SWcursor" # [] #Option "EnablePageFlip" # [] #Option "ColorTiling" # [] #Option "ColorTiling2D" # [] #Option "RenderAccel" # [] #Option "SubPixelOrder" # [] #Option "EXAVSync" # [] #Option "EXAPixmaps" # [] #Option "ZaphodHeads" # #Option "EnablePageFlip" # [] #Option "SwapbuffersWait" # [] #Option "AccelMethod" "EXA" #Option "DRI" "true" #Option "Accel" "false" Identifier "Card0" Driver "radeon" BusID "PCI:1:0:0" EndSection #Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "ShadowFB" # [] #Option "DefaultRefresh" # [] #Option "ModeSetClearScreen" # [] # Identifier "Card1" # Driver "vesa" # BusID "PCI:1:0:0" #EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card0" Monitor "Monitor1" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Please let me know if I can provide any more info, and thanks for reading. Anindya