Kodi Community Forum

Full Version: Question about correctly setting Limited Range with a Beamer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
If the beamer can do Limited correctly. There is no need to upscale content. All blurays are Limited Range anyways, you just need to take care that it gets the content in a proper way:

This makes sense:

A) Kodi full range, GPU full range, Beamer Full range, Dithering 8 bit (content is scaled from 16:235 to 0:255)
B) Kodi limited range, GPU full range OR Video ColorRange 16:235 (*), Dithering 8 bit (yes, there is content that is colored quite bad)

(*) Video ColorRange 16:235 is not to be confused with Limited 16:235 which would do an own clamp step which is unwanted.
(2016-01-08, 16:51)fritsch Wrote: [ -> ]Therefore I implemented kernel Video Range 16:235 which signals Limited Range info frame and does not clamp: http://fritsch.fruehberger.net/kernel/

Sorry fritsch - totally missed this update. So the GPU is still running (as far as it is concerned) in 0-255 mode, is fed Limited 16-235 content by Kodi, but the Infoframes are flagged as 16-235?

How is this enabled - will test ASAP on my UHD (and be grateful forever if it works!) :-) (and good to see you in these parts still)
(2016-01-08, 18:55)fritsch Wrote: [ -> ]B) Kodi limited range, GPU full range OR Video ColorRange 16:235 (*), Dithering 8 bit (yes, there is content that is colored quite bad)

How do you set the Video Color Range 16:235 in Kodi ? That's something i haven't found out yet.
It's not a kodi thing - it's a driver thing. As you said you found howto set to Full range with xrandr ... then you are also able to set it to this video mode.
(2016-01-09, 01:10)noggin Wrote: [ -> ]
(2016-01-08, 16:51)fritsch Wrote: [ -> ]Therefore I implemented kernel Video Range 16:235 which signals Limited Range info frame and does not clamp: http://fritsch.fruehberger.net/kernel/

Sorry fritsch - totally missed this update. So the GPU is still running (as far as it is concerned) in 0-255 mode, is fed Limited 16-235 content by Kodi, but the Infoframes are flagged as 16-235?

How is this enabled - will test ASAP on my UHD (and be grateful forever if it works!) :-) (and good to see you in these parts still)

See: http://paste.ubuntu.com/14442070/
Quote: Broadcast RGB: Video 16:235 pass-through
supported: Automatic, Full, Limited 16:235, Video 16:235 pass-through

