REPRODUCIBILITY: Always
OS VERSION: 4.5.0.16
HARDWARE: Xperia 10
UI LANGUAGE: English
REGRESSION: Yes (worked on all previous versions)
DESCRIPTION:
Browser playback of videos does not work.
Youtube says “This video cannot play”
BBC says “The content is not available in compatible codec”
PRECONDITIONS:
Update from 4.4.0.72 to 4.5.0.
STEPS TO REPRODUCE:
- Open jolla browser, go to either Chris Parry and Andrew Bagshaw's bodies recovered in prisoner swap - Ukraine - BBC News or Kernel Recipes 2019 - Kernel hacking behind closed doors - YouTube (this is just something youtube and bbc had on their homepage today)
- Try to play the video
EXPECTED RESULT:
Video plays
ACTUAL RESULT:
Youtube says “This video cannot play”
BBC says “The content is not available in compatible codec”
MODIFICATIONS:
Patchmanager installed with no patches acitve
ADDITIONAL INFORMATION:
snipped from journalctl -f
while trying to play bbc the video
Feb 04 19:53:30 Sailfish gecko-camera[29973]: codec init:66 -- Initialized codec plugin at /usr/lib/gecko-camera/plugins/libgeckocamera-droid.so
Feb 04 19:53:30 Sailfish gecko-camera[29973]: droid-codec init:595 -- Codec metadata: type=video/avc width=832 height=468 fps=0 extra=45
Feb 04 19:53:30 Sailfish kernel: binder: 2949:2949 transaction failed 29189/-22, size 32-0 line 3024
Feb 04 19:53:30 Sailfish kernel: msm_vidc: info: Opening video instance: 0000000000000000, 1
Feb 04 19:53:30 Sailfish gecko-camera[29973]: droid-codec createCodec:620 -- Using media buffers
Feb 04 19:53:31 Sailfish gecko-camera[29973]: droid-codec configureOutput:766 -- Configuring converter for stride:832 slice-height: 468 top: 0 left:0 width: 832 height: 468 format: 2141391876
Feb 04 19:53:31 Sailfish gecko-camera[29973]: droid-codec size_changed_cb:798 -- Received size changed 832 x 480
Feb 04 19:53:31 Sailfish gecko-camera[29973]: droid-codec configureOutput:766 -- Configuring converter for stride:832 slice-height: 480 top: 0 left:0 width: 832 height: 468 format: 2141391876
Feb 04 19:53:31 Sailfish gecko-camera[29973]: droid-codec signal_eos_cb:805 -- Decoder EOS
Feb 04 19:53:31 Sailfish kernel: msm_vidc: info: Closed video instance: 0000000000000000
I tried to remove ~/.cache/gstreamer*
and the result is the same.
/usr/libexec/droid-hybris/system/bin/logcat
while tryint to play:
02-04 18:10:06.779 29973 1321 I OMXClient: IOmx service obtained
02-04 18:10:06.780 3317 1834 I OMXMaster: makeComponentInstance(OMX.qcom.video.decoder.avc) in omx@1.0-service process
02-04 18:10:06.783 3100 3173 I RQBalance-PowerHAL-HALEXT: OMX Decoder hint received.
02-04 18:10:06.783 3100 3173 I RQBalance-PowerHAL-Hints: Setting video_decoding mode
02-04 18:10:06.818 3317 1834 I OMX-VDEC-1080P: Video slvp perflock acquired
02-04 18:10:06.819 3317 1834 I OMX-VDEC-1080P: component_init: OMX.qcom.video.decoder.avc : fd=8
02-04 18:10:06.850 3317 1834 I OMX-VDEC-1080P: omx_vdec::component_init() success : fd=8
02-04 18:10:06.854 29973 1318 I AsyncCodecSource: Successfully allocated codec 'OMX.qcom.video.decoder.avc'
02-04 18:10:06.854 29973 1320 I MediaCodec: MediaCodec will operate in async mode
02-04 18:10:06.854 29973 1320 D SurfaceUtils: connecting to surface 0xd8395830, reason connectToSurface
02-04 18:10:06.854 29973 1320 I MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 1073154
02-04 18:10:06.854 29973 1320 D SurfaceUtils: disconnecting from surface 0xd8395830, reason connectToSurface(reconnect)
02-04 18:10:06.855 29973 1320 D SurfaceUtils: connecting to surface 0xd8395830, reason connectToSurface(reconnect)
02-04 18:10:06.856 3317 1834 E OMX-VDEC-1080P: Enable/Disable allocate-native-handle allowed only on input port!
02-04 18:10:06.856 3317 1834 E OMX-VDEC-1080P: set_parameter: Error: 0x80001019, setting param 0x7f00005d
02-04 18:10:06.856 3317 1834 E OMXNodeInstance: setParameter(0xe2c30384:qcom.decoder.avc, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019)
02-04 18:10:06.856 29973 1321 I ACodec : [OMX.qcom.video.decoder.avc] using color format 0x7fa30c04 in place of 0x7f420888
02-04 18:10:06.860 29973 1321 D ACodec : Setting [OMX.qcom.video.decoder.avc] input port buffer number: 12
02-04 18:10:06.873 3317 1834 E OMXNodeInstance: getConfig(0xe2c30384:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
02-04 18:10:06.874 29973 1321 D ACodec : [OMX.qcom.video.decoder.avc] Requested output format 0x7f420888 and got 0x7fa30c04.
02-04 18:10:06.875 3317 1834 E OMXNodeInstance: getConfig(0xe2c30384:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
02-04 18:10:06.885 29973 1318 I AsyncCodecSource: Configured codec 'OMX.qcom.video.decoder.avc'!
02-04 18:10:06.885 29973 1318 D SurfaceUtils: connecting to surface 0xd8395830, reason AsyncCodecSource
02-04 18:10:06.885 29973 1318 E BufferQueueProducer: [DroidMediaCodecBufferQueue] connect: already connected (cur=3 req=3)
02-04 18:10:06.885 29973 1318 E SurfaceUtils: Failed to connect to surface 0xd8395830, err -22
02-04 18:10:06.912 3077 3077 W AshmemAllocator: ashmem_create_region(7077888) returning hidl_memory(0x7d0622c100, 7077888)
02-04 18:10:07.105 3077 3077 I chatty : uid=1000(system) allocator@1.0-s identical 10 lines
02-04 18:10:07.124 3077 3077 W AshmemAllocator: ashmem_create_region(7077888) returning hidl_memory(0x7d0622c100, 7077888)
02-04 18:10:07.175 29973 1321 D SurfaceUtils: set up nativeWindow 0xd8395830 for 832x468, color 0x7fa30c04, rotation 0, usage 0x20002900
02-04 18:10:07.208 29973 1321 W MapperHal: buffer descriptor with invalid usage bits 0x2000
02-04 18:10:07.319 29973 1321 I chatty : uid=100000(u1_root) sailfish-browse identical 10 lines
02-04 18:10:07.333 29973 1321 W MapperHal: buffer descriptor with invalid usage bits 0x2000
02-04 18:10:07.338 3317 1834 E OMXNodeInstance: getConfig(0xe2c30384:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
02-04 18:10:07.355 29973 1321 D SurfaceUtils: set up nativeWindow 0xd8395830 for 832x480, color 0x7fa30c04, rotation 0, usage 0x20002900
02-04 18:10:07.409 29973 1321 W MapperHal: buffer descriptor with invalid usage bits 0x2000
02-04 18:10:07.467 29973 1321 I chatty : uid=100000(u1_root) sailfish-browse identical 10 lines
02-04 18:10:07.472 29973 1321 W MapperHal: buffer descriptor with invalid usage bits 0x2000
02-04 18:10:07.480 3317 1834 E OMXNodeInstance: getConfig(0xe2c30384:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
02-04 18:10:07.483 3317 1834 E OMXNodeInstance: getConfig(0xe2c30384:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
02-04 18:10:07.488 29973 1321 W MapperHal: buffer descriptor with invalid usage bits 0x2000
02-04 18:10:07.492 29973 1319 D AsyncCodecSource: [OMX.qcom.video.decoder.avc] Output format changed! Buffers remaining: 0
02-04 18:10:07.492 29973 1322 I DroidMediaCodec: Format changed from codec
02-04 18:10:07.492 29973 1322 I DroidMediaCodec: notifySizeChanged: width = 832, height = 480
02-04 18:10:08.214 29973 1323 W DroidMediaCodec: A buffer we don't know about is being finished!
02-04 18:10:08.214 29973 1323 I chatty : uid=100000(u1_root) sailfish-browse identical 3 lines
02-04 18:10:08.214 29973 1323 W DroidMediaCodec: A buffer we don't know about is being finished!
02-04 18:10:08.215 29973 1322 E DroidMediaCodec: Got EOS
02-04 18:10:08.216 29973 1321 E BufferQueueProducer: [DroidMediaCodecBufferQueue] queueBuffer: BufferQueue has been abandoned
02-04 18:10:08.216 29973 1321 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -19
02-04 18:10:08.216 29973 1321 E ACodec : queueBuffer failed in onOutputBufferDrained: -19
02-04 18:10:08.216 29973 1321 E ACodec : signalError(omxError 0x80001001, internalError -19)
02-04 18:10:08.216 29973 1320 E MediaCodec: Codec reported err 0xffffffed, actionCode 0, while in state 9
02-04 18:10:08.217 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.217 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #16
02-04 18:10:08.217 29973 1320 E AMessage: trying to post a duplicate reply
02-04 18:10:08.217 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.217 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #15
02-04 18:10:08.218 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.218 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #14
02-04 18:10:08.218 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.218 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #13
02-04 18:10:08.219 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.219 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #12
02-04 18:10:08.219 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.219 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #11
02-04 18:10:08.220 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.220 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #10
02-04 18:10:08.220 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.220 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #9
02-04 18:10:08.222 29973 1319 E MediaCodec: getBufferAndFormat - not executing
02-04 18:10:08.222 29973 1319 E AsyncCodecSource: [OMX.qcom.video.decoder.avc] could not get output buffer #8
02-04 18:10:08.222 29973 1321 E BufferQueueProducer: [DroidMediaCodecBufferQueue] queueBuffer: BufferQueue has been abandoned
02-04 18:10:08.222 29973 1321 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -19
02-04 18:10:08.222 29973 1321 E ACodec : queueBuffer failed in onOutputBufferDrained: -19
02-04 18:10:08.222 29973 1321 E ACodec : signalError(omxError 0x80001001, internalError -19)
02-04 18:10:08.223 29973 1320 E MediaCodec: Codec reported err 0xffffffed, actionCode 0, while in state 10
02-04 18:10:08.238 29973 1321 E BufferQueueProducer: [DroidMediaCodecBufferQueue] cancelBuffer: BufferQueue has been abandoned
02-04 18:10:08.250 29973 1321 I chatty : uid=100000(u1_root) sailfish-browse identical 11 lines
02-04 18:10:08.251 29973 1321 E BufferQueueProducer: [DroidMediaCodecBufferQueue] cancelBuffer: BufferQueue has been abandoned
02-04 18:10:08.271 29973 1320 W MediaCodec: Received kWhatStopCompleted in state 10
02-04 18:10:08.272 3317 1982 I OMX-VDEC-1080P: omx_vdec::component_deinit() complete
02-04 18:10:08.284 3317 1982 I OMX-VDEC-1080P: Exit OMX vdec Destructor: fd=8
02-04 18:10:08.285 3100 3173 I RQBalance-PowerHAL-HALEXT: OMX Decoder hint received.
02-04 18:10:08.285 3100 3173 I RQBalance-PowerHAL-Hints: Setting balanced mode
02-04 18:10:08.302 3317 1982 I OMX-VDEC-1080P: Video slvp perflock released
02-04 18:10:08.318 29973 1320 D SurfaceUtils: disconnecting from surface 0xd8395830, reason disconnectFromSurface
02-04 18:10:08.320 29973 1323 E DroidMediaCodec: error 0x13 stopping codec
02-04 18:10:08.332 29973 1323 W MediaAnalyticsItem: Unable to record: [1:codec:0:-1::0:-1:1:0:15:android.media.mediacodec.codec=OMX.qcom.video.decoder.avc:android.media.mediacodec.mode=video:android.media.mediacodec.secure=0:android.media.mediacodec.profile=65536:android.media.mediacodec.level=512:android.media.mediacodec.encoder=0:android.media.mediacodec.width=832:android.media.mediacodec.height=468:android.media.mediacodec.rotation-degrees=0:android.media.mediacodec.mime=video/avc:android.media.mediacodec.latency.max=736424:android.media.mediacodec.latency.min=157508:android.media.mediacodec.latency.avg=480064:android.media.mediacodec.latency.n=22:android.media.mediacodec.latency.unknown=1:] [forcenew=0]
02-04 18:10:08.334 29973 1323 E BufferQueueConsumer: [DroidMediaCodecBufferQueue] disconnect: no consumer is connected