Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Freezes for a couple of seconds or completely (AMDGPU)
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
BlitDev
n00b
n00b


Joined: 24 Mar 2023
Posts: 4

PostPosted: Tue Mar 28, 2023 5:59 am    Post subject: Freezes for a couple of seconds or completely (AMDGPU) Reply with quote

My CPU: AMD Ryzen 5 5600G (APU with AMD Radeon RX Vega 7, Cezanne)
I use gentoo-sources (6.1.19), Sway.

Immediately after startup, everything usually works as it should, but with a small load, periodic freezes begin for 1-2 seconds. At medium-high load, the interface may completely freeze (fixed by rebooting). Freezes are not related to memory overflow (I tried with and without zram), also I have 16G Kingston DDR4.

I configured the kernel according to the handbook, tried to disable AMD Secure Memory Encryption. I tested working under load with Gentoo LiveGUI in KDE Plasma Wayland mode and with Sway. Nothing.
Most likely I configured the kernel incorrectly, or the guide is outdated.
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2185

PostPosted: Tue Mar 28, 2023 8:48 am    Post subject: Re: Freezes for a couple of seconds or completely (AMDGPU) Reply with quote

BlitDev wrote:
My CPU: AMD Ryzen 5 5600G (APU with AMD Radeon RX Vega 7, Cezanne)
I use gentoo-sources (6.1.19), Sway.

Immediately after startup, everything usually works as it should, but with a small load, periodic freezes begin for 1-2 seconds. At medium-high load, the interface may completely freeze (fixed by rebooting). ...

There are reported issues with "stuttering" in recent AMD chipsets fixed by either an updated BIOS or an updated kernel - see this Phoronix item. That said, I don't know if what you are seeing counts as "stuttering". However, the fix is supposed to be in 6.1.19. Are you sure that's the kernel you are running (rather than just installed - there are lots of forum items where the two are not the same!),
_________________
Greybeard
Back to top
View user's profile Send private message
BlitDev
n00b
n00b


Joined: 24 Mar 2023
Posts: 4

PostPosted: Tue Mar 28, 2023 3:07 pm    Post subject: Re: Freezes for a couple of seconds or completely (AMDGPU) Reply with quote

Goverp wrote:
BlitDev wrote:
My CPU: AMD Ryzen 5 5600G (APU with AMD Radeon RX Vega 7, Cezanne)
I use gentoo-sources (6.1.19), Sway.

Immediately after startup, everything usually works as it should, but with a small load, periodic freezes begin for 1-2 seconds. At medium-high load, the interface may completely freeze (fixed by rebooting). ...

There are reported issues with "stuttering" in recent AMD chipsets fixed by either an updated BIOS or an updated kernel - see this Phoronix item. That said, I don't know if what you are seeing counts as "stuttering". However, the fix is supposed to be in 6.1.19. Are you sure that's the kernel you are running (rather than just installed - there are lots of forum items where the two are not the same!),


I tried to update BIOS (which with AMD AGESA >1207, so it should be fixed) or disable fTPM, but nothing changed.

This problem not happen on LiveGUI, although it uses TPM.

P.S I checked neofetch, it's definitely 6.1.19, no other versions of kernel installed (eselect kernel list)
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Mar 28, 2023 6:20 pm    Post subject: Reply with quote

Please post your kernel config and the output of dmesg. You may want to use wegtpaste.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1477
Location: Earth

PostPosted: Tue Mar 28, 2023 8:15 pm    Post subject: Reply with quote

also, start Sway in debug mode via sway -d >sway.log 2>&1 as logged in user from commandline (TTY) and wgetpaste sway.log from your users home folder.

maybe sway will tell what's wrong or missing.

using Sway/Waybar only system here, no Xorg and i love it :D

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
BlitDev
n00b
n00b


Joined: 24 Mar 2023
Posts: 4

PostPosted: Wed Mar 29, 2023 4:28 am    Post subject: Reply with quote

mike155 wrote:
Please post your kernel config and the output of dmesg. You may want to use wegtpaste.


https://bin.disroot.org/?94572d4a3bbb5e1b#APz9UanrfdWFXXxmqkvMPhPjd8iqL29QseQFU6v7yPgE

Password: TP7bQywvacVo


Last edited by BlitDev on Wed Mar 29, 2023 6:34 am; edited 1 time in total
Back to top
View user's profile Send private message
BlitDev
n00b
n00b


Joined: 24 Mar 2023
Posts: 4

PostPosted: Wed Mar 29, 2023 6:33 am    Post subject: Reply with quote

CooSee wrote:
also, start Sway in debug mode via sway -d >sway.log 2>&1 as logged in user from commandline (TTY) and wgetpaste sway.log from your users home folder.

maybe sway will tell what's wrong or missing.

using Sway/Waybar only system here, no Xorg and i love it :D

8)


https://bin.disroot.org/?aa82e54c82a964f9#A9CEgbKfTmWARNX18vFVapkKBvCuFUDr4RcufQDLaLmU

Password: fi8shD2ojd4s

There are many error messages in the Sway logs.
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