How is the kernel command line to display (android) UI on VGA and video playback on HDMI?
I´m using R10.3
with the following command line:
bootargs console=ttymxc0 init=/init androidboot.console=ttymxc0 ip=dhcp gpu_nommu, gpu_memory=64M di1_primary video=mxcdi1fb:BGR24,VGA-XGA vga 1080P30 hdmi
I was able to get UI on both VGA and HDMI:
and I can see HDMI tag on top of both displays:
But when playback will be displayed on VGA and HDMI will become black.
How can I invert it? And get playback on HDMI and UI on VGA?
Thanks in advance,
This will be addressed in the next Adeneo release (ETA: this week), with one limitation: the video will either be played back on the secondary device or on both (never on the primary for the dual display case. Following releases might add more flexibility (see r10.3.1 for SABRE).
Remi Lorriaux - Adeneo Embedded
I'm using R10.4 bsp and enabled dual display feature. I configured vga as primary and hdmi as secondary in bootargs. But I need both UI and video playback in both displays. I need only one display at a time but the display should switch dynamically from vga when hdmi is connected.
How can I configure output through primary only when secondary is not connected and turn off output through primary when secondary is connected?
Looking forward to hear from you,
I´m sure Remi Lorriaux will have a better comment than mine, but let me think out loud.
You could create a udev rule to manager the primary/secondary swapping. Then configure properly the setprop for primary/secondary and for dual display.
I'm sucessful in configuring dual display but the secondary screen is resized. It is mentioned in i.MX_Android_R10.4_User_Guide.html
UI will be output to both the displays if the secondary is connected with i.MX51 BBG board or i.MX53 TABLET. The image in secondary display is resized from the image in the primary display.
In my case the secondary display is hdmi and I need the display in full screen. What will be the possible solution?
Do you need UI to be shown on secondary display? Or it´s only for video output?
In case you is going to show UI, I believe you will need to change the source code. I think kernel can configure different resolution output for each display (I´m not sure regarding your version, but it´s easy to you to double check it), so I think you will only need to adjust something on surface flinger
Actually I need only one display at a time. But I want to switch between vga and hdmi dynamically. ie without rebooting. when I connect hdmi I should get hdmi out and when i remove hdmi and connect vga I want vga out. Is it possible to manage this by turning ON/OFF fb0 and fb1?
I think so. I think it would be a good idea.
You can configure each framebuffer with one resolution (vga X hdmi) and control what would be BLANK or not.
Could you, please test it an let us know the results?
Retrieving data ...