-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature Request] Adding user to device group by default #785
Comments
CasaOS runs under |
No, and I figured or at least assumed it was root. Not sure why I had to
switch it in order to get it to be visible. I entirely admit I could be
wrong.
…On Mon, Dec 26, 2022 at 7:54 PM Tiger Wang ***@***.***> wrote:
@Dvalin21 <https://github.com/Dvalin21>
CasaOS runs under root user by default, which should have permissions for
everything. Are you referring to something else?
—
Reply to this email directly, view it on GitHub
<#785 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABY7PVIICPMTEX6KM3XHKODWPJD4BANCNFSM6AAAAAATJP6J3I>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I still don't get the idea of what needs to be done. Can you be more explicit? |
correct me if I'm talking rubbish, but I think it's related to AMD gpus.. so to access Nvidia gpu inside containers, you would use but this does not work for AMD gpus. there is some discussion here about how docker cli should support AMD and other gpus: docker/cli#2063 (comment) would be pretty cool if we could give support for various gpus "out of the box".
this way users don't need to worry about the extra gpu settings even. users would still need to install the correct gpu drivers themselves (as I don't think we should try and manage that). but this could all be a complete rabbit hole of hardware support. |
@tigerinus According to the AMD driver install instructions, even with root you need to add the current user of the host to the render and video group. This will allow for the drivers and device to be available to all containers. @mojothemonkey2 you are correct. |
I spent the last few hours trying to figure out what was the issue of why my containers couldn't see my gpu.....turns out Frigate NVR could see and is using, but Jellyfin wasn't. Simple fix that apparently not in the documentation, add the current user of the host to the same group that the device is in aka video = card0 and render = renderD128. Possibly during setup of CasaOS there should be an auto detect for GPU and adding making it completely exposed to docker.
The text was updated successfully, but these errors were encountered: