Comments (19)
On it in around a week... but first contact GStreamer devs at #gstreamer in the oftc.org IRC or https://matrix.to/#/#_oftc_#gstreamer:matrix.org on this, as it may be a faster solution.
from docker-nvidia-egl-desktop.
any chance you cloud look into this?
from docker-nvidia-egl-desktop.
Thanks for the reminder. First of all, I need the conditions for your workspace. Anything special in your setup?
from docker-nvidia-egl-desktop.
No. I think it was working on a previous version of Nvidia driver and it stops working after an apt upgrade
from docker-nvidia-egl-desktop.
Okay, I will check NVIDIA 535.
from docker-nvidia-egl-desktop.
Works for me. Please reproduce on the latest container build.
https://github.com/selkies-project/docker-nvidia-egl-desktop/pkgs/container/nvidia-egl-desktop
from docker-nvidia-egl-desktop.
Strange, the error persists even if I pulled the latest image. Here is my docker compose file
version: '3.8'
services:
ubuntu:
container_name: ubuntu
restart: unless-stopped
image: ghcr.io/selkies-project/nvidia-egl-desktop:22.04
environment:
- PASSWD=12345678
#- WEBRTC_ENCODER=x264enc
- WEBRTC_ENABLE_RESIZE=false
- ENABLE_AUDIO=true
- NOVNC_SIDE=true
- ENABLE_BASIC_AUTH=true
- VIDEO_PORT=DP-0
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
tmpfs:
- '/dev/shm'
logging:
driver: "local"
options:
max-size: 1m
cap_add:
- NET_BIND_SERVICE
- SYS_ADMIN
sysctls:
- net.ipv4.ip_unprivileged_port_start=0
deploy:
resources:
reservations:
devices:
- capabilities: ["gpu"]
networks:
default:
from docker-nvidia-egl-desktop.
Could you try removing SYS_ADMIN and try again? Or did it work for you with that setting until 535?
from docker-nvidia-egl-desktop.
deploy:
resources:
reservations:
devices:
- capabilities: ["gpu"]
Just asking because I don't know; does this syntax correctly provision the GPUs? Looks a bit different from what I know of.
from docker-nvidia-egl-desktop.
Yes it's correct, it was working before 535.
I also tried specifying Nvidia driver like in https://docs.docker.com/compose/gpu-support/ and removed SYS_ADMIN , but it still didn't work.
from docker-nvidia-egl-desktop.
I think GPUtil can no logner get the gpu info, and the compiled docker image has libnvrtc missing
from docker-nvidia-egl-desktop.
@danisla any clues?...
Continues to work for me.
from docker-nvidia-egl-desktop.
I believe there is something specific to your setup. I need all the relevant information about the host and stacks.
from docker-nvidia-egl-desktop.
Host server is a fresh-installed Ubuntu 22.04.3 LTS
with nvidia-headless-535
on a 3060 GPU. No customized kernel or anything special.
$ apt list --installed |grep nvidia
libnvidia-cfg1-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-compute-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-container-tools/bionic,now 1.13.5-1 amd64 [installed]
libnvidia-container1/bionic,now 1.13.5-1 amd64 [installed]
nvidia-compute-utils-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-container-toolkit-base/bionic,now 1.13.5-1 amd64 [installed,automatic]
nvidia-container-toolkit/bionic,now 1.13.5-1 amd64 [installed]
nvidia-dkms-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-docker2/bionic,now 2.13.0-1 all [installed]
nvidia-firmware-535-535.86.05/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-headless-530/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed]
nvidia-headless-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-headless-no-dkms-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-kernel-common-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-kernel-source-535/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,automatic]
from docker-nvidia-egl-desktop.
nvidia-headless-535?... I think that might be one of the issues.
from docker-nvidia-egl-desktop.
I don't see the nvenc libraries in that package.
from docker-nvidia-egl-desktop.
I don't see the nvenc libraries in that package.
it works now! but wait... should nvenc be included in the docker image or taken from the host?
from docker-nvidia-egl-desktop.
It should be pushed from the host if NVIDIA_DRIVER_CAPABILITIES is all or includes video.
I should add to the docs that you should not use headless drivers in the host.
It is another possibility to put the libraries inside the Docker container. But the version must be the same as the host. Please keep open.
from docker-nvidia-egl-desktop.
Docs added.
from docker-nvidia-egl-desktop.
Related Issues (20)
- how to modify the entrypoint.sh in container HOT 7
- Video stream issue HOT 1
- How to have GPU-based rendering in docker console? HOT 5
- Choosing a specific GPU device rendering in docker console? / VGL_DISPLAY for VirtualGL HOT 8
- Question regarding building a pod based on this image HOT 2
- ASK: how to start single window application HOT 6
- Google Chrome with GPU HOT 6
- Instruction to test HOT 13
- Test issue. HOT 2
- Enhancement request - AArch64 support HOT 13
- Will this work without i386 ? HOT 1
- SIGKILL/SIGSTOP can not be trapped HOT 2
- Missing gstreamer plugins nice, webrtc, dtls, ... HOT 11
- The screen locker is broken and unlocking is not possible anymore HOT 11
- Unity 3d-Rendering app does not recognize the display/desktop in Docker env HOT 7
- selkies will not connect to the TURN forwarding port even if a coturn ip is set in the environment HOT 13
- replace noVNC to KasmVNC HOT 8
- selkies-gstream hit 100% CPU HOT 19
- Choosing a specific device ID for NVIDIA GPUs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nvidia-egl-desktop.