[Bug Report] MX forced rebooting on CM 11!! - MX Player

I have been using MX player on all my phones since my first phone.
Recently I decided to run Cyanogen 11 custom ROM.
The list of videos displays fine. The player plays a heavily pixelated videos for a few seconds. Then the phone reboots.
The same cycle occurs again if I try to replay.
At first, I doubted my ROM. So I installed all the other video players from playstore. Surprisingly ALL of them play without any issue. Only MX force reboots.
I am running it with default settings. I even changed to SW from HW. Still reboots.
Device : LG L90 D-410

It should be hardware video decoder, I think this is rom related, you should report it to the developer of that rom.

josuearisty said:
It should be hardware video decoder, I think this is rom related, you should report it to the developer of that rom.
Click to expand...
Click to collapse
I will soon. But I doubt anything will be done. Because as I said earlier, it ONLY happens with MX player, not any other player. Why such a thing?
Since the phone reboots instantly, I cant take any errors.

fear2433 said:
I will soon. But I doubt anything will be done. Because as I said earlier, it ONLY happens with MX player, not any other player. Why such a thing?
Since the phone reboots instantly, I cant take any errors.
Click to expand...
Click to collapse
That's because MX Player uses custom android-internal modules that most other players don't; it's how MX's performance is superior. If a ROM builder had a compile problem, that's likely the cause.

fear2433 said:
I will soon. But I doubt anything will be done. Because as I said earlier, it ONLY happens with MX player, not any other player. Why such a thing?
Since the phone reboots instantly, I cant take any errors.
Click to expand...
Click to collapse
Is it possible to collect the logs via adb?

Will upload soon.
Though I have only collected logs of my own apps via adb.
No experience with logs of ROMs.

ktsamy said:
Is it possible to collect the logs via adb?
Click to expand...
Click to collapse
CDB-Man said:
If a ROM builder had a compile problem, that's likely the cause.
Click to expand...
Click to collapse
Attached Logcat
With marked error portion.
Inbuilt video player plays the same video just fine. MX reboots the phone.

fear2433 said:
Attached Logcat
With marked error portion.
Inbuilt video player plays the same video just fine. MX reboots the phone.
Click to expand...
Click to collapse
@bleu8888
Can you look at the logs?

fear2433 said:
Attached Logcat
With marked error portion.
Inbuilt video player plays the same video just fine. MX reboots the phone.
Click to expand...
Click to collapse
It is hard to find reason with the log because only 3 lines are from MX Player.
But it seems that you used HW decoder. HW decoder is just wraper of android.media.MediaPlayer java class.
MX Player does not touch any system internal if HW decoder is used.
In this case, some MediaPlayer function calls -- which is not used by other video players you've tried -- may cause this issue.
I suspect subtitle related function calls, because 1) many video players doesnot use MediaPlayer subtitle functions and 2) there is an error from MediaPalyer; 10-30 23:53:36.478: E/MediaPlayer(6097): Should have subtitle controller already set
If my assumption is correct, SW decoder should work correctly. It would be help if you send log after trying SW decoder.
Thanks

bleu8888 said:
It is hard to find reason with the log because only 3 lines are from MX Player.
If my assumption is correct, SW decoder should work correctly. It would be help if you send log after trying SW decoder.
Thanks
Click to expand...
Click to collapse
Enabled full SW decoding.
Disabled subtitle drawing using HW.
Yet only a very few lines from MX !
What puzzled me is the last statement in the log. "AudioFlinger", call the process ID of mx player. And the system reboots.
Logs attached.
Process ID seen in attached pic.

fear2433 said:
Enabled full SW decoding.
Disabled subtitle drawing using HW.
Yet only a very few lines from MX !
What puzzled me is the last statement in the log. "AudioFlinger", call the process ID of mx player. And the system reboots.
Logs attached.
Process ID seen in attached pic.
Click to expand...
Click to collapse
Would you try after turning off "audio fade" settings on Settings > Audio > Fade on start/Fade on seek?
SW and HW decoder both changes volume rapidly to implement this feature.

Related

VC-1 files crash while seeking

I was just curious if anyone was running into this issue. For some reason, seeking any VC-1 .mkv files will crash MX Player.
My device is a Tab S. It seems to happen regardless of what decoder or codec I'm using.
Megalith said:
I was just curious if anyone was running into this issue. For some reason, seeking any VC-1 .mkv files will crash MX Player.
My device is a Tab S. It seems to happen regardless of what decoder or codec I'm using.
Click to expand...
Click to collapse
I have tsted in my device & everything is working fine. Can you collect the logs by launching mx log collector immediately after crash.
Kindly upload the logs. It will be helpful to resolve your issues.
ktsamy said:
I have tsted in my device & everything is working fine. Can you collect the logs by launching mx log collector immediately after crash.
Kindly upload the logs. It will be helpful to resolve your issues.
Click to expand...
Click to collapse
I've attached a .zip file with the logs.
@bleu8888 could you take a look?
@Megalith stock or custom rom?
CDB-Man said:
@bleu8888 could you take a look?
Click to expand...
Click to collapse
I have already forwarded your report to the developer.
@Megalith
There are lot of audio frame decoding error followed by libc fatal error.
Can you remux your video without audio track (you use mkvtoolnix) & check again?
Megalith said:
I've attached a .zip file with the logs.
Click to expand...
Click to collapse
It looks like a ffmpeg audio codec bug. We are currently working on internal structure renewal for MX Player 1.8.
I will send you a new test build with updated ffmpeg codecs after finishing current task. It would be possible on next week.
Thanks.
bleu8888 said:
It looks like a ffmpeg audio codec bug. We are currently working on internal structure renewal for MX Player 1.8.
I will send you a new test build with updated ffmpeg codecs after finishing current task. It would be possible on next week.
Thanks.
Click to expand...
Click to collapse
Great, thanks for taking a look at that. I look forward to the new build.
I downloaded VLC and it's able to seek without crashing, but I much prefer the minimal UI of MX Player.

[Resolved] HTC One M8 HW decoder stops after 2 Secs

Since the AppUpdate to 1.8.6 and the 1.8.6 Codec, the App stopps playback of videos after 2 seconds when using HW decoding, which previously worked.
Any Idea?
Forsaked said:
Since the AppUpdate to 1.8.6 and the 1.8.6 Codec, the App stopps playback of videos after 2 seconds when using HW decoding, which previously worked.
Any Idea?
Click to expand...
Click to collapse
I can't reproduce it. I have 4 devices with 1.8.6 & custom codec. Everything works here.
If you are using any patches, it may be the reason.
ktsamy said:
I can't reproduce it. I have 4 devices with 1.8.6 & custom codec. Everything works here.
If you are using any patches, it may be the reason.
Click to expand...
Click to collapse
Patches?
Forsaked said:
Patches?
Click to expand...
Click to collapse
Usually Patching MX Player to remove ads or to bypass license validation of Pro version it may lead to the similar issue. MX Player will close just after few secs of playback.
ktsamy said:
Usually Patching MX Player to remove ads or to bypass license validation of Pro version it may lead to the similar issue. MX Player will close just after few secs of playback.
Click to expand...
Click to collapse
I buyed every App i have on my phone, if it is not a free app, im using Xprivacy to stop some apps to talk home etc.
Just saved the settings of MX and trying with cleared settings now.
Edit: Even with cleared settings (over the app and app settings) and with and without codec pack, it skips the playback after 2 seconds with hardware decoding.
Clearing Xprivacy settings now and try again.
Edit2: It keeps skipping/stopping, i downgrade now to an older version, thanks for your help!
Forsaked said:
I buyed every App i have on my phone, if it is not a free app, im using Xprivacy to stop some apps to talk home etc.
Just saved the settings of MX and trying with cleared settings now.
Edit: Even with cleared settings (over the app and app settings) and with and without codec pack, it skips the playback after 2 seconds with hardware decoding.
Clearing Xprivacy settings now and try again.
Edit2: It keeps skipping/stopping, i downgrade now to an older version, thanks for your help!
Click to expand...
Click to collapse
What happens with HW+ & SW...?
Which device...?
Have updated your device recently...?
Actually HW decoder is just wrapper of android's mediaplayer API. MX Player have only very few controls over it. If the issue is only with HW decoder it might be system issue.
If the issue persists, just collect the bugreport from help menu immediately after reproducing the issue. Share here. I will check it. If it can't be resolved I will intimate the developer as well.
ktsamy said:
What happens with HW+ & SW...?
Which device...?
Have updated your device recently...?
Actually HW decoder is just wrapper of android's mediaplayer API. MX Player have only very few controls over it. If the issue is only with HW decoder it might be system issue.
If the issue persists, just collect the bugreport from help menu immediately after reproducing the issue. Share here. I will check it. If it can't be resolved I will intimate the developer as well.
Click to expand...
Click to collapse
1. HW+ is missing since the update, SW works. (Setting up to use only SW for decoding has no effect, i must change decode mode while playback the video)
2. HTC M8
3. no system update since month, MX Pro got updated via PlayStore
Can you try that video in stock video player or gallery. It should close the same way as mx closes.
I have faced similar situations in one of my device particularly with a video. Basically it's a system bug. It will start the video at the last frame & close. Only first frame will be shown to the user.
Anyway AFAIK, new HW+ is in testing phase. If everything goes as expected, Soon there will be an update (may be within a week..??) which will enable HW+ on HTC devices & devices running with Nougat.
Edit: @Forsaked
Can you try this..?
Just start the video in SW
Just wait for a minute or seek it.
Now switch back to HW
ktsamy said:
Can you try that video in stock video player or gallery. It should close the same way as mx closes.
I have faced similar situations in one of my device particularly with a video. Basically it's a system bug. It will start the video at the last frame & close. Only first frame will be shown to the user.
Anyway AFAIK, new HW+ is in testing phase. If everything goes as expected, Soon there will be an update (may be within a week..??) which will enable HW+ on HTC devices & devices running with Nougat.
Edit: @Forsaked
Can you try this..?
Just start the video in SW
Just wait for a minute or seek it.
Now switch back to HW
Click to expand...
Click to collapse
I have got the same effect with all players now (Stock, MX, ES File Explorer), as you predicted.
Which just worked before updating to 1.8.6, which is a bit confusing.
Waiting or seeking in SW mode and switching back, will also close the video 2 seconds after switching back to HW.
Edit: Clearing cache in recovery now, as mentiont as fix for playback problems with HTC.
Edit2: Clearing cache (also ART/Dalvik) didn't helped!

