No HDMI Signal 2

Hello experts,

Same problems as avdilab. Trying to get through “getting started”. After installing “TorizonCore with evaluation containers” 4.0.0-devel-202007+build.17.container (2020-07-01) via the TEZI 2.0b5. I expected the Portainer screen to appear on HDMI but it did not. I subsequently tried installing “TorizonCore with evaluation containers” 4.0.0-devel-202007+build.17.container (2020-07-01) via the TEZI 2.0b4 and it likewise did not show Portainer on HDMI. In both cases I was able to log on via console bot over SSH and serial port using PUTTY .I also then tried to install “Qt for Device Creation Demo Image” Qt 5.15.0 (2020-05-15) via TEZI 2.0b4. I expected HDMI output on it as well. I did not get any.

Alex.tx on Toradex community had me flash the Toradex Easy Install 2.0b6 and then the “TorizonCore with evaluation containers” 4.0.0-devel-202007+build.17.container (2020-07-01) via the TEZI 2.0b6. That likewise did not get any HDMI video but I was able to logon via SSH or serial port. Alex.tx says he has 3 boards that work doing this. Since the image was installed successfully (that was never the problem) he closed the case and suggested opening one under Torizon. Here it is. I have tried 3 different monitors, two different cables both with and without the DVI-D adapter. Note the HDMI works fine to display the TEZI.

The Bootup text:
U-Boot 2018.03-4.0.0-devel+git.548a7dcc2424 (Jan 01 1970 - 00:00:00 +0000)

CPU:   Freescale i.MX8QM revB A53 at 1200 MHz at 61C
DRAM:  4 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT V1.0B, Serial# 06506323

BuildInfo:
  - SCFW b929edfe, SECO-FW 27167ff2, IMX-MKIMAGE d7f9440d, ATF bb209a0
  - U-Boot 2018.03-4.0.0-devel+git.548a7dcc2424

switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0
Net:   eth0: ethernet@5b040000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
MMC: no card present
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3008 bytes read in 7 ms (418.9 KiB/s)
## Executing script at 86000000
569 bytes read in 43 ms (12.7 KiB/s)
Loading HDMI firmware...
106496 bytes read in 8 ms (12.7 MiB/s)
Loading hdp firmware from 0x0000000080280000 offset 0x0000000000002000
Loading hdp firmware Complete
147249 bytes read in 55 ms (2.6 MiB/s)
14 bytes read in 5 ms (2 KiB/s)
21570048 bytes read in 306 ms (67.2 MiB/s)
9914381 bytes read in 169 ms (55.9 MiB/s)
## Flattened Device Tree blob at 84000000
   Booting using the fdt blob at 0x84000000
   reserving fdt memory region: addr=84000000 size=44000
   Loading Device Tree to 00000000fd62c000, end 00000000fd672fff ... OK
/dma-controller@5a1f0000, 77012
/dma-controller@591F0000, 77968
/dma-controller@591F0000, 77968
/dma-controller@599F0000, 79028

Starting kernel ...

[    0.359964] clk: couldn't set hdmi_lis_ipg_clk clk rate to 100000000 (-22), current rate: 0
[    0.486018] dmi: Firmware registration failed.
[    1.010910] imx6q-pcie 5f000000.pcie: pcie_ext clock source missing or invalid
[    1.013201] imx6q-pcie 5f010000.pcie: pcie_ext clock source missing or invalid
[    1.076514] Can't support > 32 bit dma.
[    1.161406] i.mx8-hdp 56268000.hdmi: invalid resource
[    2.952076] Can't support > 32 bit dma.
[    2.993468] Can't support > 32 bit dma.
[    3.111856] ov5640_mipi_v3 5-003c: Read reg error: reg=300a
[    3.869931] imx6q-pcie 5f000000.pcie: phy link never came up
[    3.875752] imx6q-pcie 5f000000.pcie: failed to initialize host
[    3.881799] imx6q-pcie 5f000000.pcie: unable to add pcie port.
Starting version 243.2+

TorizonCore 4.0.0-devel-202007+build.17 apalis-imx8-06506323 ttyLP1

apalis-imx8-06506323 login:

Any idea why HDMI would not be coming up? Thanks.

It’s looks strange. TorizonCore works fine on my Apalis iMX8QM v1.0B
Could you share module’s S/N?
Can you try other images available on main feed? Please do not install Android. Console image has no build in desktop manager but still uses HDMI for Wayland Terminal

BTW Did you install heatsink? Please do if not.

