PVRTexToolCLI bug encoding ETC2_RGB_A1, ETC2_RGB_A1,UBN,sRGB

This topic contains 4 replies, has 2 voices, and was last updated by  Joe Davis 2 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #50220

    Yuan Yeow
    Member

    Test command:
    “PVRTexToolCLI -i background.png -o background.pvr -f ETC2_RGB_A1”

    Error message produced.
    ……………………………………
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    testerr: 193, etcerr: 0.000000
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    INVALID ALPHA DATA!!
    ……………………………………

    Test system: Xubuntu 14.04

    Is this a bug in the PVRTexToolCLI?

    #50241

    Joe Davis
    Member

    Thanks for reporting the issue. I’ll discuss it with the TexTool lead and will get back to you.

    #51078

    Joe Davis
    Member

    With the latest version of PVRTexTool CLI (3.4, SDK Version: 3.5@3523712) I wasn’t able to reproduce the issue on Ubuntu 14.04 64-bit. I used the background.png from our SDK’s ExampleUI demo as input.

    $ PVRTexToolCLI -i background.png -o background.pvr -f ETC2_RGB_A1
    Compressing…
    Saved texture to background.pvr

    If you used a different source texture for your test, can you share it with us?

    #51079

    Yuan Yeow
    Member

    Hi Joe,

    Here’s an image from googling “png file”.
    I ran:
    /opt/Imagination/PowerVR_Graphics/PowerVR_Tools/PVRTexTool/CLI/Linux_x86_64/PVRTexToolCLI -i apple_raw.png -o apple_raw.pvr -f ETC2_RGB_A1
    I was able to get an output pvr file this time, but there are lots of “INVALID ALPHA DATA” messages,

    Attachments:
    You must be logged in to view attached files.
    #51089

    Joe Davis
    Member

    Thanks for sharing that image. I was able to reproduce the problem on Ubuntu 14.04 x86-64 with it. I’ve filed bug BRN57719 against PVRTexTool. We will try to fix the issue in a future release.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.