Intel NUC - Haswell (4th Generation CPU)
(2014-07-21, 16:23)boris blank Wrote: Remember, no two devices have the same color/black level output on your TV, they all need tweaking to some extent.
Hi Boris,

I mostly agree with your post, but the above is incorrect. The NUC (at least using OpenELEC) is very well behaved and will match other (digital) video sources with correct output levels.

There are three variables and if you understand these, finding the right settings should be pretty easy. If you don't want to go into the details, there are two basic setups that should work on any standards compliant TV (and at least one should work on the rest..)

  1. Everything at default. XBMC will output full range, GPU will scale full range signal to limited range and signal to the TV that signal is limited range. This should work on any TV using the standard 1080p modes. Blacker-than-black and whiter-than-white will be clipped and there will be some banding.
  2. Full range output. This is set up using xrandr. XBMC will output full range and GPU will pass it through and signal to the TV that signal is full range. (Some TVs and receivers will happily ignore this and crush blacks and whites.) Blacker-than-black and whiter-than-white will be clipped and there will be some banding. (Banding can be fixed by adding dithering to XBMC, I have a proof of concept patch for this.)

If you just want a setting that works, pick one of the above and use avshd709 to verify. Note that both will clip BtB and WtW (video signal levels below 16 and above 235).

If you want to go a little further, here are the three variables you should consider:
  1. Scaling applied by XBMC. By default XBMC takes the original 16-235 levels and expands them to 0-255. This clips BtB and WtW and introduces banding. To avoid this, XBMC can be set to 16-235 levels and it will pass the video through with BtB and WtW intact.
  2. Scaling applied by GPU. If the output range is set to full, GPU passes the signal through unmodified. If the output range is set to limited, GPU will take the XBMC output and scale 0-255 to 16-235 levels; if XBMC is outputting full range, original levels are restored, but the clipping and banding caused by the previous 16-235 -> 0-255 are not fixed. If the output range is set to auto, limited range will be used for standard video modes.
  3. Signaling to the TV. The GPU sends AVI infoframes along with the video, and they include a bit that specifies the signal level. This bit is set according to the output range set using xrandr.

From these you can see how the two settings I suggested above work (and why they should work on any TV). If your TV ignores the infoframes and assumes limited range, setting XBMC to 16-235 and GPU to full range gives the best quality.

You can also see why setting both XBMC and GPU to limited range gives you incorrect levels.

It is possible to patch the driver to allow untouched output with infoframes telling it is limited range. This should work on all TVs and matches what a standalone player typically does.

While checking the levels, it's important to keep in mind whether the BtB/WtW are passed through the whole chain (XBMC, GPU and whatever other devices may be between your PC and TV - a receiver, signal processor, splitter or anything else). It doesn't matter much for real content, but may cause loss of hair while checking the levels.

edit: Be sure to have XBMC contrast/brightness neutral when looking for the correct settings. No adjustment on the NUC is needed to get correct levels.

(2014-07-21, 17:01)voip-ninja Wrote: Can someone remind me if there is a way to send the test pattern to the OpenElec display through the shell? I recall there was a way to do that but can't remember it now.
Why not download the mp4 version of avshd709 and play the files with XBMC as you would any other video files? This gives you the exact same video path that you're trying to verify.
Reply


