How to set screen borders for HDMI output
Is there a way to set the screen borders manually? Right now, when I have it connected to my TV via HDMI, the edges of the screen are cut off. It looks something like this that I found from another question:
Card: AMD Radeon HD 4890 TV: Panasonic th-50px60u
What you are looking at is a"feature called "overscan" (or "zoom" on some TVs). It's the TV itself cutting off the edges!
So, look for a feature called overscan (or zoom) in the setup of the TV, and disable it!
Some history:
Long time ago, when cathode ray tubes - CRTs - were used as television displays, and the images were transferred in an analogue way, it had a technical reason, it was useful.
The TV stations were used to always have a border with nothing important in it.
With pixel matrix displays like LCD, overscan no longer makes sense.
But people are used to have it, and think it's better to have the feature than not have it.
If you want to sell LCD TVs, you have customers asking for it, and because it costs nothing to provide it, you better list that feature in the description.
It will not do any harm, no problem. Except if someone enables it.
My TV also does that. Usually I just run
xrandr --output LVDS1 --primary --auto --output HDMI1 --auto --same-as LVDS1
This fixes the wrong resolution on the monitor, making it a mirror of my laptop.
I have this command conveniently aliased to something I can remember:
alias xrandr-hdmi-mirror="xrandr --output LVDS1 --primary --auto --output HDMI1 --auto --same-as LVDS1"
This way I just run xrandr-hdmi-mirror
whenever I connect my TV.
Of course, you should adjust HDMI1 and/or LVDS1 to your system. Run xrandr
to discover which device you should use.
Updated answer
Since you have only one monitor (your TV) try the following:
Discover the output name of your TV. It is probably
HDMI1
orVGA1
. To do it, runxrandr
then search for the word "connected". For example, if you seeHDM1 connected
, then your TV isHDMI1
.Try doing a
xrandr --output HDMI1 --auto
. See if the resolution gets okay.If not, you'll have to do a
xrandr --output HDMI1 --mode 1024x768
, for example. However, you should replace1024x768
to a resolution that your TV supports. The output ofxrandr
will tell you the available ones.
I had the same problem with my Samsung TV connecting to my laptop via HDMI and found the solution by going to the TV Menu > Picture > Screen Adjustment > chose "screen fit" that fixed it. There you will find other options too but for me the screen fit did the trick and that over scan issue was fixed.
All this time i was thinking it was the display setting on the Ubuntu laptop i needed to fix. Hope This helps other.