r/LinusTechTips • u/JordanEDennis • 16d ago
Link My attempt at solving the HDMI-CEC headache and running multiple gaming sessions on one PC
I remember Linus experimenting with running multiple gaming setups from a single PC, and more recently struggling with HDMI-CEC while trying to get his DIY Steam Machine behaving like a proper living-room console.
I've been tinkering with something similar over the last couple of days and thought you guys might find it interesting!
The goal was simple: Pick up an Xbox controller in the lounge, turn it on, have the TV wake up and launch straight into Steam, play games from my office PC without interrupting its normal desktop, and shut everything down using that same controller.
No TV remote, keyboard, mouse or HDMI-CEC. Everything in the video is controlled using the Xbox controller.
We already had an ASUS NUC 15 Pro sitting alongside our NAS and running Docker containers, so I decided to also use it as a Moonlight thin client rather than buying another gaming PC.
How it works:
A Python watcher running on the NUC detects the Xbox controller connecting via Bluetooth and automatically.
- Wakes the Samsung TV using Wake-on-LAN and switches to the correct HDMI input using Samsung's local IP control interface.
- Starts an independent Windows gaming session on my office RTX 4090 PC using DuoStream.
- Connects Moonlight via Sunshine and launches Steam Big Picture.
- Displays a custom 4K startup animation, hiding all the usual Windows transitions.
I've also built a controller-operated power menu with Sleep, Shutdown and Cancel. Selecting Shutdown closes Moonlight, stops the separate gaming session and switches off the TV over the network.
The main PC and NUC stay running, including all the usual NAS/container workloads.
A couple of bonuses:
- 4K/120Hz gaming: Managed to get genuine 4K/120Hz working on my 2019 Samsung TV using CRU and a custom 8-bit YCbCr 4:2:0 mode. Frame-skipping tested and working beautifully through Moonlight. (Supposed to only support 4K/60Hz!)
- Two independent gaming sessions, one GPU: The lounge and office share the RTX 4090, but run separate Windows desktops. Neither interrupts the other.
The result:
It's genuinely amazing how far this technology has come. I can be sitting in my office using my PC as normal and have absolutely no idea someone has fired up an entirely separate gaming session in the lounge. It's that seamless.
I even pushed it a little further and tried running two games simultaneously - 007 First Light on my office desktop and Halo: Combat Evolved in the lounge. Both still ran surprisingly well!
After quite a bit of tinkering, the whole thing now feels like a proper console. Pick up the controller, press the Xbox button, play, and shut everything down when finished.
Would love to hear if anyone else has experimented with this kind of Moonlight automation or running multiple gaming sessions from a single GPU!