The highest refresh rate Monitor Xavier can support

Hi all, we connect Xavier to a high refresh rate monitor(240Hz) and run a EGL program draw text about 200 FPS.And then we record a video with Sony RX100VI in HFR mode about 1000FPS.We check the video and find that the actual result is about 60FPS.In short the screen updates about every 16.6ms not 4.166ms as expected.We compare Xavier with ASUS ROG notebook and it works fine.So we want to know how to make Xavier HDMI work as expected.Hope your reply or advice.Thanks in advance.


Hi, please refer the Xavier module datasheet in DLC for Xavier HDMI capability.

You cannot just consider the refresh rate. The bottleneck needs to check the overall pclk too.

For example, 4k@60 requires 594Mhz, if you want a double refresh rate, then the pclk requires a double one too. Which xavier cannot support.

Thanks for your reply!
We checked the spec.Xavier HDMI can support 2160p@60,and PCLK is about 594 MHz.The Monitor we used is 1920×1080@240Hz and PCLK is also 594MHz.Right?

 The 480p settings apply to pixel clock resolutions ≤ 54 MHz
 The 720p settings apply to pixel clock resolutions between > 54 MHz to ≤ 111 MHz
 The 1080p settings apply to pixel clock resolutions between > 111 MHz to ≤ 223 MHz
 The 2160p/30 settings apply to pixel clock resolutions between > 223 MHz to ≤ 300 MHz
 The 2160p/60 settings apply to pixel clock resolutions between > 301 MHz to ≤ 600 MHz
Configure the DUT to drive HDMI at the supported resolutions: 480p (27 MHz), 720p (74.25
MHz), 1080p (148.5 MHz), 2160p/30 (297 MHz), or 2160p/60 (594 MHz).

We use xrandr to change settings and the Monitor also detects 240Hz refresh-rate.The kmsg is as follows,

