You are not logged in.

#1 2024-05-27 19:15:36

Therr
Member
Registered: 2024-05-27
Posts: 9

Arch linux freezes without specific reason

I use arch linux for a while, but recently arch linux is freezing (input and output doesn't react, but music is still playing, ctrl+alt+Fx doesn't work) randomly (usually when i try to play a game (doesn't matter what game exactly). Logs doesn't seem to say anything. Tried reinstalling arch with diffrent kernels. Tried even more stable arch-based distros. I ran Memtest 3 times and no errors. While this freeze occurs i can connect to this via ssh. CPU, GPU, ram etc. usage is low.
Sorry for bad english


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#2 2024-05-27 21:41:00

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

Re: Arch linux freezes without specific reason

Logs doesn't seem to say anything.

Do you reboot w/ the power button?

While this freeze occurs i can connect to this via ssh.

So only the graphics stack is affected.

After a freeze, ssh into the system and post your complete system journal for the boot from there:

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

Can you "sudo systemctl restart graphical.target" from there?

Sorry for bad english

https://deepl.com/

Offline

#3 2024-05-28 16:24:43

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

After a freeze, ssh into the system and post your complete system journal for the boot from there:

  http://0x0.st/XNZD.txt
I forgot to add that every times this happens and i reboot arch it does fsck for my entire disk. Here are the logs:

Info: Fix the reported corruption.
Info: [/dev/sdb2] Disk Model: SPCC Solid State
Info: MKFS version
Linux version 6.8.6-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU Id (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC S "
Info: FSCK version
from "Linux version 6.8.6-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU 14 (GNU Binutils) 2.42.0) #1 SMP PREEMPT DYNAM to "Linux version 6.6.32-1-1ts (linux-lts@archlinux) (gcc (GCC) 14.1.1 20240522, GNU 1d (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DY
Info: superblock features = 0:
Info: superblock encrypt level = 0, salt = 00000000000000000000000000000000
Info: fs errors: invalid_blkaddr
Info: Segments per section = 1
Info: Sections per zone = 1
Info: total FS sectors = 496003352 (242189 MB)
Info: CKPT version = 3cb72aa8
Info: Checked valid nat_bits in checkpoint
Info: checkpoint state = c1: nat_bits crc unmount
[FSCK] Check node 1/721636 (0.00%)

EDIT: "sudo systemctl restart graphical.target" does nothing, but kill -9 (pid of foreground app, usually a game) repairs this

Last edited by Therr (2024-05-28 16:30:57)


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#4 2024-05-28 16:32:25

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

Re: Arch linux freezes without specific reason

That's a normal consequence of rebooting w/ the power button.

maj 28 18:02:27 arch sudo[1703]:     arch : TTY=pts/1 ; PWD=/home/arch ; USER=root ; COMMAND=/sbin/pacman -S dropbear
maj 28 18:02:27 arch sudo[1703]: pam_unix(sudo:session): session opened for user root(uid=0) by arch(uid=1000)
maj 28 18:02:28 arch systemd[1]: Reloading requested from client PID 1739 ('systemctl') (unit session-1.scope)...
maj 28 18:02:28 arch systemd[1]: Reloading...
maj 28 18:02:28 arch systemd[1]: Reloading finished in 113 ms.
maj 28 18:02:28 arch sudo[1703]: pam_unix(sudo:session): session closed for user root
maj 28 18:02:34 arch polkitd[630]: Registered Authentication Agent for unix-process:1797:29354 (system bus name :1.30 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
maj 28 18:02:35 arch polkitd[630]: Operator of unix-process:1797:29354 successfully authenticated as unix-user:arch to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-unit-files for system-bus-name::1.29 [systemctl enable dropbear] (owned by unix-user:arch)
maj 28 18:02:35 arch systemd[1]: Reloading requested from client PID 1797 ('systemctl') (unit session-1.scope)...
maj 28 18:02:35 arch systemd[1]: Reloading...
maj 28 18:02:35 arch systemd[1]: Reloading finished in 103 ms.
maj 28 18:02:35 arch polkitd[630]: Unregistered Authentication Agent for unix-process:1797:29354 (system bus name :1.30, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8) (disconnected from bus)
maj 28 18:02:41 arch polkitd[630]: Registered Authentication Agent for unix-process:1875:30045 (system bus name :1.34 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
maj 28 18:02:43 arch polkitd[630]: Operator of unix-process:1875:30045 successfully authenticated as unix-user:arch to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.33 [systemctl start dropbear] (owned by unix-user:arch)
maj 28 18:02:43 arch systemd[1]: Started Dropbear SSH Server.
maj 28 18:02:43 arch dropbear[1899]: Not backgrounding
maj 28 18:02:43 arch polkitd[630]: Unregistered Authentication Agent for unix-process:1875:30045 (system bus name :1.34, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8) (disconnected from bus)
maj 28 18:04:06 arch kernel: sched: RT throttling activated
maj 28 18:04:28 arch dropbear[2118]: Child connection from 172.16.16.233:45118
…
maj 28 18:09:29 arch sudo[3131]:     arch : TTY=pts/2 ; PWD=/home/arch ; USER=root ; COMMAND=/sbin/journalctl -b
maj 28 18:09:29 arch sudo[3131]: pam_unix(sudo:session): session opened for user root(uid=0) by arch(uid=1000)

So at 18:02 you installed and started dropbear, 18:04 you logged in remotely and 18:09 you dumped the journal.
Did the system actually freeze between 18:02 and 18:09?

Offline

#5 2024-05-28 16:35:03

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

Yes. i installed dropbear and reproduced this error. Then i killed a foreground process (kill -9) via ssh and posted this here


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#6 2024-05-28 22:18:10

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

Re: Arch linux freezes without specific reason

So it's basically just the game that  freezes?
What kind of "game"? (Steam/lutris/wine, SDL, probably not gnu chess)?
What's its process state before you kill it? "D"?
Do you *have* to SIGKILL (-9) it? Regular SIGTERM doesn't work? (This might explain the failure of the graphical.target restart)

You could try to attach gdb to it and get a backtrace before killing it: https://wiki.archlinux.org/title/Debugg … ng_process

Offline

#7 2024-05-29 05:24:49

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

Game crashes on more then 1 game (both wine and native,with gamemode/gamescope etc. and without), but to reproduce this error I always use HOI4, because then I am sure it will happen(which is why I don't think it's game fault)
EDIT:Process state normally is "R" (once it was "D", and only for a few seconds, but generally it's "R")

Last edited by Therr (2024-05-29 14:32:56)


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#8 2024-05-29 06:40:05

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

Re: Arch linux freezes without specific reason

But always wine steam?
Can you reproduce it w/ https://archlinux.org/packages/extra/x86_64/warsow/ or any game in the dependency list of https://archlinux.org/packages/extra/x86_64/sdl2/
( https://archlinux.org/packages/extra/x86_64/blobby2/ is extremely low profile)

Last edited by seth (2024-05-29 06:40:40)

Offline

#9 2024-05-29 15:13:14

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

No, not only steam games. So far I tried 0ad and warsow and I can't reproduce this
EDIT: for example HOI4 is native and it always crashes. Other example is XDefiant (it needs some tinkering to launch so it might be produced by sth else, but I don't think so)
EDIT2: 0ad and warsow don't freeze. I don't have to kill with -9 to unfreeze my system
EDIT3: 0ad freezes too

Last edited by Therr (2024-05-31 11:22:00)


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#10 2024-06-04 13:19:22

ascril
Member
Registered: 2024-06-04
Posts: 1

Re: Arch linux freezes without specific reason

I am noticing very similar issues to yours. Did you managed to figure out what is causing a problem?

Offline

#11 2024-06-04 17:42:41

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

ascril wrote:

I am noticing very similar issues to yours

exactly the same? In my case it freezes mostly in games... In yours too?

ascril wrote:

Did you managed to figure out what is causing a problem?

No, I'm killing the foreground process and hoping it'll help. Usually, after freezing and unfreezing 100 times, it eventually stops freezing

Last edited by Therr (2024-06-04 17:46:08)


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#12 2024-06-04 20:20:03

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

Re: Arch linux freezes without specific reason

Can you "kill -11" the process? This will cause a segfault and maybe get us a coredump which then might hint at the cause…
@ascril, ryzen + intel arc as well?

Offline

#13 2024-06-06 14:52:53

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

Yes, I can kill -11 process... Should I do this coredump thing from arch wiki or from where?


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#14 2024-06-06 15:22:41

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

Offline

#15 2024-06-08 09:26:08

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

I made coredump (generate-core-file in gdb), here is the link:

http://0x0.st/Xb24.bin

EDIT: I used 0ad as an example

Last edited by Therr (2024-06-08 09:57:26)


Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#16 2024-06-08 12:23:28

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

Re: Arch linux freezes without specific reason

That's the binary coredump which is useless w/o the matching binaries that triggered it, please locally obtain and post the trace.

Offline

#17 2024-06-15 08:26:40

Therr
Member
Registered: 2024-05-27
Posts: 9

Re: Arch linux freezes without specific reason

You mean output of bt command? Here it is

 http://0x0.st/Xcxq.txt 

Hardware specification:
GPU: Intel Arc A750
CPU: AMD Ryzen 5 5600X
MOBO: b450 aorus elite v2

Offline

#18 2024-06-15 13:29:48

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

Re: Arch linux freezes without specific reason

Thread 1 (Thread 0x78b846000c80 (LWP 2660) "hoi4"):
#0  0x000078b844d1c39d in poll () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x000078b8460d920b in ?? () from /usr/lib/libxcb.so.1
No symbol table info available.
#2  0x000078b8460db29b in xcb_wait_for_special_event () from /usr/lib/libxcb.so.1
No symbol table info available.
#3  0x000078b843ed0684 in glLabelObjectEXT () from /usr/lib/libGLX_mesa.so.0
No symbol table info available.
#4  0x000078b843ed0883 in glLabelObjectEXT () from /usr/lib/libGLX_mesa.so.0
No symbol table info available.
#5  0x000078b843ed3209 in glLabelObjectEXT () from /usr/lib/libGLX_mesa.so.0
No symbol table info available.
#6  0x000078b843ed35b8 in glLabelObjectEXT () from /usr/lib/libGLX_mesa.so.0
No symbol table info available.
#7  0x000078b83f88de85 in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#8  0x000078b83f88df34 in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#9  0x000078b83f891476 in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#10 0x000078b83f9678d4 in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#11 0x000078b83f9687f4 in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#12 0x000078b83fbe2ebc in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#13 0x000078b83fbe807f in ?? () from /usr/lib/dri/iris_dri.so
No symbol table info available.
#14 0x0000000002eb2396 in ?? ()
No symbol table info available.
#15 0x0000000001a8ac4e in ?? ()
No symbol table info available.
#16 0x00000000019aca8c in ?? ()
No symbol table info available.
#17 0x0000000001a8043a in ?? ()
No symbol table info available.
#18 0x00000000027cb325 in ?? ()
No symbol table info available.
#19 0x00000000027cbc3f in ?? ()
No symbol table info available.
#20 0x0000000000521766 in ?? ()
No symbol table info available.
#21 0x000078b844c39c88 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#22 0x000078b844c39d4c in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#23 0x000000000051ab0e in ?? ()

Shows up in
https://forum.manjaro.org/t/manjaro-jus … art/132900 - along a bunch of IO error that aren't in your journal.
And also in https://gitlab.freedesktop.org/xorg/dri … issues/205 balming DRI3, so try to disable that: https://wiki.archlinux.org/title/Intel_ … RI3_issues ("export LIBGL_DRI3_DISABLE=1")

Generic "red" flags:
1. intel ARC
2. zen kernel
3. ly
4. F2FS-fs

Offline

Board footer

Powered by FluxBB