AMD's (ProRender) Plugin for Blender



For those of us still waiting to finally see our RX 480 2.x compliant OpenCL GPGPUs working with Mesa knowing we are knee capped for now, unless using the Pro drivers, here is an install you can do to only find out on Debian the plugin craps the bed. Nothing new here, even ROCm doesn’t have DKMS support yet and properly register so I can use that OpenCL stack that is proclaimed to work.


mdriftmeyer@horus:~/Downloads$ ./radeonprorenderforblender.1.4.0.run --target Radeon-Render/
Creating directory Radeon-Render/
Verifying archive integrity... All good.
Uncompressing Radeon ProRender for Blender  100%  
the following arguments are required: blender_path
usage: install.py [-h] [--no-matlib] [-v] [--log-file LOG_FILE]
                  [--distr-dir DISTR_DIR]
                  blender_path

positional arguments:
  blender_path          Blender distro folder

optional arguments:
  -h, --help            show this help message and exit
  --no-matlib           Install material library
  -v, --verbose         print debug info
  --log-file LOG_FILE   save log to file
  --distr-dir DISTR_DIR
                        location for unpacked distributiion
mdriftmeyer@horus:~/Downloads$ cd Radeon-Render/
mdriftmeyer@horus:~/Downloads/Radeon-Render$ ls
addon  eula.txt  install.py  matlib  uninstall.py
mdriftmeyer@horus:~/Downloads/Radeon-Render$ vim install.py 
mdriftmeyer@horus:~/Downloads/Radeon-Render$ ./install.py -h
usage: install.py [-h] [--no-matlib] [-v] [--log-file LOG_FILE]
                  [--distr-dir DISTR_DIR]
                  blender_path

positional arguments:
  blender_path          Blender distro folder

optional arguments:
  -h, --help            show this help message and exit
  --no-matlib           Install material library
  -v, --verbose         print debug info
  --log-file LOG_FILE   save log to file
  --distr-dir DISTR_DIR
                        location for unpacked distributiion
mdriftmeyer@horus:~/Downloads/Radeon-Render$ ./install.py blender_path $HOME/.config/blender/2.79
unrecognized arguments: /home/mdriftmeyer/.config/blender/2.79
usage: install.py [-h] [--no-matlib] [-v] [--log-file LOG_FILE]
                  [--distr-dir DISTR_DIR]
                  blender_path

positional arguments:
  blender_path          Blender distro folder

optional arguments:
  -h, --help            show this help message and exit
  --no-matlib           Install material library
  -v, --verbose         print debug info
  --log-file LOG_FILE   save log to file
  --distr-dir DISTR_DIR
                        location for unpacked distributiion
mdriftmeyer@horus:~/Downloads/Radeon-Render$ ./install.py --dist-dir $HOME/.config/blender/2.79
unrecognized arguments: --dist-dir
usage: install.py [-h] [--no-matlib] [-v] [--log-file LOG_FILE]
                  [--distr-dir DISTR_DIR]
                  blender_path

positional arguments:
  blender_path          Blender distro folder

optional arguments:
  -h, --help            show this help message and exit
  --no-matlib           Install material library
  -v, --verbose         print debug info
  --log-file LOG_FILE   save log to file
  --distr-dir DISTR_DIR
                        location for unpacked distributiion
mdriftmeyer@horus:~/Downloads/Radeon-Render$ ./install.py $HOME/.config/blender/2.79
Installing to /home/mdriftmeyer/.local/share/rprblender
Blender executable not found in '/home/mdriftmeyer/.config/blender/2.79'
usage: install.py [-h] [--no-matlib] [-v] [--log-file LOG_FILE]
                  [--distr-dir DISTR_DIR]
                  blender_path

positional arguments:
  blender_path          Blender distro folder

optional arguments:
  -h, --help            show this help message and exit
  --no-matlib           Install material library
  -v, --verbose         print debug info
  --log-file LOG_FILE   save log to file
  --distr-dir DISTR_DIR
                        location for unpacked distributiion
