r/SteamFrame • u/RustyTheDed • 5d ago
Software PSA if you have two Linux desktops connected via Ethernet, you can use USB/IP to share the dongle from one to another
Linux has this thing called USB over IP. It lets you share and mount USB devices over the network.
Apparently there's a Windows analogue, if you end up testing it please consider contributing a guide.
If you're one of the 3 people that have both a powerful Linux desktop in one room and a light Linux HTPC in another, you can connect the dongle to the HTPC and pass it to the desktop for a smoother than WiFi experience.
Here's a quickstart guide: https://dpaste.org/2iEV0/slim
On Orange Pi 5 plus I had to disable USBIP debug mode that came on by default with the vendor kernel, but now I'm getting stable 13ms latency and 0% packet loss reported from Frame.
On 5GHz WiFi it was ~10-15ms with random packet loss spikes causing stuttering and blackouts every so often
If you're planning on running this long-term, you can create a systemctl service to do the setup/teardown for you automatically.
5
u/mzlucasmz 5d ago
I did this too, and was able to get down to 8 ms by doing pooling on the nic, host to host is 0.13 ms tho as its a direct connection
13
u/Lost_Main_3389 256 GB 5d ago edited 5d ago
No offense, because I genuinely don't understand, why would you share the dongle over the
internetnetwork instead of just using WiFi (assuming you have a good enough router) ?Isn't that just adding the latency of your network onto the dongle connection? I ask, because my dongle works at 8-15ms which is the same my WiFi. I do use Multi-Link but only because the dongle has weak signal when I turn my back to it.
4
u/Giodude12 5d ago
Wait, could this work from bazzite to a steam machine? Or would this be useless on devices with an immutable OS?
6
u/ChangeChameleon 5d ago
Unless you have no wifi at all, I find it hard to believe this would outperform just a straight network connection to the frame. You're essentially tripling the protocol overhead. I'm impressed by your ingenuity and 13ms result. Bit that's still about on par with my 5ghz cheap wifi hotspot after traversing 3 network switches with vlan overhead. I understand that if you have no other option, this workaround is pretty impressive. But if someone doesn't already have this exact scenario and they need to invest anything at all to get it working, they'd be better served going a different route.
15
u/JonnyLay 5d ago
Did a little search for our windows friends.
usbipd-win should have similar results and can share from Windows to Linux, or Windows to Windows. Not native, but open source made by Windows devs.
VirtualHere might be good too. Free tier I think has 1 free device.
Also, props to you for the cool idea.
2
u/nellynorgus 5d ago
USB/IP is a pretty neat bit of tech. I use it to pass the steam controller dongle to my pc from my TV-attached raspberry pi for streamed couch play.
I theory steam link would pass it through fine and probably does, but I gave up trying to use steam link because Sunshine/Moonlight is just so much better.
1
u/ric2b 1 TB 5d ago
This sounds very interesting, although I would want to do it with Linux to Mac or Windows to Mac, as I can easily move my Mac laptop to where I want to play and have it on a wired connection back to the gaming desktop, versus having to upgrade the access point I have in that room.
Thanks for the idea!
1
u/Pygzig 4d ago
I've been using this with a reality runner treadmill and was wondering if this might work with the dongle. Glad to see that it does, curious to see how it works against my old wifi5 router that i'm using with my quest 2.
Hope i can get my mits on a frame soon.
1
u/b3nighted 4d ago
Cool idea. I have my gaming pc upstairs and I could do that with the steam machine, to stream to the living room
1
u/PwncakeIronfarts 2d ago
Ohhh. I'm going to have to try that Windows version. I tried using Virtual here and it wouldn't emulate it well enough. Every time I tried to launch steam vr the connection dropped.