• AVR Freaks

Hot!My own Harmony Projekt is very slow

Author
diddi
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2009/08/24 15:10:23
  • Location: 0
  • Status: offline
2017/12/01 09:47:36 (permalink)
0

My own Harmony Projekt is very slow

Hi
i am a beginner with PI32 and Harmony. I use to learn, and create my own Projets an MEBII and an PIC32Mz2048EFH144 Board
In the first steps i used the " aria counter Harmony 2.04" Demo  learn about gfx and Harmony. When i setup my own Project, i use Microsoft-Paint to create a bmp File. This image was import to the Composer
It works all very fine.  The Problem now is, i stored in the Graphics composer under " Image Asset, severeal Images ".After closing MPLABX and restart, i called up the Harmony composer and want to start under " Launch utility " the Graphic composer.
Now it takes about three or four Minutes ther Composer is ready. The same Time delay occured when the  "generate Code Button is pressed"
Has anybody an idea what happend? Are additional information necessary?
Thanks for replies.
I use Win7, MplabX 4.0,  XC32 1.44 and Harmony 2.04
 
Diddi
 

Attached Image(s)

#1

5 Replies Related Threads

    MHGC
    Super Member
    • Total Posts : 245
    • Reward points : 0
    • Status: offline
    Re: My own Harmony Projekt is very slow 2017/12/01 10:46:36 (permalink)
    0
    Hi,
     
    Do you have any images set with RLE compression in your asset list?
    #2
    diddi
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2009/08/24 15:10:23
    • Location: 0
    • Status: offline
    Re: My own Harmony Projekt is very slow 2017/12/01 10:56:45 (permalink)
    0
    HI MHGC
    yes i have images with RLE. Is that the reason . can you explain.
    #3
    MHGC
    Super Member
    • Total Posts : 245
    • Reward points : 0
    • Status: offline
    Re: My own Harmony Projekt is very slow 2017/12/01 11:17:43 (permalink)
    0
    Hi diddi,

    The BMP asset that you have imported into Composer is actually stored in it's native raw format in the configuration save file.  The configuration file is the configuration.xml file that resides under src/system_config/<configuration name> folder. 

    In order to provide a more accurate run-time simulation, all image assets needs to be processed per the choices made in the Asset Manager (such as compression settings, color format, palette etc).  When Composer launches, it tries to run all these processes on the image assets stored in the configuration file.  It also does that same when at generation time. 

    Of all the image asset conversion process, the most egregious one is the RLE.  Specifically, RLE on large resolution, low detail images with very little variation in color.

    We are aware of this problem and are making plans to improve this in the future.  It will be beyond the v2.05 release, however.

    As a work-around, have the image asset processed as a JPEG would speed this up as well as providing comparable compression capability.  Another alternative is to see if there are parts of the image that can be rendered using a panel widget with a fill color only use an image for the complicated areas.
    #4
    diddi
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2009/08/24 15:10:23
    • Location: 0
    • Status: offline
    Re: My own Harmony Projekt is very slow 2017/12/02 07:18:36 (permalink)
    0
    The RLE compression was the reason. Thank you for your help.
    Diddi
    #5
    ivan.gioia
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2019/08/30 05:53:27
    • Location: 0
    • Status: offline
    Re: My own Harmony Projekt is very slow 2020/02/07 03:04:13 (permalink)
    5 (1)
    The same happens with png images. My composer now takes forever to open.
    Harmony v2.06.
    #6
    Jump to:
    © 2020 APG vNext Commercial Version 4.5