2 AMD on Linux
Brady Surrey edited this page 2023-11-02 08:38:01 +08:00

Access permissions

If you use the Integrated graphics, please skip this setting! This will result in the error!

Easy Diffusion needs access to the GPU devices to use them for computations.

  1. Check the owner of one of these devices:
    ls -al /dev/kfd
    
  2. Determine the name of the group:
    crw-rw---- 1 root render 511, 0 Sep  3 11:31 /dev/kfd
                      ******
    
    In this example, the group owning the file is called render
  3. Check whether your user is member of this group:
    groups
    
    If your user is already a member of the group, you're done.
  4. If your user is not yet a member, add it to the group:
    sudo usermod -aG render $USER
    
    Replace render by the name of the group if it has a different name in your Linux distribution.
  5. Log off and log on again to make this change effective.