alvr-org / PhoneVR

Use Steam VR-enabled applications with your phone as HMD (Head-mounted display). The only Open-Source solution to similar commercial packages like VRidge, iVRy, Trinus etc etc.
GNU General Public License v3.0
581 stars 41 forks source link

[Issue/Bug] Phone connects for a few seconds and tracks but disconnects #369

Open anas-aldolimi opened 3 months ago

anas-aldolimi commented 3 months ago

Is there an existing issue for this?

Is this issue has already been addressed in documentation?

Describe the bug/issue

The app works on the phone fine, it connects to the pc but after a few seconds it disconnects. The steam environment or game doesn't show on the phone but it tracks on the computer. it's stuck in a loop of connecting and disconnecting

Local (your) Time when Issue has occurred

24-Jul-2024, 10:00 AM

How To Reproduce your issue

1-launch the app on both devices. 2-launch steamvr. 3-wait for it to connect. 4-it keeps disconnecting and reconnecting

Expected behaviour

I expected the app to connect me to the Computer and stream the environment from the computer to my phone.

Screenshots

No response

Environment (please complete the following information)

Windows 11 android 13 phone model is Redmi Note 11 Pro+ 5G ALVR 20.8.0 phoneVR 2.0.0

Additional context

No response

Attached Logs

10:00:45.226721100 WARN Chosen refresh rate not supported. Using 60.000004Hz 10:00:45.284975700 INFO Initial socket buffer size: send: 65536B, recv: 65536B 10:00:45.285005900 INFO Set socket send buffer succeeded: 18446744073709551615 10:00:45.285012400 INFO Set socket recv buffer succeeded: 18446744073709551615 10:00:45.287364400 INFO Render Target: 3712 1824 10:00:45.287392600 INFO Refresh Rate: 60 10:00:48.805441300 INFO Client disconnected. Cause: An existing connection was forcibly closed by the remote host. (os error 10054) 10:00:52.209680600 INFO Initial socket buffer size: send: 65536B, recv: 65536B

anas-aldolimi commented 3 months ago

I am currently trying to figure out if it's an issue from my phone or from my computer. my hunch is that my laptop is messing up with the streaming the screen part but i am not sure how to diagnose that.

xXaRoXx commented 2 weeks ago

I can confirm the same behavior on the Standard Redmi Note 11 model.

Also the phone has issues to decode any Stream in a non-standard resolution or fps in the Moonlight App; 1080p60 works fine but 1080p90 or it's native Display Resolution all bug out with "video stream establishment (error -5)"

Environment (please complete the following information) Linux CachyOs android 13 phone model is Redmi Note 11 (the standard model without 5G) ALVR 20.11.1 phoneVR 2.0.0

Attached Logs ... 12:06:43.706 [INFO] Refresh Rate: 60 12:06:44.708 [INFO] Client disconnected. Cause: Connection refused (os error 111) 12:06:46.537 [INFO] Initial socket buffer size: send: 130560B, recv: 131072B 12:06:46.601 [WARNING] Chosen refresh rate not supported. Using 60.000004Hz 12:06:46.852 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:06:46.852 [INFO] Set socket send buffer succeeded: 14680064 12:06:46.852 [INFO] Set socket recv buffer succeeded: 14680064 12:06:46.853 [INFO] Render Target: 4288 2112 12:06:46.853 [INFO] Refresh Rate: 60 12:06:46.866 [INFO] Client disconnected. Cause: Connection refused (os error 111)