Stuck on INFO: Initial texture | Display window never open - scrcpy is not working

cancel
Showing results for 
Search instead for 
Did you mean: 

Stuck on INFO: Initial texture | Display window never open - scrcpy is not working

530 Views
vinothkumars
Senior Contributor III

Hi All,

Tying scrcpy (got stuck) for Android 9 Automotive with IMX8QM,

From Command Prompt,

PS C:\Downloads\scrcpy-win64-v1.16> .\adb.exe shell wm size 480x640
PS C:\Downloads\scrcpy-win64-v1.16> .\scrcpy.exe
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
C:\Users\emb-vinosek\Downloads\scrcpy-win64-v1.16\scrcpy-s... file pushed, 0 skipped. 30.1 MB/s (33622 bytes in 0.001s)
[server] INFO: Device: freescale MEK-MX8Q (Android 9)
INFO: Renderer: direct3d
INFO: Initial texture: 480x640

 

From Terminal,

D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
D AndroidRuntime: Calling main entry com.genymobile.scrcpy.Server
I scrcpy : Device: freescale MEK-MX8Q (Android 9)
I app_process: Thread[1,tid=2086,Native,Thread*=0xfc28cc214c00,peer=0x12c01de8,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
D MtpDeviceJNI: register_android_mtp_MtpDevice
I app_process: Thread[1,tid=2086,Native,Thread*=0xfc28cc214c00,peer=0x12c01de8,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
I app_process: Thread[1,tid=2086,Native,Thread*=0xfc28cc214c00,peer=0x12c01de8,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
I OMXClient: IOmx service obtained
I OMXMaster: makeComponentInstance(OMX.google.h264.encoder) in omx@1.0-service process
W OMXUtils: do not know color format 0x7f000789 = 2130708361
I ACodec : setupAVCEncoderParameters with [profile: Baseline] [level: Level41]
I ACodec : [OMX.google.h264.encoder] cannot encode color aspects. Ignoring.
I ACodec : [OMX.google.h264.encoder] cannot encode HDR static metadata. Ignoring.
I ACodec : setupVideoEncoder succeeded
W OMXUtils: do not know color format 0x7f000789 = 2130708361
E OMXNodeInstance: getConfig(0xf33160c0:google.h264.encoder, ConfigLatency(0x6f800005)) ERROR: Undefined(0x80001001)
E OMXNodeInstance: getConfig(0xf33160c0:google.h264.encoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
D GraphicBufferSource: setting dataspace: 0x104, acquired=0
D GraphicBufferSource: requesting color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M))
D OpenGLRenderer: Skia GL Pipeline
W AshmemAllocator: ashmem_create_region(12) returning hidl_memory(0xf2458262c100, 12)
W AshmemAllocator: ashmem_create_region(12) returning hidl_memory(0xf2458262c100, 12)
W AshmemAllocator: ashmem_create_region(305280) returning hidl_memory(0xf2458262c100, 305280)
W AshmemAllocator: ashmem_create_region(305280) returning hidl_memory(0xf2458262c100, 305280)
D SoftAVCEnc: Params width 848 height 480 level 41 colorFormat 0
D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
05-06 13:51:16.458 2095 2095 D AndroidRuntime: Calling main entry com.genymobile.scrcpy.CleanUp

 

Will you please tell me what are the things required from kernel, device-fsl or application framework side for scrcpy or vysor

 

Please find log and provide your feedback

 

 

Regards,
Vinothkumar Sekar
0 Kudos
1 Reply

503 Views
vinothkumars
Senior Contributor III

Finally found it is due to audioserver.

Anyone knows how to remove/disable full audio service from android 9 automotive.

Regards,
Vinothkumar Sekar
0 Kudos