|
After downloading und installing your ubuntu image I have on both monitors (HDMI and VGA) the same picture.
I converted your orangepi.bin to orangepi.fex and changed the values in disp_init as I did with the bananian image and converted back to orangepi.bin:
[disp_init]
disp_init_enable = 1
disp_mode = 2
screen0_output_type = 4
screen0_output_mode = 10
screen1_output_type = 3
screen1_output_mode = 10
Then I took my old xorg.conf
with the following script:
Section "Device"
Identifier "fbturbo"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSection
Section "Device"
Identifier "FBDEV 0"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
EndSection
Section "Device"
Identifier "FBDEV 1"
Driver "fbturbo"
Option "fbdev" "/dev/fb1"
EndSection
Section "Screen"
Identifier "_VGA_"
Device "FBDEV 0"
Monitor "VGA"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "_HDMI_"
Device "FBDEV 1"
Monitor "HDMI"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Monitor"
Identifier "VGA"
Option "PreferredMode" "1920x1080_60.00"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "HDMI"
Option "PreferredMode" "11920x1080_60.00"
Option "RightOf" "VGA"
Option "DPMS" "true"
EndSection
Section "ServerLayout"
Identifier "Xinerama"
Screen 0 "_VGA_"
Screen 1 "_HDMI_" Leftof "_VGA_"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection
Section "Extensions"
Option "RANDR" "Enable"
EndSection
BUT:
When I want to startx:
There appear a message that in the script something is wrong and the board is not going into xfce.
When I figured out my configuration half a year ago, it was neccessary that in
uEnv.txt
bootargs=console=ttyS0,115200 console=tty0 sunxi_fb_mem_reserve=64 disp.screen0_output_mode=EDID:1280x1024 hdmi.audio=EDID:0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
aload_script=fatload mmc 0 0x43000000 script.bin;
aload_kernel=fatload mmc 0 0x48000000 uImage; bootm 0x48000000;
uenvcmd=run aload_script aload_kernel
the red coloured text has to be added.
I do not find uEnv.txt this in your rom. but I am not sure if this is nessessary.
For me the main problem is in xorg.conf because when I change something he is producing the error message.
It would be great if you can try my scripts and see what the machine is doing.
thank you
|
|