waydroid / waydroid

Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
https://waydro.id
GNU General Public License v3.0
7.71k stars 317 forks source link

Graphics issues with apps like tiktok when restarting waydroid #1002

Open RaziFalah opened 1 year ago

RaziFalah commented 1 year ago

Hello there! i have waydroid on my ubuntu machine. it works fine and everything runs as expected. but i do have on issue with tiktok. everytime i stop Waydroid using the waydroid session stop command, the app experience really serious graphics problems on the next launch. not all the app but most videos and by most i mean the whole feed page is just unusable, i will provide a screenshots and a gif to describe the problem:

image

gif If the gif second didn't show up please see the following url https://shipshape-fifties.000webhostapp.com//ezgif-4-625410f37a.gif

I would like to note that the problem gets solved when i clear the app data and force stop it. but it's just not practical to do this everytime i open waydroid. also i lose all data in the app since most data tiktok store is at the client end.

General information: - Waydroid tools Version [e.g. 1.4.1]

Desktop:

Nothing useful in the log file, no error was captured.

cniw commented 1 year ago

Open Android Settings => Apps & notifications => TikTok => Storage & cache => Clear storage and Clear cache

RaziFalah commented 1 year ago

Open Android Settings => Apps & notifications => TikTok => Storage & cache => Clear storage and Clear cache

Yes i mentioned that this solved my issue above, however this issue is consistent and it's not practical to clear tiktok data everytime i open waydroid, because this miss up my feed preferences and many more settings since tiktok store most of user's data on the device locally.

iEscapedVim commented 1 year ago

facing the same issue

RaziFalah commented 1 year ago

facing the same issue

Yes, I would like to update that this same issue is universal. Meaning I face graphics issues in almost all apps that stream videos. For instance reels in the instagram app unexpectedly stop playing and I had to stop the whole waydroid software and start it again in order to solve this issue. But it is a matter of time before it comes back again.

itdimk commented 9 months ago

Facing the same issue. One more thing: live streams work fine for some reason (even after re-launch) Normal videos looks like glitchy split screen for me. And yeah, wipe data fixes problem until next tiktok launch

1 2

RaziFalah commented 9 months ago

Facing the same issue. One more thing: live streams work fine for some reason (even after re-launch) Normal videos looks like glitchy split screen for me. And yeah, wipe data fixes problem until next tiktok launch

1 2

I think this issue is from anbox not waydroid, since waydroid is built on anbox I'm not sure if they can fix it here.

fir3-1ce commented 9 months ago

Open Android Settings => Apps & notifications => TikTok => Storage & cache => Clear storage and Clear cache

This fixed a video issue I was having. Tiktok is so hard to get a good experience out of if you're privacy-conscious. -- Now I can't get the audio to work. Unrelated, but I think my VPN causes a lot of problems too

Nevermind about the audio, I recently did an upgrade and forgot to turn it back up in Settings (default volume levels are extremely low)

fir3-1ce commented 7 months ago

Commenting to say it looks like this issue still persists, only I get a black screen whenever video is supposed to be playing. It seems like it should be easily fixable, because sometimes I see a split second of the video when scrolling.

This issue apparently caused me to lose an account today, as after clearing the storage and cache I couldn't log back in. Tried another account and now the video is working again. Super annoying and hard to work with.

billbeans commented 4 months ago

I have been trying out Genymotion and it seems like this issue persists even there. I think it might be a software issue. Maybe Tiktok intentionally does this to phones it detects are VMs

Edit: scratch that, videos are working again. But the behavior is very weird after powering off and powering on the VM. some videos take forever to load, some don't at all. it seems random