Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Random 5 second freezes with X11
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cel7t
n00b
n00b


Joined: 22 Apr 2024
Posts: 3

PostPosted: Mon Apr 22, 2024 6:07 am    Post subject: Random 5 second freezes with X11 Reply with quote

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
View user's profile Send private message
cel7t
n00b
n00b


Joined: 22 Apr 2024
Posts: 3

PostPosted: Wed Apr 24, 2024 8:30 am    Post subject: Reply with quote

Here's my kernel .config: https://0x0.st/XHXD.txt
Here's my make.conf: http://0x0.st/XHXd.conf
Here's my package.use: https://0x0.st/XHXn.use
Please let me know if I should share any more details
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21672

PostPosted: Wed Apr 24, 2024 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
cel7t
n00b
n00b


Joined: 22 Apr 2024
Posts: 3

PostPosted: Wed Apr 24, 2024 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
s0ulslack1
n00b
n00b


Joined: 06 Mar 2022
Posts: 22

PostPosted: Wed Apr 24, 2024 6:25 pm    Post subject: Reply with quote

I recall this waaaay back in the day with xorg, I finally traced it down to a defunct hostname
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum