loboris / OrangePI-Kernel

116 stars 84 forks source link

how to set screen resolution ? #26

Open kscorpio opened 8 years ago

kscorpio commented 8 years ago

I use sunxi-tools to change bin file to fex file and find code like this ( it is a 480p script bin file )

[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 3
screen0_output_mode = 31
screen1_output_type = 3
screen1_output_mode = 31
fb0_format = 0
fb0_width = 0
fb0_height = 0
fb1_format = 0
fb1_width = 0
fb1_height = 0

but screen0_output_mode and screen1_output_mode maybe just support 480 720 or 1080

http://linux-sunxi.org/Fex_Guide#disp_init_configuration

how to set screen resolution to 1360 X 768 / 1024 X 600 with hdmi

kscorpio commented 8 years ago

No matter 480 720 or 1080 bin file in a 1360x768 1024x600 screein will be overscaned at top and left of the desktop