Messages In This Thread
Haswell NUC + XBMC - by solamnic - 2013-10-28, 08:14
RE: Haswell NUC + XBMC - by joelbaby - 2013-10-28, 12:32
RE: Haswell NUC + XBMC - by sheva7 - 2013-10-28, 15:11
RE: Haswell NUC + XBMC - by mgmcube - 2013-10-28, 16:21
RE: Haswell NUC + XBMC - by cecemf - 2013-10-28, 17:21
RE: Haswell NUC + XBMC - by floydje07 - 2013-10-28, 17:56
RE: Haswell NUC + XBMC - by joelbaby - 2013-10-29, 04:09
RE: Haswell NUC + XBMC - by floydje07 - 2013-10-29, 09:42
RE: Haswell NUC + XBMC - by mgmcube - 2013-10-29, 08:55
RE: Haswell NUC + XBMC - by zag - 2013-10-28, 19:37
RE: Haswell NUC + XBMC - by cecemf - 2013-10-30, 13:19
RE: Haswell NUC + XBMC - by voip-ninja - 2013-10-28, 23:58
Haswell NUC + XBMC - by solamnic - 2013-10-29, 11:29
RE: Haswell NUC + XBMC - by joelbaby - 2013-10-29, 13:20
RE: Haswell NUC + XBMC - by Acrobat76 - 2013-10-29, 15:11
RE: Haswell NUC + XBMC - by sheva7 - 2013-10-29, 15:14
RE: Haswell NUC + XBMC - by sheva7 - 2013-10-29, 15:02
RE: Haswell NUC + XBMC - by joelbaby - 2013-10-29, 16:01
RE: Haswell NUC + XBMC - by Camlann - 2013-10-29, 16:38
RE: Haswell NUC + XBMC - by mgmcube - 2013-10-29, 17:45
RE: Haswell NUC + XBMC - by Camlann - 2013-10-29, 19:18
RE: Haswell NUC + XBMC - by zag - 2013-10-29, 17:06
RE: Haswell NUC + XBMC - by voip-ninja - 2013-10-29, 21:28
RE: Haswell NUC + XBMC - by solamnic - 2013-10-29, 17:28
RE: Haswell NUC + XBMC - by Camlann - 2013-10-29, 17:42
RE: Haswell NUC + XBMC - by zag - 2013-10-29, 18:15
RE: Haswell NUC + XBMC - by solamnic - 2013-10-29, 20:45
RE: Haswell NUC + XBMC - by tutu - 2013-10-29, 23:00
RE: Haswell NUC + XBMC - by mattchapman - 2013-10-29, 23:12
RE: Haswell NUC + XBMC - by voip-ninja - 2013-10-29, 23:26
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-29, 23:29
RE: Haswell NUC + XBMC - by solamnic - 2013-10-29, 23:43
RE: Haswell NUC + XBMC - by cecemf - 2013-10-30, 14:04
RE: Haswell NUC + XBMC - by Budwyzer - 2013-10-29, 23:46
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-30, 00:31
RE: Haswell NUC + XBMC - by floydje07 - 2013-10-30, 11:44
RE: Haswell NUC + XBMC - by Camlann - 2013-10-30, 11:55
RE: Haswell NUC + XBMC - by solamnic - 2013-10-30, 13:23
RE: Haswell NUC + XBMC - by sheva7 - 2013-10-30, 14:51
RE: Haswell NUC + XBMC - by cecemf - 2013-10-30, 14:55
RE: Haswell NUC + XBMC - by solamnic - 2013-10-30, 14:54
RE: Haswell NUC + XBMC - by sheva7 - 2013-10-30, 15:24
RE: Haswell NUC + XBMC - by 00b5 - 2013-10-30, 15:32
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-30, 15:49
RE: Haswell NUC + XBMC - by tutu - 2013-10-30, 22:20
RE: Haswell NUC + XBMC - by husky55 - 2013-10-31, 18:02
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-31, 18:10
RE: Haswell NUC + XBMC - by husky55 - 2013-10-31, 20:11
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-31, 20:38
RE: Haswell NUC + XBMC - by Camlann - 2013-11-01, 10:18
RE: Haswell NUC + XBMC - by husky55 - 2013-10-31, 20:53
RE: Haswell NUC + XBMC - by solamnic - 2013-10-31, 21:13
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-31, 21:13
RE: Haswell NUC + XBMC - by MrCrispy - 2013-10-31, 21:17
RE: Haswell NUC + XBMC - by Platypus2 - 2013-10-31, 21:52
RE: Haswell NUC + XBMC - by cecemf - 2013-11-01, 14:28
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-01, 16:43
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-01, 17:32
RE: Haswell NUC + XBMC - by cecemf - 2013-11-02, 13:22
RE: Haswell NUC + XBMC - by Camlann - 2013-11-01, 19:39
RE: Haswell NUC + XBMC - by mgmcube - 2013-11-02, 03:58
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-02, 04:03
RE: Haswell NUC + XBMC - by joelbaby - 2013-11-02, 05:55
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-02, 11:59
RE: Haswell NUC + XBMC - by joelbaby - 2013-11-02, 15:30
RE: Haswell NUC + XBMC - by mushoss - 2013-11-02, 19:06
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-02, 15:57
RE: Haswell NUC + XBMC - by tesona1977 - 2013-11-02, 17:41
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-02, 20:18
RE: Haswell NUC + XBMC - by mushoss - 2013-11-02, 20:42
RE: Haswell NUC + XBMC - by mushoss - 2013-11-02, 21:20
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-03, 01:42
RE: Haswell NUC + XBMC - by detroitjb - 2013-11-02, 20:30
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-02, 20:40
RE: Haswell NUC + XBMC - by Selene - 2013-11-04, 19:11
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-04, 23:48
RE: Haswell NUC + XBMC - by solamnic - 2013-11-05, 00:15
RE: Haswell NUC + XBMC - by Selene - 2013-11-05, 06:54
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-05, 16:39
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-05, 17:53
RE: Haswell NUC + XBMC - by Selene - 2013-11-05, 18:16
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-05, 18:28
RE: Haswell NUC + XBMC - by Selene - 2013-11-05, 18:57
RE: Haswell NUC + XBMC - by Javlin - 2013-11-03, 07:26
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-03, 21:30
RE: Haswell NUC + XBMC - by ChopD - 2013-11-04, 01:18
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-04, 01:21
RE: Haswell NUC + XBMC - by ChopD - 2013-11-04, 14:18
RE: Haswell NUC + XBMC - by Javlin - 2013-11-04, 07:07
RE: Haswell NUC + XBMC - by jinkyjim - 2013-11-04, 12:58
AW: RE: Haswell NUC + XBMC - by disrupted - 2013-11-05, 00:32
Haswell NUC + XBMC - by solamnic - 2013-11-05, 09:30
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-05, 22:34
RE: Haswell NUC + XBMC - by Selene - 2013-11-05, 22:39
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-05, 23:03
RE: Haswell NUC + XBMC - by Selene - 2013-11-06, 00:38
RE: Haswell NUC + XBMC - by Platypus2 - 2013-11-06, 01:25
RE: Haswell NUC + XBMC - by cecemf - 2013-11-06, 13:35
RE: Haswell NUC + XBMC - by Selene - 2013-11-06, 01:28
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-06, 17:07
RE: Haswell NUC + XBMC - by zag - 2013-11-06, 00:20
RE: Haswell NUC + XBMC - by solamnic - 2013-11-06, 00:33
RE: Haswell NUC + XBMC - by Selene - 2013-11-06, 19:32
RE: Haswell NUC + XBMC - by cecemf - 2013-11-06, 19:36
RE: Haswell NUC + XBMC - by voip-ninja - 2013-11-06, 19:50
RE: Haswell NUC + XBMC - by renhack - 2013-11-06, 23:16
RE: Haswell NUC + XBMC - by NudistPenguin - 2013-11-07, 02:56
RE: Haswell NUC + XBMC - by Selene - 2013-11-07, 03:42
RE: Haswell NUC + XBMC - by cecemf - 2013-11-07, 09:43
RE: Haswell NUC + XBMC - by cecemf - 2013-11-07, 11:11
RE: Haswell NUC + XBMC - by zag - 2013-11-07, 11:29
RE: Haswell NUC + XBMC - by cecemf - 2013-11-07, 11:43
MCEUSB ir receiver on nuc? - by alexgsz - 2013-12-22, 15:19
RE: memory - by nc88keyz - 2014-02-24, 23:52
Help with IRC on Haswell - by Pandysan - 2014-03-05, 22:49
Feedback - by chrissitoelle - 2014-04-27, 19:18
Re: RE: - by nickr - 2014-05-04, 01:25
RE: Intel NUC - HTPC (Haswell Late 2013 edition) - by lmyllari - 2014-07-21, 17:23