Jetson TX2 devkit's HDMI output

Hi everyone,
Currently, I am checking HDMI output of Jetson TX2 devkit on JetPack 3.1 — L4T R28.1.
I connect HDMI output with samsung UHD TV (QN55Q7FAM) which support for 3840x2160@60fps. However, I cannot change TX2 devkit’s HDMI output resolution to 3840x2160@60fps; it only can be 3840x2160@30fps.
When I execute command

DISPLAY=:0 xrandr

The result is

4096x2160     30.00 +  29.97    25.00    24.00    23.98
   3840x2160     30.00*   29.97    25.00    24.00    23.98
   1920x1080     60.00    59.95    50.00    30.00    29.97    25.00    24.00    23.98
   1680x1050     59.96
   1600x900      60.00
   1440x900      59.89
   1366x768      59.79
   1280x1024     75.03    60.00
   1280x800      59.81
   1280x720      60.00    59.94    50.00
   1152x864      75.00
   1024x768      75.03    70.07    60.01
   832x624       75.05
   800x600       75.00    72.19    60.32
   720x576       50.00
   720x480       59.94
   720x400       70.04
   640x480       75.00    72.81    67.06    59.94

It means that kernel cannot recognize 3840x2160@60fps of Samsung TV.
How can I solve this problem?

P.S. I check Samsung TV with some other sources and it works well with 3840x2160@60fps

Quang_OpenStack,

Sorry that I didn’t know you are in rel-28.1. Have you tried it on rel-28.2?

Also, please make sure this mode is not a YUV mode or interlaced mode. These modes are rejected.

Hi WayneWWW,
As your suggestion, I install Jetpack 3.2 and test HDMI output.
However 3840x2160@60fps still not work with Samsung TV, the supported resolution is

3840x2160     30.00*+  29.97    25.00    24.00    23.98
   4096x2160     30.00    29.97    25.00    24.00    23.98
   1920x1080     60.00    59.95    50.00    30.00    29.97    25.00    24.00    23.98
   1680x1050     59.96
   1600x900      60.00
   1440x900      59.89
   1366x768      59.79
   1280x1024     75.03    60.00
   1280x800      59.81
   1280x720      60.00    59.94    50.00
   1152x864      75.00
   1024x768      75.03    70.07    60.01
   832x624       75.05
   800x600       75.00    72.19    60.32
   720x576       50.00
   720x480       59.94
   720x400       70.04
   640x480       75.00    72.81    67.06    59.94

Do you have any suggestion?
Thank in advance.

Hi WayneWWW,
I also test Jetpack 3.2 with other TV, LG webOS OLED55B7K, and HDMI output can works with 3840x2160@60fps

1920x1080     60.00*+ 120.00   100.00    59.95    50.00    30.00    29.97    25.00    24.00    23.98
   4096x2160     30.00    29.97    25.00    24.00    23.98
   3840x2160     60.02    30.00    29.97    25.00    24.00    23.98
   1360x768      60.02
   1280x1024     60.00
   1280x720      60.00    59.94    50.00
   1152x864      59.97
   1024x768      60.01
   800x600       60.32
   720x576       50.00
   720x480       59.94
   720x400       70.04
   640x480       59.94    59.94

On Jetpack 3.1 with LG TV, HDMI output does not work with 3840x2160@60fps

4096x2160     30.00*+  29.97    25.00    24.00    23.98
   3840x2160     30.00    29.97    25.00    24.00    23.98
   1920x1080    120.00   100.00    60.00    59.95    50.00    30.00    29.97    25.00    24.00    23.98
   1360x768      60.02
   1280x1024     60.00
   1280x720      60.00    59.94    50.00
   1152x864      59.97
   1024x768      60.01
   800x600       60.32
   720x576       50.00
   720x480       59.94
   720x400       70.04
   640x480       59.94    59.94

Thank

Quang_OpenStack,

So the LG tv is working on rel-28.2 but not rel-28.1 and Samsung one is working neither on 28.1 nor 28.2. Is that correct?