May 30 14:47:09 nvidia-desktop /usr/lib/gdm3/gdm-x-session[11460]: (II) NVIDIA(0): Setting mode “HDMI-0: 1920x1080_240 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
May 30 14:47:09 nvidia-desktop kernel: [242198.834660] tegradc 15200000.nvdisplay: blank - powerdown
May 30 14:47:09 nvidia-desktop kernel: [242198.885437] extcon-disp-state external-connection:disp-state: cable 48 state 0
May 30 14:47:09 nvidia-desktop kernel: [242198.885444] Extcon AUX2(HDMI) disable
May 30 14:47:09 nvidia-desktop kernel: [242198.908517] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
May 30 14:47:09 nvidia-desktop kernel: [242198.909156] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
May 30 14:47:09 nvidia-desktop kernel: [242198.909558] tegradc 15200000.nvdisplay: unblank
May 30 14:47:09 nvidia-desktop kernel: [242198.910371] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
May 30 14:47:09 nvidia-desktop kernel: [242198.910517] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
May 30 14:47:09 nvidia-desktop kernel: [242198.919618] Parent Clock set for DC plld3
May 30 14:47:09 nvidia-desktop kernel: [242198.928204] tegradc 15200000.nvdisplay: hdmi: tmds rate:597780K prod-setting:prod_c_hdmi_300m_600m
May 30 14:47:09 nvidia-desktop kernel: [242198.929985] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
May 30 14:47:09 nvidia-desktop kernel: [242198.929996] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
May 30 14:47:09 nvidia-desktop kernel: [242199.000676] extcon-disp-state external-connection:disp-state: cable 48 state 1
May 30 14:47:09 nvidia-desktop kernel: [242199.000681] Extcon AUX2(HDMI) enable
May 30 14:47:09 nvidia-desktop kernel: [242199.000830] tegradc 15200000.nvdisplay: unblank
May 30 14:47:09 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:47:09 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:47:09 nvidia-desktop unity-settings-[11787]: no xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2 device found: Failed to find output xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2
May 30 14:47:54 nvidia-desktop /usr/lib/gdm3/gdm-x-session[11460]: (–) NVIDIA(GPU-0): AUS ROG PG259QNR (DFP-0): connected
May 30 14:47:54 nvidia-desktop /usr/lib/gdm3/gdm-x-session[11460]: (–) NVIDIA(GPU-0): AUS ROG PG259QNR (DFP-0): External TMDS
May 30 14:48:38 nvidia-desktop /usr/lib/gdm3/gdm-x-session[11460]: (II) NVIDIA(0): Setting mode “HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
May 30 14:48:38 nvidia-desktop kernel: [242287.746110] tegradc 15200000.nvdisplay: blank - powerdown
May 30 14:48:38 nvidia-desktop kernel: [242287.759445] extcon-disp-state external-connection:disp-state: cable 48 state 0
May 30 14:48:38 nvidia-desktop kernel: [242287.759453] Extcon AUX2(HDMI) disable
May 30 14:48:38 nvidia-desktop kernel: [242287.775141] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
May 30 14:48:38 nvidia-desktop kernel: [242287.775779] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
May 30 14:48:38 nvidia-desktop kernel: [242287.776156] tegradc 15200000.nvdisplay: unblank
May 30 14:48:38 nvidia-desktop kernel: [242287.777167] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
May 30 14:48:38 nvidia-desktop kernel: [242287.777465] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
May 30 14:48:38 nvidia-desktop kernel: [242287.786992] Parent Clock set for DC plld3
May 30 14:48:38 nvidia-desktop kernel: [242287.795273] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
May 30 14:48:38 nvidia-desktop kernel: [242287.796642] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
May 30 14:48:38 nvidia-desktop kernel: [242287.796655] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
May 30 14:48:38 nvidia-desktop kernel: [242287.833555] extcon-disp-state external-connection:disp-state: cable 48 state 1
May 30 14:48:38 nvidia-desktop kernel: [242287.833560] Extcon AUX2(HDMI) enable
May 30 14:48:38 nvidia-desktop kernel: [242287.833677] tegradc 15200000.nvdisplay: unblank
May 30 14:48:38 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:48:38 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:48:38 nvidia-desktop unity-settings-[11787]: no xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2 device found: Failed to find output xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2
May 30 14:48:52 nvidia-desktop /usr/lib/gdm3/gdm-x-session[11460]: (II) NVIDIA(0): Setting mode “HDMI-0: 1920x1080_120 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
May 30 14:48:52 nvidia-desktop kernel: [242301.617132] tegradc 15200000.nvdisplay: blank - powerdown
May 30 14:48:52 nvidia-desktop kernel: [242301.680328] extcon-disp-state external-connection:disp-state: cable 48 state 0
May 30 14:48:52 nvidia-desktop kernel: [242301.680334] Extcon AUX2(HDMI) disable
May 30 14:48:52 nvidia-desktop kernel: [242301.704232] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
May 30 14:48:52 nvidia-desktop kernel: [242301.704853] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
May 30 14:48:52 nvidia-desktop kernel: [242301.705247] tegradc 15200000.nvdisplay: unblank
May 30 14:48:52 nvidia-desktop kernel: [242301.707825] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
May 30 14:48:52 nvidia-desktop kernel: [242301.707992] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
May 30 14:48:52 nvidia-desktop kernel: [242301.716649] Parent Clock set for DC plld3
May 30 14:48:52 nvidia-desktop kernel: [242301.725664] tegradc 15200000.nvdisplay: hdmi: tmds rate:297000K prod-setting:prod_c_hdmi_223m_300m
May 30 14:48:52 nvidia-desktop kernel: [242301.727031] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
May 30 14:48:52 nvidia-desktop kernel: [242301.727043] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
May 30 14:48:52 nvidia-desktop kernel: [242301.763018] extcon-disp-state external-connection:disp-state: cable 48 state 1
May 30 14:48:52 nvidia-desktop kernel: [242301.763024] Extcon AUX2(HDMI) enable
May 30 14:48:52 nvidia-desktop kernel: [242301.763192] tegradc 15200000.nvdisplay: unblank
May 30 14:48:52 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:48:52 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:48:52 nvidia-desktop unity-settings-[11787]: no xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2 device found: Failed to find output xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2
May 30 14:49:02 nvidia-desktop /usr/lib/gdm3/gdm-x-session[11460]: (II) NVIDIA(0): Setting mode “HDMI-0: 1920x1080_240 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
May 30 14:49:02 nvidia-desktop kernel: [242312.347445] tegradc 15200000.nvdisplay: blank - powerdown
May 30 14:49:02 nvidia-desktop kernel: [242312.377451] extcon-disp-state external-connection:disp-state: cable 48 state 0
May 30 14:49:02 nvidia-desktop kernel: [242312.377458] Extcon AUX2(HDMI) disable
May 30 14:49:02 nvidia-desktop kernel: [242312.395389] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
May 30 14:49:02 nvidia-desktop kernel: [242312.396614] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
May 30 14:49:02 nvidia-desktop kernel: [242312.397058] tegradc 15200000.nvdisplay: unblank
May 30 14:49:02 nvidia-desktop kernel: [242312.398436] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
May 30 14:49:02 nvidia-desktop kernel: [242312.398623] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
May 30 14:49:02 nvidia-desktop kernel: [242312.407816] Parent Clock set for DC plld3
May 30 14:49:02 nvidia-desktop kernel: [242312.419158] tegradc 15200000.nvdisplay: hdmi: tmds rate:597780K prod-setting:prod_c_hdmi_300m_600m
May 30 14:49:02 nvidia-desktop kernel: [242312.421279] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
May 30 14:49:02 nvidia-desktop kernel: [242312.421291] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
May 30 14:49:02 nvidia-desktop kernel: [242312.494297] extcon-disp-state external-connection:disp-state: cable 48 state 1
May 30 14:49:02 nvidia-desktop kernel: [242312.494304] Extcon AUX2(HDMI) enable
May 30 14:49:02 nvidia-desktop kernel: [242312.494476] tegradc 15200000.nvdisplay: unblank
May 30 14:49:02 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:49:02 nvidia-desktop unity-settings-[11787]: Failed to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file or directory
May 30 14:49:02 nvidia-desktop unity-settings-[11787]: no xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2 device found: Failed to find output xrandr-ASUSTek COMPUTER INC-ROG PG259QNR-#GrMYMxgwAAN2
May 30 14:51:13 nvidia-desktop NetworkManager[5184]: [1653893473.6643] connectivity: (eth4) timed out
May 30 14:51:13 nvidia-desktop NetworkManager[5184]: [1653893473.6647] manager: NetworkManager state is now CONNECTED_SITE
May 30 14:51:13 nvidia-desktop whoopsie[6458]: [14:51:13] offline
May 30 14:51:13 nvidia-desktop dbus-daemon[5057]: [system] Activating via systemd: service name=‘org.freedesktop.nm_dispatcher’ unit=‘dbus-org.freedesktop.nm-dispatcher.service’ requested by ‘:1.10’ (uid=0 pid=5184 comm="/usr/sbin/NetworkManager --no-daemon ")
May 30 14:51:13 nvidia-desktop systemd[1]: Starting Network Manager Script Dispatcher Service…
May 30 14:51:13 nvidia-desktop nm-applet[12040]: gtk_widget_destroy: assertion ‘GTK_IS_WIDGET (widget)’ failed
May 30 14:51:13 nvidia-desktop nm-applet[12040]: gtk_widget_destroy: assertion ‘GTK_IS_WIDGET (widget)’ failed
May 30 14:51:13 nvidia-desktop dbus-daemon[5057]: [system] Successfully activated service ‘org.freedesktop.nm_dispatcher’
May 30 14:51:13 nvidia-desktop systemd[1]: Started Network Manager Script Dispatcher Service.
May 30 14:51:13 nvidia-desktop nm-dispatcher: req:1 ‘connectivity-change’: new request (1 scripts)
May 30 14:51:13 nvidia-desktop nm-dispatcher: req:1 ‘connectivity-change’: start running ordered scripts…
May 30 14:51:13 nvidia-desktop nm-applet[12040]: Can’t set a parent on widget which has a parent

