TotalCross / totalcross

TotalCross is a Software Development Kit that helps cross platform application development. Currently supported platforms are: Windows, Wince, Android, iOS, Linux and Linux ARM for embedded systems.
https://www.totalcross.com
GNU Lesser General Public License v2.1
222 stars 40 forks source link

Segmentation Fault when trying to run linux_arm64 on IMX8QXP module #335

Open nsmohan opened 3 years ago

nsmohan commented 3 years ago

Describe the bug

From the embedded samples I compiled the simplie HelloWorld application for linux_arm64. When I execute the binary on a IMX8QXP module I get the following message:

Testing video drivers... SDL_VIDEODRIVER available: x11 wayland dummy SDL_VIDEODRIVER selected : x11 SDL_DisplayMode #0: current display mode is 800x480x0 SDL_RENDER_DRIVER available: opengl opengles2 software SDL_RENDER_DRIVER selected : software SDL_PIXEL_FORMAT: SDL_PIXELFORMAT_RGB888 Segmentation fault

Devices:

Please complete the following information:

To Reproduce

  1. Download the HelloWorld Embedded Sample.
  2. Compile the for linux_arm64
  3. scp linux_arm64 folder to IMX8QXP
  4. Navigate to the scp location from previous step and execute ./HelloWorld
brunoamuniz commented 3 years ago

Hey @nsmohan how are you?

sorry for my late reply! TotalCross is having a few integration issues with Wayland, have you try to use with X11?

Cheers,

nsmohan commented 3 years ago

Hi @brunoamuniz. Yes I was able to get a UI going on X11 with the IMX6ULL. But I was also hoping to get it going on the 8QXP as I would like to take some performance metrics and compare.