Xhci_hcd USB reset when gaming on Fedora with any USB dock

I have been dealing with constant USB resets on Fedora that eventually end up shutting down all the USB ports, not only the ones from the dock.

I tried 4 different USB docks

  • A cheap generic of 10 ports
  • WiWU matrix pro 16-in-1
  • Anker
  • The official steam deck dock

This is the error that I get a minute or so after starting a game in Steam while the dock is connected:

[ 1546.656089] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
[ 1546.656093] xhci_hcd 0000:00:14.0: Looking for event-dma 0000000107d362d0 trb-start 0000000107d362e0 trb-end 0000000107d362e0 seg-start 0000000107d36000 seg-end 0000000107d36ff0
[ 1547.935058] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
[ 1547.935065] xhci_hcd 0000:00:14.0: Looking for event-dma 0000000107d35310 trb-start 0000000107d35320 trb-end 0000000107d35320 seg-start 0000000107d35000 seg-end 0000000107d35ff0
[ 1548.024129] usb 1-5.4.2.2.2: reset full-speed USB device number 14 using xhci_hcd
[ 1548.231942] usb 1-5.4.2.2.2: reset full-speed USB device number 14 using xhci_hcd

I tried disabling the USB auto suspend and disabling advanced power management. But it got worse these months up to the aforementioned point (the system hangs after a minute of gaming).

I tried with the vanilla kernel and with a clean install of Fedora, and it is the same.

I tried with a clean install of Ubuntu and it just works.

I saved the diff of the kernel options across both distros, but I realize that even if I find the culprit I will need to manually compile the kernel every time I get a new one through and update. It is not worth it.

I am sad cause everything feels better on Fedora than on Ubuntu. It kinda feels upstream and up-to-date.

I guess that the kernel was way more optimized than in Ubuntu and nobody realizes this problem cause it only happens when you try to game on Steam with a USB dock plugged in.

I just reinstalled Ubuntu back on my system after almost two years of using Fedora. I feel extremely uncomfortable with it.

I can replicate the error with 4 different USB Dock from a clean installation of Fedora on a USB drive.

Guess I will keep trying Fedora from that USB drive every 6 months till it gets fixed. But my hopes are not set especially high.

Does anyone know where I can mention the problem hoping that someone could look into it? Again, I have the diff of kernel options and can reproduce the error.