Custom display settings

From SpinetiX Support Wiki

Jump to: navigation, search

This page is related to the Control Center interface. Applies to: HMP350, HMP200, HMP130, HMP100.

Introduction

Custom display settings are useful for configuring custom resolutions for non-standard screens connected to HMP350, HMP200, HMP130, or HMP100 devices. When setting a custom mode, some limits apply. If the content appears stretched, then see the troubleshooting section below.

For configuring common resolutions, see:

Custom configuration

Display settings for custom configuration on HMP350
Display Settings > Display tab > Configuration: Custom on HMP200

In case your screen is using a non-standard resolution, you can set the HMP to output a custom video mode:

  1. Set the "Configuration type" option to "Custom".
  2. Set the "Custom video mode" field to your custom video mode (video timings) - can be written as Fixed Mode or CVT Mode, as detailed below.
  3. If available, click the "Check" button to verify the validity of the custom video mode.
  4. Click the "Apply" button to set the player resolution to the provided video mode.

Fixed Mode

For a fixed mode, completely specified by the user, use the following format:

width height refresh LM RM UM BM HS VS HPVP p
  • width, height = the number of pixels (e.g. 1920, 1280, 1080, 720 etc.).
  • refresh = the vertical refresh rate (24, 25, 30, 50, 60)
  • LM = left-margin, number of pixel clocks between the horizontal sync end and the first active pixel, decimal integer; in VESA standards this is known as the horizontal back porch.
  • RM = right-margin, number of pixel clocks between the last active pixel and the end of the video line; decimal integer; in VESA standard this is known as the horizontal front porch.
  • UM = upper-margin, number of video lines between the vertical sync end and the first active line; decimal integer; in VESA standard this is known as the vertical back porch.
  • BM = bottom-margin, number of video lines between the last active line and the end of the video frame; decimal integer; in VESA standard this is known as the vertical front porch.
  • HS = horizontal sync duration in pixel clocks.
  • VS = vertical sync duration in video lines.
  • HP = horizontal sync polarity, either the + or - character (ie high or low active, respectively).
  • VP = Vertical sync polarity, either the + or - character (ie high or low active, respectively).
  • p = scan type, which is always "p" since the HMP video output is always progressive.
Note Note:
There is no space between the HP and VP characters used for the sync.

Here are some examples of such custom video modes:

  • For 1920 x 810 pixels @ 60Hz, use this: 1920 810 60 80 48 10 3 32 10 +- p
  • For 1920 x 540 pixels @ 60Hz, use this: 1920 540 60 80 48 6 3 32 10 +- p
  • For 1920 x 540 pixels @ 50Hz, use this: 1920 540 50 80 48 6 3 32 10 +- p
  • For 1920 x 300 pixels @ 60Hz, use this: 1920 300 60 80 48 6 3 32 10 +- p
  • For 1344 x 840 pixels @ 60Hz, use this: 1344 840 60 80 48 15 3 32 6 +- p
  • For 1344 x 576 pixels @ 50Hz, use this: 1344 576 50 80 48 6 3 32 10 +- p

CVT Mode

Applies to: HMP200, HMP130, HMP100.

CVT mode is a simplified version of the fixed mode. To specify a CVT mode (VESA Coordinated Video Timings), use the following format:

width height refresh type p
  • width, height = the number of pixels (e.g. 1920, 1280, 1080, 720 etc.).
  • refresh = the vertical refresh rate (24, 25, 30, 50, 60)
  • type = CVT type, can be one of the following:
    • "cvt-R" for CVT with "reduced blanking", normally OK with LCD or plasma displays
    • "cvt" for CVT compatible with CRT displays, which need longer blanking intervals
    • "cvt-Rm" is like "cvt-R" but with extra margin on the blanking intervals, to try if "cvt-R" does not work well
    • "cvt-m" is like "cvt" but with extra margin on the blanking intervals
  • p = scan type, which is always "p" since the HMP video output is always progressive.

For instance, the string to select 1024x768 @ 60 Hz for LCD panels with automatic aspect ratio is: 1024 768 60 cvt-R p.

