ayufan-pine64 / android-7.0

DEPRECATED: Main repository with Android 7.0 releases
28 stars 3 forks source link

720p resolution #4

Closed drindrin4 closed 7 years ago

DJFliX commented 7 years ago

What do you mean exactly? Do you want 720p resolution? Is your pine forced into 720p resolution? Or do you have issues with streaming DRM-protected content in a resolution of 720p (and higher)?

drindrin4 commented 7 years ago

I mean hdmi screen resolution. default pine64.org image (andr 5.1) can switch to 720p in terminal. This resolution more situable for this hardware (frezze fallout shelter - for example).

starcrescent commented 7 years ago

I second for 720p resolution. If 4k or 1080p is not supported by screen it should detect automatically and switch to 720p.

drindrin4 commented 7 years ago

that good, but 720p more suitable for this hardware. there may be a terminal command or /etc/init script?

ayufan commented 7 years ago

It is hard to make auto-detect of resolution. Currently the resolution is hardcoded to 1080p. You can freely change that later to be 720p.

drindrin4 commented 7 years ago

change in soorce code?

maumoura commented 7 years ago

Hi, I'd also like to know where exactly can we change the default resolution to be 720p.

I tried changing the uEnv.txt file in the boot partition. I've added disp.screen0_output_mode=720p to the optargs line (separated by a space in the end, leaving the other parameters untouched). I've also tried the more specific 720p50 and 720p60 modes and their numeric values 4 and 5 as described here: https://github.com/longsleep/sunxi-disp-tool, but none of these worked.

I'm not really sure that these parameters also apply to the kernel in question. Anything I'm missing?

ayufan commented 7 years ago

It will be configurable with uEnv.txt

drindrin4 commented 7 years ago

this optargs=enforcing=0 cma=384M no_console_suspend disp.screen0_output_mode=720p or optargs=enforcing=0 cma=384M no_console_suspend disp.screen0_output_mode=720p60 not work

ayufan commented 7 years ago

It will be configurable in 1.8 build.

drindrin4 commented 7 years ago

Thanks