Thanks for your reply!
We use xrandr to change settings and the monitor also detects 240Hz refresh-rate and tmds rate is 597780K.

1920×1080@60Hz: tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m.

1920×1080@120Hz: tegradc 15200000.nvdisplay: hdmi: tmds rate:297000K prod-setting:prod_c_hdmi_223m_300m.

1920×1080@240Hz: nvdisplay: hdmi: tmds rate:597780K prod-setting:prod_c_hdmi_300m_600m.

Please dump the clock tree after you change the rate to 240.

/sys/kernel/debug/bpmp/debug/clk/clk_tree

Also, share the text dmesg log as text file. Please do restart the board. We want to see a clean log.

Thank you very much for the prompt reply.



clk_tree@60Hz.txt (29.8 KB)
clk_tree@240.txt (29.9 KB)
dmesg.txt (108.9 KB)

Just a suggestion. Could you stop sharing info through photos? This really does not help and may not be clear. Sharing text file would be better idea…

Please also share the edid of this monitor.

OK,Thanks for your advice 😄

xrandinfo.txt (1.2 KB)

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 540mm x 300mm
TegraOverlayBlendmode: Opaque
supported: Opaque, SourceAlphaBlend, PremultSourceAlphaBlend
TegraOverlayPriority: 255
range: (0, 255)
EDID:
00ffffffffffff0006b3b625f8530000
0f20010380361e782eee91a3544c9926
0f505421080001010101010101010101
010101010101023a801871382d40582c
45001f2e2100001e000000ff00234772
4d594d78677741414e32000000fd0818
f01e243c010a202020202020000000fc
00524f47205047323539514e520a011b
020338f149101f04130312013f202309
07018301000068030c001000383c006a
d85dc4017880000002f0e305c000e200
6ae6060501635a275a8780a070384d40
302035001f2e2100001a82e980827038
8740082035001f2e2100001a00000000
00000000000000000000000000000000
000000000000000000000000000000ff
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: HDMI
1920x1080 60.00 + 240.12* 143.98 120.00 59.95 50.00 24.00 23.98
1280x720 60.00 59.94 50.00
1024x768 60.01
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.94

