[Bug Report] player hang when default set to hw+ on nexus 10 lollipop - MX Player

i recently did a clean install of lollipop on my nexus 10 but noticed when in settings hw+ and hw decoder is enabled as default and when i play some xvid avi files, they show as hw+ or hw decoder at first but like in kitkat it used to switch to sw when hw+ or hw didnt work but in lollipop it doesnt switch and causes the player to be very laggy and after sometime crash. If i goto settings and disable hw+ or hw as default then it plays with sw at first and works fine. The switching from hw+ or hw to sw doesnt work as intended.
one more thing i noticed is under android developer options if i force gpu rendering for 2d drawings then it seems to switch from hw+ or hw to sw just fine without a hang so i guess that will give u a clue on where the bug is

khal_nayak said:
i recently did a clean install of lollipop on my nexus 10 but noticed when in settings hw+ and hw decoder is enabled as default and when i play some xvid avi files, they show as hw+ or hw decoder at first but like in kitkat it used to switch to sw when hw+ or hw didnt work but in lollipop it doesnt switch and causes the player to be very laggy and after sometime crash. If i goto settings and disable hw+ or hw as default then it plays with sw at first and works fine. The switching from hw+ or hw to sw doesnt work as intended.
one more thing i noticed is under android developer options if i force gpu rendering for 2d drawings then it seems to switch from hw+ or hw to sw just fine without a hang so i guess that will give u a clue on where the bug is
Click to expand...
Click to collapse
Can you collect the error logs right after the crash occurs, and post them here?
Pinned thread on how to collect error logs here: http://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144

CDB-Man said:
Can you collect the error logs right after the crash occurs, and post them here?
Pinned thread on how to collect error logs here: http://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
Click to expand...
Click to collapse
here u go

CDB-Man said:
Can you collect the error logs right after the crash occurs, and post them here?
Pinned thread on how to collect error logs here: http://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
Click to expand...
Click to collapse
one more in case if the first one is incomplete

khal_nayak said:
one more in case if the first one is incomplete
Click to expand...
Click to collapse
Nexus 10 5.0.2 looks like have some issues on media framework.
xvid avi is not the only format media framework crashes.
I hope newly released 5.1 firmware works better..
Please use HW decoder for the time being, at lease HW looks like work better than HW+ as of now.

bleu8888 said:
Nexus 10 5.0.2 looks like have some issues on media framework.
xvid avi is not the only format media framework crashes.
I hope newly released 5.1 firmware works better..
Please use HW decoder for the time being, at lease HW looks like work better than HW+ as of now.
Click to expand...
Click to collapse
i tried android 5.1 today, HW works but when i select that the seek lags a lot and HW+ still dead on a mkv file so i guess the player needs to be checked as well. Atleast now the decoder changes with message HW+ or HW not supported but still lags a lot and temporarily freezes the player

Related

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

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.

[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!

[BUG] Alternate HW+ Decoder problem

when using the new alternate HW+ decoder no video shows embedded subtitles......... the old hw+ decoder plays the files perfectly with subs but this new one doesn't show subtitles whatsoever........
caspianprince said:
when using the new alternate HW+ decoder no video shows embedded subtitles......... the old hw+ decoder plays the files perfectly with subs but this new one doesn't show subtitles whatsoever........
Click to expand...
Click to collapse
Can collect the bug report & share here.
FYI, now if you disable the subtitle on one video it will be disabled on further playbacks. You have to manually select the subtitle again. Once you select the subtitle it will be enabled everytime till you disable it again.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can collect the bug report & share here.
FYI, now if you disable the subtitle on one video it will be disabled on further playbacks. You have to manually select the subtitle again. Once you select the subtitle it will be enabled everytime till you disable it again.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
i know that and my subtitle is enabled....it's just that whenever i am using newer hw+ the subtitle doesn't show and whenever i am using older hw+ OR HW OR SW subtitle shows....... u don't have that problem???
caspianprince said:
i know that and my subtitle is enabled....it's just that whenever i am using newer hw+ the subtitle doesn't show and whenever i am using older hw+ OR HW OR SW subtitle shows....... u don't have that problem???
Click to expand...
Click to collapse
No, I can't reproduce. Can you provide a sample clip?
Sent from my SM-G900H using Tapatalk
here is the log......... first i played the video with alternate hw+ and the subtitle didn't show..next i played it with older hw+ and subtitle showed........ then took the report
I cannot remember what video it was, but it was an mkv, when playing a video the subtitles would show even though they were disabled, then if i enabled subtitles i would have two identical sets of subtitles, though one set was a few pixels apart from the other.
John.
caspianprince said:
here is the log......... first i played the video with alternate hw+ and the subtitle didn't show..next i played it with older hw+ and subtitle showed........ then took the report
Click to expand...
Click to collapse
Subtitle rendering & Media Playback both are individual functions. It less likely to conflict.
Just downloaded the original video & tested myself. After test & trails I have found that "Improve SSA rendering" option in Settings > Subtitle > Text is somehow affects when using new HW+ decoder for video decoding. Report passed to the developer. Just disable it as a temporary solution till the developer fixes the issue.
Edit: Update from developer
@caspianprince
It's internally fixed & next update will fix the issue with SSA subtitle rendering issue when used with new HW+.
ktsamy said:
Subtitle rendering & Media Playback both are individual functions. It less likely to conflict.
Just downloaded the original video & tested myself. After test & trails I have found that "Improve SSA rendering" option in Settings > Subtitle > Text is somehow affects when using new HW+ decoder for video decoding. Report passed to the developer. Just disable it as a temporary solution till the developer fixes the issue.
Edit: Update from developer
@caspianprince
It's internally fixed & next update will fix the issue with SSA subtitle rendering issue when used with new HW+.
Click to expand...
Click to collapse
Thank you man!
caspianprince said:
Thank you man!
Click to expand...
Click to collapse
@caspianprince Would you try latest beta version? I think this issue is fixed.
https://sites.google.com/site/mxvpen/translation/test-build
bleu8888 said:
@caspianprince Would you try latest beta version? I think this issue is fixed.
https://sites.google.com/site/mxvpen/translation/test-build
Click to expand...
Click to collapse
Just tried it..... the problem is fixed...... nice work!! Thanks
Corruption in small to medium parts of the video is a reason i dont use HW+ i would rather use HW with lower volume.
John.
Tinderbox (UK) said:
Corruption in small to medium parts of the video is a reason i dont use HW+ i would rather use HW with lower volume.
John.
Click to expand...
Click to collapse
Are you still encountering the issue even after updating to 1.9.3?
Instead of generic statements, Kindly report it along with sample video and bug report. It will be helpful to get the issues fixed.
Sent from my SM-G900H using Tapatalk
I am on the latest on Google Play, MX Player Pro 1.7.40 I am on kitkat v4.4.4 for the Rockchip RK3229
John.
ktsamy said:
Are you still encountering the issue even after updating to 1.9.3?
Instead of generic statements, Kindly report it along with sample video and bug report. It will be helpful to get the issues fixed.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Tinderbox (UK) said:
I am on the latest on Google Play, MX Player Pro 1.7.40 I am on kitkat v4.4.4 for the Rockchip RK3229
John.
Click to expand...
Click to collapse
New HW+ is available only to the devices with android 5.0+. Old HW+ method may not be compatible with old devices especially when the android media framework is modified by the OEM or by Rom developer in case of custom rom.
Sent from my SM-G900H using Tapatalk
So if you are on v4 kitkat or under MX Player is not interested in fixing bug`s most Android users are running kitkat 27.7% as of 2016
John.
Tinderbox (UK) said:
So if you are on v4 kitkat or under MX Player is not interested in fixing bug`s most Android users are running kitkat 27.7% as of 2016
John.
Click to expand...
Click to collapse
It's not a bug. Android 5.0+ provides a official API to use system decoders in native programming language. When a particular encoding profile is not supported you may still have issues in new HW+ as well.
Sent from my SM-G900H using Tapatalk
This is on my MiniMXQ TV Box Android v4.4.4 - 1GB/8GB - Rockchip RK3229 SOC
MX Player Pro V1.7.40
Video file "Hagure Yuusha no Aesthetica - 01 10bit H.264 AAC.mp4"
HW+ - Normal video speed and sound, but image has intermittent break-up from small to large areas.
HW - Frozen perfect image, if you select another point in the video, you get 1/2 second of playback and then a freeze, perfect image
SW - video and sound quality great, but video is very jerky
Thanks for the help
John.
Tinderbox (UK) said:
This is on my MiniMXQ TV Box Android v4.4.4 - 1GB/8GB - Rockchip RK3229 SOC
MX Player Pro V1.7.40
Video file "Hagure Yuusha no Aesthetica - 01 10bit H.264 AAC.mp4"
HW+ - Normal video speed and sound, but image has intermittent break-up from small to large areas.
HW - Frozen perfect image, if you select another point in the video, you get 1/2 second of playback and then a freeze, perfect image
SW - video and sound quality great, but video is very jerky
Thanks for the help
John.
Click to expand...
Click to collapse
It looks like a system decoder issue. If it's supported it suppose to be playable in HW decoder. When you have tried HW decoder, it hows thrown a unknown error. Does any other player works? I think that particular video will have issues with every player?
Can you try MX Player Pro 1.8.9 beta 2 & share the bug report again?
Sent from my SM-G900H using Tapatalk
I am on kitkat v4.4.4
MX Player Pro 1.8.9 beta 2 needs android v5.1 or above as far as i know.
https://sites.google.com/site/mxvpen/download
John.
ktsamy said:
It looks like a system decoder issue. If it's supported it suppose to be playable in HW decoder. When you have tried HW decoder, it hows thrown a unknown error. Does any other player works? I think that particular video will have issues with every player?
Can you try MX Player Pro 1.8.9 beta 2 & share the bug report again?
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Tinderbox (UK) said:
I am on kitkat v4.4.4
MX Player Pro 1.8.9 beta 2 needs android v5.1 or above as far as i know.
https://sites.google.com/site/mxvpen/download
John.
Click to expand...
Click to collapse
Beta versions will work on Android 4.0 & above.
You can download the latest nightly version from the official beta webpage ( https://sites.google.com/site/mxvpen/translation/test-build )

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

HW+ Decoder visual artifacts on tv box

Hello i recentry bought a android tv box Mecool ms8 pro (amlogic s905X , 2GB ram , 16gb rom and runs on android 7.1)
I usally have mx player on my tablet and my phone because is the best android player out there. But this time i have a issue with HW+ decoder some .mp4 videos appears visual artifacts (like squares) i tried to add a custom codec 1.9.8 but nothing happens. I try to find the alternative HW+ but is not there... my tablet and phone has this feature.
I want to metion HW decoder works fine for the most videos but i like the 200% volume on the HW+ .
I tried vlc player and has the same issues on full hardware decoder , software works good.
If anyone has any idea tell me to try.
Thank you in advance :good:
johnys5 said:
Hello i recentry bought a android tv box Mecool ms8 pro (amlogic s905X , 2GB ram , 16gb rom and runs on android 7.1)
I usally have mx player on my tablet and my phone because is the best android player out there. But this time i have a issue with HW+ decoder some .mp4 videos appears visual artifacts (like squares) i tried to add a custom codec 1.9.8 but nothing happens. I try to find the alternative HW+ but is not there... my tablet and phone has this feature.
I want to metion HW decoder works fine for the most videos but i like the 200% volume on the HW+ .
I tried vlc player and has the same issues on full hardware decoder , software works good.
If anyone has any idea tell me to try.
Thank you in advance :good:
Click to expand...
Click to collapse
HW+ decoder basically uses the decoders available in your system. So, it may happen with all applications if there is an issue with decoder configuration in your ROM itself. As it happens with both players, probably it could be a firmware bug.
If HW decoder works, just enable SW audio. You can now raise the volume up to 200%.
Thirumalai.K said:
HW+ decoder basically uses the decoders available in your system. So, it may happen with all applications if there is an issue with decoder configuration in your ROM itself. As it happens with both players, probably it could be a firmware bug.
If HW decoder works, just enable SW audio. You can now raise the volume up to 200%.
Click to expand...
Click to collapse
If i find custom rom or upgrade firmware maybe fix the issue ?
Thank you for the answer!

Categories

Resources