Add nvidia docker gpu acceleration (#238)

* add nvidia dockerfile.

* add nvidia docker to build.

* remove vaapi.

* add google chrome and brave.

* upgrade to virtualgl 3.1.

* add disable-seccomp-filter-sandbox to chrome.

* use vgl display in vglrun.

* Revert "use vgl display in vglrun."

This reverts commit 0cd556b5d8.

* update chrome params.

* update changelog.

* update brave.

* update CI.
This commit is contained in:
Miroslav Šedivý
2023-03-17 01:12:35 +01:00
committed by GitHub
parent bc7aae0401
commit 55005a6f8d
19 changed files with 649 additions and 4 deletions

View File

@ -17,6 +17,7 @@ if [ ! -f "${BINARY_PATH}" ] || [ "$1" == "-r" ]; then
./rebuild-server
fi
# use --gpus all to enable GPU acceleration
docker run --rm -it \
--name "neko_dev" \
-p "${SERVER_PORT}:8080" \