I have a heatsink (not the Toradex one) on the iMX8 itself with a thermocouple, no fan. I’ve seen it as high as 62C but generally seems to sit in 56-57C range. I captured the bootup text while it had been on all day. I see it says 61C.

S/N is 06506323
dmesg outputs seem to indicate that the iMX8 is deciding on a reasonable video profile for the 3 different monitors I’ve tried:

Unplug/plug Acer monitor:
apalis-imx8-06506323:~$ dmesg
[  604.899511] [drm] HDMI/DP Cable Plug Out
[  610.816045] [drm] HDMI/DP Cable Plug In
[  610.836908] i.mx8-hdp 56268000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[  610.855374] [drm] phy_cfg_hdp() num_lanes: 4, mode:1600x900p60, color depth: 8-bit, encoding: 1
[  610.855653] [drm] Pixel clock frequency (108000 kHz) is supported in this color depth (8-bit). Settings found in row 2
[  610.855659] [drm] Character clock frequency: 108000 kHz.
[  610.855669] [drm] VCO frequency (2160000 kHz) is supported. Settings found in row 11
[  610.872627] [drm] CDN_API_General_Write_Register_blocking LANES_CONFIG ret = 0
apalis-imx8-06506323:~$

After reboot with samsung montior

apalis-imx8-06506323:~$ dmesg
[   68.411262] [drm] HDMI/DP Cable Plug Out
[   69.595156] [drm] phy_cfg_hdp() num_lanes: 4, mode:3840x2160p60, color depth: 8-bit, encoding: 1
[   69.595359] [drm] Pixel clock frequency (594000 kHz) is supported in this color depth (8-bit). Settings found in row 4
[   69.595364] [drm] Character clock frequency: 594000 kHz.
[   69.595374] [drm] VCO frequency (5940000 kHz) is supported. Settings found in row 36
apalis-imx8-06506323:~$ dmesg
[   68.411262] [drm] HDMI/DP Cable Plug Out
[   69.595156] [drm] phy_cfg_hdp() num_lanes: 4, mode:3840x2160p60, color depth: 8-bit, encoding: 1
[   69.595359] [drm] Pixel clock frequency (594000 kHz) is supported in this color depth (8-bit). Settings found in row 4
[   69.595364] [drm] Character clock frequency: 594000 kHz.
[   69.595374] [drm] VCO frequency (5940000 kHz) is supported. Settings found in row 36
[   69.621091] [drm] CDN_API_General_Write_Register_blocking LANES_CONFIG ret = 0
[   69.623676] [drm] HDMI/DP Cable Plug In
[   69.624659] i.mx8-hdp 56268000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[   69.674537] [drm] phy_cfg_hdp() num_lanes: 4, mode:3840x2160p60, color depth: 8-bit, encoding: 1
[   69.674793] [drm] Pixel clock frequency (594000 kHz) is supported in this color depth (8-bit). Settings found in row 4
[   69.674798] [drm] Character clock frequency: 594000 kHz.
[   69.674810] [drm] VCO frequency (5940000 kHz) is supported. Settings found in row 36
[   69.690116] [drm] CDN_API_General_Write_Register_blocking LANES_CONFIG ret = 0
apalis-imx8-06506323:~$

After reboot with Dell monitor

apalis-imx8-06506323:~$ dmesg
[   91.534882] [drm] HDMI/DP Cable Plug Out
[  100.442442] [drm] HDMI/DP Cable Plug In
[  100.460692] i.mx8-hdp 56268000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[  100.477195] [drm] phy_cfg_hdp() num_lanes: 4, mode:1920x1200p60, color depth: 8-bit, encoding: 1
[  100.477402] [drm] Pixel clock frequency (154000 kHz) is supported in this color depth (8-bit). Settings found in row 2
[  100.477407] [drm] Character clock frequency: 154000 kHz.
[  100.477418] [drm] VCO frequency (3080000 kHz) is supported. Settings found in row 25
[  100.492598] [drm] CDN_API_General_Write_Register_blocking LANES_CONFIG ret = 0
apalis-imx8-06506323:~$

We had purchased 5 of these setups. I’ve asked home base if they would send me another one so I can see if they do the same thing.

Should I find a newer or older image? Earlier I tried one from April time frame with Easy Installer 2.0b4 but that didn’t output HDMI either. Suggestion for a good one to try? Thanks.

Regards,
Chip

Could you try other images available on main feed including Android? Console image has no build in desktop manager but still uses HDMI for Wayland Terminal

Hi Alex,

Put a bigger heat sink on. Now can hold it down into the mid 40s C.

Tried Android. No hdmi. Bootup messages in attached txt filelink text