Phone crashes when seeking HEVC

Phone: Google Pixel XL
Android 7.1.1
Stock ROM
MX Player v1.8.10
MX Player Custom Codec installed, HW+ encoding enabled
Ok so here's the thing, when i play a HEVC video (any resolution,8 bit or 10 bit doesnt matter either) it plays fine as long as i dont try to forward/seek. As soon as i do that, my phone crashes and reboots. This happens on HW+, but not on SW. Also, i thought the Pixel had hardware decoding for HEVC but im not able to play the video in HW decoder in MX Player.
Since the phone crashes, i dont think i can gather any logs either. Any help ?
Punkid said:
Phone: Google Pixel XL
Android 7.1.1
Stock ROM
MX Player v1.8.10
MX Player Custom Codec installed, HW+ encoding enabled
Ok so here's the thing, when i play a HEVC video (any resolution,8 bit or 10 bit doesnt matter either) it plays fine as long as i dont try to forward/seek. As soon as i do that, my phone crashes and reboots. This happens on HW+, but not on SW. Also, i thought the Pixel had hardware decoding for HEVC but im not able to play the video in HW decoder in MX Player.
Since the phone crashes, i dont think i can gather any logs either. Any help ?
Click to expand...
Click to collapse
Regarding HW+ crash, it needs logs to be collected from ADB as a system reboot will erase everything. I will ask the developer to check it out as I don't have a pixel device to test it out.
Regarding HW issue, are you playing a HEVC on MKV container..? If it's so, It's an issue which is to be solved by google. HW decoder is wrapper of Android Mediappayer API. On Nexus/Pixel devices Google doesn't implemented HEVC on mkv container. If you just remux it to mp4 (I mean without re-encoding), the video can be played in HW. So, MX Player has nothing to do with HW decoder.
Sent from my Samsung Galaxy S5 using XDA Labs
ktsamy said:
Regarding HW+ crash, it needs logs to be collected from ADB as a system reboot will erase everything. I will ask the developer to check it out as I don't have a pixel device to test it out.
Regarding HW issue, are you playing a HEVC on MKV container..? If it's so, It's an issue which is to be solved by google. HW decoder is wrapper of Android Mediappayer API. On Nexus/Pixel devices Google doesn't implemented HEVC on mkv container. If you just remux it to mp4 (I mean without re-encoding), the video can be played in HW. So, MX Player has nothing to do with HW decoder.
Sent from my Samsung Galaxy S5 using XDA Labs
Click to expand...
Click to collapse
Oh ok thanks for clarifying the HW issue.
Btw, if you could point me to a guide on how to collect logs from adb, I'd be happy to help.
Sent from my Pixel XL using Tapatalk
So what is the solution for this?
I myself having a OnePlus 3T and having same bug as crashing MX player and rebooting the device by itself when I play HEVC on mkv container.
What should I do?
How can I play that video file the ?
gakerot said:
So what is the solution for this?
I myself having a OnePlus 3T and having same bug as crashing MX player and rebooting the device by itself when I play HEVC on mkv container.
What should I do?
How can I play that video file the ?
Click to expand...
Click to collapse
Try again after enabling Alternative HW+.
Based on another report on another thread, It's basically a firmware issue & user has mentioned that leaked Nougat build has fixed the issue. Just be patient till the next system update.
InvalidDNA said:
Try again after enabling Alternative HW+.
Based on another report on another thread, It's basically a firmware issue & user has mentioned that leaked Nougat build has fixed the issue. Just be patient till the next system update.
Click to expand...
Click to collapse
Thankyou InvalidDNA

