146 views
in Getting started by

Hello,

I am using Raspi-4B and HDMI Display for GUI application. 

After following steps stated on https://doc.embedded-wizard.de/getting-started-raspi-4b?v=13.00 i am stuck with error:- 

GfxSystemInit: No suitable drm device node found!

Initialize Display ...      [failed]

image

To be noted: As per mentioned I have changed in ewconfig.h file too. 'EW_DISPLAY_INTERFACE_HDMI_0'

If there any other setting which I need to activate from Raspi-4b side? Or How to diagnose/proceed with this error?

Any input will be appreciated :)

Thank you and kind regards,

Sahili

2 Answers

0 votes
by
Hello,

please take care which version of Embedded Wizard Studio and which version of the Build Environment for Raspberry Pi 4B you are using.

The link you are using refers to V13 - but the flag EW_DISPLAY_INTERFACE_HDMI_0 is no more part of version 13 of the RasPi Build Environment.

Within the file ewconfig.h you can change the define EW_DISPLAY_PREFERRED_DRM_CONNECTOR_TYPE to DRM_MODE_CONNECTOR_HDMI in order to use the HDMI display connected via HDMI0 or HDMI1

Best regards,

Manfred.
by

hello manfred,

Thank you for specifying it. Yes, I am using Embedded Wizard Studio 11 and old bulid environment, which is compatible with Embedded Wizard Studio 11.

But now I have updated to Embedded Wizard Studio 13 and also bulid environment. But when i do 'sudo make'; it throwing 'The file (EMI_APP_PATH)/ewfiles.inc is missing'

image

***To be noted: I have did 'Bulid this process' in the background by opening Embedded Wizard project.

How I can tackle this now?

Thank you and warm regards,

Sahili

by

I could rectify my mistake as I am not giving latest path. But now there is another problem, as it is specified and also you I changed like below:-

#define EW_DISPLAY_PREFERRED_DRM_CONNECTOR_TYPE       DRM_MODE_CONNECTOR_HDMI
#define EW_DISPLAY_PREFERRED_DRM_CONNECTOR_TYPE_ID    1
//#define EW_DISPLAY_PREFERRED_DRM_FORMAT             DRM_FORMAT_XRGB8888

But now I am getting error as specified:- 

DRM_MODE_CONNECTOR undeclared........... do you mean 'DRM_MODE_CONNECTOR_HDMIB'?

Let me know if I am writing it correctly ?

Thank you

by
Hello,

it should be DRM_MODE_CONNECTOR_HDMIA or DRM_MODE_CONNECTOR_HDMIB.

Best regards,

Manfred.
by

Hello Manfred,

Thank you for quick feedback.

Now, the project is successfully built. But when trying to execute ./EmbeddedWizard-RasPi-4B 

Throwing same error:-

GfxSystemInit: no suitable drm device node found!

Segmentation fault

***To be noted: HDMI0 port of Raspi-4b connected to display and also Touch port of the display connected to USB port of raspi-4b. Hence tried DRM_MODE_CONNECTOR_HDMIA and also with DRM_MODE_CONNECTOR_HDMIB but same error.

What could be the problem now? And how i can proceed further?

Thank you and regards,

Sahili

0 votes
by

Hello sahili,

to have a better basis to support you, can please describe which Flash Image are you using for your Raspi-4B (type and version)?
Which type of HDMI display are you using?
Have you already tried other displays (using a TV set with HDMI-in would also be an option)?
Please confirm again, that you are using Embedded Wizard V13 and the unchanged Raspi-4B Build Environment V13 and that all steps for bring-up described on Getting started with Raspberry Pi: Raspberry Pi 4 Model B were successfully done.

Regards,
Martin

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...