-
Notifications
You must be signed in to change notification settings - Fork 52
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
[WIP] Feature: Add in hardware acceleration through VAAPI #40
base: dev
Are you sure you want to change the base?
Conversation
As far as I know Blue Iris only supports Intel Quick Sync. I tried using |
I have been using the following which seems to work great for hardware acceleration (just have to make sure to have
The only thing which I cannot get to work is the 'run as a service'. Using the command line and recreating the container does not seem to work, i.e. the web server is not accessible. I've tried the suggestions in the 'run as a service' PR which did not seem to work so maybe it's something specific to this branch? |
It's definitely specific to this branch. I got rid of the "run as service" feature because you can't use GPU acceleration + that feature at the same time. The only reason we switched to running as a service was to get the timezone to be properly displayed in BI, but that issue is now fixed in this branch. Did you change the webserver port to 8081 in the web gui in BI? Is BI running if you VNC into the container? |
Yes, in normal mode it works fine but in service mode it doesn't work at all (which makes sense now). On initial setup it would crash daily but I just remember a comment in the 'run as a service' PR that continuously recording with overlay enabled would cause crashes. In hindsight, after disabling the overlay it worked fine for a week but eventually it did crash. Edit: It seems Windows likes to report errors in a window (Blue Iris has encountered a serious error) which also prevents the process from restarting. |
In order to get my timezone to display correctly I had to remove the TZ env export. |
Good day, thank you for producing and sharing this docker.
|
I don't know about the Nvidia gpu, but I think UI3 is the default web interface in Blue Iris (there is an option somewhere in the settings). You shouldn't have to add /ui3.htm |
Currently tested and working for Intel GPUs. Below is an example docker compose yaml file:
You'll need to 1.) have a clean environment, 2.) set proper permissions on data directory (
chown 1000:100 data
), and 3.) Run winecfg as wineuser and turn on VAAPI in the staging tab. To do this run the following command after the container is up and running:docker exec -it blueiris su wineuser -s /bin/bash winecfg
Todos:
LIBVA_DRIVER_NAME
to match the right card. I'll need some help here as I don't have good access to modern AMD/NVIDIA gpus.