Hello, I would love to know how can i set terminal command in linux terminal that can load blender without UI but with CroudRender to listen, and waiting for jobs. Thank you for answer.
Hi,I'm trying to use your information to run cr on 2 windows 10 PC.At this stage when I'm try to launch blender on the slave node I get an error : "SystemError: GPU functions for drawing are not available in background mode" and then Blender quit...
Any suggestions?Thx
my conf:- Blender 2.91.2 on windows10 Pro- Crowdrender blender plugin 030- CUDA 11.2- GPU: GTX 970
Blender 2.91.2 (hash 5be9ef417703 built 2021-01-19 16:25:50)Read prefs: C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\config\userpref.blendfound bundled python: D:\Program Files\Blender Foundation\Blender 2.91.2\2.91\pythonTraceback (most recent call last):File "D:\Program Files\Blender Foundation\Blender 2.91.2\2.91\scripts\modules\addon_utils.py", line 351, in enablemod = import(module_name)File "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\gridmodeler_init_.py", line 33, infrom . import grid_modelerFile "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\gridmodeler\grid_modeler.py", line 45, in from . import guiFile "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\gridmodeler\gui.py", line 41, inshader = gpu.shader.from_builtin('3D_UNIFORM_COLOR')SystemError: GPU functions for drawing are not available in background modeCrowd Render Server Interface Process readyTraceback (most recent call last):File "", line 1, inFile "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\crowdrender\src\py_3_8\serv_int_start.py", line 59, inserver_interface = crowdrender.src.py_3_8.server_interfaceAttributeError: module 'crowdrender.src' has no attribute 'py_3_8'dodgy, but trying to unregister anywayCrowd Render add-on Disabled
I am really sorry for this late reply @drager88.st , but sadly the CR forum was broken for me and I couldn't load any page nor answer whatsoever.
You replace "<login_token>" with the token you get from the CR profile page and you invoke it without the < or >.
as described in my README file on GitHub --name does only give the docker image a name, you can call it whatever you want.
--net=host does set the docker container into the same network as your host, this way the CR addon is allowed to open the ports it needs automatically. As an alternative, you could port forward the ports 9000 - 9025 manually from the host to the container
Again as I said, in the README on the GitHub page, I have described how to set the proper settings in order to get the Blender and CR version you want. The Blender version does matter and right now 2.79b, 2.82a and 2.83 LTS are supported.
You upgrade the docker container by deleting it and creating a new one with the Blender and CR version you want.
Hi, are you able to post a screenshot of what you saw? "Permission Denied" without any context could mean multiple things, so knowing a bit more detail would help :)
hi I am new here and new to using docker i how only ever setup file server to use on my local network. I thought to use then to render with and I'm completely lost. I have install docker on a ubuntu server 20.04 and tried to install blender and crowd render but I could not get it working any help would be appreciated.
p.s.
is there a way to use blender 2.9 with crowd render.
for everybody interested, I just want to give a quick update:all my docker images moved into an official docker repo, which is public and can be found here:https://github.com/crowdrender/cr-docker the commands are the same, as I still maintain those images ;)on Docker Hub I merged the CPU and GPU repos into one single one:https://hub.docker.com/r/zocker160/blender-crowdrender feel free to create an issue on GitHub or ask questions if you have any!
Thanks very much! just CR headless. As soon as i can get my toonkit addon to render across my slaves i think i will install a streamlined linux OS on my slaves and run renders headless to maximise cpu output .
Hi everyone,I have completely forgotten about this forum, but my headless server with CR 0.1.6 works with no problems on GPU and CPU.I have created a small HowTo guide here: https://gist.github.com/zocker-160/0688a4902421158b66f52dff3966058a
I would like to create a Docker image for that as well, so it can be easily set up, but I don't know if I am allowed to bundle the addon, since you have to sign up in order to download it.Maybe we can find a solution for that ;)
Hi Zocker, looks like you've installed crowdrender into your blender package. Thats not how addons which are external should be installed :). Usually external addons that are not part of Blender's distribution are installed into /home/*user_name*/.config/blender/2.79/scripts/addons/
This is the reason you are getting this error. You can fix this pretty easily by going into blender, then installing the addon using the "install from file" option.
Maybe give this a try and let me know how it goes?
File "/Programme/Blender/2.79/scripts/addons/crowdrender/src/bl_2_79/serv_int_start.py", line 17, in <module>
crowdrender = sys.modules[cr_pkg]
KeyError: 'crowdrender'
Blender quit
it's the latest version of the addon
Thanks in advance!
Like
Unknown member
Jun 27, 2018
Yes James, you all understood correctly, there is no gui only command line, this I will wait with impatience :)
I'm sure that many would like to see it, such questions often arise in our Russian community on a blender. Everyone wants to speed up the render by attracting any free machines, but to be able to work in parallel with the renderer.
Hi Lab137, so if I understand you correctly, you want to be able to run the entire render headless? With no gui being active on any of the machines?
In that case, we'd have to experiment here, we've never tried that! the renders are controlled from the crowdrender panel which is inside the blender gui. You've raised a good point though. Being able to distribute the renders using just one command would be pretty handy. If we can get a lot of people behind this idea we'd build it for sure :)
James
Like
Unknown member
Jun 27, 2018
Hi James! Yes, I do, but I would like to be able to run the wizard as well without gui, pointing the console command to run the renderer via CrowdRender.
ok, supposing you have three nodes, use one as the mster, load blender gui, on the other two run the command to start a headless server. From the master, connect to the two nodes running the headless server, then just render from the master using the render buttons on the crowdrender panel. When you render from a master node, it will use the master's CPU/GPU to render as well as the two other nodes you setup with a headless server.
Hope this helps?
James
Like
Unknown member
Jun 26, 2018
that is, there should always be a master of the node with the gui?
Just have a couple of servers in the closet :), but I'm working behind another machine in a quiet place :) Before that, I just automated the process by casting the file on the server and the one was already starting the render without my participation, since all the parameters were already in the file with the scene.
I will specify:
Suppose I have 3 nodes, I run 2 nodes with the command ./blender -b -P /home/denis/.config/blender/2.79/scripts/addons/crowdrender/src/bl_2_79/serv_int_start.py - -t " server_int_proc "
how to tell 3 nodes that it would render a file test.blend using all nodes together?
For example, the standard launch of the render in the background:
Hi lab137, the server doesn't need a gui if the command you were typing into terminal works, you can just connect to that computer from your master.
What you are seeing when running 015 is normal. The addon has bound to 0.0.0.0 which means it will listen on every network interface it has. 014 specifically enumerated each interface. We may revert back to that, but this still works fine in my tests.
Just remember that if you start a server using 015, you must use a master running 015 and vice versa. The two versions are not compatible and will not work with each other.
Glad you got it to work :D
James
Like
Unknown member
Jun 26, 2018
OMG James :) Everything worked and with 0.1.4, I ran from under different users! :)
Ok, but can I now run projects on the render without using the gui at all? Or the server can be with the gui?
P.s. when starting at 0.1.5, I get the following output:
Hi Lab137, ok its telling us that the addon can't be found. This is odd since what you've shown me so far is that the addon path is set correctly. If you look at your addons tab in user preferences is crowdrender there? If you can open blender from the terminal using ./blender from the same directory as you entered the command you did in the image you just posted that will help. We need to ensure that the addon is being recognised by blender.
Hi lab137, ok, I'm going to send you a copy of v015, its in pre-release but, it may solve this issue because the version no longer imports its self in the way that is failing in your case. It may remedy the situation, I have your e-mail address so standby to receive a download link with some more instructions :)
Hi James,
Sorry for my big mistake. You are right the python version is 3.7
Like that it works!!!
Thanks a lot
Chears
Hi, I'm trying to use your information to run cr on 2 windows 10 PC. At this stage when I'm try to launch blender on the slave node I get an error : "SystemError: GPU functions for drawing are not available in background mode" and then Blender quit...
Any suggestions? Thx
my conf: - Blender 2.91.2 on windows10 Pro - Crowdrender blender plugin 030 - CUDA 11.2 - GPU: GTX 970
my command to launch blender:
"D:\Program Files\Blender Foundation\Blender 2.91.2\blender.exe" -noaudio -b -P "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\crowdrender\src\py_3_8\serv_int_start.py" -- -t "server_int_proc"
the trace :
Blender 2.91.2 (hash 5be9ef417703 built 2021-01-19 16:25:50) Read prefs: C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\config\userpref.blend found bundled python: D:\Program Files\Blender Foundation\Blender 2.91.2\2.91\python Traceback (most recent call last): File "D:\Program Files\Blender Foundation\Blender 2.91.2\2.91\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\gridmodeler_init_.py", line 33, in from . import grid_modeler File "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\gridmodeler\grid_modeler.py", line 45, in from . import gui File "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\gridmodeler\gui.py", line 41, in shader = gpu.shader.from_builtin('3D_UNIFORM_COLOR') SystemError: GPU functions for drawing are not available in background mode Crowd Render Server Interface Process ready Traceback (most recent call last): File "", line 1, in File "C:\Users\Laurent\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\crowdrender\src\py_3_8\serv_int_start.py", line 59, in server_interface = crowdrender.src.py_3_8.server_interface AttributeError: module 'crowdrender.src' has no attribute 'py_3_8' dodgy, but trying to unregister anyway Crowd Render add-on Disabled
sorry but I still can not get it to work. I get permission denied.
I put my login token in, don't know if I replace all <login_token> or just login_token .
and still do not understand
--name docker image?
--net=host
and how to get access to Nvidia gtx 650 and gtx 970 that are sitting in the servers.
what version blender will be install because i am running Blender 2.9 the new blender on my pc and my laptop crowd render 2.3 working.
or does the version of blender doesn't matter.
In the future how would I upgrade to new version of crowd render and blender.
hi I am new here and new to using docker i how only ever setup file server to use on my local network. I thought to use then to render with and I'm completely lost. I have install docker on a ubuntu server 20.04 and tried to install blender and crowd render but I could not get it working any help would be appreciated.
p.s.
is there a way to use blender 2.9 with crowd render.
for everybody interested, I just want to give a quick update: all my docker images moved into an official docker repo, which is public and can be found here: https://github.com/crowdrender/cr-docker the commands are the same, as I still maintain those images ;) on Docker Hub I merged the CPU and GPU repos into one single one: https://hub.docker.com/r/zocker160/blender-crowdrender feel free to create an issue on GitHub or ask questions if you have any!
Thanks very much! just CR headless. As soon as i can get my toonkit addon to render across my slaves i think i will install a streamlined linux OS on my slaves and run renders headless to maximise cpu output .
Hi ! I am interested to know if the above solutions work for the updates 0.1.7 release?
Hi everyone, I have completely forgotten about this forum, but my headless server with CR 0.1.6 works with no problems on GPU and CPU. I have created a small HowTo guide here: https://gist.github.com/zocker-160/0688a4902421158b66f52dff3966058a
I would like to create a Docker image for that as well, so it can be easily set up, but I don't know if I am allowed to bundle the addon, since you have to sign up in order to download it. Maybe we can find a solution for that ;)
Hi Zocker, looks like you've installed crowdrender into your blender package. Thats not how addons which are external should be installed :). Usually external addons that are not part of Blender's distribution are installed into /home/*user_name*/.config/blender/2.79/scripts/addons/
This is the reason you are getting this error. You can fix this pretty easily by going into blender, then installing the addon using the "install from file" option.
Maybe give this a try and let me know how it goes?
J
Hello everyone,
I'm trying to setup a headless debian server as a renderclient for CR, but I ran into this problem:
> ./blender -noaudio -b -P 2.79/scripts/addons/crowdrender/src/bl_2_79/serv_int_start.py -- -t "server_int_proc"
Read prefs: /Programme/Blender/2.79/config/userpref.blend
found bundled python: /Programme/Blender/2.79/python
Exception in module register(): '/Programme/Blender/2.79/scripts/addons/object_boolean_tools.py'
Traceback (most recent call last):
File "/Programme/Blender/2.79/scripts/modules/addon_utils.py", line 350, in enable
mod.register()
File "/Programme/Blender/2.79/scripts/addons/object_boolean_tools.py", line 1451, in register
km = wm.keyconfigs.addon.keymaps.new(name='Object Mode')
AttributeError: 'NoneType' object has no attribute 'keymaps'
Exception in module register(): '/Programme/Blender/2.79/scripts/addons/crowdrender/__init__.py'
Traceback (most recent call last):
File "/Programme/Blender/2.79/scripts/modules/addon_utils.py", line 350, in enable
mod.register()
File "/Programme/Blender/2.79/scripts/addons/crowdrender/__init__.py", line 101, in register
select_platform()
File "/Programme/Blender/2.79/scripts/addons/crowdrender/__init__.py", line 71, in select_platform
set_sys_path('Linux')
File "/Programme/Blender/2.79/scripts/addons/crowdrender/__init__.py", line 92, in set_sys_path
addons_path = bpy.utils.script_paths(subdir="addons")[1]
IndexError: list index out of range
Traceback (most recent call last):
File "/Programme/Blender/2.79/scripts/addons/crowdrender/src/bl_2_79/serv_int_start.py", line 17, in <module>
crowdrender = sys.modules[cr_pkg]
KeyError: 'crowdrender'
Blender quit
it's the latest version of the addon
Thanks in advance!
Yes James, you all understood correctly, there is no gui only command line, this I will wait with impatience :)
I'm sure that many would like to see it, such questions often arise in our Russian community on a blender. Everyone wants to speed up the render by attracting any free machines, but to be able to work in parallel with the renderer.
Hi Lab137, so if I understand you correctly, you want to be able to run the entire render headless? With no gui being active on any of the machines?
In that case, we'd have to experiment here, we've never tried that! the renders are controlled from the crowdrender panel which is inside the blender gui. You've raised a good point though. Being able to distribute the renders using just one command would be pretty handy. If we can get a lot of people behind this idea we'd build it for sure :)
James
Hi James! Yes, I do, but I would like to be able to run the wizard as well without gui, pointing the console command to run the renderer via CrowdRender.
In any case, many thanks for your help James!
Hi Lab137,
ok, supposing you have three nodes, use one as the mster, load blender gui, on the other two run the command to start a headless server. From the master, connect to the two nodes running the headless server, then just render from the master using the render buttons on the crowdrender panel. When you render from a master node, it will use the master's CPU/GPU to render as well as the two other nodes you setup with a headless server.
Hope this helps?
James
that is, there should always be a master of the node with the gui?
Just have a couple of servers in the closet :), but I'm working behind another machine in a quiet place :) Before that, I just automated the process by casting the file on the server and the one was already starting the render without my participation, since all the parameters were already in the file with the scene.
I will specify:
Suppose I have 3 nodes, I run 2 nodes with the command ./blender -b -P /home/denis/.config/blender/2.79/scripts/addons/crowdrender/src/bl_2_79/serv_int_start.py - -t " server_int_proc "
how to tell 3 nodes that it would render a file test.blend using all nodes together?
For example, the standard launch of the render in the background:
./blender -b /home/user/test.blend -E CYCLES -t 32 -f 0
Hi lab137, the server doesn't need a gui if the command you were typing into terminal works, you can just connect to that computer from your master.
What you are seeing when running 015 is normal. The addon has bound to 0.0.0.0 which means it will listen on every network interface it has. 014 specifically enumerated each interface. We may revert back to that, but this still works fine in my tests.
Just remember that if you start a server using 015, you must use a master running 015 and vice versa. The two versions are not compatible and will not work with each other.
Glad you got it to work :D
James
OMG James :) Everything worked and with 0.1.4, I ran from under different users! :)
Ok, but can I now run projects on the render without using the gui at all? Or the server can be with the gui?
P.s. when starting at 0.1.5, I get the following output:
Read prefs: /home/denis/.config/blender/2.79/config/userpref.blend
found bundled python: /home/denis/Downloads/blender-2.79b-linux-glibc219-x86_64/blender-2.79b-linux-glibc219-x86_64/2.79/python
Crowd Render Server Interface Process ready
(('0.0.0.0', '??', 'address of this computer on the network'),)
In 1.4 I see the normal IP address
Hi Lab137, ok its telling us that the addon can't be found. This is odd since what you've shown me so far is that the addon path is set correctly. If you look at your addons tab in user preferences is crowdrender there? If you can open blender from the terminal using ./blender from the same directory as you entered the command you did in the image you just posted that will help. We need to ensure that the addon is being recognised by blender.
Thanks James, I checked, here's the new error:
Hi lab137, ok, I'm going to send you a copy of v015, its in pre-release but, it may solve this issue because the version no longer imports its self in the way that is failing in your case. It may remedy the situation, I have your e-mail address so standby to receive a download link with some more instructions :)