Hi everyone
I have an old 32" Sony Bravia KDL-32S2530 from about 2007. It's a 1080i/720p set with a panel size quoted as 1366x768 and I've always had issues connecting PCs to the HDMI inputs. The manual recommends connecting computers via VGA but we're almost into 2017 I don't fancy doing that anymore.
The old Windows XP Zotac Ion HTPC (connected by VGA) is finally getting the boot and is being replaced by a Gigabyte Brix, running Xubuntu. I'm a Linux server guy so all this Xorg/desktop fudging is new to me - Xubuntu on laptops just works and I can get on with some work
It boots fine although the BIOS menu is a bit scrambled and it whinges about "no suitable video mode found... booting in blind mode" but eventually XFCE/Unity appears, in perfectly crisp detail.
The issue I have is that the desktop is positioned about 20px off the top left of the visible area of the panel.
All the advice I've read over the past few days has suggested disabling "overscan" on the TV or adjusting the picture scale/alignment in the TV settings. Unfortunately this TV does not have those functions.
I have the desktop resolution set to 1280x720 because the text is much more readable than in 1080i.
The full output from xrandr --verbose can be seen here...
http://pastebin.com/eY3NyAhr
So far I have managed to get the top-left of the screen aligned perfectly using...
Code:
xrandr --output HDMI1 --transform 1.05,0,-30,0,1.05,-18,0,0,1
But I've obviously lost the shifted pixels off the right and bottom sides of the display. What's the best way to solve this?
I have tried using the xrandr --fb option and subtracting (2*30)+(2*18) from 1280x720 and rounding to a multiple of +-8...
Code:
xrandr --output HDMI1 --fb 1216x680 --transform 1.05,0,-30,0,1.05,-18,0,0,1
xrandr: specified screen 1216x680 not large enough for output HDMI1 (1344x756+-30+-18)
And I just get a black border to the right and bottom so my calculations are wrong for the --fb option. But it feels like I'm close.
I'm not sure where the 1344x756 comes from.
Anyone got any suggestions?
For years I have had a Raspberry Pi + openelec running perfectly on this HDMI input, Linux-based, so I know it can work. But I'm sure Openelec/Kodi is using something very different to draw to the screen. In Openelec I was able to manually adjust the screen offset and save the settings to the Pi's config.txt. I booted up Raspbian to check the modeline/xrandr output but it's completely different...
http://pastebin.com/SdM0aQvP
Thanks, B