Odd input "freezes"

So the issue is quite simply that input randomly (although rarely) decides to stop functioning.
Both the mouse & keyboard just stop doing anything, even if unplugged and plugged back in.

If there is video or audio playing, it still plays just fine. It seems to strictly be my input that freezes.
Every time I’ve had to restart my pc, which is quite annoying.

Most times this happens is after I walk away for quite a while (anywhere from 30min to a few hours), but I have had it happen once right while I was using the computer. My mouse just stopped mid-movement.

On kernel 5.5.7-arch1-1 but it’s been happening through a few Linux versions now.
Running i3 as my WM. Using sddm provided from the installer.

Here’s the journal from when (I think) one of the freezes happened http://ix.io/2dB8

Welcome…i was wondering if it would be possible for you to post the out put of sudo fdisk-l
Also could you please post inxi -Fxxxc0

Don’t know much about i3, but changing sddm to something else might help.

Wire -wireless ??
wlan - bluetooth??

inxi --usb

BTW, i use LightDM for i3wm.

When i was looking through the log i see two different swap files. Not sure how it is setup ? Not a log expert either.

If that’s the case, then we need to see file /etc/fstab.
And the output of these commands:

lsblk -fm
sudo fdisk -l

http://ix.io/2dEQ I’m just now noticing that Windows left some garbage on my main drive (the gigabyte nvme). Curious if that’s causing issues…

Wired internet, wired mouse, wired keyboard.
Not sure what inxi is. I see it’s part of whatever quassel is?

~ >>> inxi --usb                                                                                                                    
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
           Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
           Device-1: 1-1.1:3 info: ASUSTek type: <vendor specific> rev: 2.0 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
           Hub: 3-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
           Device-2: 3-1.7:3 info: Logitech Illuminated Keyboard type: Keyboard,Mouse rev: 2.0 
           Device-3: 3-1.8:4 info: Logitech M-U0007 [Corded Mouse M500] type: Mouse rev: 2.0 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 
           Hub: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
           Hub: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 
           Hub: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
           Hub: 8-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 

http://ix.io/2dET nvme0n1 is my Linux drive. Ignore the old antergos drive, I never use it anymore.

Could you also show
cat /etc/fstab


It is showing two swap files as i saw in the logs so maybe @manuel will have a look see. Not sure if thta’s causing an issue?

Two swap partitions are too much. Should remove UUID=de3c9928-1b56-40ba-bd07-6062be81be59 from /etc/fstab.

But hard to say if that’s the reason. Also changing sddm to lightdm could help.

Try one or both of these ideas.

Ok, I disabled that second swap. No idea why I even had it, I don’t remember creating it.

Is there a reason I should use LightDM over SDDM? I’m lazy so I’ve never given it much thought.

If it works better by removing the swap, then no reason to change to lightdm…

It happened again, but at least I see the USB disconnects in the journal now http://ix.io/2dIa
At the very bottom, for some reason all my usb just disconnect.

It seems to be my usb driver is crashing? Not really sure.

Could Ckb-next be causing the problem, even though it’s previously been a non-issue?

What is your hardware? inxi -Fxxxc0


Are you running a Raid set up? I see some stuff in the log about Raid6. Nice hardware by the way. I have an MSI X570 board and an AMD Ryzen 7 3800X sitting here ready to go together with 32 GB memory and some fast drives and an AMD RX590 GB.

I’m thinking maybe you have to try a kernel parameter such as amd_iommu=off but i think someone like @manuel has more knowledge to look this and advise. I’m leaning towards usb hardware issues with the type of high speed controllers using DMA. I ask about raid because settings in UEFI could be set to Raid instead of AHCI also even if you don’t have a raid setup. Some boards default settings are set to raid. Are you running I3 with sddm because it is on plasma or? Anyway maybe someone with more advanced knowledge than i have can give their opinion since now we have some logs and some journal info. I’ll be honest I’m taking a stab in the dark but it makes sense that it’s related to the usb xHCI controller possibly.

I would try the lightdm just to see first and maybe some other thoughts will come along here.