[SOLVED] Intel NUC 5CPYH HDMI connected to a TV with overscan.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Intel NUC 5CPYH HDMI connected to a TV with overscan.
Intel NUC 5CPYH is replacing a old beige box containing a GeForce 210. I used a feature in the NVIDIA config program to compensate for the TV over-scanning, which there is no way to turn off.
TV panel is 1280x720 and I used that resolution with 1220x686 +30 +16 in one of the nvidia driver options.
TV is a cheap brand you've never heard of and I honestly thought the TV would be in the landfill by now. So I'm stuck with it.
Tried as many suggestions I can find on the web for xrandr with the NUC, not having any joy.
Wondering if anyone has had more luck forcing borders on a desktop.
Last edited by square-eyes; 04-19-2017 at 04:51 PM.
The name of your device might differ, HDMI1, eDP1, ... ... ... And that mode / resolution might not be selectable. Plus nVidia and xrandr might be problematic.
The name of your device might differ, HDMI1, eDP1, ... ... ... And that mode / resolution might not be selectable. Plus nVidia and xrandr might be problematic.
$ xrandr
$ nvidia-xconfig
Trying on NUC5CPYH, which has Intel HD graphics..
Code:
[squareeyes@localhost ~]$ xrandr --output HDMI-0 --mode 1220x686 --set underscan on --set "underscan hborder" 30 --set "underscan vborder" 16
warning: output HDMI-0 not found; ignoring
X Error of failed request: BadRROutput (invalid Output parameter)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 15 (RRGetOutputProperty)
Serial number of failed request: 38
Current serial number in output stream: 38
[squareeyes@localhost ~]$ xrandr --output HDMI2 --mode 1220x686 --set underscan on --set "underscan hborder" 30 --set "underscan vborder" 16
xrandr: cannot find mode 1220x686
[squareeyes@localhost ~]$ xrandr --output HDMI2 --mode 1280x720 --set underscan on --set "underscan hborder" 30 --set "underscan vborder" 16
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 11 (RRQueryOutputProperty)
Serial number of failed request: 39
Current serial number in output stream: 39
I don't seem to have underscan / overscan on my HP Stream 11, also with an intel GPU. If fiddled with my Sanyo display, in theory 42" and 1080p, but it has pretty hideous overscan. In reality, setting a mode of 1776x1000 seems to trigger a native resolution. Although there only seemed to be 1652x929 pixels on screen with an offeset of +62+35 to have your program at the top left.
Not exactly useful unless you operate in a subwindow / Xephyr of 1652x929 and offset at +61+34 if window decoration is only 1px on all sides. But probably not what you or I are going for.
There's a transform thing and it's more human readable --scale --scale-from variant. But that does little more than squeeze 1920x1080 to the native 1366x768 of the laptop LCD. Not really good for much beyond moving watching battleship style. Maybe an once more battery life if the GPU uses less power rendering a 1080p image instead of 768p.
Be sure to have the reverse already in your .bash_history or have your recall / typing accuracy at 100%. Or undoing that one will have little visual assistance. Baring really large fonts. The intel-gpu-tools package seems to have mostly monitoring / debugging stuff, nothing really useful for fiddling with the output signal. I guess your guess is as good as mine at this point. I used to have an ATI visiontek HD 4550 GPU that eventually (after an update) worked out of the box on the old SANYO display/TV. Nothing that I've used on it since has worked well with it though. And I recall the 1776x1000 being every pixel on screen in that moment in time. Mostly it's a headache best avoided, especially since that beast draws 450W's from the wall (in theory).
xrandr --verbose
...
dither: off
supported: off, on
audio: auto
supported: off, on, auto
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
...
I didn't have those underscan options on the intel system.
i know for a fact that the openbox window manager allows one to adjust a margin on all 4 sides of the screen.
maybe a suitable workaround?
Aw man! That's exactly what I need.
This machine I'm typing on now is used for work and is LXDE. I went to the config on the task bar, opened the openbox config and found option tab that sets margins. Wow. I've stared at this desktop for 6 years and have never noticed that. Will try that trick on the NUC since it's a spawn of the same software.
About the closest yet for the hp stream 11 and the early generation Sanyo. By no means native. But pretty good for media files. Derived by a little bit of math and a lot of trial and error. Just good enough at 0.0005 scaling accuracy to hide the dirty edges.
There's intel_panel_fitter, but that's non-functional for my GPU.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.