Git Product home page Git Product logo

Comments (18)

KAJIKK avatar KAJIKK commented on July 22, 2024 1

Finaly i get it working. My fault was that i allowed the firewall only for public networks. Sorry for that stupid mistake.
I hope that this thread helped everyone that had same issue.

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

Are you using the latest version of PhoneVR ?

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

I tested both the newest release and the previous builds

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

Please make sure not to type "," as decimal point. Motion to photon latency setting should be "0.020" and FOV "10.0". I will add an warning in the next version.

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

Okay, we have progress. Now it saves the changed settings but and SteamVr is not crashing but now it says No headset found. Also, the app on phone sometimes closes itself but the phone is not saying it crashes. Another thing is interesting: If I save the changes in the app with "." and not "," it saves but if I open it again, there is "," on the decimal point. also, I never changed the Motion to photon latency and FOV until now. Maybe my phone is replacing that as an autocorrect but I am not sure.

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

Are you sure you have "Auto Start" and "Run in Background" permissions enabled for PhoneVR?

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

Error

The "Run in background" I can't find anywhere

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

Is there anything new on the Logs or they are still the same after "," -> "." change ?

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

Oh I have not noticed that
NewlogFromApp.txt
vrserver.txt
pvrlog.txt

I also enabled the Debug mode

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

@KAJIKK Does your issue still persist on latest Build ?

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

I think no, because every time i have to manually change the "," to ".". But it saves when I changed it. I'm using the beta 55 build.

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

This has been solved in #46. Try latest release, you don't need to bother about "," and "."s now :)

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

Okay so, the "." is working now and i can now save the settings without need to change it but the connection is not working.
Using the 60 build
OpenGL version: 3.2

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

Hi @KAJIKK, Latest beta0.2-62(53) fixed this issue, can you re-check if its working and revert? If its still not working, please attach the logs.

Thanks.

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

Hi, I am sorry but I failed again. I think a am doing something wrong.
I tried blank IP, manually enter IP and even changing the pairing port(on both devices, ip:192.168.2.138 & port:15987) but still nothing.
Using beta-0.2-62

It always sais Tcp talker: Bad adress

pvrlogANDROID.txt
pvrlogPC.txt

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

The logs are saying that Mobile is not able to connect to your PC via network. Can you try getting the .pcap files as specifed in ReadMe for network issues ?

from phonevr.

KAJIKK avatar KAJIKK commented on July 22, 2024

phonevrPCAP.zip
From the capture, I noticed the not an ATH packet error, aborting. Does ATH mean authorization?
Can firewall block it?

from phonevr.

ShootingKing-AM avatar ShootingKing-AM commented on July 22, 2024

ATH means, Apache Tribes Heartbeat Protocol (which PVR dosen't use).
Prima-facie, The packet is being received on desktop end from mobile, but its being modified (some extra data(padding) is being added to the packet end) which is not normal.

Actual Android/PVR Source Packet:

0000   00 1a 11 00 00 02 00 1a 11 00 00 01 08 00 45 00   ..............E.
0010   00 24 a8 e3 40 00 40 11 c4 aa 0a 08 00 01 c0 a8   .$..@.@.........
0020   02 8a a4 c1 3e 73 00 10 66 e7 70 76 72 00 00 00   ....>s..f.pvr...
0030   06 00                                             ..

Desktop Packet:

0000   e4 54 e8 2f 75 dc 34 1c f0 30 37 e4 08 00 45 00   .T./u.4..07...E.
0010   00 24 38 ff 40 00 40 11 7b c9 c0 a8 02 26 c0 a8   .$8.@.@.{....&..
0020   02 8a b1 fc 3e 73 00 10 a0 e6 70 76 72 00 00 00   ....>s....pvr...
0030   06 00 00 00 00 00 00 00 f6 0f 9f 98               ............

The extra data on Line 0030 after 06 00 is what i am talking about.
Wireshark says the its from the Source, i.e from,

Source: XiaomiCo_30:37:e4 (34:1c:f0:30:37:e4)
Type: IPv4 (0x0800)
Padding: 000000000000f60f9f98

I hope .138 is the PC IP and .38 is the Mobile IP.
I am hoping this is a proprietrary feature of that specific Xiaomi device.
The PVR Server logs on the other side say that There is no data received even after waiting for 5secs, which is not actually true.

I can think about a few things,

  1. I think there is a firewall blocking 15987(and 2 other ports) port on Windows Desktop end. or Blocking vrserver.exe program.

    Try to disable any Antivirus/Firewall program. Also try to add Inbound rule (both TCP and UDP on the 3 ports) and Outbound rule (both TCP and UDP on 3 Ports) in Windows Firewall.

  2. I think there are more multiple network adaptors on desktop and data is being received on Network adaptor X while PVR Server is listening to adaptor Y.

    To verify this, can you tell me how many network adaptors are being used on desktop, and how is network connected between Mobile and Desktop. And on which network did you get the PCAP file from desktop (On this adaptor we are actually receiving the PVR data)

  3. Maybe there is an unusual, excess network delay (>5 secs) for the packet to reach desktop.

    You can increase the connection timeout on line "connection_timeout" : 5, in pvrsettings.json file whose default location is C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\PVRServer. You can increase to max of 10 (means 10 Secs) and see if its connects.

Sorry for making it a little complex ^^', you can ask me if you didnt understand anything written above.
Thanks !

from phonevr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.