0

-leaderframes > 2 crashes rvio_hw

I'm currently running into the issue of rvio crashing when i use a -leader with -leaderframes n>2 in combination with an -overlay. So having the leader stand for more than two frames causes rvio to freeze as soon as it finishes the leaderframes and starts rendering the Images + overlay. This only seems to be happening when both the leader and the overlay use an image (eg. simpleslate with BG as leader and a bug as overlay).

so for example:

rvio_hw.exe C:\test.#.exr -leaderframes 2 -leader simpleslate "Company:Name" C:\logo.tif -overlay bug C:\logo.tif -o "C:\test.mov" -v           --> works

but as soon as -leaderframes is set larger than 2 rvio_hw crashes. Is there any known workaround for this issue?

 

//edit: I've tested it on 3 machines with different configurations so far and could reproduce this behavior every time

4 comments

  • 0
    Avatar
    Jon Morley

    Hi Martin,

    That is a peculiar one. I was able to reproduce your crash. It appears to have something to do with how the background is handled. In any case I think I have a workaround copy of simpleslate.mu for you to test with. It addressed my issues with your command line. Please make a backup copy of the simpleslate.mu found in your plugins/Mu directory, and the download the attached (linked below) copy in its place. Please tell me if this helps.

    Thanks,
    Jon

  • 0
    Avatar
    Martin Kenzel

    Thank you for your help, your solution partially fixes the crashes for me. I adapted my custom scripts to your solution and tested some more with simpleslate+bug combined. My observations so far are:

    1) If simpleslate and bug use the same texture, or two different textures that have equal sizes large (eg 2x 256²), the application still crashes


    2) If the resolution of the background and the bug/logo are not the same, the logo will be distorted. It doesnt matter if they have different aspect ratios or different power of two sizes (eg. 256² and 512²). This happens with both the bug and the simpler code used in the simpleslate script (as you know bug uses init and resizes the image to pow2 while simpleslate is more basic - so I thought they might crash/error differently)

     

    thank you for your input!

    Martin

  • 0
    Avatar
    Martin Kenzel

    oh, here's a  screenshot of the scaling error that I get. The input Image is a 256² checkerboard texture that gets scaled to 1/10 of its height in this case.

  • 0
    Avatar
    Jon Morley

    Hi Martin,

    It sounds like you are narrowing down the cases. Can you please provide me with a list of command lines that exhibit both the working and non-working behavior? It would be additionally great if you could share with me a specific tif file that you are using to produce the errors. I will then make sure to do my best to handle all of the cases you present me with.

    I think I should refactor the changes I shared with you yesterday into an init for simpleslate. It would be more in alignment with the design of these scripts. Thank you for the heads up.

    Thanks,
    Jon

Please sign in to leave a comment.