Page 1 of 2

Hw decoder broken with latest nightly

Posted: 12 Feb 2014 13:33
by sumantaadk
Hi. Vlc was working fine with feb 5 nightly build but today I try the latest nightly and found that I cannot play video with GPU. Device . xperia ray. CM 11. kitkat 4.4.2. Logcat http://pastebin.com/ijig1AbB

Re: Hw decoder broken with latest nightly

Posted: 12 Feb 2014 14:12
by Jean-Baptiste Kempf
THose logs are unreadable...

Re: Hw decoder broken with latest nightly

Posted: 12 Feb 2014 18:13
by sumantaadk

Re: Hw decoder broken with latest nightly

Posted: 12 Feb 2014 20:07
by Jean-Baptiste Kempf

Code: Select all

02-12 22:31:41.472 D/VLC ( 4338): core demux: using demux module "mp4" 02-12 22:31:41.482 D/VLC ( 4338): core input: looking for a subtitle file in /storage/sdcard0/Videos/ 02-12 22:31:41.482 D/VLC ( 4338): core decoder: looking for decoder module matching "mediacodec,iomx,all": 32 candidates 02-12 22:31:41.492 I/OMXClient( 4338): Using client-side OMX mux. 02-12 22:31:41.492 F/libc ( 4338): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 4381 (rg.videolan.vlc) 02-12 22:31:41.552 D/VLC/VideoPlayerActivity( 4338): Pixel format is YV12 02-12 22:31:41.592 I/DEBUG ( 245): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-12 22:31:41.592 I/DEBUG ( 245): Build fingerprint: 'SEMC/ST18i_1254-2184/ST18i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys'

Re: Hw decoder broken with latest nightly

Posted: 12 Feb 2014 20:07
by Jean-Baptiste Kempf
Can you try full hardware decoding?

Re: Hw decoder broken with latest nightly

Posted: 12 Feb 2014 20:37
by sumantaadk
I have tried all options but all are dead. Only able to play using cpu/ sw decoder.Works fine If I switch to previous build.

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 10:46
by Jean-Baptiste Kempf
Android 4.4.2 should get mediacodec, I don't get why you have OMX running

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 12:22
by sumantaadk
Thats default from rom developer

http://forum.xda-developers.com/showthr ... ?t=2545354

works fine with
http://nightlies.videolan.org/build/and ... 5-0109.apk

Vlc shut down if I try to play any video with hw.

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 12:38
by Jean-Baptiste Kempf
Sorry, but your ROM is probably not supporting MediaCodec correctly. You need to use ndk gdb to debug it.

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 12:45
by sumantaadk
But why vlc build of feb 5 is working well and all other players which are found on market too works well.

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 12:54
by Jean-Baptiste Kempf
Some fix might have broken it.

But unless gdb, it will be hard to fix.

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 13:38
by sumantaadk

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 14:41
by Jean-Baptiste Kempf
Can you try other nightly builds, like the 10th or the 11th morning?

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 17:03
by sumantaadk
Hi. I have downloaded all nightly and tested every build. I found that the problem started from 2014-02-12 build. Is this the change which makes the problem? I m not sure.http://git.videolan.org/?p=vlc-ports/an ... 31e828b3d5 or
http://git.videolan.org/?p=vlc-ports/an ... 7a3bcf34f9

Re: Hw decoder broken with latest nightly

Posted: 13 Feb 2014 19:31
by Jean-Baptiste Kempf

Re: Hw decoder broken with latest nightly

Posted: 14 Feb 2014 19:22
by Jean-Baptiste Kempf
Hi. I have downloaded all nightly and tested every build. I found that the problem started from 2014-02-12 build. Is this the change which makes the problem? I m not sure.http://git.videolan.org/?p=vlc-ports/an ... 31e828b3d5 or
http://git.videolan.org/?p=vlc-ports/an ... 7a3bcf34f9
Can you retry with tomorrow nightly builds?

Re: Hw decoder broken with latest nightly

Posted: 15 Feb 2014 06:09
by sumantaadk
I try the new one. 15th. but still same. unstall and reinstall but no benefit. log of 15th build.
https://drive.google.com/file/d/0B-4oyV ... sp=sharing

Re: Hw decoder broken with latest nightly

Posted: 15 Feb 2014 13:06
by Jean-Baptiste Kempf
OK, we need to give you a special build.

Re: Hw decoder broken with latest nightly

Posted: 15 Feb 2014 15:34
by sumantaadk
Hi. It seems it has been broken only on kitkat. I flashed Jellybean Rom and vlc works well. I will use jellybean further because lagecy cm 11 is still in beta stage. Also fixing a bug may help other user who are using kitkat via cm mode

Re: Hw decoder broken with latest nightly

Posted: 15 Feb 2014 15:52
by Jean-Baptiste Kempf
Jellybean 4.1 or 4.2?

Re: Hw decoder broken with latest nightly

Posted: 15 Feb 2014 16:54
by sumantaadk
4.1.2. I havent tried 4.2 because 4.1.2 have xloud support

Re: Hw decoder broken with latest nightly

Posted: 16 Feb 2014 14:36
by Jean-Baptiste Kempf
4.1 does not have hw by default. Force it in preferences and try again :)

Re: Hw decoder broken with latest nightly

Posted: 20 Feb 2014 10:59
by flx42
Can you try *again* with latest nightly?
If it's still not working, I will have to send you a build full of debug messages everywhere :)

Re: Hw decoder broken with latest nightly

Posted: 20 Feb 2014 18:46
by sumantaadk
@JB. Ya. I already know that :p and thanks for a feature which allow to use sw decoder if hw acc. Failed.

@flx42 Sorry I am not using kitkat right now because some apps are not compatible with kitkat till now and CM is still in beta too.

Re: Hw decoder broken with latest nightly

Posted: 21 Feb 2014 08:22
by Jean-Baptiste Kempf
It would help us if you use 4.1 and activate HW in the preferences.