cagnulein/scrcpy-quest

Touch not Accurate (when using from Tablet.)

LeLoT3 opened this issue · 28 comments

Hello.

I just tried with one S23 Ultra and it worked fine.
Tested with one Samsung Tab S8 Ultra and the touch are not accurate, when you click in one place it recognizes few centimeters away.

Also Audio it cames out from the Phone, it doesn't stream to the Quest 3 right?

Thank you.

For the touch precision is happening only on one axis or on both?

For the touch precision is happening only on one axis or on both?

it is in both axis

@LeLoT3 i created this version https://github.com/cagnulein/scrcpy-quest/actions/runs/9611892105/artifacts/1624291825 that writes the touch events on a log file in the Documents directory of the meta quest . The file should called android_remote.txt

Share it there and I can try to understand where is the issue. If you can also share a little video about the problem will be useful (enabling on the android device, the touch input coordinates debug from the developer settings).

Let me know!

@LeLoT3 i created this version https://github.com/cagnulein/scrcpy-quest/actions/runs/9611892105/artifacts/1624291825 that writes the touch events on a log file in the Documents directory of the meta quest . The file should called android_remote.txt

Share it there and I can try to understand where is the issue. If you can also share a little video about the problem will be useful (enabling on the android device, the touch input coordinates debug from the developer settings).

Let me know!

Thank you.

Tomorrow I'll be able to download and try. and I'll do what you asked ;)

@LeLoT3 i created this version https://github.com/cagnulein/scrcpy-quest/actions/runs/9611892105/artifacts/1624291825 that writes the touch events on a log file in the Documents directory of the meta quest . The file should called android_remote.txt

Share it there and I can try to understand where is the issue. If you can also share a little video about the problem will be useful (enabling on the android device, the touch input coordinates debug from the developer settings).

Let me know!

I tried to install the new APK for the test and give me this error (in the photo added)
Screenshot 2024-06-22 182507
Also couldn't find the touch input coordinates debug in the tablet developers mode :(

And here it is the video showing the issue.
https://youtube.com/shorts/lnzazRqRjm4?feature=share

@LeLoT3 I mean these ones

Screenshot_20240622-190209.png

I'm uploading a new APK for your issue, hold on

@LeLoT3 this is the new apk
android_remote-release.apk.zip

You need to grab the log file using adb pull from the folder /storage/self/primary/Documents on your quest
Let me know

You will see a file with these information

[2024-06-22T19:12:44.488] INFO: onCreate
[2024-06-22T19:12:45.871] INFO: touchevent [0 0 522 741] false 500 1080 738 1920
[2024-06-22T19:12:45.889] INFO: touchevent [2 0 486 733] false 500 1080 738 1920
[2024-06-22T19:12:45.900] INFO: touchevent [2 0 486 741] false 500 1080 738 1920
[2024-06-22T19:12:45.911] INFO: touchevent [2 0 486 780] false 500 1080 738 1920
[2024-06-22T19:12:45.923] INFO: touchevent [2 0 486 811] false 500 1080 738 1920
[2024-06-22T19:12:45.933] INFO: touchevent [2 0 470 832] false 500 1080 738 1920
[2024-06-22T19:12:45.944] INFO: touchevent [2 0 455 840] false 500 1080 738 1920
[2024-06-22T19:12:45.955] INFO: touchevent [2 0 444 850] false 500 1080 738 1920

I activated the Debug options, installed the new APK, recoded the video and extract the txt.

Video:
https://youtube.com/shorts/KDvRDwLlOcM?feature=share

txt
android_remote.txt

@LeLoT3 this is the new apk android_remote-release.apk.zip

You need to grab the log file using adb pull from the folder /storage/self/primary/Documents on your quest Let me know

You will see a file with these information

