Hi,
we're running Android 4.4.3_2.0.0-ga on a custom imx6dl board with two displays. I'm having a issue at boot where hwcomposer_viv crashes when trying to initialize the framebuffers. I only want hwcomposer_viv to look at the first framebuffer fb0, and skip the other one (in this case fb2). Is there any way this can be done?
If I rename the /dev/graphics/fb2 to something else it works fine, but that's a rather crude workaround.
I assume that the source for hwcomposer_viv is not available (?) so it's rather hard to debug.
Any ideas?
regards,
Emil
Hi Emil,
In order to change the fb check you environment variables if your kernel get video=mxcfbx:off" with x = 1, 2.
There is no source code since hwcomposer is part of the GPU vivante driver ans it is provided just in binary form.
Are you able tor reproduced this issue with the SabreSD?
regards
Hi,
I still believe it is a bug in the vivante hwcomposer since it tries to init all framebuffers matching "/dev/graphics/fb*" by name. But I resolved this by adding a simple rename of the device in our driver for the secondary display so that it ends up being named /dev/graphics/other_display.
I did something like this:
kobject_rename(dev->kobj, "other_display");
Apparently this workaround works for hwcomposer_viv, but when using hwcomposer_fsl (from lollipop) this do no longer work. So still an issue...