this post was submitted on 21 Dec 2023
16 points (90.0% liked)

Steam Deck

5727 readers
1 users here now

Universal community link
[email protected]

Rules

Order

Models

64GB eMMC LCD
256GB NVMe LCD
512GB NVMe LCD
512GB NVMe OLED
1TB NVMe OLED

Allowed languages

founded 3 years ago
MODERATORS
 

I have a USB-C hub that has an NVMe slot built in and offers USB-PD power passthrough. My intention had been to use that hub to dual boot Windows from a 2TB NVMe so I could run native Gamepass and Genshin Impact on my Steam Deck, while keeping the majority of that drive formatted to share games between SteamOS and Windows, but it seems that any time the device changes power states the NVMe drive is disconnected and reconnected as part of the process.

This is problematic enough when I start Windows from the NVMe SSD in the enclosure connected to power, things work fine until the Steam Deck reaches full charge and the USB-PD is renegotiated so as to run things from the charger rather than continually topping up the battery. Windows dies immediately because the disk briefly goes away and comes right back. So fine, I just don't start my Deck with the hub connected unless the Steam Deck is fully topped off and problem solved?

That's all fine and well, but it becomes unbearable when I use my fancy 120w charging brick that offers multiple USB ports to power/charge multiple devices which charger renegotiates every device plugged in whenever any device is added, removed, or changes power states. If my Kindle Fire hits full charge while I'm playing on my deck, the connection to the NVMe storage is killed and anything with files open from the drive takes a dump. This happens in Windows and in SteamOS.

I've used the same NVMe drive in several different external enclosures hooked up via USB-A, with several different USB chargers (all 65w or higher,) all through the same hub that has the NVMe slot built in, through a fancier Lenovo hub, and a through a cheap $20 number from Amazon; all of the hubs have USB-PD passthrough and no matter what the setup it seems like no drive will stay connected in any arrangement if the power delivery situation changes in any way.

The question then is this: What is responsible for this behavior?

Is the Steam Deck uniquely unable to keep data connections open while power delivery is renegotiated, are all 3 of the hubs I have botching things and another hub would allow this behavior I desire, or is this normal for the USB spec and it's just not possible to have a reliable data connection going during a USB-PD state change? I've been unable to find any answers searching the Internet, so if you've got an authoritative source on the answer to my question, I'd love to see it and know if I should just give up on my dream or if there's a solution somewhere.

top 6 comments
sorted by: hot top controversial new old
[–] lemmyman 8 points 6 months ago (1 children)

Have you tried an enclosure for the drive with its own dedicated power source?

My suspicion is that upon the PD renegotiation, your drive is temporarily losing power. Whether this is expected or USB-compliant behavior, I don't know. But if that is the problem, I'd think using a separately powered enclosure might solve it.

On the other hand, maybe the (internal to hub) data hub IC is resetting the data line upon PD renegotiation. That seems contrary to the intent of USB and I'd suspect violates the USB standard.

Source: I've designed some USB PD power systems but not delved into the details of how data is handled

[–] [email protected] 2 points 6 months ago (1 children)

Have you tried an enclosure for the drive with its own dedicated power source?

Good question. The same behavior also happens with an externally powered Western Digital Spinning Disk USB3 HDD, I haven't ever found an externally powered NVMe enclosure but I had thought about that possibility. I should also note that the two external NVMe enclosures I have used don't see any interruption for the LEDs on the enclosure when the power state change happens and any other USB connected peripheral continues to operate without interruption further complicating this situation.

[–] ArbiterXero 1 points 6 months ago (1 children)

A thunderbolt or usbc docking station might solve that issue, or powered usbc hub in a pinch

[–] [email protected] 1 points 6 months ago (1 children)

Sorry if it wasn't clear, these are all powered USB-C hubs, the Lenovo one is the docking station for my Lenovo laptop.

[–] ArbiterXero 1 points 6 months ago

Then it shouldn’t be a power issue, the powered hub would correct for that.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

While I'm not sure if you can do NVMe over the SD type C (unless it's similar to thunderbolt or the super high tier latest USB spec I doubt it)

You should already be able to get genshin running on the SD - either patched via an anime game launcher, or from what I hear areweanticheatyet.com already seems to has good news about unmatched genshin.

As for game pass, idk I don't use it myself because I don't run windows on any of my systems and I'd rather not give Microsoft too much money, but just a warning - the SD was not built for windows. You might find the windows drivers, while probably stable at this point might be a bit finnicy and feel like an afterthought - because generally it probably is an afterthought. I wouldn't expect good battery life with windows, and I would also expect potentially worse performance for games that work on both operating systems.

The steam deck is one of the few platforms where the best expirience is Linux, because that's what it was tailored to.

That said, it's up to you, if you want to do that, go ahead, no one's stopping you it's your device after all.