Hoping someone can help. Seeing as we can now try out mapping devices directly in the gui, I am getting this error on an intel server runing a Xeon(R) E-2146G.
ls -la /dev/dri gives me
root@pve:~# ls -la /dev/dri/
total 0
drwxr-xr-x 3 root root 100 Jun 11 15:15 .
drwxr-xr-x 18 root root 4400 Jun 11 15:15 ..
drw-rw-rw- 2 root root 60 Jun 11 15:15 by-path
crw-rw-rw- 1 root video 226, 0 Jun 11 15:15 card0
-rw-rw-rw- 1 root root 0 Jun 11 15:15 renderD128
On this machine I have never gotten /dev/dri/renderD128 to pass through though I have tried all the normal advice ie
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
On a different AMD powered machine, I have it passing through fine with the above. The output of ls -la is also very different. What could be the issue?
drwxr-xr-x 3 root root 100 Jun 8 17:05 .
drwxr-xr-x 19 root root 4520 Jun 8 17:06 ..
drwxr-xr-x 2 root root 80 Jun 8 17:05 by-path
crw-rw---- 1 root video 226, 0 Jun 8 17:05 card0
crw-rw---- 1 root render 226, 128 Jun 8 17:05 renderD128
On a slightly separate note, I see there has been a gui method for passing devices through to lxc. How does doing it this way differ from doing it with a mount entry in the config file? I did have a look at the docs but can't find anything obvious about this feature.
Interestingly, when I use the gui on the AMD system to pass through /dev/dri/renderD128 it seems to add it just fine although it shows up in the lxc config file a little differently than I'd expect. When I do the same thing on the intel machine I get the error "/dev/dri/renderD128 is not a device (500)"
ls -la /dev/dri gives me
root@pve:~# ls -la /dev/dri/
total 0
drwxr-xr-x 3 root root 100 Jun 11 15:15 .
drwxr-xr-x 18 root root 4400 Jun 11 15:15 ..
drw-rw-rw- 2 root root 60 Jun 11 15:15 by-path
crw-rw-rw- 1 root video 226, 0 Jun 11 15:15 card0
-rw-rw-rw- 1 root root 0 Jun 11 15:15 renderD128
On this machine I have never gotten /dev/dri/renderD128 to pass through though I have tried all the normal advice ie
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
On a different AMD powered machine, I have it passing through fine with the above. The output of ls -la is also very different. What could be the issue?
drwxr-xr-x 3 root root 100 Jun 8 17:05 .
drwxr-xr-x 19 root root 4520 Jun 8 17:06 ..
drwxr-xr-x 2 root root 80 Jun 8 17:05 by-path
crw-rw---- 1 root video 226, 0 Jun 8 17:05 card0
crw-rw---- 1 root render 226, 128 Jun 8 17:05 renderD128
On a slightly separate note, I see there has been a gui method for passing devices through to lxc. How does doing it this way differ from doing it with a mount entry in the config file? I did have a look at the docs but can't find anything obvious about this feature.
Interestingly, when I use the gui on the AMD system to pass through /dev/dri/renderD128 it seems to add it just fine although it shows up in the lxc config file a little differently than I'd expect. When I do the same thing on the intel machine I get the error "/dev/dri/renderD128 is not a device (500)"