crackededed / Xtra

Xtra is a Twitch player and browser for Android.
GNU Affero General Public License v3.0
1.24k stars 47 forks source link

Player Performance #419

Open reinstallgentoo opened 9 months ago

reinstallgentoo commented 9 months ago

Hi. When the UI disappears, a typical stream (1080p 60fps <8000) will vary playback between ~5 fps and 60 fps. However, tapping the screen so the UI reappears results in 60 fps playback again.

Admittedly this has been a problem for some time. I had Xtra before the fork and it never occured. It also did not occur when you originally forked, so presumably it's a regression from a player update. IIRC your fork had alternative builds at one point which solved it, unless I've imagined this lol

My Xtra version is the latest from releases. There's no difference with the api16 build. AIDA64 shows GPU usage is 0%. Android 9, Lineage without gapps. Playback of the same vod/clip in MX Player is flawless.

Thank you for continuing this great client.

crackededed commented 9 months ago

try this build: app-debug.zip it has a setting called Use first media decoder only. turn it on and see if it makes a difference. and maybe open the player and switch to a quality that lags and then to one that doesn't lag and send the log.

reinstallgentoo commented 9 months ago

Use first media decoder only

Tested some live broadcasts and vods, all were smooth regardless of fullscreen or PIP. With the debug build, playback in split-screen now has the correct aspect ratio. With the release build, the video is stretched vertically to fill the frame.

AIDA64 still shows GPU usage is 0% so maybe that's nonsense idk, my android knowledge is zero. Thanks for the quick reply.

crackededed commented 9 months ago

try the setting on this build as well: app-debug.zip it's the latest version.

With the release build, the video is stretched vertically to fill the frame.

there's a button on the player to change the aspect ratio so maybe try pressing that