huvi Posted February 6, 2017 Posted February 6, 2017 Hi all, today I tried ubuntu xenial (dev) with kernel 4.9.4 for OrangePi Plus2. seems to work fine, but the screen resolution is 3840x2160. That is cool but a smaller resulution would be better. I tryed to change the screen settings over Settings -> Display, but it is not possible to change the values there. I also tried it with: sudo h3disp, but it is not installed on my system. What is the best way to change the screen res?
Igor Posted February 6, 2017 Posted February 6, 2017 Nothing is missing. https://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output
huvi Posted February 7, 2017 Author Posted February 7, 2017 Hi! I don´t get it done. I can´t reduce the resulution. I modified the /boot/boot.cmd and added the line: # default values setenv load_addr "0x44000000" setenv rootdev "/dev/mmcblk0p1" setenv verbosity "1" setenv console "both" setenv disp_mem_reserves "off" setenv disp_mode "1920x1080p60" setenv video-mode sunxi:1920x1080-24@60,monitor=hdmi,hpd=0,edid=0 setenv rootfstype "ext4" ... Then: $ mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr and reboot But the resulution is still 3840x2160 What am I doing wrong?
Igor Posted February 8, 2017 Posted February 8, 2017 ... setenv video-mode sunxi:1920x1080-24@60,monitor=hdmi,hpd=0,edid=0 setenv rootfstype "ext4" saveenv You need to save uboot environment and it will manifest at second reboot. First saves, second make action. U-boot must have those parameters before reading boot script ...
huvi Posted February 8, 2017 Author Posted February 8, 2017 Ahh, cool! Now it works! Thank you very much. 1
Recommended Posts