Playing avi didn't work

Hello,
i want to use MX Player to watch a avi-file at my Samsung Galaxy S3 (i9300). After starting the video, I only see the picture of the beginning and hear the sound (HD-Decoder).
After changing to SW-Decoder (there is a message abourt adpcm) I can see the movie, but there's no sound.
I also tried the Codec for ARMv7, but this did't solve the problem.
Information about the avi:
Video-Codec: Motion JPEG Video (MJPG)
Audio-Codec: IMA WAV ADPCM Audio (ms)
update.freak said:
Hello,
i want to use MX Player to watch a avi-file at my Samsung Galaxy S3 (i9300). After starting the video, I only see the picture of the beginning and hear the sound (HD-Decoder).
After changing to SW-Decoder (there is a message abourt adpcm) I can see the movie, but there's no sound.
I also tried the Codec for ARMv7, but this did't solve the problem.
Information about the avi:
Video-Codec: Motion JPEG Video (MJPG)
Audio-Codec: IMA WAV ADPCM Audio (ms)
Click to expand...
Click to collapse
We couldn't reproduce the issue. Can you collect the bug report immediately after reproducing the issue and share here?
If you are not sure about how to collect a bug report, Kindly read https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
here is the bug report.
I have the same issue using the pro version, but it works on the starndard version. It was working on pro a few weeks ago.
update.freak said:
here is the bug report.
Click to expand...
Click to collapse
The log contains only information about the HW decoder playback.
Basically, HW decoder uses the mediaplayer API provided by the Android. MX Player has fewer controls over it. So, MJPEG decoder may not be properly implemented in your custom ROM.
Can you share the logs again after playing it in SW?
It will be better if you can share a sample content as well.
report after playing it in SW
any ideas?
update.freak said:
any ideas?
Click to expand...
Click to collapse
our developers are looking into the issue. we will try to fix the issue as soon as possible.
HW decoder issue might be from your ROM itself. So, it can be fixed from our end. Kindly cross check with your stock video player. It may behave in a similar way.

HW+ Issues on MX Player 1.9.7

