mariotaku / ihsplay

Steam In-Home Streaming Client Application
GNU General Public License v3.0
336 stars 10 forks source link

[BUG] Controller inputs not reaching host PC for short periods #38

Open Jarf opened 1 year ago

Jarf commented 1 year ago

Issue Summary

Controller inputs not reaching host PC for random periods. Usually between a few seconds to a minute. Stream continues as normal during these periods. Controller is still working with TV as holding down the back button will brings up the disconnect overlay for ihsplay.

Steps to Reproduce

Connect to PC via ihsplay.

Setup

LG OLED55C24LA Official Xbox Series X/S Wireless Controller Controller is connected to TV via bluetooth

Love what you're doing with this project and have really enjoyed your work <3

mariotaku commented 1 year ago

Hi, it looks like client or host asked to reconnect to the controller. I'll take a look. BTW do you think this is the same issue of #10?

Jarf commented 1 year ago

It's possible that it is the same issue. I'm assuming it's the host (PC) that is requesting the reconnect as that is where the inputs stop working, they still work on the client (TV).

Is there anything I can do on my end to prevent that?

I'm using Windows 11 Pro if that helps.

mariotaku commented 1 year ago

I tried streaming on raspberry pi and didn't get controller disconnection. Because I also had some disconnection issues while streaming with TV, I'll also try on the TV later.

Did you try connecting the gamepad with a USB cable?

Jarf commented 1 year ago

I will try to get my hands on a USB cable for my controller and report back to you.

Jarf commented 1 year ago

You were correct. Having my controller wired to my TV via USB prevents the input disconnects.

Occasionally I would have to disconnect and reconnect to the host machine to unfreeze the picture but I was still able to send inputs to the host during said freezes.

Jarf commented 1 year ago

Following up on this. Tried on 0.2.8 and same issue occurs even with the wired setup.

CMogilko commented 1 year ago

I have the same issue with bluetooth connection to TV, it disconnects randomly every 3-10 minutes, non-playable. 75QNED816RA

GriwMF commented 1 year ago

same issue for me, Version: 0.2.8, System: webOS 4.3.0 (HE_DTV_W180_AFABABAA). Host is on Windows 10, 1080ti, 2560 x 1440 Xbox 360 controller wired to TV.

ptkri commented 1 year ago

@mariotaku Any updates on this? I just encountered the same issue on my TV with a PS4 dualshock controller connected to it via USB. Happens with BT connection as well, but a quick test left me feeling it happens less frequently. Tried with two different PS4 controllers, same behavior on both.

Hanging happens randomly, ranging anywhere between 1-10 minutes or so, just like others have already mentioned. Picture runs fine during the time controller input is not getting registered, and input is locked to whichever button was pressed the moment the hanging started. During that time TV can still accept input from the controller (able to close remote play, etc) but it's not passed to host. It's replicable any time, does not even need a game running.

Specs are OLED55XC6LA with webOS 5.5.0 and IHSplay 0.2.8.

mariotaku commented 1 year ago

@ptkri Hi, sorry I'm working on other stuff recently so didn't get a chance to make updates. In the meantime I would suggest my recently updated moonlight-tv: https://github.com/mariotaku/moonlight-tv

ElPumpo commented 8 months ago

Hi I have the same issue as others are discussing, is there any progress on this bug report, or anything I can do to help?

ptkri commented 8 months ago

@ElPumpo

Hi I have the same issue as others are discussing, is there any progress on this bug report, or anything I can do to help?

I know this answer goes completely against trying to resolve the issue, or if it will be an option for you, but I ended up installing sunshine & moonlight-tv and those have been working perfectly. Sometimes some random connection hickups occur (very rare), but I'm fairly sure they are hardware related.