Rock/display
The cpu of Radxa Rock - RK3188 has two LCD controllers, LCD0 and LCD1. On RR, LCD1 is connected to HDMI and LCD0 is connect to AV out and the LCD0 signal are also exported on the extension header.
There is some sysfs interface exported to control the display related stuff. The following should work on both Android and Linux.
set display scale
root@radxa:# cat /sys/devices/platform/rk-fb/graphics/fb0/scale xscale=95 yscale=95 root@radxa:# echo xscale=100 > /sys/devices/platform/rk-fb/graphics/fb0/scale root@radxa:# echo yscale=100 > /sys/devices/platform/rk-fb/graphics/fb0/scale root@radxa:# cat /sys/devices/platform/rk-fb/graphics/fb0/scale xscale=100 yscale=100
set HDMI output mode
you can see supported output modes by the following commands:
root@radxa:# cat /sys/class/display/display0.HDMI/modes 1920x1080p-60 1920x1080p-50 1280x720p-60 1280x720p-50 720x576p-50 720x480p-60
check out the current display mode
root@radxa:# cat /sys/class/display/display0.HDMI/mode 1280x720p-60
It's 720p@60hz
change the mode to 1080p@60hz
root@radxa:# echo 1920x1080p-60 > /sys/class/display/display0.HDMI/mode
Set HDMI console font
rock@radxa:~$ sudo nano ~/.Xresources
add the following lines:
! Xft settings Xft.dpi: 120 Xft.antialias: true Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight
this does not solve the problems on the console, but:
rock@radxa:~$ sudo dpkg-reconfigure console-setup
hit enter, hit enter, choose the font and hit enter, hit enter, choose size and hit enter switch to console via ctrl+alt+f1 and verify your settings
root@radxa:~# setupcon
find your best solution, I go with TerminusBold 28x14