ValveSoftware / SteamOS

SteamOS community tracker
1.53k stars 69 forks source link

Steam Deck not recognizing Docks anymore #999

Open 0lm opened 1 year ago

0lm commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

I am not sure what causes this, but I found other people on steamcommunity forums and reddit who had the same issues. So, let me describe it as detailed as possible: I am using Steam Deck with the Dock. 90% of all time it is docked with Keyboard, Mouse and a Monitor via HDMI. So far, everything worked. But using it for 6h, the Steam Deck went to sleep mode around 4 times maybe in these 6h. At the 4th time, I got the "No HDMI Signal" Error. And neither USB Slots, nor HDMI on the Steam Dock worked anymore.

I have a friend who also has a Steam Deck and a Dock. I asked him to test out my Dock. The Dock worked on his Steam Deck. He gave me his Dock, I tested it on mine. His Dock didnt work on my Deck. None of the Docks worked anymore on my Deck, while both Docks worked on his Deck.

I dont know anymore how exactly I solved it. I tried different methods of restarting the Deck first, nothing really helped. I restarted while having it connected to the Dock in Game Mode. Then I did the same, but while being in Desktop Mode. Nothing worked. I tried it (still same setup, docked) but without being connected to the powerplug on the Dock.

Eventually, as said not sure how I fixed it, when I fully shut down this time (the 2nd time or so), maybe with or without power cable connected to the Dock, while the Dock was connected to the Deck, it started working again. Some others saying they solved this issue by restarting Steam Deck 10 times. I am sure I restarted Steam Deck multiple times, nothing helped. But I did some special restart or full shut down, and it worked. As siad, I unfortunately forgot, with which step I solved it, because I was already annoyed and a bit panicked that moment anyways and I can't remember anymore.

No idea what issue this is. I think it has something to do with the Steam Deck. Kernel. SteamOS. Or whatever. Or maybe incompability between SteamOS and Dock Firmware? Anyways, there is an issue causing the Deck not working with the Dock anymore properly. And this issue pops up during different events, like shutting down the Deck while being docked. Or when it goes to Sleep Mode. It doesnt happen always. But it does happen. That's a serious issue in my eyes. Cant say how to properly reproduce this. Just it docked (with power cable pluuged to the Dock) and restart Steam Deck, or Shut it down, or make it go to Sleep Mode multiple times. It should probably trigger this issue eventually.

0x647262 commented 1 year ago

Experiencing a similar (possibly the same?) issue on vanilla Arch. After the following dmesg output (detaching and reattaching the dock from the Deck post-initramfs) :

drb@etherium ~> journalctl --dmesg --reverse
Mar 28 19:02:46 etherium kernel: usb usb3-port1: couldn't allocate usb_device
Mar 28 19:02:46 etherium kernel: xhci_hcd 0000:04:00.3: Max number of devices this xHCI host supports is 64.
Mar 28 19:02:46 etherium kernel: xhci_hcd 0000:04:00.3: Error while assigning device slot ID: Command Aborted
Mar 28 19:02:34 etherium kernel: usb usb3-port1: couldn't allocate usb_device
Mar 28 19:02:34 etherium kernel: xhci_hcd 0000:04:00.3: Max number of devices this xHCI host supports is 64.
Mar 28 19:02:34 etherium kernel: xhci_hcd 0000:04:00.3: Error while assigning device slot ID: Command Aborted
Mar 28 19:02:26 etherium kernel: iommu ivhd0: AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device=0000:00:00.0 pasid=0x00000 address=0xfffffffdf8000000 flags=0x0a00]

The dock and other USB devices cease to function.

System information (vanilla Archlinux):

drb@etherium ~> uname --kernel-name --kernel-release
Linux 6.2.8-arch1-1
drb@etherium ~> sudo dmidecode --string bios-version
F7A0113

This started happening after an upgrade to the F7A0113 BIOS. If I have some time this weekend I'll test on SteamOS too.

0lm commented 1 year ago

Can we get any official Statement about this? It has been about 2 months.

0x647262 commented 1 year ago

Seemingly fixed on the latest BIOS:

drb@etherium ~> uname --kernel-name --kernel-release
Linux 6.3.3-arch1-1
drb@etherium ~> sudo dmidecode --string bios-version
F7A0116

EDIT: Seems to be 100% fixed :smiley:

JulianWgs commented 1 month ago

I had this issue as well. I am on stable with the kernel 6.1.52-valve16-1-neptune-61 and the BIOS F7A0120. I shutdown (not rebooted) the deck with only the HDMI cable plugged into the deck. I then booted the deck and the issue was fixed. Rebooting before didnt solve the problem although I never tried it only with the HDMI cable plugged in.