This file contains some help related to linux' framebuffer settings
# cat /sys/class/graphics/fb1/modes
U:720x480p-196
U:720x480p-60
D:1920x1080p-50
D:1280x720p-50
D:1920x1080i-50
D:1920x1080i-60
D:720x576p-50
V:1280x1024p-75
V:1024x768p-70
V:1024x768p-60
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-75
V:640x480p-72
V:640x480p-60
D:800x480p-60
With :
- U : undefined
- D : detailed from EDID's timing descriptors
- V : from VESA
echo "D:800x480p-60" > /sys/class/graphics/fb1/mode
The screen can be "virtualy" extended by setting /sys/class/graphics/fb1/virtual_size file. The horizontal (x) virtual size is took in account instead of the physical one, allowing scalling. As unfortunately, I didn't find a way to change, vertical (y) size, OpenFB() takes an optional to 2nd argument to force Y size.