jack3898 / ohssbot

GNU General Public License v3.0
0 stars 0 forks source link

Run a test render in the cloud #18

Closed jack3898 closed 4 months ago

jack3898 commented 4 months ago

I have spent so long on this ticket and haven't even checked danser works nicely in the cloud 🙈

It should be ok with software encoding, but slow, but hey that's what multiple workers are for. In the future if I can afford it, I will upgrade to gpu workers, but for now software encoding will do.

Linode's best bang-for-the-buck offering is their 8GB RAM shared server with 4 cores. I should download danser and run a render on it see what it is like. I hope it runs and isn't abysmally slow! Otherwise I may need to look at different ways to render.

My goal with this project is to deliver an amazing and intuitive user experience. I don't want people thinking about workers or anything, so in-house renderers makes the code simpler and I can look at the UX better.

jack3898 commented 4 months ago

I had issue installing danser using Ubuntu, following the danser libs prerequisites. Just got to make sure I enable the 32-bit package versions from this guide: https://devicetests.com/fix-libgtk-3-so-0-error-ubuntu

jack3898 commented 4 months ago

I was having issues with running Danser on Linode as there is no GPU.

However, this was my ultimate solution!

It renders at 0.33x the speed of watching the replay 💀. I would love it to be quicker (which is a major contributor to good UX) . It does use software encoding with all 4 cores maxed out, but maybe I could throw more cores at each worker and extract more performance. But I am happy it's possible! Maybe I should look into provisioning GPU instances with RTX 6000, but that problem is it is $1.50 an hour... so I will probably not bother.

I will give more cores a go, see how it fares. But it's not really too convenient if it's under 1x replay speed.

image image