cagnulein / scrcpy-quest

Remote your android on Meta Quest!
https://www.patreon.com/cagnulein
GNU General Public License v3.0
11 stars 1 forks source link

Touch not Accurate (when using from Tablet.) #4

Closed LeLoT3 closed 5 months ago

LeLoT3 commented 5 months ago

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.

cagnulein commented 5 months ago

Audio is not a thing yet, but I will do. For the ultra, I will add some logs to understand this. Thanks

On Thu, Jun 20, 2024, 5:55 PM LeLoT3 @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/scrcpy-quest/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEW6VVWQIZSBDDAZVLZIL3QZAVCNFSM6AAAAABJUH5CWWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DINZYGA3DGMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cagnulein commented 5 months ago

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

LeLoT3 commented 5 months ago

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

it is in both axis

cagnulein commented 5 months ago

ok i will create a version with a log to understand this i will keep you updated

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno gio 20 giu 2024 alle 21:04 LeLoT3 @.***> ha scritto:

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

it is in both axis

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/scrcpy-quest/issues/4#issuecomment-2181349644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBOHQBQHDNZTYX3NVLZIMRVNAVCNFSM6AAAAABJUH5CWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBRGM2DSNRUGQ . You are receiving this because you commented.Message ID: @.***>

cagnulein commented 5 months ago

@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 commented 5 months ago

@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 commented 5 months ago

@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

cagnulein commented 5 months ago

@LeLoT3 I mean these ones

Screenshot_20240622-190209.png

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

cagnulein commented 5 months ago

@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 commented 5 months ago

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
cagnulein commented 5 months ago

Perfect I will check it ASAP!

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno sab 22 giu 2024 alle 23:03 LeLoT3 @.***> ha scritto:

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 https://github.com/user-attachments/files/15938309/android_remote.txt

@LeLoT3 https://github.com/LeLoT3 this is the new apk android_remote-release.apk.zip https://github.com/user-attachments/files/15937563/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

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/scrcpy-quest/issues/4#issuecomment-2184189513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFNM7CHN36KOTXAQ7LZIXRD7AVCNFSM6AAAAABJUH5CWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGE4DSNJRGM . You are receiving this because you commented.Message ID: @.***>

cagnulein commented 5 months ago

@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 commented 5 months ago

@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.

cagnulein commented 5 months ago

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 https://github.com/cagnulein/scrcpy-quest/issues/4#issuecomment-2184830157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDGHFDBMXM37G5LYDTZIZ6C7AVCNFSM6AAAAABJUH5CWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUHAZTAMJVG4 . You are receiving this because you commented.Message ID: @.***>

LeLoT3 commented 5 months ago

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

https://github.com/cagnulein/scrcpy-quest/assets/173388171/a7917c0d-7ecb-4a6f-84c3-419f5aee0d8e

cagnulein commented 5 months ago

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

cagnulein commented 5 months ago

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

LeLoT3 commented 5 months ago

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

cagnulein commented 5 months ago

Ok I will do another build, this information is precious

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno dom 23 giu 2024 alle 20:29 LeLoT3 @.***> ha scritto:

android_remote-release.apk.zip https://github.com/user-attachments/files/15945398/android_remote-release.apk.zip hi @LeLoT3 https://github.com/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

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/scrcpy-quest/issues/4#issuecomment-2185262948, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDK2ZA42ELKB27Q7A3ZI4HYTAVCNFSM6AAAAABJUH5CWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGI3DEOJUHA . You are receiving this because you commented.Message ID: @.***>

cagnulein commented 5 months ago

ok try this one android_remote-release.apk.zip

LeLoT3 commented 5 months ago

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.

https://github.com/cagnulein/scrcpy-quest/assets/173388171/2393c10c-55f8-4dd1-8389-fb40de17a5d6

cagnulein commented 5 months ago

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

cagnulein commented 5 months ago

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

LeLoT3 commented 5 months ago

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

cagnulein commented 5 months ago

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

cagnulein commented 5 months ago

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!

LeLoT3 commented 5 months ago

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!

cagnulein commented 5 months ago

amazing! I'm merging this!