I have 5-inch a 800x480 tft connected to the LVDS connector on a Portwell WADE-8020 mini-ITX embedded system board. I would like to build a XMBC/Kodi box for streming my music from my freenas PC with the tft showing what is been played, I got as fare as this...
sudo xrandr --newmode "800x480_60.00" 29.50 800 824 896 992 480 483 493 500 -hsync +vsync`enter code here
sudo xrandr --addmode LVDS1 800x480_60.00
now that I get the correct resolution, I now have a black band on the top of the screen.
sudo xrandr --output LVDS1 --set "scaling mode" "Full aspect"
However this did not solve the issue, also I know I need to amend the /bin/sh file with this from googling so I don't need to keep doing this at every boot. But I don't know how to as I'm very new to Linux.
#!/bin/sh xrandr --newmode "800x480_60.00" 29.50 800 824 896 992 480 483 493 500 -hsync +vsync xrandr --addmode LVDS1 800x480_60.00