Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HW Accel Support]: UNRAID using the wrong GPU #5712

Closed
sohail579 opened this issue Mar 13, 2023 · 3 comments
Closed

[HW Accel Support]: UNRAID using the wrong GPU #5712

sohail579 opened this issue Mar 13, 2023 · 3 comments

Comments

@sohail579
Copy link

Describe the problem you are having

The wrong GPU is being used for hardware transcoding

Version

0.11.1-2EADA21

Frigate config file

N/A

docker-compose file or Docker CLI command

N/A

Relevant log output

N/A

FFprobe output from your camera

N/A

Operating system

HassOS

Install method

HassOS Addon

Network connection

Wired

Camera make and model

hikvision

Any other information that may be helpful

I have changed the config of my docker I have added the below to my extra parameters

--runtime=nvidia

and then the following two parameters as variables

NVIDIA_DRIVER_CAPABILITIES: all
NVIDIA_VISIBLE_DEVICES: [My device ID from the NVIDA Driver]: GPU-aa990942-1de0-de99-3ab0-6e5a105dbcea

I have added the correct ID for the GPU but for some reason its using the other GPU what have i done wrong? also when i have noticed is that when I reboot my server sometimes it will use the correct GPU its seems to be pot luck as to which GPU its using

@yayitazale
Copy link
Sponsor Contributor

This way of defining GPUS is supported by nvidia runtime:

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html

Not sure if this is something realted with the nvidia support in unraid or realted to the implementation on frigate docker.

@sohail579
Copy link
Author

This way of defining GPUS is supported by nvidia runtime:

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html

Not sure if this is something realted with the nvidia support in unraid or realted to the implementation on frigate docker.

I have had a read through this and this is what i have done so not sure as to why its not using the cord from the GPU ID i have entered?

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 17, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants