This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM3730 OpenGL file load error

Genius 5785 points

Hello,

I'm using GraphicsSDK 4.08.00.02 of DM 3730. When loading an image file from ROM, a file load error occur in PVRTTextureLoadFromPVR of the OpenGL function. It's rarely occurred. The error occurs for multiple consecutive frames during 33 ms period drawing. After rebooting, I can see the drawing correctly, so the file is not broken. Could you give me some advice?

Regards,
Kazu

  • Hi Kazu,

    I suspect some issue related to file reading from the flash or EMMC (I don't know what is your board and what memory using). Are you observe some log/error messages which could help for investigation of the issue? What about 'dmesg' kernel log?

    BR
    Tsvetolin Shulev
  • Hello Shulev,

    Cvetolin Shulev-XID said:
      I suspect some issue related to file reading from the flash or EMMC (I don't know what is your board and what memory using). Are you observe some log/error messages which could help for investigation of the issue? What about 'dmesg' kernel log?

    The board is our custom board. ROM is NOR which is configured with UBIFS. I haven't been able to get any log from the console because the occurrence frequency is very low. When the phenomenon occurs, the return value of PVRTTextureLoadFromPVR looks like 1(error). Could you give me advice even though there is little useful information?

    Regards,
    Kazu

  • Kazu,

    The PVRTTextureLoadFromPVR returned value 1 means PVR_FAIL as it is described in PVRTError.h file and in documentation:
    downloads.isee.biz/.../PVRTError_8h.html
    but the error code could not gives as more detailed information. I still suspect file reading issue but if it is possible to use some other file storage memory (like MMC or external USB storage) for media file should be useful to verify behaviour.

    BR
    Tsvetolin Shulev
  • Hello Shulev,

    Thank you for your support.

    Cvetolin Shulev-XID said:
    I still suspect file reading issue but if it is possible to use some other file storage memory (like MMC or external USB storage) for media file should be useful to verify behaviour.

    It's difficult for us to relocate media files on storage memory other than NOR.

    Cvetolin Shulev-XID said:
    but the error code could not gives as more detailed information.

    I understand. I'm sorry, but if PVRTTextureLoadFromPVR is processing and another process performs block erase of NOR(max 1 sec), could you tell me what the API will return? Whether to return error 1 due to timeout or return value 0 to wait for erase end?

    Regards,
    Kazu