1024x600 10" display - how to get proper resolution?

Hello, I have a Banana pi m3, I wrote the latest ubuntu mate 16.04 Xenial image to SD card, it boots, but unfortunately the display mode is not what I want. “fbset” informs me that I always get 1280x720-19 resolution. This resolution skips an inch around the borders so I cannot see what’s going on in the bottom line for example.

My screen is a 10.1 inch HDMI LCD with touchscreen: http://www.waveshare.com/wiki/10.1inch_HDMI_LCD_(H)_(with_case)

The text file /etc/fb.modes does not list the 1024x600 mode which is required. What I tried to do is to follow the docs , let me quote them:

Download the mirror image UBUNTU MATE from the Raspberry website, and add the lines at the end of the file config.txt:

max_usb_current=1 hdmi_group=2 hdmi_mode=87 hdmi_cvt 1024 600 60 6 0 0 0

So that is what I did, but it did not change my screen resolution.

I’m also aware of script.bin and changing it to script.fex, edit the script.fex and back to script.bin, but I’m not quite sure what to edit precisely.

So, did anyone get this display to run in 1024x600 mode on a Banana Pi M3 ? If so, how / what to do ?

Disclaimer: I know Linux very well but I’m not up to date on the ‘latest’ config files, especially not Pi-related.

I think you’ll have to force the resolution to 1024x600 by directly modifying the hard-coded hdmi resolutions in the kernel sources.

I did that (and some other tweaks to adjust the pixel clock to my needs), and it works quite well for a 12801024 resolution. With some minor adjustments, you should get a 1024600 resolution quite easily.

Just modifying the framebuffer resolution in the script.bin / sys_config.fex will not be very useful (and it will just be scaled), as the actual video mode will still be either 720p (1280x720) or 1080p (1920x1080) because you’re using HDMI.