EDIT: The solution was that it was freesync. Turned it off on my monitor, and that fixed it.

I recently picked up a used RX 6600xt, and ever since the screen will occasionally freeze for 1-2 seconds before returning to normal. As far as I can tell, input and sound work as normal during these. There’s no real pattern either.

I’m on Mint 21.3 Cinnamon, on the 6.5 kernel (there was a sleep related issue for me in the default kernel version). Since getting the GPU, I’ve replaced the CPU and motherboard.

Any guesses as to what this might be, or where to look? I tried checking mint’s logs app and there didn’t seem to be anything associated with it.

  • atmur@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    I remember there being a bug with AMD GPUs and monitors with freesync a few kernel versions ago. It’s exactly like you said, random brief freezes.

    Try updating to a newer kernel or disable freesync in your monitor settings (if appplicable).

    • Julian@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      Looks like freesync was the issue - I turned off the setting in my monitor and the issue hasn’t reoccurred. Thanks for figuring that out!

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 months ago

    Your 6.5 kernel is still quite old. I’d suggest trying a more recent kernel - there have been several AMD-related bugfixes and improvements since then, leading up to the latest stable 6.8.2. I’d also recommend upgrading to the latest Mesa, which is 24.0.4. Now whilst there are PPAs you can add to easily upgrade your Mesa, I wouldn’t recommend that option as it would introduce more instability and can cause issues with future upgrades. Instead, I’d recommend temporarily trying out a distro with a recent kernel+Mesa, such as EndeavourOS, Nobara, Bluefin etc. If you’re still experiencing issues with them, then it’s likely a hardware issue.

    • Julian@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      During the minute that one of these freezes happened, this is the log output:

      Mar 30 12:14:42 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:42 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:42 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:42 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:42 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:39 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:39 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:14:06 HAL systemd[1880]: Started VTE child process 5674 launched by gnome-terminal-server process 5653.
      Mar 30 12:14:06 HAL systemd[1880]: Started GNOME Terminal Server.
      Mar 30 12:14:06 HAL dbus-daemon[1892]: [session uid=1000 pid=1892] Successfully activated service 'org.gnome.Terminal'
      Mar 30 12:14:06 HAL systemd[1880]: Starting GNOME Terminal Server...
      Mar 30 12:14:06 HAL systemd[1880]: Created slice Slice /app/org.gnome.Terminal.
      Mar 30 12:14:06 HAL dbus-daemon[1892]: [session uid=1000 pid=1892] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.108' (uid=1000 pid=5650 comm="/usr/bin/gnome-terminal>
      Mar 30 12:13:53 HAL rtkit-daemon[1238]: Supervising 12 threads of 5 processes of 1 users.
      Mar 30 12:13:53 HAL rtkit-daemon[1238]: Successfully made thread 5636 of process 1889 owned by '1000' RT at priority 5.
      
      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        Just a hunch but I’d look into rtkit. A bad process with realtime priority could starve out others.

        Temporarily disable rtkit and log out.

      • F04118F@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        My guess would be 3rd line from the bottom: a systemd service named gnome-terminal-server is being started. Why is it being started? Maybe it crashed and is set to always restart? Not sure.

        • Julian@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          I think that was me opening the terminal to run journalctl lol