anyone else get choppy hw+ playback on their oneplus 5? issue disappears completely when using sw or regular hw decoder
I'm finding the MX Player betas are really flakey right now.. The lastest one fixed seeking with the remote control (finally - was broken since the last stable) but somehow broke HW+ decoding on the Nvidia Shield TV, which has always worked flawlessly before.
gmanhatesu said:
anyone else get choppy hw+ playback on their oneplus 5? issue disappears completely when using sw or regular hw decoder
Click to expand...
Click to collapse
Hi,
can you collect a bug report immediately after the issue & share here with us?
osm0sis said:
Anybody else finding the MX Player betas are really flakey right now? The lastest one fixed seeking with the remote control (finally - was broken since the last stable) but somehow broke HW+ decoding on the Nvidia Shield TV, which has always worked flawlessly before.
Click to expand...
Click to collapse
can you collect a bug report & share here?
It will be better if you can provide a sample video or link to a sample video that has issues.
Thirumalai.K said:
can you collect a bug report & share here?
It will be better if you can provide a sample video or link to a sample video that has issues.
Click to expand...
Click to collapse
It's every streamed video on the Nvidia Shield TV. I've got SMB shares mounted on the Shield and these "local" videos all works fine.
Where things are broken is with network streamed (I generally use Terrarium TV). HW+ and Software decoders both now refuse to work, only HW works after the last MX app updates and even HW crashes midstream at times complaining of not supporting the video codec (even though it's already been playing just fine).
Here's a bug report directly after starting play of a streamed file as HW, and just after I've tried to use HW+ and Software (to try and ensure it contains something useful).
osm0sis said:
It's every steamed video on the Nvidia Shield TV. I've got SMB shares mounted on the Shield and these "local" videos all works fine.
Where things are broken is with network steamed (I generally use Terrarium TV). HW+ and Software decoders both now refuse to work, only HW works after the last MX app updates and even HW crashes midstream at times complaining of not supporting the video codec (even though it's already been playing just fine).
Here's a bug report directly after starting play of a streamed file as HW, and just after I've tried to use HW+ and Software (to try and ensure it contains something useful).
Click to expand...
Click to collapse
The issue is fixed on 1.9.8. Can you check it out?
Thirumalai.K said:
The issue is fixed on 1.9.8. Can you check it out?
Click to expand...
Click to collapse
Yes! Totally fixed. Fantastic work! Thank you.
I am using 1.9.8 when playing vp9 videos on my redmi note 4 it gets struck I am using miui before today's update I don't have this problem
jeevan_500 said:
I am using 1.9.8 when playing vp9 videos on my redmi note 4 it gets struck I am using miui before today's update I don't have this problem
Click to expand...
Click to collapse
In which decoder you are trying?
kindly share the bug report.
Thirumalai.K said:
In which decoder you are trying?
kindly share the bug report.
Click to expand...
Click to collapse
I am using hw+ decoder how to take bug report in the app
jeevan_500 said:
I am using hw+ decoder how to take bug report in the app
Click to expand...
Click to collapse
If*you*are*not*familiar*about*how*to*collect*a*bug*report,*Kindly*read*the*sticky*thread*about*how*to*collect*the*bug*report*( https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144 ).
You can find some more detailed additional methods on our website which can be used to collect complete system logs ( https://sites.google.com/site/mxvpen/report-an-issue ).
BTW, What about HW decoder?
Thirumalai.K said:
If*you*are*not*familiar*about*how*to*collect*a*bug*report,*Kindly*read*the*sticky*thread*about*how*to*collect*the*bug*report*( https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144 ).
You can find some more detailed additional methods on our website which can be used to collect complete system logs ( https://sites.google.com/site/mxvpen/report-an-issue ).
BTW, What about HW decoder?
Click to expand...
Click to collapse
Here is my bug reportView attachment report_2017-09-21_212422.zip
Thirumalai.K said:
If*you*are*not*familiar*about*how*to*collect*a*bug*report,*Kindly*read*the*sticky*thread*about*how*to*collect*the*bug*report*( https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144 ).
You can find some more detailed additional methods on our website which can be used to collect complete system logs ( https://sites.google.com/site/mxvpen/report-an-issue ).
BTW, What about HW decoder?
Click to expand...
Click to collapse
Any solution for the bug I send
jeevan_500 said:
Any solution for the bug I send
Click to expand...
Click to collapse
According to the logs, you have played a HEVC video & not vp9.
Is it a file that has the issue?
Thirumalai.K said:
According to the logs, you have played a HEVC video & not vp9.
Is it a file that has the issue?
Click to expand...
Click to collapse
It has the bug for both hecv and vp9 files and the problem is with hw+ decoder but when I play in hw decoder no problem . No I played the file on pc it plays perfectly
Thirumalai.K said:
Hi,
can you collect a bug report immediately after the issue & share here with us?
Click to expand...
Click to collapse
i returned my oneplus 5 and got an axon 7 instead but the issue still remains, does it with every file unless switching to sw decoder, vlc plays files smoothly however.
gmanhatesu said:
i returned my oneplus 5 and got an axon 7 instead but the issue still remains, does it with every file unless switching to sw decoder, vlc plays files smoothly however.
Click to expand...
Click to collapse
still having this issue with the latest version of mxplayer
gmanhatesu said:
still having this issue with the latest version of mxplayer
Click to expand...
Click to collapse
can you just disable subtitle & check again?
Thirumalai.K said:
can you just disable subtitle & check again?
Click to expand...
Click to collapse
disabled subtitles issue is still there
gmanhatesu said:
disabled subtitles issue is still there
Click to expand...
Click to collapse
I have downloaded the same video & checked in our test devices. none of our devices has the issues.
can you make a screen record for us?
Is it happens with HW decoder as well?
can you collect the complete logs using logcat?

Categories

Resources