So with this kernel (linked on the page before http://fritsch.fruehberger.net/kernel/ ), something like:
Code:
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Full"
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Video 16:235 pass-through"
DISPLAY=:0 xrandr --output HDMI1 --off ; DISPLAY=:0 xrandr --output HDMI1 --auto

Will make it work. Use all three commands to be sure in that order. You can experiment a bit with it. My OpenELEC builds and Milhouse's too - do this by default. Everything you need to do is change kodi's Limited Range setting as kernel is already fixed to Video 16:235 pass-through. If your TV is Limited Range - you don't need to change anything obviously.

OE-Code: https://github.com/fritsch/OpenELEC.tv/c...344d8d9e1b

This needs kernel support - without a proper kernel with this patch it won't be available
is that patch and kernel already included in your latest OE build here :

http://fritsch.fruehberger.net/openelec/...r_testing/
?
(2016-01-09, 01:45)DrPepper Wrote: [ -> ]is that patch and kernel already included in your latest OE build here :

http://fritsch.fruehberger.net/openelec/...r_testing/
?

Yes, since > 6 months. As posted in the very first sticky thread in linux forum
@fritsch,

i set my JVC x5000 to Full Range (Auto) and the Colour Range uses only RGB , which i suppose is normal since i have an Intel NUC and it can't do YcYbYr4:4:4 with openelec.

I am also using your latest build version of Openelec from 8th of Jan. and i put this in my autostart.sh :

Code:
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Full"
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Video 16:235 pass-through"
DISPLAY=:0 xrandr --output HDMI1 --off ; DISPLAY=:0 xrandr --output HDMI1 --auto

as well as i leave Limited untouched in Kodi and i set Dithering to ON and 8 bits.

However it seems very strongly that it still doesn't display correctly on the JVC.

How do i notice . when using the Clipping test's from AVS HD 709 , on the btb and wtw i still do have to tune my Brightness and Contrast quite a lot. After Talking to other people with the same Beamer, they do not need to touch Brightness and Contrast at all , while they are not using Openelec with Kodi , respectively they are using a Bluray directly.

is there anywhere else i could look to get a correct display on the Beamer ?

Thanks for your help ,
(2016-01-09, 22:55)DrPepper Wrote: [ -> ]@fritsch,

i set my JVC x5000 to Full Range (Auto) and the Colour Range uses only RGB , which i suppose is normal since i have an Intel NUC and it can't do YcYbYr4:4:4 with openelec.

I am also using your latest build version of Openelec from 8th of Jan. and i put this in my autostart.sh :

Code:
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Full"
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Video 16:235 pass-through"
DISPLAY=:0 xrandr --output HDMI1 --off ; DISPLAY=:0 xrandr --output HDMI1 --auto

as well as i leave Limited untouched in Kodi and i set Dithering to ON and 8 bits.

However it seems very strongly that it still doesn't display correctly on the JVC.

How do i notice . when using the Clipping test's from AVS HD 709 , on the btb and wtw i still do have to tune my Brightness and Contrast quite a lot. After Talking to other people with the same Beamer, they do not need to touch Brightness and Contrast at all , while they are not using Openelec with Kodi , respectively they are using a Bluray directly.

is there anywhere else i could look to get a correct display on the Beamer ?

Thanks for your help ,

You don't need to alter any settings with the OE build. Those commands in autostart are not needed, it is done automatically for intel computers.

My hint: Use what "those people" use they seem to know better.
Quote:My hint: Use what "those people" use they seem to know better.

Has nothing to do with that, i can only say what i can see, and that is that if i use the Testmovies from the AVS HD 709 , the btb and the wtw do not seem correct.

So i am wondering where i make a mistake.

xrandr --verbose gives me this ,no matter if i add the 3 lines or not , so you are correct.

Code:
HDMI1 connected 1920x1080+0+0 (0x48) normal (normal left inverted right x axis y axis) 1600mm x 900mm
    Identifier: 0x44
    Timestamp:  674269693
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:    
    CRTC:       0
    CRTCs:      0 1 2
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter:
    EDID:
        00ffffffffffff0011ee420001010101
        0019010380a05a780a0dc9a057479827
        12484c21080081800101010101010101
        010101010101023a801871382d40582c
        450040846300001e011d007251d01e20
        6e28550040846300001e000000fc0044
        454e4f4e2d41565248440a20000000fd
        00303e0e460f000a202020202020010b
        02034570581f10140513041211161503
        02070601200e230f241d251e26350f7f
        071507503d1ec04d02005706015f7e01
        677e01835f000066030c00250080e305
        0301e20039023a80d072382d40102c45
        8040846300001e011d00bc52d01e20b8
        28554040846300001e011d8018711c16
        20582c250040846300009e000000009b
    aspect ratio: Automatic
        supported: Automatic, 4:3, 16:9
    Broadcast RGB: Video 16:235 pass-through
        supported: Automatic, Full, Limited 16:235, Video 16:235 pass-through
    audio: auto
        supported: force-dvi, off, auto, on
  1920x1080 (0x48) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0xe2) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0xe3) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080i (0xe4) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  60.00Hz
  1920x1080i (0xe5) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  50.00Hz
  1920x1080 (0xe6) 74.250MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  27.00KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  24.00Hz
  1920x1080i (0xe7) 74.176MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  59.94Hz
  1920x1080 (0xe8) 74.176MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  26.97KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  23.98Hz
  2880x576 (0xe9) 108.000MHz -HSync -VSync
        h: width  2880 start 2928 end 3184 total 3456 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  2880x480 (0xea) 108.108MHz -HSync -VSync
        h: width  2880 start 2944 end 3192 total 3432 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  2880x480 (0xeb) 108.000MHz -HSync -VSync
        h: width  2880 start 2944 end 3192 total 3432 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  1280x1024 (0xec) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x720 (0xed) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0xee) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0xef) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1440x576 (0xf0) 54.000MHz -HSync -VSync
        h: width  1440 start 1464 end 1592 total 1728 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  1024x768 (0xf1) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  1440x480 (0xf2) 54.054MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  1440x480 (0xf3) 54.000MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  800x600 (0xf4) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x576 (0xf5) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x576i (0xf6) 13.500MHz -HSync -VSync Interlace
        h: width   720 start  732 end  795 total  864 skew    0 clock  15.62KHz
        v: height  576 start  580 end  586 total  625           clock  50.00Hz
  720x480 (0xf7) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0xf8) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  720x480i (0xf9) 13.514MHz -HSync -VSync Interlace
        h: width   720 start  739 end  801 total  858 skew    0 clock  15.75KHz
        v: height  480 start  488 end  494 total  525           clock  60.00Hz
  720x480i (0xfa) 13.500MHz -HSync -VSync Interlace
        h: width   720 start  739 end  801 total  858 skew    0 clock  15.73KHz
        v: height  480 start  488 end  494 total  525           clock  59.94Hz
  640x480 (0xfb) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0xfc) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

where else could the mistake be made ?



P.S . I am not asking the others, i was just talking to the others, i am asking you ;-)
There is no mistake - everything is fine.
Check those:

a) https://dl.dropboxusercontent.com/u/5572...ipping.mp4
b) https://dl.dropboxusercontent.com/u/5572...ipping.mp4

Kodi Setting: Use Limited Range (should be default)
Video -> Acceleration:
VDPAU: disabled
VAAPI: Enabled
VC1: enabled
Mpeg2: Enabled
Mpeg4: Enabled
Prefer VAAPI-Render-Method: Enabled

If those above do not match. Your Beamer is not limited range.
and the Coulour Range Setting 16-235 in Kodi should be set to OFF and Dithering Enabled and set to 8 bits ?

One more question.

Usually when using an Oppo or so the Colour Range is YbYcYr4:4:4. Is there a difference used to the RGB range now ? or would it be a noticable difference if i used it with windows and changed it to YbYcYr4:4:4 (Just wondering)
It all depends. What is the Beamer setting?

If it's limited range, kodi needs to be set to limited range (Dithering does not harm)
If it's full range, kodi needs to be set to Use Limited Range disabled + Dithering 8 bit

Linux outputs RGB.

Hint: For all reading this. That is only that simple when you are running a kernel with the Video Mode patches, else it's a nightmare.
ok , the Beamer CAN do Full Range. I set it to Limited Range now.

What do you recommend setting the Beamer too ? Beamer Full or Limited Range ?
Pages: 1 2 3 4 5