Could you confirm that mode is CEA one and not YUV or interlaced one? Could you share the edid of both display?

Hi WayneWWW,
For your question -> Yes
Currently, LG tv is working on rel-28.2 but not rel-28.1 and Samsung one is working neither on 28.1 nor 28.2.
Additionally, following is edid information by execute

sudo -s
cat /sys/kernel/debug/tegradc.0/edid

Samsung edid rel 28.1/rel 28.2

00 ff ff ff ff ff ff 00 4c 2d e5 0d 00 0e 00 01
 01 1b 01 03 80 79 44 78 0a 23 ad a4 54 4d 99 26
 0f 47 4a bd ef 80 71 4f 81 c0 81 00 81 80 95 00
 a9 c0 b3 00 01 01 04 74 00 30 f2 70 5a 80 b0 58
 8a 00 50 1d 74 00 00 1e 02 3a 80 18 71 38 2d 40
 58 2c 45 00 50 1d 74 00 00 1e 00 00 00 fd 00 18
 4b 0f 51 1e 00 0a 20 20 20 20 20 20 00 00 00 fc
 00 53 41 4d 53 55 4e 47 0a 20 20 20 20 20 01 43
 02 03 40 f0 53 5f 10 1f 04 13 05 14 20 21 22 5d
 5e 62 63 64 07 16 03 12 23 09 07 07 83 01 00 00
 e2 00 0f e3 05 03 01 6e 03 0c 00 20 00 b8 3c 20
 00 80 01 02 03 04 e3 06 0d 01 e5 0e 60 61 65 66
 01 1d 80 d0 72 1c 16 20 10 2c 25 80 50 1d 74 00
 00 9e 66 21 56 aa 51 00 1e 30 46 8f 33 00 50 1d
 74 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 36

I also check mode in dc by “sudo cat /sys/kernel/debug/tegradc.0/mode”:

pclk: 297000000
h_ref_to_sync: 1
v_ref_to_sync: 7
h_sync_width: 88
v_sync_width: 10
h_back_porch: 296
v_back_porch: 72
h_active: 3840
v_active: 2160
h_front_porch: 176
v_front_porch: 8
flags: 0x0
stereo_mode: 0
avi_m: 0x2
vmode: 0x600000

LG TV is not in my place until next week, i will give you edid information later

Please also check the Xorg.0.log after you add debug option to xorg.conf.

ref: https://elinux.org/Jetson_TX2/r28_Display_debug

The attached file is Xorg.0.log on rel-28.2 with Samsung TV
Xorg.0.log (179 KB)

Quang_OpenStack,

If rel-28.2 is woriking good with Samsung TV, can we stick to rel-28.2 and focus only on the problem of LG tv?

Any reason to stay on rel-28.1?

Hi WayneWWW,
Maybe it has some confuse here, rel-28.2 does not work with Samsung.
rel-28.1 does not work with both Samsung and LG TV.
rel-28.2 works with LG TV but it does not work with Samsung which support 3840x2160@60fps.
I may migrate to new version, but if the problem does not fix yet, we are still on trouble.
Thank

Just a note that for me, rel-28.2 is driving a LG 27UK850 monitor over HDMI2 successfully at 3840x2160@60HZ (60fps) as reported by the monitor OSD.

Quang_OpenStack,

Sorry for confusing the monitors. I opened the wrong log in previous comment.
Just checked your edid through online edid parser: http://www.edidreader.com/ and also the xorg.log.

Your 3840x2160@60 on Samsung monitor is a YUV420 mode. L4T on tegra does not support YUV mode currently.