Regards,
Chip

I also tried the “TorizonCore with evaluation containers” 4.0.0-devel-202008+build.21.container (2020-08-11)

According to your boot log Apalis is trying to set mode:3840x2160p60. Some monitors is very picky to signal quality on such a high resolution. Could you please try find other monitor with max supported resolution of 1080P or similar?

Hi Alex,

As shown in the earlier message dumps (tough to find) besides the Samsung 3840x2160@60 monitor I had tried an Acer 1600x900@60 and a Dell 1920x1200@60 monitor. Sorry I didn’t get those blocks of text formatted separately. They got crammed together. I also have subsequently tried another Dell 1280x1024@60 monitor. Using sudo fbset I can see that all of them think they are in the right modes but none of them are putting out video.

The monitors act differently to the bad or non-existent input. The Samsung monitor apparently disconnects and reconnects to try and coax a source into producing something it likes. The other monitors just report they can’t accept that input mode.Whatever is going on, all the monitors are unhappy one way or another.

Regards,
Chip

Usually Dell monitors work flawless while LG and Samsung are more picky. Can you try different models of HDMI cable with Dell?

Please also try to re-insert Apalis module to carrier board.

Alright Alex!

Fifth time is the charm. I dug out an old Samsung 720p class HD TV and the HDMI came up. It picked a format of 1366x768 with pixel clock rate of 85.5MHz. This was using one of the same cables I’ve been trying. No DVI-D adapter.

We’ll eventually need to figure out why none of the other formats/monitors worked but for the moment I can get on with my “getting started” and checking out docker containers. Thanks for your persistence.

Regards,
Chip

Short version is the sudo fbset:

 mode "1366x768-0"
         # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
         geometry 1366 768 1366 768 16
         timings 0 0 0 0 0 0 0
         accel true
         rgba 5/11,6/5,5/0,0/0 endmode

Longer version is the docker logs:

