Howto run Linux with resolution other than 1080p
#1
Many people seem to have issues with the fixed 1920x1060@60Hz resolution i ship my U-Boot and Linux images with. Until now you needed to be a developer to change the resultion to anything else.

This has now changed.

I created a tool which can change the resolution. Say hello to sunxi-disp-tool.

I provide a binary package for Ubuntu 16.04 Xenial Xerus (arm64) in my Ubuntu Pine64 Makers PPA.

If you do not run my Ubuntu Xenial image it is now a good time to change that. See the Ubunu 16.04 Xenial Xerus thread for download and instructions.

Other than the tool itself, you need:
- U-Boot v2014.07-4-pine64 or later
- Kernel 3.10.101-0-pine64-longsleep-39 or later

I will eventually release an updated Xenial image which has those - for now update as usual (as root) with:
Code:
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)

Then you can just add the desired resolution to /boot/uEnv.txt (eg. as optargs). By default the sunxi-disp-tool looks for a Kernel parameter called disp.screen0_output_mode to be in line with other sunxi boards.

Quick instructions for 720p60 (1280x720p@60Hz):
Code:
sudo apt-get update && sudo apt-get install sunxi-disp-tool
cat <<EOF | sudo tee -a /boot/uEnv.txt
optargs=disp.screen0_output_mode=720p60
EOF
sudo reboot

For a list of supported resolutions see README.md.

I will work on other distributions as well, but you need to install it manually and integrate it manually into the boot system. I strongly advice to use my Ubuntu image.


Your feedback is most welcome.


Messages In This Thread
Howto run Linux with resolution other than 1080p - by longsleep - 05-07-2016, 06:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 9,070 03-28-2020, 06:20 PM
Last Post: ty1911
  NEMS Linux for Pine A64 (+) Luke 1 5,019 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 8,041 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 47,858 01-28-2019, 11:05 PM
Last Post: necrose99
  Real-time linux kernel Artyom 45 70,805 09-11-2018, 01:08 AM
Last Post: zzwpine
  linux distribution hazerty 3 5,999 04-01-2018, 02:48 PM
Last Post: dkryder
  Linux Web Server OS harcrow 2 5,705 01-30-2018, 10:26 AM
Last Post: Rustproof
  eta linux image?? firosiro 1 3,982 08-03-2017, 10:05 PM
Last Post: pfeerick
  Can I run Alpine Linux on Pine64? douglasmiranda 3 8,233 08-01-2017, 07:20 AM
Last Post: cztian
Music HOWTO: jackd on Pine64 mauritslamers 1 4,037 06-15-2017, 01:21 PM
Last Post: xalius

Forum Jump:


Users browsing this thread: 1 Guest(s)