Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I read on the Blender website that it supports OpenCL for AMD graphic cards that use GCN architecture 2.0 and above.
I've got an R9 380 (GCN 3) but in Blender's user preferences there isn't an option for GPU compute device.
Is this likely to be a driver issue? How do I find out which drivers I have installed? I remember to get a game to work I had to install "mesa-vulkan-drivers". Is there anything else I might need?
under settings it is not there or at rendering settings, my other laptop has a dropdown list to select gpu and cpu rendering. you might have better luck getting the skinny on there QA sight.
I do have the dropdown on the right side of Blender but both options take the same time to render. In user preferences there is no option for OpenCL.
I've read that installing AMDGPU-Pro will install OpenCL but I've also become aware that those drivers aren't recommended and that its best to stick to AMDGPU... plus the mesa-vulkan-drivers that I installed.
It's the second one of it's kind so I'm hoping to give it a try.
From the instructions...
Code:
$ sudo apt install build-essential dkms
Works fine
Code:
cd /Downloads/amdgpu-pro-18.50-725072-ubuntu-18.04
Works fine. Though, I have 18.10 not 18.04. Would/could it make a difference?????
I'm stuck.
Code:
sudo dpkg -i amdgpu-pro-core_18.50-725072_all.deb
Flashes up an error...
Code:
Selecting previously unselected package amdgpu-pro-core.
(Reading database ... 161528 files and directories currently installed.)
Preparing to unpack amdgpu-pro-core_18.50-725072_all.deb ...
Unpacking amdgpu-pro-core (18.50-725072) ...
dpkg: dependency problems prevent configuration of amdgpu-pro-core:
amdgpu-pro-core depends on amdgpu-core; however:
Package amdgpu-core is not installed.
dpkg: error processing package amdgpu-pro-core (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
amdgpu-pro-core
I have tried installing "amdgpu-core 18.50-725072_all.deb" but it returns...
Code:
sudo dpkg -i amdgpu-core_18.50-725072_all.deb
[sudo] password for user:
(Reading database ... 161531 files and directories currently installed.)
Preparing to unpack amdgpu-core_18.50-725072_all.deb ...
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive amdgpu-core_18.50-725072_all.deb (--install):
new amdgpu-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
amdgpu-core_18.50-725072_all.deb
Am I doing something wrong? "Selecting previously unselected package amdgpu-pro-core."
i am not a user of debs but have a little experience, maybe add -f to force it to install, the end results I have no idea. but you should still be able to uninstall it. this is up to you of course.
too, maybe look into the dependency issues first to see if there are any dependency needed before proceeding.
Thank you for your replies. It's the blenderguru videos I'm following.. they're brilliant!
I've as good as given up on using OpenCL! Maybe I'll have to do the final renders in Windows :-(
I searched the internet until my brain hurt and it seems I have to use the amdgpu-pro drivers.
The amdgpu-pro driver wouldn't install because its for Ubuntu 18.04 and apparently very fussy the on the Ubuntu version. So I installed Ubuntu 18.04 but the driver still wouldn't install because it doesn't like the version of the kernel. I guess at some point the kernel updated.
There was a bit of mucking about (like re-installing my OS twice!!) but I can now render in Blender on Ubuntu 18.10 using my AMD graphics card.
For anyone looking for a solution to this... this should work -
Code:
sudo gedit /usr/lib/os-release
Change "18.10" to "18.04"
Download and extract the amdgpu-pro drivers and change directory to that folder.
Then...
Code:
/amdgpu-pro-install --opencl=legacy --headless
It should install the OpenCL part of amdgpu-pro whilst keeping the amdgpu driver. The "legacy" is because I have a pre Vega 10 system. The AMD release notes explain this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.