Could you also share the clk tree of 143.98 hz, 120hz and 59.95hz?

Also, please tell me whether they can run fine or not.

clk_tree(60-120-144-240).7z (3.7 KB)

It looks like that all of the settings(60Hz\120Hz\144Hz\240Hz) can work fine.But the screen actually still updates about every 16ms when the refresh-rate is 120Hz\144Hz\240Hz.
We test the monitor with ASUS ROG G513Q Notebook.The screen updates about 4ms when the refresh-rate is 240Hz.

hrstegl.tar (620 KB)

We test the monitor with this tool hrstegl.
./hrstegl 5000 render every 5ms with vsync off
./hrstegl -v 5000 render every 5ms with vsync on

Hi,

Per checked with our internal team, we don’t see any error from both your dmesg and clk tree.

1. Enable trace events.
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 1 > /sys/kernel/debug/tracing/events/display/flip_rcvd_syncpt_upd/enable
echo 1 > /sys/kernel/debug/tracing/events/display/sync_wt_ovr_syncpt_upd/enable
echo 1 > /sys/kernel/debug/tracing/events/display/scanout_syncpt_upd/enable
2. Run the test app.
3. Once the test app is done, disable trace events.
echo 0 > /sys/kernel/debug/tracing/tracing_on
echo 0 > /sys/kernel/debug/tracing/events/display/flip_rcvd_syncpt_upd/enable
echo 0 > /sys/kernel/debug/tracing/events/display/sync_wt_ovr_syncpt_upd/enable
echo 0 > /sys/kernel/debug/tracing/events/display/scanout_syncpt_upd/enable
4. Dump out the kernel trace buffer.
cat /sys/kernel/debug/tracing/trace

We want to chekc if the tegradc driver is actually getting flip requests every ~4ms.

Many thanks for your help.We test with hrstegl -v 4000,render every 4ms with vsync on.
trace.txt (1.1 MB)

Sorry, I don’t understand what you wanted to say here. So is there still any problem?

Your app can run render in every 4ms now?

Sorry for the confusing information.The problem is still here.Although app can render every 4ms and the monitor detected 240Hz input,but the screen still updates about every 16ms.

Hi,

Could you use our default sample bubble in below path and share the result? If you install the full jetpack, then there should be this binary.

$ /usr/src/nvidia/graphics_demos/prebuilts/bin/x11/bubble -windowsize X Y -fps

And just want to confirm, is that 16.6ms measured by using timer showing on the monitor as your video shown?