this post was submitted on 30 Mar 2024
29 points (85.4% liked)

Linux

47929 readers
1160 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 7 months ago (1 children)

Can journalctl be useful here? Does it show anything related?

[–] [email protected] 5 points 7 months ago (2 children)

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.
[–] [email protected] 4 points 7 months ago (1 children)

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.

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

I vaguely know rtkit handles thread/process priority... could there be any possible issues if I disable it?

Edit: actually have a more important question: how do I disable rtkit? It seems to just start up regardless of what I do.

[–] [email protected] 2 points 7 months ago

The only important instance I know of would be your audio server (pipewire, pulse) which could also explain why audio continues to work.

how do I disable rtkit? It seems to just start up regardless of what I do.

Masking the service should do it.

[–] [email protected] 3 points 7 months ago (1 children)

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.

[–] [email protected] 4 points 7 months ago

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

[–] [email protected] 6 points 7 months ago (1 children)

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).

[–] [email protected] 2 points 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!

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (1 children)

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.

[–] [email protected] 4 points 7 months ago

I would just boot Fedora and do some testing in the live environment

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (3 children)

What cpu? If it's a ryzen go disable ftpm in the bios settings and see if the problem goes away.

Turn off any encryption first though.

[–] [email protected] 2 points 7 months ago

This has already been disabled for affected amd CPUs since 6.4 and back ported to the LTS kernels

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Did you mean "fTPM"?

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

By encryption you mean disk encryption? I'm not using that so hopefully won't have to do anything

Also I looked up that ftp~~u~~m stuttering issue and it doesn't match with what I'm seeing. It's not a stutter, just a complete freeze of the screen for a solid second, and then it returns to being completely normal.

[–] [email protected] 1 points 7 months ago (1 children)

How sure are you that you didn't get a card that was used for mining crypto?

[–] [email protected] 1 points 7 months ago (1 children)

Pretty sure, I got it locally on a college campus from someone upgrading their gaming PC

[–] [email protected] 1 points 7 months ago (1 children)

Check to make sure the fan on it is running fast enough (or at all). My previous card had the fan blades fall out, it happens.

[–] [email protected] 1 points 7 months ago

Yeah the fan blades are in place, I've stress tested it... Don't see how this is related to the issue at hand though.