-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Desktop does not start if there is another GUI running in the host #25
Comments
first of all, thank you for sharing docker for nvidia glx desktop. I'm also same things with @Aerosane my host pc server has 3 x Quadro RTX 8000 GPU. nvidia graphic driver version is 510.73.05 I'm running docker with basic command like README with noVNC enable environment variable docker run --gpus 1 -it -e TZ=UTC -e SIZEW=1920 -e SIZEH=1080 -e REFRESH=60 -e DPI=96 -e CDEPTH=24 -e VIDEO_PORT=DFP -e PASSWD=mypasswd -e WEBRTC_ENCODER=nvh264enc -e BASIC_AUTH_PASSWORD=mypasswd -e NOVNC_ENABLE=true -p 8080:8080 ghcr.io/ehfd/nvidia-glx-desktop:latest after that, I try to access Web VNC, but I cannot access. Error message is ERR_CONNECTION_REFUSED. I'm already adding 8080 port to my Asus AP. after some minute later, this docker container is stopped automatically. this is the above docker container logs. 2022-06-10 07:12:31,571 INFO Set uid to user 1000 succeeded
2022-06-10 07:12:31,573 INFO supervisord started with pid 1
2022-06-10 07:12:32,576 INFO spawned: 'entrypoint' with pid 8
2022-06-10 07:12:32,580 INFO spawned: 'pulseaudio' with pid 9
2022-06-10 07:12:32,584 INFO spawned: 'selkies-gstreamer' with pid 10
2022-06-10 07:12:33,720 INFO success: entrypoint entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-06-10 07:12:33,720 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-06-10 07:12:33,720 INFO success: selkies-gstreamer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-06-13 02:13:28,831 INFO Set uid to user 1000 succeeded
2022-06-13 02:13:28,834 INFO supervisord started with pid 1
2022-06-13 02:13:29,837 INFO spawned: 'entrypoint' with pid 8
2022-06-13 02:13:29,841 INFO spawned: 'pulseaudio' with pid 9
2022-06-13 02:13:29,844 INFO spawned: 'selkies-gstreamer' with pid 10
2022-06-13 02:13:29,901 INFO exited: pulseaudio (exit status 1; not expected)
2022-06-13 02:13:31,180 INFO success: entrypoint entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-06-13 02:13:31,183 INFO spawned: 'pulseaudio' with pid 82
2022-06-13 02:13:31,184 INFO success: selkies-gstreamer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-06-13 02:13:32,259 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-06-13 02:19:32,673 WARN received SIGTERM indicating exit request
2022-06-13 02:19:32,674 INFO waiting for entrypoint, pulseaudio, selkies-gstreamer to die
2022-06-13 02:19:35,677 INFO waiting for entrypoint, pulseaudio, selkies-gstreamer to die
2022-06-13 02:19:38,681 INFO waiting for entrypoint, pulseaudio, selkies-gstreamer to die
2022-06-13 02:19:41,685 INFO waiting for entrypoint, pulseaudio, selkies-gstreamer to die
how can I resolve this problem? thank you for reply |
Some kind of an upstream regression maybe. I cannot check now, but will make sure to fix asap, by next week at the latest |
Triggered a rebuild to see if it helps. Please pull the new container in an hour and check if it works, if not, manual intervention required. |
And please upload all three of the .log files at /tmp to troubleshoot quickly. |
I remove old nvidia-glx-desktop docker image and pull new docker image and running docker. But the current status is also same like before. thus, I upload logs files all here. thank you for fast response additionally, docker-nvidia-egl-desktop docker is running smoothly with selkies-gstremer or novnc. |
For you @Neoplanetz duplicate of #11 |
sorry for that I don't know about x server well. $ sudo nvidia-xconfig --no-probe-all-gpus --busid=BUS_ID --only-one-x-screen and this is /etc/X11/xorg.conf I made using above command automatically. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 510.73.05
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "ProbeAllGpus" "False"
SubSection "Display"
Depth 24
EndSubSection
EndSection
and I did running nvidia-glx-desktop docker but the result is same. is it correct to set only one x server on one GPU? |
Well,already tried removing my old x server containers,still the results are same.Just tried,but got this error - {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"traceId":"|ccebc03b-438d60027d25ace1."} after updating packages of the container,I restarted it,and the bad gateway shows up again. |
@Neoplanetz The container is usable with multiple GPUs in one host, as long as you set up nvidia-container-toolkit. You can stop the GUI in the host with https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html#gpu-enumeration @Aerosane Probably same issue with you (again this is the host, not the container), but please upload all three of the .log files at /tmp inside the container after |
Still doesn’t work. |
Until I can get to why this issue persists, docker-nvidia-egl-desktop is still good. Depending on the container toolkit version or driver version, I see that Vulkan now works somehow. |
Sure. |
In order to use an X server on the host for your monitor with one GPU, and then provision other GPUs for the containers, it is required to change your
Then, edit
Note: https://man.archlinux.org/man/extra/xorg-server/xorg.conf.d.5.en |
Added in Documentation. |
Hello,
when I open the port 8080(selkies-gstreamer) URL,I get “502 Bad gateway “ error from nginx,
Thank you,
The text was updated successfully, but these errors were encountered: