With A20-OLinuXino-MICRO can I control two display: 1024x768 (VGA) and 1920x1080 (HDMI) at the same time?
Despite the sunxi doc says you can, I never been able to control two displays with the olimex A20. I spent many hours trying to tweak the script.fex with many many different values, but all trials were unsuccessfull.
Fabien
Of course you can. But i noticed that VGA display needs to be first one, because otherwise it will not be initialised during boot. I am using two displays, VGA and HDMI without x server, but i am sure that there is way to configure and initialise both displays with x server too.
I have this running on mine.
In my fex:
[disp_init]
disp_init_enable = 1
disp_mode = 2
screen0_output_type = 4
screen0_output_mode = 5
screen1_output_type = 3
screen1_output_mode = 4
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
In my /etc/X11/xorg.conf.d/05-displays.conf:
Section "Device"
Identifier "D_VGA"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
# `man fbturbo` to know more options
Option "AccelMethod" "G2D"
EndSection
Section "Monitor"
Identifier "M_VGA"
EndSection
Section "Screen"
Identifier "S_VGA"
Device "D_VGA"
Monitor "M_VGA"
EndSection
Section "Device"
Identifier "D_HDMI"
Driver "fbturbo"
Option "fbdev" "/dev/fb1"
Option "SwapbuffersWait" "true"
# `man fbturbo` to know more options
Option "AccelMethod" "G2D"
EndSection
Section "Monitor"
Identifier "M_HDMI"
EndSection
Section "Screen"
Identifier "S_HDMI"
Device "D_HDMI"
Monitor "M_HDMI"
EndSection
Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "S_VGA"
Screen 1 "S_HDMI" Above "S_VGA"
EndSection
By the way, I am using Arch. If you're on Debian this file may have to be located somewhere else. Furthermore, you may have to compile fbturbo or switch the devices to use fbdev (which does not use sunxi-specific hardware acceleration).
Hi Marten,
May i ask you a question. I am running Arch also on my A20.
I have output on the HDMI display but i am not able to get my LCD
display running (A13-LCD7 no touch).
I have tried to set the settings according the sunxi fex-guide. Screen0 as LCD
and Screen1 as HDMI, different modes but nothing.
I also tried the script.fex what is supplied with the debian image but nothing.
Any idea what i am missing?
Regards,
johan
Quote from: jpostma on May 19, 2014, 04:50:50 PM
Hi Marten,
May i ask you a question. I am running Arch also on my A20.
I have output on the HDMI display but i am not able to get my LCD
display running (A13-LCD7 no touch).
I have tried to set the settings according the sunxi fex-guide. Screen0 as LCD
and Screen1 as HDMI, different modes but nothing.
I also tried the script.fex what is supplied with the debian image but nothing.
Any idea what i am missing?
Regards,
johan
Hi Johan,
I'm sorry, but I don't think I can help you with that, my system is using the HDMI and VGA connectors. If you didn't get anything at all from the LCD, are you sure it's not broken?
Marten
Hi ! Have you found any solution for TS + HDMI ?