Displays are always in mirror mode

We made a custom board based on TK1. Then we connect board with edp and hdmi. When the system boot up and is in ubuntu desktop. The displays are in mirror mode, even if the display setting is in extension mode.
How can I fix this ?


Xserver log

Hi FrankPCP,

Lets try if xrandr can work.

xrandr --output DVI-0<chagne to your disp1> --left-of DVI-1 <change to your disp2>

Hi WayneWWW,
I try your command and it works.
But if the setting is mirror mode, it will become extension mode too.
Is there a solution useful for mirror mode and extension mode?


Please use

xrandr --output HDMI-0 --auto --output DSI-0 --auto --same-as HDMI-0