I’ve been having trouble using xrandr with the commands I normally use with AMD and Nvidia cards for overscan.
Those are the ones I normally use:
xrandr --output HDMI-0 --set underscan on
xrandr --output HDMI-0 --set "underscan hborder" 48 --set "underscan vborder" 24
On Intel graphics, I get error messages similar to this, since the commands are not supported.
X Error of failed request: BadName (named color or font does not exist)
I finally found the answer here and got it working with a bit of fiddling.
First, install the
intel-gpu-tools package to acquire the
In my case, the answer was this command:
sudo intel_panel_fitter -p A -x 1848 -y 1030
Note that you will have to change the x and y values for your specific TV/monitor.
The ‘-p A’ part is a bit mystical for me, I’m assuming the “pipes” are the outputs available. (Sadly even the man page isn’t more helpful on that subject)
The man page is located here if you desire more information on this tool.
Once you have found the values for your display, to have the command run automagically on boot (even on login screen!), add your command (less the ‘sudo’ part)
to /etc/rc.local (
sudo nano /etc/rc.local) BEFORE the ‘exit 0’ statement.
I can’t believe I didn’t find that earlier! Let’s fight the audio now…
EDIT: Using those instructions worked for me to force HDMI output, else it always switches back to analog audio.