-
[Plugin] LXC Plugin
I'm very sorry, I had only tested 'file' before. I just tested 'char' and it does not work properly; only 'file' works correctly. rocminfo can correctly identify the GPU. finally, I added the following content for the iGPU of the 7840HS: # For AMD GPU lxc.cgroup2.devices.allow = c 226:0 rwm lxc.cgroup2.devices.allow = c 226:128 rwm lxc.cgroup2.devices.allow = c 242:0 rwm lxc.mount.entry = /dev/dri/card0 dev/dri/card0 none bind,optional,create=file lxc.mount.entry = /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file lxc.mount.entry = /dev/kfd dev/kfd none bind,optional,create=file it may also be applicable to other AMD GPUs.
-
[Plugin] LXC Plugin
You are amazing, you've solved my problem. This issue has been troubling me for days. Thank you once again.
-
zh522130 started following [Plugin] LXC Plugin
-
[Plugin] LXC Plugin
@ich777 Hello, thank you very much for creating this plugin. I am trying to pass /dev/kfd to an lxc container and install the AMD ROCm drivers within it. I have added the following content to the config: lxc.cgroup2.devices.allow = c 226:0 rwm lxc.cgroup2.devices.allow = c 226:128 rwm lxc.cgroup2.devices.allow = c 242:0 rwm lxc.mount.entry = /dev/dri/card0 dev/dri/card0 none bind,optional,create=file lxc.mount.entry = /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file lxc.mount.entry = /dev/kfd /dev/kfd none bind,optional,create=file but I noticed that the /dev/kfd file is not being created inside the lxc container. I can pass /dev/kfd to Docker and it gets recognized correctly. I am not sure what the issue is and I hope to get your help. on unraid: ls -l /dev/kfd crw-rw-rw- 1 root video 242, 0 Apr 27 21:38 /dev/kfd on lxc Ubuntu Jammy: ls /dev console core dri fd full initctl log lxc mqueue null ptmx pts random shm stderr stdin stdout tty tty1 tty2 tty3 tty4 urandom zero
-
[Support] SpaceinvaderOne - Macinabox
May I ask if there is a more detailed release plan at the moment?
zh522130
Members
-
Joined
-
Last visited