The CVT mode is currently not available on HMP350, so only the "Fixed Mode" video timings can be used. The most common CVT modes were translated into fixed mode below - for other video timings, contact SpinetiX Support.

  • For "1280 720 50 cvt-R p", use this: 1280 720 50 80 48 9 3 32 5 +- p
  • For "1280 720 60 cvt-R p", use this: 1280 720 60 80 48 13 3 32 5 +- p
  • For "1920 1080 50 cvt-R p", use this: 1920 1080 50 80 48 18 3 32 5 +- p
  • For "1920 1080 60 cvt-R p", use this: 1920 1080 60 80 48 23 3 32 5 +- p

Limits

When setting a custom video mode on the HMP, the following limits apply:

  1. The Pixel Clock Frequency (PCF) can be between 13.5 MHz and 165 MHz for HMP350 and HMP200, respectively 13.5 MHz and 75 MHz for HMP130 and HMP100.
    • To calculate the pixel clock frequency (PCF) of a custom video mode, use the following formula:
      PCF = refresh * ( width + LM + RM + HS ) * ( height + UM + BM + VS ) / 1000000
    • You can also use the cvt linux command to calculate the PCF when having only width, height and refresh.
  2. The maximum values for active width (e.g. width), horizontal blanking (e.g. LM + RM) and total height (e.g. height + UM + BM) are 2047.
  3. For HMP200, there is an additional limit of active pixels (e.g. width * height) of 2 073 600 pixels.

Low resolution

In case of low resolutions, the first thing to try is to use a standard resolution (for instance 640x480) and see if the screen accepts that resolution and displays just a part of the entire image (i.e. the image is trimmed). If so, you can create a regular project and simply put your content only in a small area (with a size equal to the size of the resolution) positioned on the top-left corner.

Otherwise, the corresponding small resolution needs to be set on the HMP, which is not a straightforward process since very often the minimum PCF limit is not reached in such cases. The solution is to artificially increase the PCF past 13.5 MHz limit by increasing the blanking intervals (we recommend increasing only <RM>, <BM> and <HS>). Note that the display may or may not support such artificially large blanking intervals.

Here are some examples of such custom video modes:

  • For 504 x 288 at 60Hz, use this: 504 288 60 56 80 3 30 48 10 -+ p
  • For 480 x 160 at 60Hz, use this: 480 160 60 56 384 3 72 80 10 -+ p
  • For 320 x 160 at 60Hz, use this: 320 160 60 40 320 3 120 96 10 -+ p
  • For 768 x 48 at 60Hz, use this: 768 48 60 96 576 3 72 288 10 -+ p
  • For 192 x 96 at 60Hz, use this: 192 96 60 24 480 3 180 128 10 -+ p
  • For 192 x 288 at 60Hz, use this: 192 288 60 24 192 6 287 48 10 -+ p
  • For 288 x 240 at 60Hz, use this: 288 240 60 32 280 3 105 48 10 -+ p
  • For 240 x 160 at 60Hz, use this: 240 160 60 24 416 3 156 16 10 -+ p

Troubleshooting

  • If the content appears stretched on the screen, the preserveAspectRatio attribute must be set to "none", as following:
    1. Open the main index.svg file of the project.
    2. Select the XML Tree view within the Edit panel.
    3. Right-click on the svg element and select "Add Attribute".
    4. Set the attribute name to preserveAspectRatio and its value to none. (i.e. preserveAspectRatio="none")
    5. Save and re-publish the project.
    Alternatively, this attribute can be set at run-time using jSignage code:
if (SERIAL_NUMBER!=='[not defined]') {
    $('svg').attr( 'preserveAspectRatio', 'none');
}
  • If the content displayed on the screen is partially truncated, then it's a problem of overscan.
  • Ultra-stretched resolutions, like 3840x600 (native to LG 86BH5C screen model) are above the player limit - to drive such a screen, you can set a lower resolution on the player, that will be scaled up by the screen - for instance 1920 x 300 @ 60Hz (video mode: 1920 300 60 80 48 6 3 32 10 +- p).
This page was last modified on 12 December 2018, at 12:35.