From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 672DFC47082 for ; Tue, 8 Jun 2021 17:17:57 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3375D61351 for ; Tue, 8 Jun 2021 17:17:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3375D61351 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bugzilla.kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BA1AF6E10D; Tue, 8 Jun 2021 17:17:56 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3BB136E10D for ; Tue, 8 Jun 2021 17:17:55 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPS id 13E4E61359 for ; Tue, 8 Jun 2021 17:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623172675; bh=4jfYgNGyH7l4WR0XaIQPdY2r3d8Qlob9jpz9wjlPMvU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rZoin114rdXVZEvewWL4hw/aRDfsz7mHPwSIE1yq2VqRaA4XW3WfnH/cWsfnyCBSO rAff1xx3H80TWXgxMAc2d+m6xD0/woMjCWlGRBbAfhfwwuSKHKcscxAMr+n12SyXjr oPgOzha40m2buNdccyToO/C8Da5V9LeRST290yjKpye/xk2BA37OX+gu5QJWy+jiQb bVBK4kfySYF49K28gVLNhFjsH0qwkhxdlqo9teu2fa+JsMFgu62NzPNwdYbQssufZb i589Y1LH4b61rCxM54Bi6WZVtVTG+qP8AzWgzjlXTclk3HsvGRkfXwWuY7h37v4ScS jVTbMooHFtbag== From: bugzilla-daemon@bugzilla.kernel.org To: dri-devel@lists.freedesktop.org Subject: [Bug 213145] AMDGPU resets, timesout and crashes after "*ERROR* Waiting for fences timed out!" Date: Tue, 08 Jun 2021 17:17:54 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Video(DRI - non Intel) X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: high X-Bugzilla-Who: tgayoso@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" https://bugzilla.kernel.org/show_bug.cgi?id=3D213145 --- Comment #9 from Tomas Gayoso (tgayoso@gmail.com) --- Created attachment 297243 --> https://bugzilla.kernel.org/attachment.cgi?id=3D297243&action=3Dedit patch for mesa 21.1.2 Thanks for the irony.=20 Recompiling Mesa 21.1.2 with the attached patch fixes the issue for me in kernels 5.10.42 and 5.12.9.=20 I followed this suggestion from the mesa bug report: can you try 21.1.2 and change this line: file: src/mesa/main/draw.c=20=20 function: validate_draw_arrays change: if (count < 0 || numInstances < 0) into: if (count <=3D 0 || numInstances <=3D 0)=20 Cheers, --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=