mdriftmeyer@horus:~/Downloads/Radeon-Render$ ./install.py /home/mdriftmeyer/Blender/Developer/blender-git/cmake-blender/bin/
Installing to /home/mdriftmeyer/.local/share/rprblender
Retrieving Blender version
...done
Checking HW configuration version
checkCompatibility_hardware begin...
> GetSystemInfo_ begin...
 + 1 0000:00:14.1 vendor=1002 device=439c (SB7x0/SB8x0/SB9x0 IDE Controller)
 + 1 0000:01:00.0 vendor=1002 device=67df (Ellesmere [Radeon RX 470/480])
 + 1 0000:00:16.0 vendor=1002 device=4397 (SB7x0/SB8x0/SB9x0 USB OHCI0 Controller)
 + 1 0000:00:14.3 vendor=1002 device=439d (SB7x0/SB8x0/SB9x0 LPC host controller)
 + 1 0000:00:13.0 vendor=1002 device=4397 (SB7x0/SB8x0/SB9x0 USB OHCI0 Controller)
 + 1 0000:00:16.2 vendor=1002 device=4396 (SB7x0/SB8x0/SB9x0 USB EHCI Controller)
 + 1 0000:00:14.5 vendor=1002 device=4399 (SB7x0/SB8x0/SB9x0 USB OHCI2 Controller)
 + 1 0000:00:13.2 vendor=1002 device=4396 (SB7x0/SB8x0/SB9x0 USB EHCI Controller)
 + 1 0000:00:15.1 vendor=1002 device=43a1 (SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1))
 + 1 0000:00:0a.0 vendor=1002 device=5a1d (RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GPP Port 5))
 + 1 0000:00:14.0 vendor=1002 device=4385 (SBx00 SMBus Controller)
 + 1 0000:00:02.0 vendor=1002 device=5a16 (RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GFX port 0))
 + 1 0000:00:11.0 vendor=1002 device=4391 (SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode])
 + 1 0000:00:14.2 vendor=1002 device=4383 (SBx00 Azalia (Intel HDA))
 + 1 0000:01:00.1 vendor=1002 device=aaf0 (Ellesmere [Radeon RX 580])
 + 1 0000:00:09.0 vendor=1002 device=5a1c (RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GPP Port 4))
 + 1 0000:00:14.4 vendor=1002 device=4384 (SBx00 PCI to PCI Bridge)
 + 1 0000:00:15.0 vendor=1002 device=43a0 (SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0))
 + 1 0000:00:12.0 vendor=1002 device=4397 (SB7x0/SB8x0/SB9x0 USB OHCI0 Controller)
 + 1 0000:00:00.0 vendor=1002 device=5a14 (RD9x0/RX980 Host Bridge)
 + 1 0000:00:12.2 vendor=1002 device=4396 (SB7x0/SB8x0/SB9x0 USB EHCI Controller)
 + 1 0000:00:00.2 vendor=1002 device=5a23 (RD890S/RD990 I/O Memory Management Unit (IOMMU))
> GetSystemInfo_ : libOpenCL.so can be loaded
 + 1 GPU supports OpenCL 1.100000
> GetSystemInfo_: SUCCESS.
> GetSystemInfo_ end...
displaWarningMessage_incompatibleOpenCL = true
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD AHCI mode
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
incompatible device AMD 
WARNING MESSAGE : Your system seems incompatible with Radeon ProRender for OpenCL. Only the CPU rendering mode may run correctly. Continue install anyway ?WARNING MESSAGE : Some of your devices (AMD ) are known as incompatible or have not been certified by the Radeon ProRender Team. Continue install anyway ? [yN] y
checkCompatibility_hardware end...
checkCompatibility_driver begin...
checkCompatibility_driver end...
BuildRegistrationLink begin...
Register link = http://experience.amd.com/plugin-registration?registrationid=5A1E27D259A3291C&appname=blender&appversion=2.79__sub_1___ca006deafe0&frversion=1.164352&os=Linux4.14.0-rc3-dc-next-okt15&gfxcard=AMD_&driverversion=
BuildRegistrationLink end...
...done
Please follow the link above to register and retrieve registration key.
Registration key:GPUOpen2016
Checking os version
This product is built for Ubuntu 16.04 - you may encounter errors. Do you wish to continue?
(y or n)y
...done
Installing Radeon ProRender for Blender ...
Radeon ProRender for Blender EULA
Do you accept the agreement? (y or n)y
Installing Depencencies ...
..installing Depencencies ok
Installing Addon Files ...
..installing Addon Files ok
Trying to remove previously installed Blender addon...
...done
Installing addon to Blender ...
..installing addon to Blender ok
Found installed material library at '/home/mdriftmeyer/Documents/Radeon ProRender/Blender/Material Library', replace? (y or n)y
Installing Material Library ...
..installing Material Library ok
Installation complete.
To uninstall, please run '/home/mdriftmeyer/.local/share/rprblender/uninstall.py /home/mdriftmeyer/Blender/Developer/blender-git/cmake-blender/bin/'
mdriftmeyer@horus:~/Downloads/Radeon-Render$

