[Jetpack3.3 R28.2] DSI LCD Screen Port issues

Hi SupportTeam,

We port the DSI LCD Panel driver and it seem work to show ubuntu desktop, But We are face two issuess:

  1. it take long time(about 50 sec) to boot to ubuntu desktop, it is normal with HDMI .
  2. it is only work under grahical.target mode, When change to multi-user.target, Nothing to display on LCD Screen.
    Any ideas to help us to locate rootcause on two issues?

Thanks,
Martin

We don’t have such issue before. Please share the dmesg that can point out the 50 sec delay.

Hi WayneWWW,

Sorry, I provide some wrong information about 50 sec.
Actually, the debug message show there are about two 3 sec between the Bold debug message:
[ 8.427388] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 9.405938] tegradc 15200000.nvdisplay: tegra_dsi_send_panel_cmd n_cmd:193
[ 12.448819] <>[gtp_fb_notifier_callback:670]Resume by fb notifier.
[ 12.448830] <>[gt1x_resume:2271] Resume start…
[ 12.448837] <>[gt1x_wakeup_sleep:981]Wake up begin.
[ 12.516850] <>[gt1x_i2c_test:451] Hardware Info:00901003
[ 12.516857] <>[gt1x_wakeup_sleep:1033] Wake up end.
[ 12.516871] <>[gt1x_resume:2323]Resume end.
[ 12.529446] tegradc 15200000.nvdisplay: unblank
[ 12.529578] <>[gtp_fb_notifier_callback:670]Resume by fb notifier.
[ 12.529582] <>[gt1x_resume:2271] Resume start…

[ 12.596456] CPU1: shutdown
Ubun[ 12.596822] psci: CPU1 killed.
tu 16.04 LTS tegra-ubuntu ttyS0

tegra-ubuntu login: nvidia (automatic login)

[ 12.618574] CPU2: shutdown
[ 12.618937] psci: CPU2 killed.
Last login: Fri May 6 05:40:21 UTC 2016 on ttyS0
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.38-tegra aarch64)

618 packages can be updated.
301 updates are security updates.

nvidia@tegra-ubuntu:~$ [ 14.167361] fuse init (API version 7.23)
[ 16.807070] IPVS: Creating netns size=1424 id=2
[ 16.855543] tegradc 15200000.nvdisplay: blank - powerdown
[ 18.001168] PD DISP1 index3 DOWN
[ 18.001270] PD DISP0 index2 DOWN
[ 18.002066] <>[gtp_fb_notifier_callback:679]Suspend by fb notifier.
[ 18.002069] <>[gt1x_suspend:2201] Suspend start…
[ 18.068430] <>[gt1x_enter_sleep:956] Enter sleep mode!
[ 18.132475] <>[gt1x_suspend:2254] Suspend end…
[ 18.137201] tegradc 15200000.nvdisplay: unblank
[ 18.137215] PD DISP0 index2 UP
[ 18.138234] PD DISP1 index3 UP
[ 18.139972] dsi_s_wuxga_8_0_enable -p----
[ 18.159841] panel enable succedd
[ 18.164460] tegradc 15200000.nvdisplay: calling tegra_dc_dsi_enable…
[ 18.164468] tegradc 15200000.nvdisplay: tegra_dsi_send_panel_cmd n_cmd:193
[ 20.057326] tegradc 15200000.nvdisplay: tegra_dsi_send_panel_cmd n_cmd:193
[ 22.168223] <>[gtp_fb_notifier_callback:670]Resume by fb notifier.
[ 22.168226] <>[gt1x_resume:2271] Resume start…
[ 22.168228] <>[gt1x_wakeup_sleep:981]Wake up begin.
[ 22.232806] <>[gt1x_i2c_test:451] Hardware Info:00901003
[ 22.232810] <>[gt1x_wakeup_sleep:1033] Wake up end.
[ 22.232820] <>[gt1x_resume:2323]Resume end.
[ 22.242610] tegradc 15200000.nvdisplay: unblank
[ 22.242716] <>[gtp_fb_notifier_callback:670]Resume by fb notifier.
[ 22.242720] <>[gt1x_resume:2271] Resume start…
[ 22.729487] IPVS: Creating netns size=1424 id=3

nvidia@tegra-ubuntu:~ nvidia@tegra-ubuntu:~
nvidia@tegra-ubuntu:~$

You can see the above Bold Text, the first is 9.4-12.4 and the second is 16.8-18.0
I just want to know what happen for these long time delay.

Thanks,
Martin

Hi,

A 9 second delay may also happens to my DSI panel too. I guess the ubuntu desktop init is slow.
However, I don’t have DSI panel to test this for now.

Could you check the syslog and see what is done between these two lines?

When you enter to ubutnu desktop, are you able to use “ctrl+alt+f1~6” to see the console?

Yes, I can use “ctrl+alt+f1~6” open console, How to check syslog?
Currently, I just get message by serial output.

syslog is in /var/log/syslog.

Hi WayneWWW,

  I try to understand the TX2 display device framework .
 Currently, in the dts file there are key node name simlar 

“nvdisplay@15200000”
“nvdisplay@15210000” ,
“nvdisplay@15220000”,
dsi,
sor,
sor1,
dpaux@155c0000,
dpaux@15040000 …,
Are there any guide to help me understand data flow relationship on those abstract object ?

Thanks,
Martin

Please read the TX2 TRM on download center.

TX2 support dual display?
I just want to enable dsi and hdmi display, if so, are there a guide on how to config the dts?

Hi,

TX2 supports triple displays.

But sorry that no such guideline. You could search how to enable DSI on this forum.
By default, HDMI is enabled so no need to worry about HDMI at this moment.