From nobody Fri Jan 31 12:44:19 2025 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YkwZC67yGz5mf0B for ; Fri, 31 Jan 2025 12:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YkwZC4cWLz3GRr for ; Fri, 31 Jan 2025 12:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738327459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EV39D+fhep++0H13gRe+ajrt+9LaO02xOOcPJtbrdKg=; b=gSf4dJXUuxxQ+hRJDVD85vVwwtXArJCQb8eKTqnPvY/36KLCkLDqfoEPkl1qYJB9Rj9paE HBRRaO797wQmZGvHkQeeQF+gN4QcIotio8yw6NNIw+a8WF0pLwWxVf42bW/M2CCKiLgfWM rBvpFC7T/K+cTEAdFfOs2eHdsOBbZDHRl2rtCYaW4G+yc5OQVaezILcxtEjUwdC6l38cKb rJQGNEns4ke35B1+VKNZI1eeDxTiLOXe0u1teN0ztquXRs/uvpjCSft7TPnS4UAqRsoB3I BCYna0vHiveCJLyOxhle9HKyhPaqmrqgAArtUo/52JxGsypkMZUl9ZIMROVBJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738327459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EV39D+fhep++0H13gRe+ajrt+9LaO02xOOcPJtbrdKg=; b=k0RX7UGaBDOMHdVA62jgbOBQLw7DPeLYhr2iH2l8MnnpioDeX3FkR2a7BC8WH97IL9oMCs bxPdk4GqjE6x4gbbHZzz7LQ0RqunqSqqXgdwtvl5Q9BFmQO4OCVPPkpmd8JZkxAYg0NV3m u6NqoZkdhWh36p05QEgNCl5KmXRLFveRix7vGnko31jop/HP8Rq1pExjfGQci/wlP9ISd1 Q66BhwfFepZXCMlJbqklL6/LszscPAmOjEr3X6bDlThO4iRRa84i2JBM50wXDhlN4KGK10 csF+D4qQMOiDH1H+S52lupP3c8uWJQ4JP01GQ1tVcJCPYTgjRM7arV4gVZvVnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738327459; a=rsa-sha256; cv=none; b=ftrXGTDYc7ougfxAdNIdU/PxQVVUgFI9d4g2wpNTDV7DIjZ8fuVbUiDDIJGnfvGhs0SGwb kQzcnoBA7nKgnqXfWIHjyb1YCetJyLOs/eJtoq2gRLwFV4kwUqnqjvNxE0XbM7W6I883JG mYCxAe92Xf28+qmd+kpSf03ZfYdr/hRwLVu2zWbybG9wfUxgNjH5b2jzasxk3LReQC0jbS Zikrj5MBvSA0iHjN+PaUuxhm/ofT3Fbr2tAEXFsbE7jc1B9PXMGVR3Fc4yOQjTA7fQ9drZ 67jJVYZosRR3OsKi8oqGJVyEvkHN8lHYCWIAatDVIcbMAF0ty0hMbhuwUdMljw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YkwZC3dkCz3Rs for ; Fri, 31 Jan 2025 12:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50VCiJlu023864 for ; Fri, 31 Jan 2025 12:44:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50VCiJUC023863 for x11@FreeBSD.org; Fri, 31 Jan 2025 12:44:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 284480] graphics/drm-61-kmod: 14.2 amdgpu rx580 stability problem on high zfs load / scrub. Date: Fri, 31 Jan 2025 12:44:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek@cedro.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284480 Bug ID: 284480 Summary: graphics/drm-61-kmod: 14.2 amdgpu rx580 stability problem on high zfs load / scrub. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: tomek@cedro.info Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Hello world :-) I noticed stability problem when amdgpu 61 and zpool scrub or high use of raidz2 takes place. I have three ZFS datasets. Two are simple zraid0 third is zraid2. After switching from 13.3 to 14.2 I noticed strange stability problem that makes whole machine unusable and unreliable. It was happening after some hours of= use or daily in the morning (probably some daily tasks triggered problem). Setu= p is 14.2-RELEASE GENERIC AMD64 and drm-61-kmod with RADEON RX580 8GB AMDGPU. Symptoms: * no kernel panic. * long screen freezes. * cannot switch to VT. * keyboard and mouse stops working, keystrokes repeat of skipped, mouse mov= es just a bit. * watchdog is trigerred on on-board realtek ethernet making network interfa= ce go down. * if there are multimedia applications working in the background sound plays with no problem. * machine is unusable. I have recompiled drm-61-kmod, gpu-firmware-amd. Even updated CPU microcode= on boot and late in rc. I have recompiled EFL and Enlightenment, Terminology, = etc. I also changed mobo settings like RAM/CPU/NB/HT clocking. Nothing helped. So I was poking around and found out that triggering `zpool scrub` on datas= ets attached to onboard SATA controller gives the symptoms. Scrubbing zraid0 sl= ows down a bit machine like I noticed every day. Scrubbing zraid2 makes machine unusable. I have replaced RX580 GPU with NVIDIA 1060 installed nvidia-driver and the problem is gone. I am writing this as scrub raidz2 is being done in the background. That would not be possible with RX580 and amdgpu onboard. There may be something in the 61 amdgpu driver that interferes strongly on = the chipset. I think I will switch to nvidia for good. But someone may have similar prob= lem. Thanks :-) Tomek # uname -a FreeBSD octagon 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 # pkg info drm-61-kmod drm-61-kmod-6.1.92.1402000_3 # pkg info gpu-firmware-kmod gpu-firmware-kmod-20241114,1 --=20 You are receiving this mail because: You are the assignee for the bug.=