Fixing HDMI overscan issues on Ubuntu 16.04 and Intel Graphics

Hi,

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 intel-panel-fitter tool.

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.

http://unix.stackexchange.com/questions/293399/how-to-set-hdmi-sound-output-as-default-on-ubuntu-16-04

 

Advertisements
This entry was posted in Linux, Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s