Freezes on Ryzen 9 5900X

I am having an i3wm Manjaro and I am experiencing occasional freezes on my system, the mouse is freezing and even the screen, so it is really very annoying. I have checked the 5.11 kernel but there the situation was the same, and I was also having problems with the Bluetooth connectivity that is why I am currently running 5.10 where at least my Bluetooth is working smoothly.

This is my system:

System:    Kernel: 5.10.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: i3 4.19.1 info: i3bar dm: LightDM 1.30.0 
           Distro: Manjaro Linux 
Machine:   Type: Desktop System: Micro-Star product: MS-7C84 v: 1.0 serial: <filter> 
           Mobo: Micro-Star model: MAG X570 TOMAHAWK WIFI (MS-7C84) v: 1.0 serial: <filter> UEFI: American Megatrends LLC. 
           v: 1.53 date: 12/30/2020 
Battery:   Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard serial: <filter> 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 3 serial: <filter> 
           charge: 5% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: 12-Core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3 rev: 0 L2 cache: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 177654 
           Speed: 2880 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2880 2: 3597 3: 2199 4: 2200 5: 2877 
           6: 3586 7: 2875 8: 2874 9: 2879 10: 2874 11: 2199 12: 2191 13: 2871 14: 2196 15: 2199 16: 2196 17: 2199 18: 2858 
           19: 2874 20: 2871 21: 2199 22: 2200 23: 2199 24: 2200 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
           vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 2d:00.0 chip ID: 1002:67df class ID: 0300 
           Display: x11 server: X.Org 1.20.10 compositor: picom v: git-dac85 driver: loaded: amdgpu,ati unloaded: modesetting 
           alternate: fbdev,vesa resolution: 3440x1440~60Hz s-dpi: 96 
           OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.40.0 5.10.15-1-MANJARO LLVM 11.0.1) 
           v: 4.6 Mesa 21.1.0-devel (git-766538f83c) direct render: Yes 
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 2d:00.1 chip ID: 1002:aaf0 class ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel 
           v: kernel bus ID: 2f:00.4 chip ID: 1022:1487 class ID: 0403 
           Device-3: C-Media CM108 Audio Controller type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 5-4:3 
           chip ID: 0d8c:013c class ID: 0300 
           Sound Server: ALSA v: k5.10.15-1-MANJARO 
Network:   Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus ID: 26:00.0 
           chip ID: 10ec:8125 class ID: 0200 
           IF: enp38s0 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000 bus ID: 28:00.0 chip ID: 8086:2723 
           class ID: 0280 
           IF: wlo1 state: up mac: <filter> 
           IF-ID-1: virbr0 state: down mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus ID: 1-4:2 chip ID: 8087:0029 class ID: e001 
           Message: Required tool hciconfig not installed. Check --recommends 
Drives:    Local Storage: total: 931.51 GiB used: 578.9 GiB (62.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 
           rotation: SSD serial: <filter> rev: 2B2QEXM7 temp: 40.9 C scheme: GPT 
Partition: ID-1: / size: 896.01 GiB used: 578.89 GiB (64.6%) fs: btrfs dev: /dev/nvme0n1p3 
           ID-2: /boot/efi size: 511 MiB used: 4.8 MiB (0.9%) fs: vfat dev: /dev/nvme0n1p1 
           ID-3: /home size: 896.01 GiB used: 578.89 GiB (64.6%) fs: btrfs dev: /dev/nvme0n1p3 
Swap:      ID-1: swap-1 type: partition size: 35 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 42.4 C mobo: N/A gpu: amdgpu temp: 35.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 1545 
Info:      Processes: 485 Uptime: 12h 08m wakeups: 303 Memory: 31.34 GiB used: 10.8 GiB (34.5%) Init: systemd v: 247 
           Compilers: gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1396 Shell: fish v: 3.1.2 running in: urxvtd inxi: 3.3.01 

And these are my errors in the journalctl:

Feb 16 13:54:35 gtop kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
Feb 16 13:54:53 gtop kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12
Feb 16 13:55:15 gtop pulseaudio[2488]: XIO: fatal IO error 1 (Operation not permitted) on X server ":0"
Feb 18 09:33:49 gtop pacman-mirrors[57511]: ::WARNING '<urlopen error [Errno -2] Name or service not known>'
Feb 19 09:26:19 gtop dunst[2884]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Feb 19 09:27:59 gtop kernel: kobject_create_and_add: kobject_add error: -12
Feb 21 17:11:11 gtop user[6649]: linux-boot-prober: error: umount error, retrying after 1 sec
Feb 22 05:37:11 gtop pkgfile[2240]: error: failed to update repo: arch4edu
Feb 24 00:26:27 gtop blueman-applet[329246]: blueman-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Feb 24 00:26:27 gtop blueman-tray[329252]: blueman-tray: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Feb 24 07:38:12 gtop kernel: RAS: Correctable Errors collector initialized.
Feb 24 07:38:12 gtop snapd[633]: stateengine.go:150: state ensure error: Get "": dial tcp: lookup no such host
Feb 24 15:02:19 gtop dbus-daemon[627]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.55" (uid=1000 pid=62703 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.32" (uid=0 pid=2522 comm="/usr/lib/bluetooth/bluetoothd ")
Feb 24 19:43:25 gtop kernel: logitech-hidpp-device 0003:046D:4082.0007: Couldn't get wheel multiplier (error -110)

Any idea what could be causing the problem?

you need this ?

Mesa 21.1.0-devel (git-766538f83c)

what branch are you using ?

I was trying to install the ROCm support for Tensorflow and was struggling to enable it for my GPU, that is why I have installed this GPU driver. But I can of course revert to the normal mesa driver.

Actually, I found the problem, I am using wireless mouse and keyboard, using the Logitech Unify 2.4GHz receiver, which was initially connected t the back of my PC, placing the receiver in the front of the PC fixed the problem.

Conclusion: not every time the problem is software-based :smiley:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.