-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update docker-compose.yml #55
Conversation
It can solve hwacl problem is the iHD driver isn't working correcly with jellyfin-ffmpeg (issue: blakeblackshear/frigate#3227). Seem to occur on Intel based processors, which are most seen in Synology.
Thanks for this and the extensive investigation that was required to arrive at this solution. I wonder if it would make sense to include the env var in the docker image definition itself. 🤔 Any pros/cons that you can think of? |
I'm not sure what CPU / hwaccel is available in all Synology variants... but was able to find the official list from Synology. [edit] Actually GPU information is what is needed here, not CPU. Is there a command that can be run to determine what's available? While this variable is required for the 720/920, I'm just not 100% positive i965 is the answer to all Synology. |
Actually... as reporter by @Caros2017 in the other thread - is "vainfo" the answer? It's on stderr ...
Is that "return 0" enough? We'd need a non i965 NAS to test? |
^^^ Edited ^^^ Second thought... the previous line "__vaDriverInit_1_15" - that means the driver was able to get initialized. Seems the next line would not return 0 if that __vaDriverInit_1_15 had failed. 🤔 |
It returns a -1 on error. 0 somehow is good here |
I was doubting also if this was the right place. I can also make it as comment and that you need to uncomment it if you are running into problems. I don't have really other places here to put it otherwise. I already made a PR for the beta Frigate documentation. There will be processors (in the future or now already) which will work on iHD ofcourse. But the main question is: don't they also work on i965? |
Good points. I suspect auto-detection might be too brittle to be of real benefit. Maybe the compose file is the correct place after all as this is the easiest way for the user to try it out. When we hear about models for which As it stands I think merging this makes sense. So thanks again and let me know if you can think of any further improvement! |
It can solve hwacl problem is the iHD driver isn't working correcly with jellyfin-ffmpeg (issue: blakeblackshear/frigate#3227). Seem to occur on Intel based processors, which are most seen in Synology.