[     9.582] (WW) NVIDIA(GPU-0):   Validating Mode "3840x2160_60":
[     9.582] (WW) NVIDIA(GPU-0):     Mode Sources: NVIDIA Predefined, EDID, CEA
[     9.582] (WW) NVIDIA(GPU-0):     3840 x 2160 @ 60 Hz
[     9.582] (WW) NVIDIA(GPU-0):       Pixel Clock      : 593.82 MHz
[     9.582] (WW) NVIDIA(GPU-0):       HRes, HSyncStart : 3840, 4016
[     9.582] (WW) NVIDIA(GPU-0):       HSyncEnd, HTotal : 4104, 4400
[     9.582] (WW) NVIDIA(GPU-0):       VRes, VSyncStart : 2160, 2168
[     9.582] (WW) NVIDIA(GPU-0):       VSyncEnd, VTotal : 2178, 2250
[     9.582] (WW) NVIDIA(GPU-0):       H/V Polarity     : +/+
[     9.582] (WW) NVIDIA(GPU-0):     Mode is rejected: YUV mode is unsupported. Unable to
[     9.582] (WW) NVIDIA(GPU-0):     construct hardware-specific mode timings
[     9.582] (WW) NVIDIA(GPU-0):     Mode "3840x2160_60" is invalid

Hi WayneWWW,
How about LG TV situation, rel-28.1 did not work but rel-28.2 work well?

Could you share your LG TV edid?

Hi WayneWWW,
This week, LG TV is not in my place so I cannot do experiment. I will give you information about edid on next week.
Thank in advance.

Hi WayneWWW,
Sorry for late repose.
When connect Jetson TX2- rel-28.2 with LG TV, edid is following

00 ff ff ff ff ff ff 00 1e 6d 01 00 01 01 01 01
 01 1b 01 03 80 a0 5a 78 0a ee 91 a3 54 4c 99 26
 0f 50 54 a1 08 00 31 40 45 40 61 40 71 40 81 80
 01 01 01 01 01 01 08 e8 00 30 f2 70 5a 80 b0 58
 8a 00 40 84 63 00 00 1e 02 3a 80 18 71 38 2d 40
 58 2c 45 00 40 84 63 00 00 1e 00 00 00 fd 00 3a
 79 1e 88 3c 00 0a 20 20 20 20 20 20 00 00 00 fc
 00 4c 47 20 54 56 0a 20 20 20 20 20 20 20 01 63
 02 03 57 f1 56 5d 10 1f 04 13 05 14 03 02 12 20
 21 22 15 01 5e 5f 62 63 64 3f 40 2c 09 57 07 15
 07 50 55 07 01 3d 06 c0 6e 03 0c 00 10 00 b8 3c
 20 00 80 01 02 03 04 e2 00 cf e3 05 c0 00 e3 06
 0d 01 e5 0e 60 61 65 66 ee 01 46 d0 00 26 0a 09
 00 ad 52 40 ad 23 0d 66 21 50 b0 51 00 1b 30 40
 70 36 00 40 84 63 00 00 1e 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ab

Quang_OpenStack,

I think LG TV has different problem as your Samsung one. LG TV has 4k mode with non-YUV mode, so the reason your rel-28.1 cannot use may be the same issue as we resolved in another topic

https://devtalk.nvidia.com/default/topic/1003956/jetson-tx2/tx2-not-booting-up-with-hdmi-connected/post/5160211/#5160211

Dear WayneWWW,
I recompile kernel with modification on …/…/display/drivers/video/tegra/dc/hdmi2.0.c. However, it still cannot fix 4K@60fps output problem on LG TV with rel-28.1

Screen 0: minimum 8 x 8, current 4096 x 2160, maximum 32767 x 32767
HDMI-0 connected primary 4096x2160+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   4096x2160     30.00*+  29.97    25.00    24.00    23.98
   3840x2160     30.00    29.97    25.00    24.00    23.98
   1920x1080    120.00   100.00    60.00    59.95    50.00    30.00    29.97    25.00    24.00    23.98
   1360x768      60.02
   1280x1024     60.00
   1280x720      60.00    59.94    50.00
   1152x864      59.97
   1024x768      60.01
   800x600       60.32
   720x576       50.00
   720x480       59.94
   720x400       70.04
   640x480       59.94    59.94

Why you need to use rel-28.1 but not latest build? In fact, the thread I pasted does not resolve all error cases but just a patch for some users.

Dear WayneWWW,
We will move to rel-28.2 later, however with some TV like Samsung, 4K@60fps output did not solve yet.