> apalis-imx8-06506323:~$ docker logs
> 077a0c1136e6 Switching to VT 7 NXP
> EULA has already been accepted. touch:
> cannot touch '/tmp/nxp-eula-accepted':
> Permission denied Date: 2020-08-13 UTC
> [23:53:29.057] weston 5.0.0
>                https://wayland.freedesktop.org
>                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
>                Build: unknown (not built from git or tarball)
> [23:53:29.057] Command line:
> /usr/bin/weston --current-mode
> [23:53:29.057] OS: Linux,
> 4.14.170-4.0.0-devel+git.60f8ee9af1da, #1-TorizonCore SMP PREEMPT Wed Jun 24 11:43:05 UTC 2020, aarch64
> [23:53:29.058] Using config file
> '/etc/xdg/weston/weston.ini'
> [23:53:29.060] Output repaint window
> is 16 ms maximum. [23:53:29.060]
> Loading module
> '/usr/lib/aarch64-linux-gnu/libweston-5/drm-backend.so' [23:53:29.062] initializing drm
> backend [23:53:29.064] using
> /dev/dri/card0 [23:53:29.064] DRM:
> supports universal planes
> [23:53:29.064] DRM: supports atomic
> modesetting [23:53:29.064] DRM: does
> not support picture aspect ratio
> [23:53:29.065] Loading module
> '/usr/lib/aarch64-linux-gnu/libweston-5/gl-renderer.so' [23:53:29.083] EGL client extensions:
> EGL_EXT_client_extensions
>                EGL_EXT_platform_base EGL_KHR_platform_wayland
>                EGL_EXT_platform_wayland
> EGL_KHR_platform_gbm [23:53:29.090]
> warning: neither
> EGL_EXT_swap_buffers_with_damage or
> EGL_KHR_swap_buffers_with_damage is
> supported. Performance could be
> affected. [23:53:29.090]
> EGL_KHR_surfaceless_context available
> [23:53:29.104] EGL version: 1.5
> [23:53:29.104] EGL vendor: Vivante
> Corporation [23:53:29.104] EGL client
> APIs: OpenGL_ES [23:53:29.104] EGL
> extensions: EGL_KHR_fence_sync
> EGL_KHR_reusable_sync
>                EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base
>                EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
>                EGL_KHR_gl_texture_cubemap_image
> EGL_KHR_gl_renderbuffer_image
>                EGL_EXT_image_dma_buf_import
>                EGL_EXT_image_dma_buf_import_modifiers
> EGL_KHR_lock_surface
>                EGL_KHR_create_context EGL_KHR_surfaceless_context
>                EGL_EXT_buffer_age EGL_ANDROID_native_fence_sync
>                EGL_WL_bind_wayland_display
>                EGL_WL_create_wayland_buffer_from_image
> EGL_KHR_partial_update [23:53:29.105]
> GL version: OpenGL ES 3.2
> V6.2.4.p4.190076 [23:53:29.105] GLSL
> version: OpenGL ES GLSL ES 3.20
> [23:53:29.105] GL vendor: Vivante
> Corporation [23:53:29.105] GL
> renderer: Vivante GC7000XSVX
> [23:53:29.105] GL extensions:
> GL_OES_vertex_type_10_10_10_2
>                GL_OES_vertex_half_float
> GL_OES_element_index_uint
>                GL_OES_mapbuffer GL_OES_vertex_array_object
>                GL_OES_compressed_ETC1_RGB8_texture
>                GL_OES_compressed_paletted_texture
> GL_OES_texture_npot
>                GL_OES_rgb8_rgba8 GL_OES_depth_texture
>                GL_OES_depth_texture_cube_map
> GL_OES_depth24 GL_OES_depth32
>                GL_OES_packed_depth_stencil
> GL_OES_fbo_render_mipmap
>                GL_OES_get_program_binary
> GL_OES_fragment_precision_high
>                GL_OES_standard_derivatives
> GL_OES_EGL_image GL_OES_EGL_sync
>                GL_OES_texture_stencil8 GL_OES_shader_image_atomic
>                GL_OES_sample_variables GL_OES_sample_shading
>                GL_OES_texture_storage_multisample_2d_array
>                GL_OES_shader_multisample_interpolation
>                GL_OES_required_internalformat
> GL_OES_surfaceless_context
>                GL_OES_copy_image GL_OES_draw_buffers_indexed
>                GL_OES_geometry_shader GL_OES_geometry_point_size
>                GL_OES_gpu_shader5 GL_OES_shader_io_blocks
>                GL_OES_texture_border_clamp
> GL_OES_texture_buffer
>                GL_OES_tessellation_shader
> GL_OES_tessellation_point_size
>                GL_OES_texture_cube_map_array
> GL_OES_draw_elements_base_vertex
>                GL_OES_texture_half_float
> GL_OES_texture_float
>                GL_OES_primitive_bounding_box
>                GL_KHR_texture_compression_astc_ldr
>                GL_KHR_blend_equation_advanced
> GL_KHR_debug GL_KHR_robustness
>                GL_EXT_texture_type_2_10_10_10_REV
>                GL_EXT_texture_filter_anisotropic
>                GL_EXT_texture_compression_dxt1
> GL_EXT_texture_format_BGRA8888
>                GL_EXT_texture_compression_s3tc
> GL_EXT_read_format_bgra
>                GL_EXT_multi_draw_arrays
> GL_EXT_frag_depth
>                GL_EXT_discard_framebuffer
> GL_EXT_blend_minmax
>                GL_EXT_multisampled_render_to_texture
>                GL_EXT_color_buffer_half_float
> GL_EXT_color_buffer_float
>                GL_EXT_robustness GL_EXT_texture_sRGB_decode
>                GL_EXT_draw_buffers_indexed
> GL_EXT_texture_border_clamp
>                GL_EXT_texture_buffer GL_EXT_tessellation_shader
>                GL_EXT_tessellation_point_size
> GL_EXT_geometry_shader
>                GL_EXT_geometry_point_size
> GL_EXT_copy_image
>                GL_EXT_texture_cube_map_array
> GL_EXT_gpu_shader5
>                GL_EXT_shader_io_blocks GL_EXT_shader_implicit_conversions
>                GL_EXT_multi_draw_indirect
> GL_EXT_draw_elements_base_vertex
>                GL_EXT_texture_rg GL_EXT_primitive_bounding_box
> GL_EXT_sRGB
>                GL_ANDROID_extension_pack_es31a
> GL_VIV_direct_texture [23:53:29.105]
> GL ES 2 renderer features:
>                read-back format: BGRA
>                wl_shm sub-image to texture: yes
>                EGL Wayland extension: yes [23:53:29.119] event1  - Dell Dell
> USB Keyboard: is tagged by udev as:
> Keyboard [23:53:29.119] event1  - Dell
> Dell USB Keyboard: device is a
> keyboard [23:53:29.120] event0  -
> sc-powerkey: is tagged by udev as:
> Keyboard [23:53:29.120] event0  -
> sc-powerkey: device is a keyboard
> [23:53:29.133] event2  -
> colibri-vf50-ts: is tagged by udev as:
> Touchscreen [23:53:29.133] event2  -
> colibri-vf50-ts: device is a touch
> device [23:53:29.155] Touchscreen -
> colibri-vf50-ts -
> /sys/devices/platform/vf50-touchscreen/input/input2/event2
> [23:53:29.155] input device event2 has
> no enabled output associated (none
> named), skipping calibration for now.
> [23:53:29.181] DRM: head 'HDMI-A-1'
> found, connector 146 is connected,
> EDID make 'SAM', model 'SAMSUNG',
> serial 'unknown' [23:53:29.181]
> Registered plugin API
> 'weston_drm_output_api_v1' of size 24
> [23:53:29.186] Chosen EGL config
> details:
>                RGBA bits: 8 8 8 0
>                swap interval range: 1 - 60 [23:53:29.187] No backlight control for output 'HDMI-A-1'
> [23:53:29.187] Output HDMI-A-1 (crtc
> 36) video modes:
>                1366x768@59.8, preferred, current, 85.5 MHz
>                1920x1080@60.0, 148.5 MHz
>                1920x1080@59.9, 148.4 MHz
>                1920x1080@50.0, 148.5 MHz
>                1920x1080@30.0, 74.2 MHz
>                1920x1080@25.0, 74.2 MHz
>                1920x1080@24.0, 74.2 MHz
>                1280x720@60.0, 74.2 MHz
>                1280x720@59.9, 74.2 MHz
>                1280x720@50.0, 74.2 MHz
>                1024x768@75.0, 78.8 MHz
>                1024x768@70.1, 75.0 MHz
>                1024x768@60.0, 65.0 MHz
>                832x624@74.6, 57.3 MHz
>                800x600@75.0, 49.5 MHz
>                800x600@72.2, 50.0 MHz
>                800x600@60.3, 40.0 MHz
>                720x576@50.0, 27.0 MHz
>                720x480@60.0, 27.0 MHz
>                720x480@59.9, 27.0 MHz
>                640x480@75.0, 31.5 MHz
>                640x480@72.8, 31.5 MHz
>                640x480@66.7, 30.2 MHz
>                640x480@60.0, 25.2 MHz
>                640x480@59.9, 25.2 MHz
>                720x400@70.1, 28.3 MHz [23:53:29.187] associating input
> device event1 with output HDMI-A-1
> (none by udev) [23:53:29.187]
> associating input device event0 with
> output HDMI-A-1 (none by udev)
> [23:53:29.187] associating input
> device event2 with output HDMI-A-1
> (none by udev) [23:53:29.188] Output
> 'HDMI-A-1' enabled with head(s)
> HDMI-A-1 [23:53:29.188] Compositor
> capabilities:
>                arbitrary surface rotation: yes
>                screen capture uses y-flip: yes
>                presentation clock: CLOCK_MONOTONIC, id 1
>                presentation clock resolution: 0.000000001 s
> [23:53:29.189] Loading module
> '/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so'
> [23:53:29.193] launching
> '/usr/lib/aarch64-linux-gnu/weston-keyboard'
> [23:53:29.201] Loading module
> '/usr/lib/aarch64-linux-gnu/libweston-5/xwayland.so'
> [23:53:29.230] Registered plugin API
> 'weston_xwayland_v1' of size 32
> [23:53:29.230] Registered plugin API
> 'weston_xwayland_surface_v1' of size
> 16 [23:53:29.230] xserver listening on
> display :0 [23:53:29.230] launching
> '/usr/lib/aarch64-linux-gnu/weston-desktop-shell'
> could not load cursor 'dnd-move' could
> not load cursor 'dnd-move' could not
> load cursor 'dnd-copy' could not load
> cursor 'dnd-copy' could not load
> cursor 'dnd-none' could not load
> cursor 'dnd-none' [23:53:31.992]
> Spawned Xwayland server, pid 27
> glamor: 'wl_drm' not supported Missing
> Wayland requirements for glamor GBM
> backend Failed to initialize glamor,
> falling back to sw [23:53:32.525]
> xfixes version: 5.0 [23:53:32.585]
> created wm, root 908
> apalis-imx8-06506323:~$

Find an old 720P class HD TV. These seem to work. Two old TVs worked with video formats:
1366x768p60
1280x720p60
Computer monitors don’t seem to work. Specific modes that did not work although identified properly and theoretically OK include:
3840x2160p60
1920x1200p60
1280x1024p60
1600x900p60

Similar question was resolved with answer here: https://www.toradex.com/community/questions/53691/portainer-doesnt-come-up-on-apalis-imx8mq-v10b.html?smartspace=torizon