diff --git a/DockerMods/oneVPL.sh b/DockerMods/oneVPL.sh index 416f831..96caa82 100644 --- a/DockerMods/oneVPL.sh +++ b/DockerMods/oneVPL.sh @@ -2,7 +2,7 @@ # Name: oneVPL # Description: This is only required if you have the onevpl Intel driver installed, most systems do not. # Author: John Andrews / Lawrence -# Revision: 5 +# Revision: 6 # Icon: data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDQ1MCA0NTAiIHdpZHRoPSI0NTAiIGhlaWdodD0iNDUwIj48c3R5bGU+LmF7ZmlsbDojMDA3MWM1fS5ie2ZpbGw6I2ZmZn08L3N0eWxlPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xhc3M9ImEiIGQ9Im0wIDY0LjNjMC0zNS41IDI4LjgtNjQuMyA2NC4zLTY0LjNoMzIxLjRjMzUuNSAwIDY0LjMgMjguOCA2NC4zIDY0LjN2MzIxLjRjMCAzNS41LTI4LjggNjQuMy02NC4zIDY0LjNoLTMyMS40Yy0zNS41IDAtNjQuMy0yOC44LTY0LjMtNjQuM3oiLz48cGF0aCBjbGFzcz0iYiIgZD0ibTMxLjcgMTUyLjJoMjguMXYyOC4xaC0yOC4xeiIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xhc3M9ImIiIGQ9Im01OS4xIDI5OC41aC0yNi43di0xMDEuMmgyNi43em0xNzMuMyAxLjFjLTguMSAwLTE0LjktMC43LTIwLjMtMi4yLTUuMy0xLjUtOS43LTMuOS0xMy03LjMtMy4zLTMuNC01LjctNy45LTcuMS0xMy40LTEuNC01LjYtMi4xLTEyLjYtMi4xLTIwLjl2LTk3LjloMjYuN3YzOS40aDE5LjN2MjIuOWgtMTkuM3YzNS4zYzAgNCAwLjIgNy4zIDAuNiA5LjggMC41IDIuNyAxLjQgNC43IDIuOCA2LjEgMS40IDEuNCAzLjUgM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jkgMC43IDAuNiAxIDEuNCAxIDIuNSAwIDEtMC4zIDEuNy0wLjggMi4yLTAuNSAwLjUtMS4xIDAuOC0xLjkgMC45em0tMy4xLTYuN2MwLjItMC4xIDAuNC0wLjMgMC42LTAuNSAwLjEtMC4yIDAuMi0wLjUgMC4yLTAuOSAwLTAuNCAwLTAuNy0wLjItMC45LTAuMS0wLjItMC4zLTAuNC0wLjYtMC41LTAuMy0wLjEtMC42LTAuMi0wLjktMC4yLTAuNCAwLTIuMiAwLTIuNSAwdjMuMmMwLjQgMCAyLjIgMCAyLjUgMCAwLjMgMCAwLjYtMC4xIDAuOS0wLjJ6Ii8+PC9zdmc+ # ---------------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ function handle_error { # Check if the --uninstall option is provided if [ "$1" == "--uninstall" ]; then echo "Uninstalling Intel VPL..." - if apt-get remove -y libmfx1 onevpl-tools intel-media-va-driver-non-free libmfx-gen1.2 intel-opencl-icd; then + if apt-get remove -y libmfx-gen1.2 libmfx-dev i965-va-driver-shaders intel-media-va-driver-non-free intel-opencl-icd; then echo "Intel VPL successfully uninstalled." exit 0 else @@ -26,7 +26,7 @@ if [ "$1" == "--uninstall" ]; then fi # Check if Intel VPL is installed -if command -v vpl-inspect &>/dev/null; then +if ls /usr/share/doc/libmfx-gen1.2/copyright &>/dev/null; then echo "Intel VPL is already installed." exit 0 fi @@ -34,14 +34,14 @@ fi echo "Intel VPL is not installed. Installing..." # Update package lists and install Intel VPL -if ! apt update || ! apt install -y libmfx1 onevpl-tools intel-media-va-driver-non-free libmfx-gen1.2 intel-opencl-icd; then +if ! apt update || ! apt install -y libmfx-gen1.2 libmfx-dev i965-va-driver-shaders intel-media-va-driver-non-free intel-opencl-icd; then handle_error fi echo "Installation complete." # Verify installation -if command -v vpl-inspect &>/dev/null; then +if ls /usr/share/doc/libmfx-gen1.2/copyright &>/dev/null; then echo "Intel VPL successfully installed." exit 0 fi