Posts by klosz007

    Wheher it is an overkill or not it depends on your needs. Whether you want LibreELEC or Windows, whether you need it just for multimedia playback or for gaming too ?

    Your CPU is way too powerful for LE and you don't really need nVidia for LibreELEC since it only supports VDPAU wchich is not being developed anymore and LE/Kodi support for VDPAU is going to be dropped. VDPAU does not support HEVC 10 bit decoding.

    I have Pentium G5600 (UHD 630) and my colleague has Pentium G4560 (HD 610) - both integrated Intel graphic chips support everything that is needed for LibreELEC, including HEVC 10 bit decoding. We're both content with these platforms.

    Your MB does not have DP so you're locked to 30Hz at 4K (Intel chips do have only HDMI 1.4, maybe one day they'll have HDMI 2.0b or even 2.1).

    If I were you, I would got rid of nVidia (unless you need it for gaming on Windows ?) and replaced MB with one that has HDMI and DP port, then purchase Club3D CAC-1080 DP 1.4 to HDMI 2.0b adapter (this will give you 4K/60Hz). You will have everything that is needed to play back everything under LE 9/Kodi 18, including 10 bit HDR HEVC 4K videos @60Hz (Kodi 18 converts HDR to SDR on the fly but stil cannot passthrough native HDR to TV). That's what I did myself recently - got rid of 1050Ti and replaced MB with theo ne that has DP+HDMI port + purchased CAC-1080.

    One thing that will not work is frame-packed 3D (is Kodi capable of playing back native MVC videos ?) because DP in Intel chips is version 1.2 only and DP 1.2 does not support frame packed 3D (DP 1.4 is needed). To play back frame-packed 3D you may need to move TV connection back to MB's HDMI 1.4 port.

    Today's only painful limitation of Intel graphic chips is lack of native HDMI 2.0a/b. Intel is working on adding HDR support to thier drivers but I wonder how this is going to work since their chips still don't support at least HDMI 2.0a natively.

    Someone asked about CAC-1080. It arrived and does work better than CAC-1070.

    Still some modes are missing but 3840/2160/60Hz is there out of the box, without adding any custom modes.

    And finally all audio passthorugh formats are working under LE ! Even DTS-HD and TrueHD.

    The only downside is that under Windows I'm only getting reduced HDMI range, no matter is set in Intel Windows drivers. So in TV I had to set HDMI range to reduced as well to have correct black level.

    With CAC-1070 both full and reduced worked fine and I was able to get correct black levle on TV by setting TV option to corresponding setting.

    I asked colleague with similar H-series Samsung 4K TV and Pentium G4560 (connected via DP port and my CAC-1070) to provide outputs from xrandr --verbose and was able to add ALL missing modes (4K and "true" 4K, 60Hz, 59,94Hz and 50Hz). Here are the definitions if someone is interested. I guess this can be good for Samsung TV's I guess ?

    Add this to /storage/.config/autostart.sh:

    #!/bin/sh

    xrandr --newmode "3840x2160p60" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 3840x2160p60

    xrandr --newmode "4096x2160p60" 594.00 4096 4184 4272 4400 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 4096x2160p60

    xrandr --newmode "4096x2160p50" 594.00 4096 5064 5152 5280 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 4096x2160p50

    xrandr --newmode "4096x2160p59" 593.41 4096 4184 4272 4400 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 4096x2160p59

    xrandr --newmode "3840x2160p50" 594.00 3840 4896 4984 5280 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 3840x2160p50

    xrandr --newmode "3840x2160p59" 593.41 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 3840x2160p59

    Then reboot. After reboot, all missing modes are visible in Kodi, tested and working fine.

    Still it's an open question why on Coffee Lake UHD 630 graphics I have to add it manually and on Kaby Lake HD 610 it's working out of the box.

    EDID is providing required data but XServer is ignoring some modes. Intel driver bug ?

    I think it's a kind of a bug.

    What xrandr is returning:

    KODI:~ # xrandr

    Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767

    DP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1210mm x 680mm

    1920x1080 60.00 + 50.00 59.94 30.00 25.00 24.00 29.97 23.98

    4096x2160 30.00 25.00 24.00 29.97 23.98

    3840x2160 30.00* 25.00 24.00 29.97 23.98

    1920x1080i 60.00 50.00 59.94

    1680x1050 59.88

    1600x900 60.00

    1280x1024 75.02 60.02

    1440x900 59.90

    1366x768 59.79

    1280x800 59.91

    1152x864 75.00

    1280x720 60.00 50.00 59.94

    1024x768 75.03 70.07 60.00

    832x624 74.55

    800x600 72.19 75.00 60.32

    720x576 50.00

    720x480 60.00 59.94

    640x480 75.00 72.81 66.67 60.00 59.94

    720x400 70.08

    HDMI1 disconnected (normal left inverted right x axis y axis)

    HDMI2 disconnected (normal left inverted right x axis y axis)

    VIRTUAL1 disconnected (normal left inverted right x axis y axis)

    So horizontal resolution of 4096 (my TV does support that but cuts side edges of the picture) and 3840 are indeed limited to 30Hz.


    But let's see this:

    KODI:~ # cat /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1/edid | edid-decode

    Extracted contents:

    header: 00 ff ff ff ff ff ff 00

    serial number: 4c 2d 90 0b 01 00 00 00 02 18

    version: 01 03

    basic params: 80 79 44 78 0a

    chroma info: ee 91 a3 54 4c 99 26 0f 50 54

    established: bd ef 80

    standard: 71 4f 81 c0 81 00 81 80 95 00 a9 c0 b3 00 01 01

    descriptor 1: 02 3a 80 18 71 38 2d 40 58 2c 45 00 50 1d 74 00 00 1e

    descriptor 2: 01 1d 80 d0 72 1c 16 20 10 2c 25 80 50 1d 74 00 00 9e

    descriptor 3: 00 00 00 fd 00 18 4b 0f 79 1e 00 0a 20 20 20 20 20 20

    descriptor 4: 00 00 00 fc 00 53 41 4d 53 55 4e 47 0a 20 20 20 20 20

    extensions: 01

    checksum: a5

    EDID version: 1.3

    Manufacturer: SAM Model b90 Serial Number 1

    Made in week 2 of 2014

    Digital display

    Maximum image size: 121 cm x 68 cm

    Gamma: 2.20

    RGB color display

    First detailed timing is preferred timing

    Display x,y Chromaticity:

    Red: 0.6396, 0.3300

    Green: 0.2998, 0.5996

    Blue: 0.1503, 0.0595

    White: 0.3125, 0.3291

    Established timings supported:

    720x400@70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz

    640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz

    640x480@67Hz 4:3 HorFreq: 35000 Hz Clock: 30.240 MHz

    640x480@72Hz 4:3 HorFreq: 37900 Hz Clock: 31.500 MHz

    640x480@75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz

    800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz

    800x600@72Hz 4:3 HorFreq: 48100 Hz Clock: 50.000 MHz

    800x600@75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz

    832x624@75Hz 4:3 HorFreq: 49726 Hz Clock: 57.284 MHz

    1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz

    1024x768@70Hz 4:3 HorFreq: 56500 Hz Clock: 75.000 MHz

    1024x768@75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz

    1280x1024@75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz

    1152x870@75Hz 192:145 HorFreq: 67500 Hz Clock: 108.000 MHz

    Standard timings supported:

    1152x864@75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz

    1280x720@60Hz 16:9

    1280x800@60Hz 16:10

    1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz

    1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz

    1600x900@60Hz 16:9

    1680x1050@60Hz 16:10 HorFreq: 64700 Hz Clock: 119.000 MHz

    Detailed mode: Clock 148.500 MHz, 1872 mm x 1053 mm

    1920 2008 2052 2200 hborder 0

    1080 1084 1089 1125 vborder 0

    +hsync +vsync

    VertFreq: 60 Hz, HorFreq: 67500 Hz

    Detailed mode: Clock 74.250 MHz, 1872 mm x 1053 mm

    1920 2448 2492 2640 hborder 0

    540 542 547 562 vborder 0

    +hsync +vsync interlaced

    VertFreq: 50 Hz, HorFreq: 28125 Hz

    Monitor ranges (GTF): 24-75Hz V, 15-121kHz H, max dotclock 300MHz

    Monitor name: SAMSUNG

    Has 1 extension blocks

    Checksum: 0xa5 (valid)

    CTA extension block

    Extension version: 3

    94 bytes of CTA data

    Video data block

    VIC 97 3840x2160@60Hz 16:9 HorFreq: 135000 Hz Clock: 594.000 MHz

    VIC 16 1920x1080@60Hz 16:9 HorFreq: 67500 Hz Clock: 148.500 MHz

    VIC 31 1920x1080@50Hz 16:9 HorFreq: 56250 Hz Clock: 148.500 MHz

    VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz

    VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz

    VIC 5 1920x1080i@60Hz 16:9 HorFreq: 33750 Hz Clock: 74.250 MHz

    VIC 20 1920x1080i@50Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz

    VIC 32 1920x1080@24Hz 16:9 HorFreq: 27000 Hz Clock: 74.250 MHz

    VIC 33 1920x1080@25Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz

    VIC 34 1920x1080@30Hz 16:9 HorFreq: 33750 Hz Clock: 74.250 MHz

    VIC 93 3840x2160@24Hz 16:9 HorFreq: 54000 Hz Clock: 297.000 MHz

    VIC 94 3840x2160@25Hz 16:9 HorFreq: 56250 Hz Clock: 297.000 MHz

    VIC 95 3840x2160@30Hz 16:9 HorFreq: 67500 Hz Clock: 297.000 MHz

    VIC 96 3840x2160@50Hz 16:9 HorFreq: 112500 Hz Clock: 594.000 MHz

    VIC 101 4096x2160@50Hz 256:135 HorFreq: 112500 Hz Clock: 594.000 MHz

    VIC 102 4096x2160@60Hz 256:135 HorFreq: 135000 Hz Clock: 594.000 MHz

    VIC 98 4096x2160@24Hz 256:135 HorFreq: 54000 Hz Clock: 297.000 MHz

    VIC 99 4096x2160@25Hz 256:135 HorFreq: 56250 Hz Clock: 297.000 MHz

    VIC 100 4096x2160@30Hz 256:135 HorFreq: 67500 Hz Clock: 297.000 MHz

    VIC 7 1440x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 27.000 MHz

    VIC 22 1440x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 27.000 MHz

    VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz

    VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz

    Audio data block

    Linear PCM, max channels 2

    Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32

    Supported sample sizes (bits): 24 20 16

    Linear PCM, max channels 8

    Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32

    Supported sample sizes (bits): 24 20 16

    AC-3, max channels 6

    Supported sample rates (kHz): 48 44.1 32

    Maximum bit rate: 640 kHz

    DTS, max channels 7

    Supported sample rates (kHz): 96 88.2 48 44.1 32

    Maximum bit rate: 1536 kHz

    One Bit Audio, max channels 6

    Supported sample rates (kHz): 44.1

    Dolby Digital+, max channels 8

    Supported sample rates (kHz): 48 44.1

    MAT (MLP), max channels 8

    Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1

    DTS-HD, max channels 8

    Supported sample rates (kHz): 192 96 48

    Speaker allocation data block

    Speaker map:

    FL/FR - Front Left/Right

    LFE - Low Frequency Effects

    FC - Front Center

    BL/BR - Back Left/Right

    BC - Back Center

    RLC/RRC - Rear Left/Right of Center

    Extended tag: Video capability data block

    YCbCr quantization: No Data (0)

    RGB quantization: No Data (0)

    PT scan behaviour: No Data (0)

    IT scan behaviour: Support both over- and underscan (3)

    CE scan behaviour: Support both over- and underscan (3)

    Vendor-specific data block, OUI 000c03 (HDMI)

    Source physical address 1.1.0.0

    Supports_AI

    DC_36bit

    DC_30bit

    DC_Y444

    Maximum TMDS clock: 300MHz

    Extended HDMI video details:

    3D present

    3D-capable-VIC mask present

    Base EDID image size is in units of 1cm

    HDMI VIC 1 3840x2160@30Hz 16:9 HorFreq: 67500 Hz Clock: 297.000 MHz

    HDMI VIC 2 3840x2160@25Hz 16:9 HorFreq: 56250 Hz Clock: 297.000 MHz

    HDMI VIC 3 3840x2160@24Hz 16:9 HorFreq: 54000 Hz Clock: 297.000 MHz

    HDMI VIC 4 4096x2160@24Hz 256:135 HorFreq: 54000 Hz Clock: 297.000 MHz

    3D: Side-by-side (half, horizontal)

    3D VIC indices: 1 2 3 4 7 8 9

    VIC index 1 supports top-and-bottom

    VIC index 2 supports top-and-bottom

    VIC index 8 supports top-and-bottom

    VIC index 9 supports top-and-bottom

    VIC index 5 supports frame packing

    VIC index 6 supports frame packing

    Vendor-specific data block, OUI c45dd8 (HDMI Forum)

    Version: 1

    Maximum TMDS Character Rate: 600MHz

    SCDC Present

    Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding

    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding

    Extended tag: YCbCr 4:2:0 capability map data block

    VSD Index 0

    VSD Index 13

    VSD Index 14

    VSD Index 15

    Underscans PC formats by default

    Basic audio support

    Supports YCbCr 4:4:4

    Supports YCbCr 4:2:2

    3 native detailed modes

    Detailed mode: Clock 85.500 MHz, 1872 mm x 1053 mm

    1366 1436 1579 1792 hborder 0

    768 771 774 798 vborder 0

    +hsync +vsync

    VertFreq: 59 Hz, HorFreq: 47712 Hz

    Checksum: 0x75 (valid)

    One or more of the timings is out of range of the Monitor Ranges:

    Vertical Freq: 24 - 75 Hz

    Horizontal Freq: 15625 - 135000 Hz

    Maximum Clock: 594.000 MHz


    You can clearly see that 4K is supported by my TV at 50 and 60Hz too. Why is this ignored by xrandr - no idea.

    Long story short I added this to /storage/.config/autostart.sh:

    #!/bin/sh

    xrandr --newmode "3840x2160p60" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync

    xrandr --addmode DP1 3840x2160p60

    And now I can select 60Hz for 4K in Kodi. But this is manual workaround.

    Yes, I'm aware of that too, HDR under LE is not my expectation (at least for now). My TV is 4K non-HDR. My my mkv's are 4K HDR though so I'm more interested in getting HDR to SDR conversion which seems to work in Kodi 18 !?

    And in getting 4K/60Hz.

    If someone wants to see my logs (logging enabled and LE rebooted, then logs sent):

    http://ix.io/1uzg

    CAC-1070 does not sem to handle passthorugh audio to receiver correctly either (under LE8). Under latest firmware 7.55 it's total crap (almost no sound at all), under some older DTS/AC3 work fine but not DTS-HD nor TrueHD. No issues under Windows though... It seems the adapter seems to be more Windows-friendly.

    Hi,

    Club 3D CAC-1070 is DP 1.2+HDMI 2.0 only, so it does not support HDR (2.0a required) or even 3D (DP 1.4 required). But it does the job of 4K/60Hz under Windows, sadly not under LE.

    Previously I was trying AMD's RX 550 which has native HDMI 2.0a (or b, unsure) and again under LE9 4K output was limited to 30 Hz....

    However I realized Club 3D has a newer version of this DP-HDMI adapter called CAC-1080 that supports DP1.4 on input and HDMI 2.0b on output. It's then both 3D and HDR compatible. I ordered it already and going to give it a try.

    But what concerns me is that CAC-1070 in my colleague's HTPC (with Kaby Lake HD610) does give 4K/60Hz output but not with my Coffee Lake/UHD 630.

    Hi,

    CPU/GPU is Pentium Gold G5600 (Coffee Lake with Intel UHD 630 graphics).

    Mainboard: ASUS H370-I (DP and HDMI 1.4 ports), Yamaha AV receiver connecter via DP port through Club 3D CAC-1070 DP to HDMI 2.0 adapter.

    Issue:

    At 4K resolution refresh rate is limited to max. 30Hz only. On Windows using DP port and this P to HDMI adapter I'm getting 4K/60Hz even in 4:4:4 (RGB) mode with no issues.

    I borrowed this adapter to a collegue that has Penttium G4560 (Kaby Lake with HD 610) - he's getting 4K/60Hz with LE 9 (unsure which build though).

    So I guess this is driver limitation in LE 9 on UHD graphics ?

    I decided to make another step. Since my MB for G4560 did only have DVI, I replaced it with another MB that has DP and HDMI 1.4. But I moved forward, that is decided to go with Cofee Lake Pentium G5600 + MB with H370 chipset. I also bought active Club 3D CAC-1070 DP to HDMI 2.0 adapter. I already owned this adapter and tested it with another setup with good results.

    (MBs for Intel with HDMI 2.0 are almost impossible to have. There are like 2 or 3 models in production (doesn't mean they are available to be bought) but all are using onboard DP to HDMI converter since even latest Intel CPUs have only HDMI 1.4. And they very expensive. It's cheaper to go with DP plus that DP to HDMI 2.0 adapter.)

    So with the new setup under Windows 10 everything's working correcty - 4K/60Hz (with DP to HDMI 2.0 adapter), sound over HDMI etc. etc.


    But LE 8 refused to work completely (X Server not starting up at all), probably due to too new 'UHD' 630 graphics (G4560 has just 'HD' 610).

    I upgraded to latest LE 9 alpha then. Now LE is starting up but:

    - at 4K I'm locked downto 30Hz, no matter if I use HDMI output on MB (obvious, HDMI is just 1.4) or DP output with DP to HDMI 2.0 adapter. So same problem as with AMD RX 550 I tried previously.

    - no matter what I do, I have no sound. Doesn't matter whether I use HDMI output or DP with DP to HDMI 2.0 adapter.

    Any advice ?

    I guess Intel UHD still too new for latest alpha of LE 9 ?

    Now I think I'd do better if I stayed with Pentium G4560 and bought 100/200 series MB for it with HDMI/DP output, rather than moving to 300-series chipset and Cofee Lake with newer 'UHD' graphics ?

    Indeed. I just removed nVidia 1050Ti and switched to Intel HD 610 built into G4560. This does work well both under Windows and LE (via VAAPI, even with HEVC 10 bit but as we know still no HDR to SDR conversion in Kodi 17).

    My MB has DVI port only so I had to use DVI to HDMI cable, hence 4K was limited to 30Hz and no multichannel Highres audio possible. Unacceptable for me.

    The problem is 4K/60Hz in Intel. To this day this is natively supported via DP only but MBs with DP port are very rare. And working DP to HDMI 2.0 adapters (most TVs do not have DP ports, mine doesn't) are rare too. I have one at home from Club3D but this doesn't pass TrueHD/DTS Master.

    There are HDMI 2.0 Intel MBs but they use LSPCON chip to convert DP to HDMI 2.0. I'll try to find such MB... No idea why to this day Intel graphics still have no native HDMI 2.0.

    I coludn't get RX 550 to work properly even under latest LE 9 Millhouse build.

    Audio dropouts, incorrect black level, 4K locked to 30Hz. Even under windows it's not as good for multimedia as GTX 1050.

    Decided to return RX 550.

    No idea what is the best and future proof GPU for LE then. nVidia lacking required APIs, only VDPAU which is dead. AMD buggy beyond acceptable level.

    Maybe just integrated Intel ? Buch which Intel CPU supports HDMI 2.0 ?

    FYI, I'm having same problem on Radeon RX 550 on LE 8.90.007. Random audio dropouts in passthrough mode on AV receiver connected via HDMI.

    CPU is Intel G4500, 8GB of RAM.

    AV receiver is Yamaha RX-A850.

    TV is Samsung UE55HU7500.

    Will try to upload logs.

    So I updated to latest LE 9 alpha.

    VAAPI is now working fine, even 10 bit HEVC is hardware-decoded on RX 550. But sound passthrough via HDMI is not stable, there are audio dropouts.

    And I still cannot get 4K/60Hz to work, for 4K 30Hz is the maximum available option. 60Hz only for FHD.

    Moreover I see no option to adjust black levels anywhere (I had this option available with 1050Ti) so picture is too bright. With LibreELEC booted respective "HDMI black level" option in my Samsung TV is locked to 'stanard' level.

    With Windows booted, I can change pixel format in Radeon Settings to various settings but only if I'm at 4K/30Hz. Black level option in my TV is then unlocked to "standard" or "low".

    If I'm at 4K/60Hz in Windows then the only possible setting is YCbCr 4:2:0 (if I recall correctly) and then TV is locked to "standard" black level (like in LE 9). I'm suspecting then that LE 9 is using pixel format that cannot support 4K/60Hz on RX 550.

    I had no such issues with 1050Ti - I could run 4K at 60HZ (both Windows and LE) and I had black level option available in Kodi.

    Hi,

    Having read about future of Kodi and LibreELEC and how bad nVidia is in that respect (no further VDPAU development hence there will not be HEVC 10 bit decoding, no proper DRMPRIME support/no Waytand etc etc), I decided to buy low profile (my HTPC case is low profile) Radeon RX 550 4GB and give it a try under latest LE 8. So far I was using GTX 1050 Ti.

    Two major issues with RX 550:

    - no matter what I do, for 4K resolution I can only select 30Hz refresh. Under Windows on the same HW 60Hz is no problem (whole system is fully HDMI 2.0 capable). I read about enforcing resultuions with xrandr but all I can achieve is black screen at most.

    - with VAAPI enabled, everything is played back as SW decoding, even FHD movies.

    RX 550 is not that new, I thought it should be fully supported under LE 8. Maybe I should give LE 9 alpha a try ?