I know the website currently says only Ubuntu is supported, but I wanted to check to see if anybody has managed to get Radeon ProRender to install on CentOS 7.

I get this error from the installer:

addon/checker: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21’ not found (required by addon/checker)

I am not sure why it can’t find the file, although I can see it exists.

Any idea what is happening here.

Is it possible that symbol is not in the lib64/libstdc++.so.6?

strings lib64/libstdc++.so.6 | grep GLIBCXX_3.4.21

Ok, I’m finally back on my workstation and had a chance to try RPR 1.4 with my AMD workstation. It feels snappier and much more stable. There are a few bugs that I notice. For example, Shader Blender node doesn’t work between 0 and 1. Would like to recommend that the Uber 2 shader have a weight value to define what is metal reflection and what is non metalic reflection. Right now, the Reflection Fresnel Metal Material check box seems to apply on all or nothing. To make it friendly to PBR shaders like principle/disney/unreal, this weight value is necessary. The work around is to use two Uber2 shader, with one using Reflection Fresnel Metal Material, then use shader blender. This might not be an issue as I know you guys are working on a more standard PBR solution.

So might be a bit of a misunderstanding here. When you check the “Metalness workflow” you should get a “reflection metalness” parameter that shows up. This will be similar to the 0-1 range you are talking about and more like the Metallic parameter in Cycles Principled shader.

I have tried to install this into a Linux Mint environment without any success. I get a error quickly when running in terminal. I’m not able to see what it is. It looks to be a wonderful plugin and I have tried to load it into Windows 10 on another machine and it didn’t work there either.

Thank you for your reply, bsavery. The command you suggested proves that the problem is, in fact, that the GLIBCXX_3.4.21 symbol doesn’t exist in the file. It only has GLIBCXX_3.4 to GLIBCXX_3.4.19.

Any idea what should I do here?

You are correct. I started a new scene and it works as you describe.


There seems to be a bug when I check and uncheck Reflection Fresnel Metal in Uber 2. It causes the preview windows to not update correctly and causes everything to be metalic, which is causing my confusion.


Also, it seems that when Reflection Fresnel Metal is checked, the Reflection Fresnel IOR setting for nonmetal disappears and seems to default to a IOR value of 1. My highlights would disappear. I’ve attached an image of how it should look without Reflection Fresnel Metal checked. The highlight should be there.


I might be wrong on how Uber 2 is used, so please correct me. Thanks.

Also noticed that my color maps are coming in brighter and was wondering if that is a colorspace issue. Thanks.

Installed on KDE Neon, which is Ubuntu 16.04, but it wont start rendering. Getting some ‘AssertionErrors’, also does not recognize GPU (other OpenCL render engine recognize). Is there official forum?

Also, activating Shadow catcher disables gamma correction and makes everything look too dark.

What I do for now is send the color map through a math node set to pow and 2.2 for the value, this will correct your colorspace problems.

Hey guys, we’re looking at the srgb -> linear conversion on the texture read node similar to how cycles does it, and other fixes for Uber shader. The next release should be mid november, will update when I have more details.

Brian

Awesome. Great news. Would also like the auto convert cycles to RPR to work with converting principle node to Uber2 with proper RPR image input nodes. Thanks.

Thanks for the heads up. Any news on ProRender for Mac?

They are planning on adding a Disney/Principled shader soon.

Soon… :wink:

Awesome, Thanks!

If I remember correctly, I had an access to nightly builds, but I cannot find the link.
Brian, could you please help me out with that? I would like to check the fixed Uber2.

Also I have 2 other questions:

  1. When will it be available for Max 2018?
  2. Will it be available for Cinema4D Prime?

Thanks

As of right now we don’t do nightly builds, sorry, maybe that was in beta before I came on. Max 2018 we have a beta build for. PM me for details.

Maxon develops the Cinema4D plugin semi-independently using our core renderer. So you’d have to ask them about that.