PhoneVR icon indicating copy to clipboard operation
PhoneVR copied to clipboard

[Issue/Bug] Video on phone frozen/shaking

Open Azelog opened this issue 11 months ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is this issue has already been addressed in documentation?

  • [X] I have read the readme file

Describe the bug/issue

The instant my phone connects to the alvr server, the image freezes and starts shaking.

Local (your) Time when Issue has occurred

1-jan-2021 12:45Hrs

How To Reproduce your issue

Select "trust" in alvr launcher or conect my phone manualy.

Expected behaviour

I expected it to show something at least when running a game, but there's just no way

Screenshots

image

Environment (please complete the following information)

Phone: Poco m5 Computer "Steamdeck" with series steamdeckOS

Additional context

Although in the screenshot everything seems fine, in reality its a nonstop shaking and it doesn't respond to the phone moving/changing direction. As I say, it's frozen and constantly shaking. In the logs there are some firewall errors that come from me tinkering with the launcher in the moment. But the shaking error has been happening for more than a couple of weeks and I don't know what I'm doing wrong. When it conects it just says "CEncoder Listening" and the logs stop untill I reconnect or smth.

Attached Logs

12:43:08.159 [INFO] Session extrapolated successfully. Old session.json is stored as session_old.json 12:43:08.260 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.0.5 for AMD Radeon Graphics (radeonsi, vangogh, LLVM 16.0.6, DRM 3.57, 6.5.0-valve22-1-neptune-65-g9a338ed8a75e) 12:43:08.260 [INFO] Couldn't find AV1 profile. You unlikely to have hardware encoding for it. [SESSION] Updated 12:43:13.657 [INFO] Server connected 12:43:39.962 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:43:42.296 [ERROR] Handshake error for 6960.client: Try again 12:43:43.300 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:43:43.433 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:43:43.433 [INFO] Set socket send buffer succeeded: 425984 12:43:43.433 [INFO] Set socket recv buffer succeeded: 425984 12:43:43.439 [INFO] Render Target: 3072 1504 12:43:43.440 [INFO] Refresh Rate: 60 12:43:43.441 [INFO] CEncoder::Run 12:43:43.441 [INFO] CEncoder Listening 12:43:51.709 [INFO] Server disconnected 12:43:53.964 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.0.5 for AMD Radeon Graphics (radeonsi, vangogh, LLVM 16.0.6, DRM 3.57, 6.5.0-valve22-1-neptune-65-g9a338ed8a75e) 12:43:53.964 [INFO] Couldn't find AV1 profile. You unlikely to have hardware encoding for it. 12:43:59.720 [INFO] Server connected 12:44:01.260 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:44:01.441 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:44:01.441 [INFO] Set socket send buffer succeeded: 425984 12:44:01.441 [INFO] Set socket recv buffer succeeded: 425984 12:44:01.445 [INFO] Render Target: 3072 1504 12:44:01.478 [INFO] Refresh Rate: 60 12:44:01.480 [INFO] CEncoder::Run 12:44:01.480 [INFO] CEncoder Listening 12:44:37.956 [INFO] Client disconnected. Cause: Broken pipe (os error 32) 12:47:24.283 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:47:24.402 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:47:24.402 [INFO] Set socket send buffer succeeded: 425984 12:47:24.402 [INFO] Set socket recv buffer succeeded: 425984 12:47:24.406 [INFO] Render Target: 3072 1504 12:47:24.406 [INFO] Refresh Rate: 60 12:47:29.405 [INFO] Client disconnected. Cause: Broken pipe (os error 32) 12:47:33.340 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:47:33.460 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:47:33.460 [INFO] Set socket send buffer succeeded: 425984 12:47:33.460 [INFO] Set socket recv buffer succeeded: 425984 12:47:33.462 [INFO] Render Target: 3072 1504 12:47:33.462 [INFO] Refresh Rate: 60 12:48:08.693 [INFO] Server disconnected 12:48:12.084 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.0.5 for AMD Radeon Graphics (radeonsi, vangogh, LLVM 16.0.6, DRM 3.57, 6.5.0-valve22-1-neptune-65-g9a338ed8a75e) 12:48:12.084 [INFO] Couldn't find AV1 profile. You unlikely to have hardware encoding for it. 12:48:16.707 [INFO] Server connected 12:48:17.976 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:48:18.105 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:48:18.105 [INFO] Set socket send buffer succeeded: 425984 12:48:18.105 [INFO] Set socket recv buffer succeeded: 425984 12:48:18.108 [INFO] Render Target: 3072 1504 12:48:18.110 [INFO] Refresh Rate: 60 12:48:18.112 [INFO] CEncoder::Run 12:48:18.112 [INFO] CEncoder Listening 12:49:27.134 [INFO] Client disconnected. Cause: Broken pipe (os error 32) 12:52:29.058 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:52:29.340 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B 12:52:29.340 [INFO] Set socket send buffer succeeded: 425984 12:52:29.340 [INFO] Set socket recv buffer succeeded: 425984 12:52:29.343 [INFO] Render Target: 3072 1504 12:52:29.343 [INFO] Refresh Rate: 60 12:54:45.735 [INFO] Server disconnected 12:56:40.972 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.0.5 for AMD Radeon Graphics (radeonsi, vangogh, LLVM 16.0.6, DRM 3.57, 6.5.0-valve22-1-neptune-65-g9a338ed8a75e) 12:56:40.972 [INFO] Couldn't find AV1 profile. You unlikely to have hardware encoding for it. 12:56:44.679 [INFO] Server connected 12:56:46.391 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:56:46.618 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 12:56:46.618 [INFO] Set socket send buffer succeeded: 425984 12:56:46.618 [INFO] Set socket recv buffer succeeded: 425984 12:56:46.623 [INFO] Render Target: 3072 1504 12:56:46.623 [INFO] Refresh Rate: 60 12:56:46.628 [INFO] CEncoder::Run 12:56:46.628 [INFO] CEncoder Listening 12:57:55.132 [ERROR] Setting firewall rules failed! 13:00:52.689 [INFO] Server disconnected 13:00:56.921 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.0.5 for AMD Radeon Graphics (radeonsi, vangogh, LLVM 16.0.6, DRM 3.57, 6.5.0-valve22-1-neptune-65-g9a338ed8a75e) 13:00:56.922 [INFO] Couldn't find AV1 profile. You unlikely to have hardware encoding for it. 13:01:02.713 [INFO] Server connected 13:01:04.338 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 13:01:04.621 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B 13:01:04.621 [INFO] Set socket send buffer succeeded: 425984 13:01:04.621 [INFO] Set socket recv buffer succeeded: 425984 13:01:04.624 [INFO] Render Target: 3072 1504 13:01:04.624 [INFO] Refresh Rate: 60 13:01:04.624 [INFO] CEncoder::Run 13:01:04.624 [INFO] CEncoder Listening

