View previous topic :: View next topic |
Author |
Message |
cel7t n00b
Joined: 22 Apr 2024 Posts: 3
|
Posted: Mon Apr 22, 2024 6:07 am Post subject: Random 5 second freezes with X11 |
|
|
Hello everyone, I've seen a lot of posts similar to mine but none of the solutions worked.
I'm running a ltoized system with a custom kernel on an asus g14.
Everything is working fine, except for random but frequent 5 second freezes with X11.
I think it could be because I am low on storage space, but I am not sure if that is the problem because it has persisted for a while.
I'm using the proprietary nvidia driver and systemd.
Please help me learn how to proceed with debugging this issue.
Thank you in advance! |
|
Back to top |
|
|
cel7t n00b
Joined: 22 Apr 2024 Posts: 3
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22626
|
Posted: Wed Apr 24, 2024 2:09 pm Post subject: |
|
|
The most common explanation for a short stall is insufficient RAM, leading to swapping. For that, we would want to see the output of free -k both when you first log in, and again right after a temporary freeze.
You could also check dmesg for any relevant messages. You could try using an untainted kernel, though I have no reason to suspect that explanation for this problem yet. |
|
Back to top |
|
|
cel7t n00b
Joined: 22 Apr 2024 Posts: 3
|
Posted: Wed Apr 24, 2024 2:16 pm Post subject: |
|
|
Hu wrote: | The most common explanation for a short stall is insufficient RAM, leading to swapping. For that, we would want to see the output of free -k both when you first log in, and again right after a temporary freeze.
You could also check dmesg for any relevant messages. You could try using an untainted kernel, though I have no reason to suspect that explanation for this problem yet. |
Thank you for the response.
I think I've solved the issue by following this page on Nvidia Optimus:
https://wiki.gentoo.org/wiki/NVIDIA/Optimus
Specifically, running Code: | doas nvidia-xconfig | and then adding Code: | xrandr --setprovideroutputsource modesetting NVIDIA-0 | to the xinitrc did the trick.
Thanks a lot for the help! |
|
Back to top |
|
|
s0ulslack1 n00b
Joined: 06 Mar 2022 Posts: 25
|
Posted: Wed Apr 24, 2024 6:25 pm Post subject: |
|
|
I recall this waaaay back in the day with xorg, I finally traced it down to a defunct hostname |
|
Back to top |
|
|
|