You are not logged in.

#1 2023-10-12 17:31:41

Sempiternal-Futility
Member
Registered: 2023-09-10
Posts: 18

Constant Desktop Enviroment crashes

I have an issue on my system: It constantly crashes, and all I can do is fall back to a tty.
This happens across all DE's and WM's, and also on both X11 and wayland.

Here's a journalctl log when it happened (https://pastebin.com/7V38yK2g). The crash happens at 2:47AM, when I tried to open firefox (line 2049).

When the system crashes, my DE stops functioning and freezes. All I can do is switch to a tty, where I can use it smoothly.

I think this is a problem with my amdgpu drivers. I don't recall this happening with the radeon drivers. (I need vulkan, so just using radeon is not an option). What do you guys think?


DE: Wayland + KDE
Kernel: 6.5.3-arch1-1
GPU: AMD R7 240
CPU: RYZEN 3 2200g


PS: I don't know if this would be better suited for the "Applications & Desktop Environments" section. Since I think it's the drivers fault, I think this issue is better suited here.

Last edited by Sempiternal-Futility (2023-10-12 17:36:04)

Offline

#2 2023-10-12 18:23:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,175

Re: Constant Desktop Enviroment crashes

amdgpu is crashing/resetting.

Your system is out of date, both on the kernel and mesa front. https://bbs.archlinux.org/viewtopic.php?id=130309

Update your system, reboot, try to reproduce. If you can reproduce, test the LTS kernel. If you can still reproduce, test whether it's more stable with radeon instead of amdgpu (even if "not an option" that can help narrowing down the problem scope). Also check whether you can reproduce on xorg.

Last edited by V1del (2023-10-12 18:25:56)

Offline

#3 2023-10-14 23:42:46

Sempiternal-Futility
Member
Registered: 2023-09-10
Posts: 18

Re: Constant Desktop Enviroment crashes

@V1del Did it. Updated the system, but still got a crash. Same goes for the LTS kernel. Could not reproduce it with radeon.



Here's the log (part 1) -- https://pastes.io/6igqaowi4z
(part 2) -- https://pastes.io/sglh64razv

Last edited by Sempiternal-Futility (2023-10-14 23:46:55)

Offline

#4 2023-10-15 06:42:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: Constant Desktop Enviroment crashes

What kind of horrible pastebin service is that?
Try

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2023-10-16 05:25:20

Sempiternal-Futility
Member
Registered: 2023-09-10
Posts: 18

Re: Constant Desktop Enviroment crashes

Offline

#6 2023-10-16 06:51:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: Constant Desktop Enviroment crashes


Oct 14 14:12:30 arch-pc kwin_wayland[550]: kwin_screencast: Dropping a screencast frame because the compositor is slow
Oct 14 14:12:30 arch-pc kwin_wayland[550]: kwin_screencast: Dropping a screencast frame because the compositor is slow

Journal is kwin_wayland on amdgpu on the 6.5.7-arch1-1 kernel…

V1del wrote:

If you can reproduce, test the LTS kernel. If you can still reproduce, test whether it's more stable with radeon instead of amdgpu […]. Also check whether you can reproduce on xorg.

Offline

#7 2023-10-17 01:42:37

Sempiternal-Futility
Member
Registered: 2023-09-10
Posts: 18

Re: Constant Desktop Enviroment crashes

@seth This also happens on X11. I tried to reproduce it with radeon again, but it did not crash

Offline

#8 2023-10-17 07:07:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: Constant Desktop Enviroment crashes

Oct 12 02:48:01 arch-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=90651, emitted seq=90653
Oct 12 02:48:01 arch-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process kwin_wayland pid 546 thread kwin_wayla:cs0 pid 583
Oct 12 02:48:01 arch-pc kernel: amdgpu 0000:01:00.0: amdgpu: GPU reset begin!
Oct 14 20:30:42 arch-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=3790293, emitted seq=3790295
Oct 14 20:30:42 arch-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process kwin_wayland pid 550 thread kwin_wayla:cs0 pid 587
Oct 14 20:30:42 arch-pc kernel: amdgpu 0000:01:00.0: amdgpu: GPU reset begin!

https://unix.stackexchange.com/question … y-1-7-days
https://gitlab.freedesktop.org/drm/amd/-/issues/1762 (but you don't have IO page faults)

When this happens on X11, do you get away w/ restarting the compositor (SHIFT+Alt+F12 toggles it)?
Or is the timing out process Xorg?
Does it make a diffference whether you use xf86-video-amdgpu?

Offline

#9 2023-10-18 18:34:50

Sempiternal-Futility
Member
Registered: 2023-09-10
Posts: 18

Re: Constant Desktop Enviroment crashes

@seth restarting the compositor does not fixes it.
xf86-video-amdgpu doesn't make any difference either

Offline

#10 2023-10-18 18:38:24

Sempiternal-Futility
Member
Registered: 2023-09-10
Posts: 18

Re: Constant Desktop Enviroment crashes

@seth I'll try to add this parameter to the kernel and see if it fixes it (https://bbs.archlinux.org/viewtopic.php?id=251159)

Offline

Board footer

Powered by FluxBB