Blender

Blender is best known as a popular open source 3D modelling program.

Installation

Install the blender package.

GPU rendering

Blender officially supports only the proprietary drivers from both AMD (for GCN cards: AMDGPU; For pre-GCN cards: ATI) and NVIDIA. After installing the proprietary drivers, one can select the graphics card as a compute device under Edit > Preferences... > System.

HIP on AMD open source drivers

On supported GPUs (GFX9, CDNA, and RDNA; see the official hardware compatibility list for more info), blender-rocmAUR can be used to get GPU acceleration through HIP in Blender, using Mesa.

Warning: The blender-rocmAUR package is based off of the development branch of Blender, which is not as thoroughly tested as the stable releases provided by blender. Also see Arch User Repository#What is the difference between foo and foo-git packages?.

Alternatively, install hip-runtime-amdAUR and add /opt/rocm/bin/ to your PATH environment variable to be able to use GPU rendering with Blender.

Tip: If you encounter any problem while building hip-runtime-amdAUR, you may want to get the binaries from the Unofficial user repositories suggested by upstream.

Professional rendering plugins

Blender is becoming increasingly well known in the professional industry. As such, there are now alternative rendering methods to EEVEE and Cycles, in the form of plugins. This should serve as a list of the major professional rendering plugins that are released or upcoming for Linux.

BlendNet

BlendNet is an open source plugin that allows distributing CPU and GPU renders across multiple machines.

BlendNet natively integrates with major cloud providers like AWS, Azure or GCP, and also supports self-hosting your own render farm.

Cloud integration

  1. Install the blendnetAUR package
  2. Enable the BlendNet plugin in Preferences -> Add-ons -> Enable "Render: BlendNet"
  3. Follow the instructions on the official BlendNet wiki to configure a render farm on AWS, Azure or GCP.

Self-hosting

The blendnetAUR package provides systemd units and configuration to quickly deploy your own CUDA GPU-accelerated Blendnet render farm.

A BlendNet render farm consists of one Manager instance, which distributes tasks to multiple Agent machines. The blender Addon connects to the Manager and the Agents to schedule renders. See the BlendNet wiki for more information on BlendNet architecture.

To start, install blendnetAUR on the Manager, Agent and Addon machines, then follow these instructions.

Setup: Manager
  1. Copy /etc/blendnet/server.key and /etc/blendnet/server.crt to all Agent and Addon machines, to /etc/blendnet/.
  2. Edit , adding a manager username and password.
  3. Edit , adding an agent username and password.
  4. Start/enable the unit.
Setup: Agent
  1. Edit , adding the same agent username and password used in the Manager.
  2. Start/enable the unit.

If cuda is installed, blendnetAUR will automatically enable GPU+CPU acceleration: you can check whether GPU acceleration is in use by checking the agent logs:

$ journalctl -xefu blendnet-agent.service
Setup: Addon
  1. Enable the BlendNet plugin in Preferences -> Add-ons -> Enable "Render: BlendNet".
  2. Configure the plugin with the Manager/Agent usernames and passwords.
  3. Specify the CA certificate located in /etc/blendnet/server.crt.
  4. Close Preferences, open the Render tab and switch to the Cycles rendering engine (**NOT** BlendNet!).
  5. Add all Agents using the + button in the new "BlendNet Render (local)" Cycles panel.
  6. Follow the BlendNet rendering instructions.

LuxCoreRender

LuxCoreRender is an open source rendering method that can also make use of OpenCL to render. To make use of it, simply install the () package and then enable the LuxCoreRender addon in the User Preferences box in Blender.

RenderMan

RenderMan is a Linux compatible proprietary rendering plugin that is free for use with blender under a non-commercial license. See the Renderman page for setting it up with blender.

Pro-Render

Pro-Render is an open source Blender rendering plugin from AMD that will allow any machine using an OpenCL 1.2 compatible AMD GPU the ability to create realistic GPU renders, allowing for faster work compared to the CPU.

Blend4Web

Blend4Web is an open source framework for creating and displaying interactive 3D graphics in web browsers. It contains a Blender add-on to create and export 3D scenes directly into the web. A Blend4Web-specific profile can be activated in the add-on settings. When switching to this profile, the Blender interface changes so that it only reveals settings relevant to Blend4Web. See the documentation on how to install Blend4Web SDK.

Verge3D

Verge3D for Blender is a real-time renderer and a toolkit from the original creators of Blend4Web. It contains Puzzles visual editor to allow creating interactive web applications without coding.

Troubleshooting

Blender is slow to select objects

When using onboard Intel graphics, it may take 5-10 seconds to select an object. Change Selection in File > User Preferences > System to OpenGL Occlusion Queries.

Blender does not show the AMD card as an OpenCL rendering device

Blender only supports the official AMD proprietary drivers for rendering with OpenCL (for now), meaning you will need to install one of the following AMD OpenCL drivers:

  • Install AMDGPU PRO
  • Install driver alongside the open source AMDGPU driver

After installation, the AMD GPU should now appear as a selectable device under File > User Preferences > System > Compute Device.

Note: Blender developers decided to switch another API (HIP) and deprecate OpenCL support. This will happen in Blender 3.0 release (4th December 2021). More information.

Interface text

If fonts look small or blurry, their size can be increased (by a point or two) in User Preferences > Themes > Text Style. Selecting a bold font family as Interface Font in User Preferences > Themes > System can also greatly decrease blurriness.

gollark: Have you tried something something mental health support?
gollark: That does sound like it would be a problem, hmmm.
gollark: I see. Do you actually have evidence of an afterlife existing?
gollark: Is the sadness when people you like die greater than aggregate happiness gain though?
gollark: I think the model can accomodate up to a 50% chance of that without the child being net-negative.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.