Skip to content

Permission problems? #4

@Nachtwind85

Description

@Nachtwind85

``Hi,

After trying to follow the steps to use your docker i have, so far, havent found a solution on how to use rocmiinfo (or anything that accesses rocm anyway) through the docker.

Currently i try the following:
podman run -it --device=/dev/kfd --device=/dev/dri --net=host --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/sddocker:/sddocker localhost/rocm-pytorch-gfx803

And then trying this:
(environ) sduser@HAL:~$ rocminfo ROCk module is loaded Unable to open /dev/kfd read-write: Permission denied root is not member of "nogroup" group, the default DRM access group. Users must be a member of the "nogroup" group or another DRM access group in order for ROCm applications to run successfully.

Which kind of... surprises me that is raises "root" rather than sduser.

Any ideas how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions