From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 819751580E0 for ; Sun, 26 Jan 2025 20:20:16 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 72AE634319D for ; Sun, 26 Jan 2025 20:20:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 082CD11047D; Sun, 26 Jan 2025 20:19:06 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BF92D110470 for ; Sun, 26 Jan 2025 20:19:04 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tc95y-0007ux-1g for gentoo-user@lists.gentoo.org; Sun, 26 Jan 2025 21:19:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Troubshooting AMD Radeon Vega system freeze Date: Sun, 26 Jan 2025 20:18:57 -0000 (UTC) Message-ID: References: <5014ced2-6981-4e52-adc5-ae552f88142b@gmail.com> User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b19d8f0c-67f3-4ca8-a08f-1fb1963f4dc8 X-Archives-Hash: 5ca44f9261aeffbae2b291caaa14e480 On 2025-01-26, Daniel Frey wrote: > I had a problem with two of my Ryzen systems that exhibited this > behaviour. One has a G processor, the other doesn't > > Apparently Ryzen processors have an idle bug that locks up the > system in this way. The bugs manifests randomly when the CPU is > idle. For me, if I left the PC on overnight it would always be hung > up the next morning. It would also trigger if I started a long > emerge and forgot about it - it would idle enough it would hang. And that only hung user-space stuff? I can still ping mine when it's frozen, and the SysRq key works (except for commands to do with the framebuffer console). Ssh doesn't work and Ctrl-Alt-Fx doesn't work. > I had to update the BIOS on both machines, then change the "Power Supply > Idle Control" to "Typical Current Idle". Any other setting and the bug > manifests. Note this setting is for Asus motherboards; I would imagine > other manufacturers have a similar setting but it may be named differently. > > I did test it, I left both my PCs on for over 48 hours and no lockup. I don't think this is the same. My machine never locked up when idle. It was always when doing something like resizing an X11 window. I could let it sit idle for days (either at the console prompt or with X11 screen-saver active and a blanked screen). I could do anything I wanted remotely via ssh. It only seemed to lock up when I was doing something in X11. It didn't have to be _much_ in X11 (didn't need to be rendering video or 3D gaming). Just working with xemacs and xterms seemed to be enough (though I probably had a Thunderbird window sitting idle/iconified and a chrome window showing some documentation). Yesterday I downgraded mesa from 24.3.3 to 24.2.8, and it hasn't frozen since -- though I also haven't been using it a lot since the downgrade. If make it through a day of work tomorrow without a lockup, then I'm going to blame mesa. During a normal work day last week it would usually freeze a half-dozen times. -- Grant