piccolo-dev / android_device_bq_piccolo

Android device configuration for the bq Aquaris M5
19 stars 8 forks source link

Freezes while Youtube playback #11

Closed akamkomputer closed 9 years ago

akamkomputer commented 9 years ago

I had an issue in: cm-12.1-20151017-UNOFFICIAL-piccolo.zip

During youtube playback my phones freezes soon and only a press-all-keys-reset is helping. Once it rebooted by its own; Sometimes screen goes off after a while when pressing the power button. When you turn the screen back on it shows the unlock screen and then the home-screen (youtube was exited).

When i tried to get a adb logcat (plugged into USB) i could not reproduce that issue. When i disconnected the USB (power) the screen froze again.

Yesterday a had a similar freeze when opening Google Maps for the first time. I could not reproduce that.

:-) AK

akamkomputer commented 9 years ago

Also happens with the previous build. Switching to AwesomePlayer (instead of NuPlayer) in Developer settings doesn't fix it. It only happens in Youtube fullscreen mode (tilted screen) and not in the small view. Downscaling the video-quality to 720p doesn't fix it neither does throttling the CPU-frequency.

Can anyone reproduce this?

:-/ AK

Kra1o5 commented 9 years ago

Hi, @eloimuns can test it?, thanks.

akamkomputer commented 9 years ago

FYI ... I digged a little bit deeper:

i tried AwesomePlayer in dev-options and Deactivate HW-Overlays ... with no effect.

:-) AK

Kra1o5 commented 9 years ago

Hi, I tested today (except facebook part) with not luck to reproduce it.

eloimuns commented 9 years ago

I can't reproduce this issue. I use facebook, youtube and 0 freezes.

akamkomputer commented 9 years ago

damn ... thanks. I'll try to reinstall ...

akamkomputer commented 9 years ago

I started over with a fresh system. Problem is still there.

It happens also when device is plugged into a wallcharger – but not while connected to adb logcat via USB. When i unplug the USB it freezes soon after.

:-/ AK

akamkomputer commented 9 years ago

I noticed, that my device also freezes after a while during Hangouts-chatting. (not Video-chat, just Text-chat; without pictures, just text) Maybe a hardware-problem? :-/ AK

Kra1o5 commented 9 years ago

Hi @halloalexkern ,

@eloimuns & me try to reproduce all errors you report without any luck.

So is really weird.

You can try making Hard Reset maybe its help (This erase all data on internal_sd & data partitions not on SDCard so if you do it, make a backup of any personal data first if you dont want to lose all the data).

Greetings

antonioborondo commented 9 years ago

I have exactly the same freezing problem with YouTube and Facebook videos, but I can not reproduce it always. Its very annoying :-(

The official firmware version 1.2.4 teorically fix those problems, but I haven't check it yet (link in Spanish sorry): http://www.mibqyyo.com/comunidad/discussion/59280/actualizaci%C3%B3n-1-2-4-para-bq-aquaris-m5/

Kra1o5 commented 9 years ago

You can check it in english: http://www.mibqyyo.com/comunidad/discussion/59283/bq-aquaris-m5-1-2-4-update/p1

But nothing related to videos, only related to front camera videos.

antonioborondo commented 9 years ago

I've seen that in people comments thread. There is not in the official changelog.

Kra1o5 commented 9 years ago

You are right @antonioborondo .

We are using latest CAF kernel branch & from bq kernel changes we are using 1.2.1 (latest available).

One log or dmesg can be really appreciate to point out the problem.

antonioborondo commented 9 years ago

@Kra1o5 I'll try to figure out a way to get the log from my phone and put it on here ;-)

Kra1o5 commented 9 years ago

Thanks @antonioborondo :-) .

Random errors are often the most difficult to hunt.

akamkomputer commented 9 years ago

I tried it exactly with that Hard-Reset – i didn't format the SD-Card. I reinstalled the latest CM 12.1 built and started Youtube right away, before anything installed ... and i got immediately a freeze :-(

Here a video. https://www.youtube.com/watch?v=uuXPt90To78

Any ideas how i can get a good log for that? It doesn't freeze when it's connected to USB and i „adb logcat“ it. ... and i just tested again: on power it' doesn't freeze. When i unplug it freezes again.

I also found out, that some videos don't freeze(!?) at all :-/ ... but the Star-Wars trailer always freezes.

Sometimes the UI freezes. (the Hangouts-issue.) i think, it' sometimes, when there is a animation somewhere on the screen; e.g. the spinning wheel.

:-) AK

eloimuns commented 9 years ago

Hi @halloalexkern,

Can you try to get logcat using adb via wifi? Just enable option and in PC (same wifi network).

akamkomputer commented 9 years ago

Wifi-logcat. Good idea.

Here you go. A Error, Warning and Verbose-log.

https://www.dropbox.com/sh/7r04lj8n4ytrr7g/AAAurj3QqLnEQHUF_SBiPP8ga?dl=0

I marked the comments with * COMMENTS *

I did't get a E/ for when the screen was freezing. The Errorlog is best-commented.

for the Verbose-Log it was not really possible to get the exact position where it it froze – i tried 3 times ... somewhere near line 6600

:-) AK

Kra1o5 commented 9 years ago

Thanks @halloalexkern ,