[2024-06-22T19:12:44.488] INFO: onCreate
[2024-06-22T19:12:45.871] INFO: touchevent [0 0 522 741] false 500 1080 738 1920
[2024-06-22T19:12:45.889] INFO: touchevent [2 0 486 733] false 500 1080 738 1920
[2024-06-22T19:12:45.900] INFO: touchevent [2 0 486 741] false 500 1080 738 1920
[2024-06-22T19:12:45.911] INFO: touchevent [2 0 486 780] false 500 1080 738 1920
[2024-06-22T19:12:45.923] INFO: touchevent [2 0 486 811] false 500 1080 738 1920
[2024-06-22T19:12:45.933] INFO: touchevent [2 0 470 832] false 500 1080 738 1920
[2024-06-22T19:12:45.944] INFO: touchevent [2 0 455 840] false 500 1080 738 1920
[2024-06-22T19:12:45.955] INFO: touchevent [2 0 444 850] false 500 1080 738 1920

@LeLoT3 i was checking your video : am I right saying that the issue is only on Y axis? X one seems perfect to me in the video

@LeLoT3 i was checking your video : am I right saying that the issue is only on Y axis? X one seems perfect to me in the video

Yes, correct. My initial comment was wrong. It is only one that's wrong.

I didn't check the log yet but just another question : do you have the same issue also when the tablet is portrait? Did you try to force it portrait before connecting with android remote? Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud Il giorno dom 23 giu 2024 alle 10:00 LeLoT3 @.> ha scritto:

@LeLoT3 https://github.com/LeLoT3 i was checking your video : am I right saying that the issue is only on Y axis? X one seems perfect to me in the video Yes, correct. My initial comment was wrong. It is only one that's wrong. — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDGHFDBMXM37G5LYDTZIZ6C7AVCNFSM6AAAAABJUH5CWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUHAZTAMJVG4 . You are receiving this because you commented.Message ID: @.
>

Hi my friend.

I just tried now that you mentioned.
Started the Tablet in Portrait mode and than connected to the Quest 3.

Same issue I guess.. Here it is the video

967427c58c6bf48ef8522d1a60e704f1.mp4

Ok the issue is only on the X this time. So it's a lead. Thanks i will report back tomorrow

android_remote-release.apk.zip
hi @LeLoT3 could you try this build? If i'm right this build should works well on the tablet but not on the phone. if it's so I know how I can fix it.
Thanks

android_remote-release.apk.zip hi @LeLoT3 could you try this build? If i'm right this build should works well on the tablet but not on the phone. if it's so I know how I can fix it. Thanks

I think with this build now is both Axys not aligned? https://youtube.com/shorts/xpjxxEUCXwQ?feature=share

ok try this one android_remote-release.apk.zip

Sorry for the late reply.

Here it is the video with the new version.

Now it went back to one Axis.

3690057efae246096c4830bb922073ac.mp4

thanks, i guess there is something in the UI of that tablet that I need to understand. I will be back ASAP

Screen_recording_20240625_113854.webm
could you check if it's the same? so on a side the match is perfect and more and more you're going to the opposite side is increasing? of course you will have the problem on the vertical side, not on the horizontal side as I have.
Let me know

Screen_recording_20240625_113854.webm could you check if it's the same? so on a side the match is perfect and more and more you're going to the opposite side is increasing? of course you will have the problem on the vertical side, not on the horizontal side as I have. Let me know

Here...
https://youtube.com/shorts/C_EPx4CB-E0?feature=share

I tried, and up and down, it presented a difference, on the top is more accurate.
Side to side no change

perfect, ok i'm going to send you another update. Let's see if it makes any difference!

android_remote-release.apk.zip
i tried to simply the calculation, now it's done everything on the quest side. i'm trying to get another tablet to test it because i have only an android phone unfortunately.

Let me know!

android_remote-release.apk.zip i tried to simply the calculation, now it's done everything on the quest side. i'm trying to get another tablet to test it because i have only an android phone unfortunately.

Let me know!

OOOoowwww.... This one worked.. It's precise in both axys and all over the screen :D

Thanks!

amazing! I'm merging this!