• Re: [gentoo-user] Re: Troubshooting AMD Radeon Vega system freeze

    From Michael@21:1/5 to All on Sun Jan 26 21:43:12 2025
    On Sunday 26 January 2025 20:18:57 Greenwich Mean Time Grant Edwards wrote:
    On 2025-01-26, Daniel Frey <djqfrey@gmail.com> 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

    I have an older AMD system running a wayland desktop, which locks up if I update mesa/xorg in the background and do not restart/reboot after it is done. It tends to lock up with Firefox when moving its window between monitors, or resizing windows in general. It feels a bit random when it may decide to trigger a freeze, but only common denominator is mesa & xorg drivers updates which are not followed through with restarting the session or rebooting the system.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmeWrHAACgkQseqq9sKV ZxlM9g//aRvJwrChnrHMpgs4rk2Jb4z1OasQWnpeCoGjFp91KaoIi5eNWV8zez1E ynGkYN2YJbF955yaGeA1uJw3jFMmqcgkxzKXPuquAdzHqNUebtEwOqABBYC1JfsW qeDglOwYecUNjJIw6IobaVKGOIx623Lqe3OSryKz8JzggdrsziX2k1pKl+zzOz+/ S6tKolgb08p62F2rlitNnqvfiUE7eSKEvG/Yocz7tTIr3h5wTDYSQvpwxcQemppR stTFPSSIM1lscY+fuFd7Aq92uPYRmdtawXDP2JJrko2rn23r2GdiQcgsfbnFt093 qmWyUgSJp8s9f0pxGvELLCnZ3Cb5bgytuPI6aKmVFlmqSDt16fve+y+owzUGO5OV aM2Q8ggdKf66hodEgyhK15/GP/8Gm9VE7b/+E/jxVutpKwZKHzSPvIf68CxalYkc 4303f9lvmAOYv5JSkVm5WBV9ExPj5dxRo5hJVzamX2GSKS1R2bArDbaM4oP50jP8 YuPCGxUAlXvmWzJiEem3wqYTR2syTaSCy8AJTmmsdDDNydYqm5vx8Rj5TnG1zolt 4H4WU9Zo/tq2PLf7TeSbEjIp+vPHB6KvN80dxXSIYDaQewLIl7WOIlsfevxuFg/j 0Py5Aze7yYs8qZ1dLtccw5iBjBq6m8RqnN0OkcSAyJTe986sacE=
    =hsul
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)