We will take a look into it asap.

magicdave1 commented 9 years ago

Just wanted to let you guys know that I have the exactely same problems like @halloalexkern

Kra1o5 commented 9 years ago

@magicdave1 @antonioborondo @halloalexkern ,

What variant of model you have?

@eloimuns & me 16/2 white variant.

magicdave1 commented 9 years ago

16/2 black

Kra1o5 commented 9 years ago

@halloalexkern can you provide dmesg too?

You can do it with adb wifi.

Because I think the error is on kernel part.

Thanks in advanced

antonioborondo commented 9 years ago

@Kra1o5 32/3 black

Kra1o5 commented 9 years ago

Thanks for the info @magicdave1 & @antonioborondo .

So we can discard variant problem.

akamkomputer commented 9 years ago

I have the 16/2 black, too.

The dmsg is getting interesting. You can really see something happening here:

https://www.dropbox.com/sh/6hcakuhf93zeqk5/AAAoKtFBEEwaG0dBhQdD8MBUa?dl=0

I did 2 files with "tail -f dmsg" (and before that two where i just got the dmsg at different states and deleted the double lines)

I think that file ist most interesting: cont_dmsg_YT-Video_freezes.txt

Maybe also the part where the YT-ui was frozen during spinning wheel is interesting: cont_dmsg_YT-UI_freezes.txt

:-) AK

Kra1o5 commented 9 years ago

Thanks @halloalexkern . We will check it asap.

Kra1o5 commented 9 years ago

@halloalexkern @antonioborondo @magicdave1 ,

New build is out, can you try it & report back the results?

Thanks

akamkomputer commented 9 years ago

@Kra1o5 As far i i just tested it doesn't work, unfortunately. Still freezes. At least the video.

:-/ AK

akamkomputer commented 9 years ago

https://dl.dropboxusercontent.com/u/99389807/Androidlogs/DMSG2/YT-VideoFreeze-with-b30.txt

Kra1o5 commented 9 years ago

ok thanks @halloalexkern ,

At least I know is video/mdss part.

We are working on it.

akamkomputer commented 9 years ago

Is it possible, that the UI-freezes are gone? I couldn't provoke any yet on the new build.

:-) AK

antonioborondo commented 9 years ago

@Kra1o5 I'm installing the new build in my device. I'm going to test it a few days and I'll let you know. Thanks a lot for your time!!! :smiley:

antonioborondo commented 9 years ago

@Kra1o5 I'm sorry but video still freezes :pensive:

akamkomputer commented 9 years ago

I also had another few UI-freezes. So they're not gone completely.

:-) AK

Kra1o5 commented 9 years ago

Thanks for the feedback @halloalexkern & @antonioborondo , we will look into it asap.

Kra1o5 commented 9 years ago

Hi @magicdave1 @antonioborondo @halloalexkern ,

Can you test: https://s.basketbuild.com/filedl/devs?dev=Kra1o5&dl=Kra1o5/bq/piccolo/Test/boot_video.img & report back the results?

Greetings

akamkomputer commented 9 years ago

That pretty boot-image fixed it for me!

Youtube runs smooth now without crashes (as far as i tested it) and even the nasty UI-freezes i had yesterday in Google Drive, while zooming in and out images, are gone now!

So nice! Much kudos for you Sir!!

:-) AK

magicdave1 commented 9 years ago

What to do with that boot_video.img? I think this is not for flashing via recovery, right?

eloimuns commented 9 years ago

If you are using TWRP, in install zip,at bottom right you will have option to flash image. El 12/11/2015 9:35, "magicdave1" notifications@github.com escribió:

What to do with that boot_video.img? I think this is not for flashing via recovery, right?

— Reply to this email directly or view it on GitHub https://github.com/piccolo-dev/android_device_bq_piccolo/issues/11#issuecomment-156033749 .

akamkomputer commented 9 years ago

or: boot into bootloader (eg. activate USB-debugging and then in terminal: adb reboot bootloader) then in terminal: fastboot flash boot boot-video.img (this should finish with no error-message and take two seconds) then: fastboot reboot (to restart your device)

:-) AK

Kra1o5 commented 9 years ago

Thanks for the feedback @halloalexkern , I will wait for another confirmation to close the issue.

magicdave1 commented 9 years ago

Thanks for both of you for helping me put the img on my device. I've tried watching videos for a couple of minutes and so far it works for me too. I will report back if these freezes will occur again.

Kra1o5 commented 9 years ago

Thanks @magicdave1 , I close it now.

antonioborondo commented 9 years ago

Thanks @Kra1o5 for the fix!!! Are you planning to deliver a new build with the latest changes? :smiley:

Kra1o5 commented 9 years ago

Hi @antonioborondo yes.

Probably tomorrow.

magicdave1 commented 9 years ago

Just had a freeze again in youtube and chrome.

Kra1o5 commented 9 years ago

Weird.

akamkomputer commented 9 years ago

I'm watching youtube videos all day long ;-) ... no more freezes. I had a random reboot yesterday – after the phone was running somehow warm, but no freezes, neither UI nor video.

:-) AK

antonioborondo commented 9 years ago

Hi @Kra1o5, I've been testing the latest build since a couple of days ago and it seems to be working fine. Thanks a million!!! :smiley: