Page 1 of 1

Newbie questions.

Posted: Mon Mar 27, 2017 12:57 am
by igor
Привет!
Прежде всего хочу сказать большое спасибо разработчикам за предоставления этого рендер менеджера для проектов!
Я новичок в настройке и работе РМ, и при его установки у меня возникли пара вопросов:
1)Как я понимаю все рендер машины должны иметь доступ к файлам сцены блендера и я должен каждый раз вручную монтировать содержащею сцену папку ко всем файловым системам рендер машин? Можно как то автоматизировать доступ рендер машин к папке с сценой блендера без ручного монтирования?
2)Есть ли видео по базовой настройке Афанасия? Те видео что я видел на ютубе описывают установку и настройку всех компонентов (сервера,рендера, кипера) на одной машине из-за чего не всплывает масса моментов появляющаяся при установке компонентов на несколько машин. Мне кажеттся это в разы бы уменьшило порог вхождения новичков в РМ.
3)Я планирую использовать РМ в коммерческом проекте (https://gcup.ru/forum/9-42487-1), есть ли лицензионные ограничения или условия использования которые я должен соблюсти?
4)Инструкция по установке РМ рекомендует создать пользователя "render" на всех рендер машинах, я не совсем понял зачем он нужен?
5)Текущие индикаторы показывают загрузку ЦП,памяти,сети,диска, но сейчас много рендеров производиться на GPU- планируется ли ввод индикаторов его загрузки и VRAM?

Буду благодарен за ответы.

Re: Newbie questions.

Posted: Mon Mar 27, 2017 3:56 pm
by timurhai
Hi.

Thank You! But, first of all, try to write in English.
Most Afanasy users and developers are not Russians.
For now i write a brief translation of your questions:

1. Resources mounting:
Render scene resources should be "shared", located on file-server. Paths should be the same on all machines. Most studios that uses render farms uses file servers and have sysadmins to maintain them (automate mounting). There is no mounting functions in CGRU.

2. Mass install video tutorial:
There is no such video. Usually sysadmins already have their favorite methods for mass software install. How do you planning to mass install Blender? Try Afanasy the same way. You can already dig inet about ways to mass install software.

3. License limitations:
http://cgru.info/license

4. Why user "render":
It is a good practice in Linux to not run processes under the root user. "render" is the default user name to switch to. Installation scripts will create "render" user if is does not exist.

5. GPU VRAM meter:
I agree, may be it is time in implement GPU indicator. But for now there is not one. But you can write any extra-custom resource meter(s) on Python. If you will find out some common methods for it, i can show you how to implement it.

Re: Newbie questions.

Posted: Mon Mar 27, 2017 4:11 pm
by igor
Thanks for the answer.

Re: Newbie questions.

Posted: Tue Aug 07, 2018 4:11 pm
by igor
Hi!
In linux Mint 19 when i try start afrender i see this:
igor@slave2:~$ sudo /opt/cgru/start/AFANASY/_afrender.sh
CGRU_VERSION 2.2.3 : '/opt/cgru'
/opt/cgru/afanasy/bin/afrender: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

and when start cgru:

igor@slave2:~$ sudo /opt/cgru/start/AFANASY/afstarter.sh
CGRU_VERSION 2.2.3 : '/opt/cgru'
afstarter.py: cannot connect to X server
-------------------------------------------------
But i have python installed and XServer too.
In 18 mint afrender start ok.

Re: Newbie questions.

Posted: Wed Aug 08, 2018 10:32 am
by timurhai
Hi.
http://cgru.info/downloads
Closes release it for Ubuntu 16.04 LTS. What Mint version based on it?
Both and 18 and 19?
There can (should) be a problems when code was compiled against different libraries versions.

But you can try to play:
Try to install python3.5 and PyQt (PySide) for it.
Why you are running afstarter within sudo? You should not.
Or you should ensure that your sudo redirects X session.

Re: Newbie questions.

Posted: Thu Aug 09, 2018 3:49 am
by igor
Hi!
Closes release it for Ubuntu 16.04 LTS. What Mint version based on it?
MInt 19 base on Ubuntu 18.04 LTS with python3.6
Try to install python3.5 and PyQt (PySide) for it.
Yes im try it
----------------------
Извини я по русски- по английски я это не напишу, плохо с английским:
На всех рендер-нодах у меня при запуске Минта останавливается сервис дисплейного менеджера иксов -lightdm, это я сделал чтобы освободить 150-200 мб VRAM. Иногда при отключенном lightdm появляется такой баг: когда блендер завершает задачу Афанасий этого не видит и продолжает ждать завершения работы до бесконечности, если при этом запустить сервис lightdm то Афанасий тут же "увидит" что задача завершена. Баг не постоянен и появляться раз - два в неделю.
Если хотите могу отловить такое "зависание" и скинуть консольный вывод с блендера.

Re: Newbie questions.

Posted: Thu Aug 09, 2018 9:40 am
by timurhai
- Afanasy that was compiled on Ubuntu 16.04 probably will not work with 18.04.

- I am not Mint and lightdm admin. But if task hungs sometime, you can set block tasks maximum run time parameter:
http://cgru.info/afanasy/job#block_task_max_run_time
Also if there is something in task output (console), that points to this bug, you catch this error string in parser to restart or finish with success such tasks:http://cgru.info/afanasy/render#parsers
You can look at other parsers as on examples how to work with it:
https://github.com/CGRU/cgru/blob/maste ... ric.py#L25

But, of course, better to catch and fix a bug, than to write different patches for it.

Re: Newbie questions.

Posted: Thu Aug 09, 2018 9:44 am
by igor
Thanks for the answer!

Re: Newbie questions.

Posted: Mon Sep 02, 2019 9:33 am
by nutellaj
Hi, there. First of all i greatly appreciate the creators of this magnificent software.

Can you please explain me how do i change the name pattern in which rendered images are being saved?

For example, now i get rendered images like this: image.exr.0020. But i want it to be: image_0020.exr or image.0020.exr.

Thanks.

Re: Newbie questions.

Posted: Fri Sep 06, 2019 3:35 pm
by timurhai
Hi.
Render manager does not save any images (any files). It just run commands (your software).
You should configure images sequence naming in your software.