AnsweredAssumed Answered

MX6Q Android KK4.4.2 HDMI issue. "W/imx6.gralloc( 2415): FBIOPAN_DISPLAY failed: Invalid argument"

Question asked by Joseph Lai on Nov 20, 2014

Hello Community,

 

I have HDMI hot plug issue with android 4.4.2 on MX6Q platform. (android_kk4.4.2_1.0.0-ga) Following is my fb settings :

 

video=mxcfb0:dev=ldb,LDB-WXGA,bpp=32 video=mxcfb1:dev=lcd,LCD-XGA,bpp=32 video=mxcfb2:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 fbmem=20M,20M,28M

 

When system bootup, the lvds and lcd displayed correctly. When HDMI plugin. It reported "W/imx6.gralloc( 2415): FBIOPAN_DISPLAY failed: Invalid argument", and blank screen on HDMI. Android desktop keep showing on lvds and lcd . Following are the logs.

 

--------- beginning of /dev/log/main

I/FslHwcomposer( 2415): HDMI Plugin detected

I/FslHwcomposer( 2415): HDMI Gralloc Framebuffer opening.

W/imx6.gralloc( 2415): 32bpp setting of Framebuffer catched!

W/imx6.gralloc( 2415): using (fd=52)

W/imx6.gralloc( 2415): id           = DISP4 BG - DI1

W/imx6.gralloc( 2415): xres         = 1920 px

W/imx6.gralloc( 2415): yres         = 1080 px

W/imx6.gralloc( 2415): xres_virtual = 1920 px

W/imx6.gralloc( 2415): yres_virtual = 3456 px

W/imx6.gralloc( 2415): bpp          = 32

W/imx6.gralloc( 2415): r            =  0:8

W/imx6.gralloc( 2415): g            =  8:8

W/imx6.gralloc( 2415): b            = 16:8

W/imx6.gralloc( 2415): width        = 305 mm (159.895081 dpi)

W/imx6.gralloc( 2415): height       = 171 mm (160.421051 dpi)

W/imx6.gralloc( 2415): refresh rate = 60.00 Hz

W/audio_hw_primary( 2418): open output stream devices 1024, format 1, channels 0, sample_rate 0, flag 1

W/audio_hw_primary( 2418): adev_open_output_stream() HDMI multichannel

W/audio_hw_primary( 2418): out_read_hdmi_channel_masks() card 0 got 2 sup channels

W/audio_hw_primary( 2418): out_read_hdmi_rates() card 0 got 32000 sup rates

W/audio_hw_primary( 2418): out_read_hdmi_rates() card 0 got 44100 sup rates

W/audio_hw_primary( 2418): out_read_hdmi_rates() card 0 got 48000 sup rates

W/audio_hw_primary( 2418): opened out stream...1105940824

I/AudioFlinger( 2418): HAL output buffer size 192 frames, normal mix buffer size 192 frames

I/AudioFlinger( 2418): AudioFlinger's thread 0x41fb2378 ready to run

W/audio_hw_primary( 2418): out get parameters query sup_sampling_rates=, reply sup_sampling_rates=32000|44100|48000

W/audio_hw_primary( 2418): out get parameters query sup_channels=, reply sup_channels=AUDIO_CHANNEL_OUT_STEREO

W/audio_hw_primary( 2418): out_set_parameters closing=true, ret -2, out 1105940824

W/audio_hw_primary( 2418): out_set_parameters exiting=1, ret -2, out 1105940824

--------- beginning of /dev/log/system

V/WiredAccessoryManager( 2824): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=1, DEVPATH=/devices/virtual/switch/hdmi_audio, SEQNUM=2357, ACTION=change, SWITCH_NAME=hdmi_audio, SWITCH_TIME=639830310746}

V/WiredAccessoryManager( 2824): newName=hdmi_audio newState=16 headsetState=16 prev headsetState=0

V/WiredAccessoryManager( 2824): device hdmi_audio connected

W/audio_hw_primary( 2418): adev_close_output_stream...1105940824

W/audio_hw_primary( 2418): out_set_parameters routing=0, ret 1, out 1074919656

I/DisplayManagerService( 2824): Display device added: DisplayDeviceInfo{"HDMI Screen": 1024 x 768, 60.000004 fps, density 227, 227.0 x 227.0 dpi, touch EXTERNAL, rotation 0, type HDMI, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION}

W/imx6.gralloc( 2415): FBIOPAN_DISPLAY failed: Invalid argument

D/SurfaceFlinger( 2415): Screen acquired, type=1 flinger=0x413c8450

W/imx6.gralloc( 2415): FBIOPAN_DISPLAY failed: Invalid argument

I/InputReader( 2824): Reconfiguring input devices.  changes=0x00000004

W/imx6.gralloc( 2415): FBIOPAN_DISPLAY failed: Invalid argument

Outcomes