Azelog avatar Jan 01 '25 12:01 Azelog

I'm having the same issue. Nokia 7.2 running Lineage 21. PC: Linux (Kubuntu) using Wayland and ALVR and the Steam client. The tracking is working , but I get the same as the above

ellisgl avatar Jan 05 '25 19:01 ellisgl

Same issue. Redmi 10 2022, Windows 11 24H2, ALVR v20.8.0. Fixed by changing the stream protocol to TCP.

Image

ginqus avatar Feb 01 '25 17:02 ginqus

Same issue. Moto G32 (running CalyxOS), CachyOS, ALVR v20.8.1

TheUnknownHack3r avatar Feb 02 '25 23:02 TheUnknownHack3r

same issue. HUAWEI P40Pro,Android 12,alvr20.13.0

Redroadsl avatar Jun 02 '25 14:06 Redroadsl

Same issue, TCP did not fix it. Pixel 8 Pro, GrapheneOS, Debian 12 KDE X11. Interestingly only the video to phone part does not work, if you go to SteamVR options and show VR View, you can see that the gyro works fine, you can look around etc. Only on the phone side it shows the last few frames before the connection repeating. This is especially obvious when moving the phone in that moment, as the frames will jump a lot, but if you hold it still, you will see barely any difference. Same goes for the "Stream starting soon" Text that sometimes replaces the "Streamer has disconnected" text.

OWL4C avatar Jul 11 '25 11:07 OWL4C

I can confirm that the issue is specifically a video streaming one, since pulling up the VR view on the PC shows that the gyro works.

TheUnknownHack3r avatar Jul 16 '25 18:07 TheUnknownHack3r

I am also experiencing this issue on a Linux ALVR install. Getting gyro signal as shown through steam vr view (only 3DOF seemingly), but no video. I'm seeing in my ALVR logs that I don't have a supported encoder, so this may be the cause of the lack of video signal. The odd thing is, my A770 has hardware encoders for H264, H265, and AV1 but they're not detected, despite them working for other apps like Handbrake. Software encoding doesn't work either.

Alaric323 avatar Jul 31 '25 05:07 Alaric323

For me running this fix mentioned in the Linux troubleshooting fixed this issue. Running latest ALVR on Nobara Linux and a Poco X3 NFC with LineageOS.

davidadriao avatar Aug 12 '25 18:08 davidadriao

For me running this fix mentioned in the Linux troubleshooting fixed this issue. Running latest ALVR on Nobara Linux and a Poco X3 NFC with LineageOS.

Also helped me, Linux, Pixel 3XL

baaannnaaannn avatar Aug 18 '25 07:08 baaannnaaannn