You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.3 KiB
56 lines
1.3 KiB
## Logging Out and Back In
|
|
|
|
The group `video` doesn't show up in the group list,
|
|
|
|
```
|
|
$ id
|
|
uid=1000(arcologos) gid=1000(arcologos) groups=1000(arcologos),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),133(lxd),134(sambashare)
|
|
```
|
|
|
|
but now we get an additional line at the end of `clinfo` before it hangs.
|
|
|
|
```
|
|
ERROR: clCreateKernel(-6)
|
|
```
|
|
|
|
Next is to try adding to the `render` group, and then installing
|
|
`libnuma-dev` as recommended in the above GitHub Issue thread comment.
|
|
|
|
Here are some tips to check.
|
|
|
|
https://unix.stackexchange.com/a/96327
|
|
|
|
For example, you can verify that the groups exist and the user belongs to them
|
|
|
|
```
|
|
sudo cat /etc/group | grep $USER
|
|
```
|
|
|
|
You can also use
|
|
|
|
```
|
|
sudo addgroup $USER video
|
|
```
|
|
|
|
but this has the same effect as `usermod`.
|
|
|
|
You can also start a new shell where the user not only belongs to that group, but it is their
|
|
primary / login group (which seems a bit overkill).
|
|
|
|
```
|
|
newgrp video
|
|
```
|
|
|
|
This, however, still caused `clinfo -l` to hang with the new line `ERROR: clCreateKernel(-6)`.
|
|
|
|
Time to log out and log back in again.
|
|
|
|
## Add User to Render Group
|
|
|
|
This is the reference, the AMD ROCm manual, that instructs to add the user trying to access the
|
|
compute (CL) nodes to the `video` and `render` groups.
|
|
|
|
```
|
|
https://amdgpu-install.readthedocs.io/_/downloads/en/21.10/pdf/
|
|
```
|