1.3k views
in Platform Packages by

I'm using EW for target platform Raspberry Pi.

When i run app i get initialize display failed.

I couldnt find where the problem is and when i can change drm device node from card0 to card1.

1 Answer

0 votes
by

Hello,

the DRM device node is detected automatically, there is no setting to choose card0 or card1.

In order to help you, let me ask you some questions:

  • What display settings have you made in the configuration file ewconfig.h?
  • Which displays are connected on DSI, HDMI0 and HDMI1?
  • Do you see the console outputs of the boot sequence on the HDMI display?
  • What display setting have you made in /boot/config.txt?

Best regards,

Manfred. 

by

HDMI is connected to HDMI 0

and the settings of your request is on the picture below

by
Hello,

is there something connected on DSI and/or HDMI1?

Do you see the console outputs during the boot sequence of the RasPi on the HDMI display?

What happens when you set EW_DISPLAY_USE_PREFERRED_MODE 1?

Best regards,

Manfred.
by

I think I resolve problem by modify a config.txt on Raspberry 4B we need to declare hdmi_group and hdmi_mode for each HDMI like on the picture below:

Right now everythink is ok

by
Great to hear that it is working now!

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...