1.5k views
in Getting started by
Evening, Im new to GUI designing & coding and I am having issues loading EW onto a Raspberry Pi. I have followed the instructions listed on....

https://doc.embedded-wizard.de/getting-started-raspi-4b?v=9.30

.. but I still haven't managed to get it to work/run. Is there any further information or video support (Youtube) on how to get EW to work on Pi.

Any feedback will be greatly appreciated.

1 Answer

0 votes
by

Hi,

according to the link, you are using the documentation of version 9.30 - meanwhile we have version 11.00 online.

Please use the current version of Getting started with Raspberry Pi 4 Model B - and follow exactly the steps to get everything up and running. There should be no other documents (or videos) necessary.

If it is still not working, please let us know what you have done so far, what is missing or what error messages you got. Otherwise it is not possible to provide helpful advices.

Best regards,

Manfred.

by
Using drm device node '/dev/dri/card0'!
Available display interface(s):
HDMI_0 (selected)
HDMI_1
Display interface 'HDMI_0' detected.

Available output modes:
 1920 x 1080 @ 60Hz (pixel clock:  148500kHz) 
 1920 x 1080 @ 60Hz (pixel clock:  148352kHz) 
 1920 x 1080 @ 60Hz (pixel clock:   74250kHz) 
 1920 x 1080 @ 60Hz (pixel clock:   74176kHz) 
 1920 x 1080 @ 50Hz (pixel clock:  148500kHz) 
 1920 x 1080 @ 50Hz (pixel clock:   74250kHz) 
 1280 x 1024 @ 75Hz (pixel clock:  135000kHz) 
 1280 x 1024 @ 60Hz (pixel clock:  108000kHz) 
 1440 x  900 @ 75Hz (pixel clock:  136750kHz) 
 1440 x  900 @ 60Hz (pixel clock:   88750kHz) 
 1152 x  864 @ 75Hz (pixel clock:  108000kHz) 
 1280 x  720 @ 60Hz (pixel clock:   74250kHz) 
 1280 x  720 @ 60Hz (pixel clock:   74176kHz) 
 1280 x  720 @ 50Hz (pixel clock:   74250kHz) 
 1024 x  768 @ 75Hz (pixel clock:   78750kHz) 
 1024 x  768 @ 70Hz (pixel clock:   75000kHz) 
 1024 x  768 @ 60Hz (pixel clock:   65000kHz) 
  832 x  624 @ 75Hz (pixel clock:   57284kHz) 
  800 x  600 @ 75Hz (pixel clock:   49500kHz) 
  800 x  600 @ 72Hz (pixel clock:   50000kHz) 
  800 x  600 @ 60Hz (pixel clock:   40000kHz) 
  800 x  600 @ 56Hz (pixel clock:   36000kHz) 
  720 x  576 @ 50Hz (pixel clock:   27000kHz) 
  720 x  576 @ 50Hz (pixel clock:   13500kHz) 
  720 x  480 @ 60Hz (pixel clock:   27027kHz) 
  720 x  480 @ 60Hz (pixel clock:   27000kHz) 
  720 x  480 @ 60Hz (pixel clock:   13514kHz) 
  720 x  480 @ 60Hz (pixel clock:   13500kHz) 
  640 x  480 @ 75Hz (pixel clock:   31500kHz) 
  640 x  480 @ 73Hz (pixel clock:   31500kHz) 
  640 x  480 @ 60Hz (pixel clock:   25200kHz) 
  640 x  480 @ 60Hz (pixel clock:   25175kHz) 
  720 x  400 @ 70Hz (pixel clock:   28320kHz)

No exact display mode found!
requested output resolution: 800 x 480
requested frame rate:        60 

Selected display mode: 800x600@60Hz (pixel clock: 40000kHz)

error: XDG_RUNTIME_DIR not set in the environment.
Initialize Display...                           [failed]

 

by

Just to be sure, you are using Raspberry Pi OS Lite not Raspberry Pi OS with desktop - correct?

by
I've been using the Lite version but I have also tried the desktop version and had the same response.
by
Do you start the application as root (sudo -s)?
by
When performing "Compiling, Linking and Executing" Yes. I've got it to work now, but i'm not sure what exactly was wrong but I redownloaded the RasPi-4B folder again, (following the same steps), changed the DSI_0 to HDMI_0 and now it works fine. It doesn't fit all the screen but I need to change some parameter in the ewconfig.h file and the GUI application to match that of the screen I'm using.

I know it was an anti-climatic ending/issue but thanks for the help, I appreciate it.

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

...