Giter Site home page Giter Site logo

blender and gpu rendering about docs HOT 2 CLOSED

kaydeejay avatar kaydeejay commented on July 17, 2024
blender and gpu rendering

from docs.

Comments (2)

ahoneybun avatar ahoneybun commented on July 17, 2024

This is a bit outside of current docs scope but this is the breakdown:

For NVIDIA cards make sure that our system76-driver-nvidia package is installed or NVIDIA in-general on other OSes.
For AMD the amdgpu driver is in the kernel unless you need the Pro version which does not work with our newer kernels.

from docs.

jacobgkau avatar jacobgkau commented on July 17, 2024

Blender GPU rendering on AMD requires HIP. That can be added by installing amdgpu-pro or ROCm. On Pop!_OS, you're going to want to use ROCm. It hooks into the driver present in the default Pop!_OS kernel, and just adds the compute libraries on top.

Here are the commands to install ROCm on a default Pop!_OS installation (I just tested this on an AMD graphics system and confirmed it works with Blender):

wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
sudo apt update
sudo apt install rocm
sudo usermod -a -G render $USER

After that, reboot for good measure, and then you'll want to download Blender directly from blender.org-- the packages in the Pop!_Shop have issues with GPU rendering (the .deb from Ubuntu doesn't have HIP support compiled in, and the Flatpak has sandboxing that prevents the GPU from being detected).

On a side note, if AMD doesn't support HIP on your card, then GPU rendering simply won't work on current versions of Blender. However, my Vega cards (which are several years older than your RX 5600) eventually got HIP support in the drivers after several years of waiting, so I'd expect your RX 5600 to support HIP by now, too.

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.